Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Minecraft is crashing due to i915_dri
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Sat Jul 28, 2018 10:01 am    Post subject: Minecraft is crashing due to i915_dri Reply with quote

Hello,

After some month of perfect running, Minecraft is now crashing on my son's PC with following error :
Code:
Stack: [0x00007fdfd99af000,0x00007fdfd9aaf000],  sp=0x00007fdfd9aad150,  free space=1016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [i915_dri.so+0x48abeb]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.opengl.GL11.nglClear(IJ)V+0
j  org.lwjgl.opengl.GL11.glClear(I)V+15
j  bus.m(I)V+1
j  bvd.f()V+54
j  bvd.b(II)V+175
j  bvd.a(II)V+34
j  bvd.<init>(IIZ)V+62
j  bib.aq()V+135
j  bib.a()V+6
j  net.minecraft.client.main.Main.main([Ljava/lang/String;)V+1094
v  ~StubRoutines::call_stub


I've tried with
  • icedtea-bin-7
  • icedtea-bin-8
  • oracle-jdk-bin-1.8

But all are crashing with the same error.

The system is up to date (at least to last week).

Any idea ?

Thanks
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat Jul 28, 2018 10:57 pm    Post subject: Reply with quote

Try the gallium driver instead. Seem to remember that working better on i915/945.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Sun Jul 29, 2018 12:32 pm    Post subject: Reply with quote

Ha, ok : but how to do that ?
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Sun Jul 29, 2018 12:57 pm    Post subject: Reply with quote

Try "eselet mesa list" and switch afterwards:

Code:

apollo ~ # eselect mesa list
i915 (Intel 915, 945)
  [1]   classic
  [2]   gallium *
i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
  [1]   classic *
r300 (Radeon R300-R500)
r600 (Radeon R600-R700, Evergreen, Northern Islands)
sw (Software renderer)
  [1]   classic
  [2]   gallium *
apollo ~ #


greets, bb
_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Sun Jul 29, 2018 4:54 pm    Post subject: Reply with quote

Arg, unfortunately, it's already the case :

Code:
# eselect mesa list
i915 (Intel 915, 945)
  [1]   classic
  [2]   gallium *
i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
r300 (Radeon R300-R500)
r600 (Radeon R600-R700, Evergreen, Northern Islands)
sw (Software renderer)
  [1]   classic
  [2]   gallium *
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Sun Jul 29, 2018 5:23 pm    Post subject: Reply with quote

Hum, I did another upgrade today and I got :

Code:
games-action/minecraft:0

  selected: (games-action/minecraft-1.2.4:0/0::chaos, installed)
  skipped: (games-action/minecraft-1.2.4:0/0::chaos, ebuild scheduled for merge) (see unsatisfied dependency below)

emerge: there are no ebuilds to satisfy "dev-java/guava:18".
(dependency required by "games-action/minecraft-1.2.4::chaos" [ebuild])

As per https://packages.gentoo.org/packages/dev-java/guava, only v20 is available. An idea to solve this issue ?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sun Jul 29, 2018 9:53 pm    Post subject: Reply with quote

What does that minecraft ebuild install? The game is at 1.13, and the launcher (which does its own dependency management) is 1.6.89.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Sun Jul 29, 2018 10:04 pm    Post subject: Reply with quote

Hum, from which overlay ? Because I took mine from chaos and it's still 1.2.4 as per http://gpo.zugaina.org/games-action/minecraft/Dep
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sun Jul 29, 2018 11:22 pm    Post subject: Reply with quote

It looks like that ebuild just pulls an unversioned launcher jar and runs it, so on one hand your launcher will be up to date (provided you reinstall it regularly), but also that means all those deps are bogus, since the new launcher requires newer versions of just about everything. The minecraft-gentoo wrapper is probably interfering with correct loading of dependencies, so you'll need to deconfigure that in the launcher if you had it.

---

If anyone wants to write an updated launcher ebuild, the latest version is listed here (under "java"), game versions are listed here and all required java dependencies are in the per-game URIs listed there. This one is for 1.13, as you can see it needs guava-21 (and many other things) to run.
Back to top
View user's profile Send private message
Aiken
Apprentice
Apprentice


Joined: 22 Jan 2003
Posts: 239
Location: Toowoomba/Australia

PostPosted: Mon Jul 30, 2018 5:52 am    Post subject: Reply with quote

Ant P. wrote:

If anyone wants to write an updated launcher ebuild, the latest version is listed here (under "java"), game versions are listed here and all required java dependencies are in the per-game URIs listed there. This one is for 1.13, as you can see it needs guava-21 (and many other things) to run.


The question that comes to mind is if you have the dependencies installed does the launcher use the system files or would it still download to ~/.minecraft/libraries/ and use that?

These days all I would want from a minecraft ebuild is to supply a working launcher and an appropriate .desktop file. Nothing else. To me an up to date launcher is more important than a particular version of the game. The launcher can update itself. The launcher deals with the dependencies itself. It also handles which version of the game you want to play at that point in time which changes when you want to use old versions or various snapshots. It can be possible to want multiple versions of minecraft a day and I would not want to stuff around with ebuilds when profiles in the launcher deals with that.
_________________
Beware the grue.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Wed Aug 01, 2018 8:38 am    Post subject: Reply with quote

Ant P. wrote:
If anyone wants to write an updated launcher ebuild, the latest version is listed here (under "java"), game versions are listed here and all required java dependencies are in the per-game URIs listed there. This one is for 1.13, as you can see it needs guava-21 (and many other things) to run.


So, for the moment, it means that if I want to make my kid happy, I need to install manually the game from upstream, right ?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Aug 01, 2018 8:33 pm    Post subject: Reply with quote

You might not have to, that ebuild should have installed a launcher.jar somewhere on the system (qlist -e minecraft | grep jar). Just set up a desktop launcher to run `java -jar path/to/launcher.jar` (and make sure the launcher profile invokes the game directly, not the gentoo wrapper).
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Fri Aug 03, 2018 9:53 am    Post subject: Reply with quote

There is only a .jar that is the game itself :

Code:
$ qlist -e minecraft
/usr/share/pixmaps/minecraft.png
/usr/share/applications/minecraft-minecraft.desktop
/usr/share/minecraft/package.env
/usr/share/minecraft/lib/minecraft.jar
/usr/games/bin/minecraft
/usr/games/bin/minecraft-gentoo
/usr/lib/python-exec/python2.7/minecraft-gentoo


and as per /usr/games/bin/minecraft script, the launcher is a shell script :
Code:
gjl_package=minecraft
gjl_main="net.minecraft.bootstrap.Bootstrap"
source /usr/share/java-config-2/launcher/launcher.bash

which is retrieving Java option.

There is no launcher.jar
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Aug 03, 2018 8:20 pm    Post subject: Reply with quote

The real game jar lives in ~/.minecraft/, that's the launcher jar. It's not possible to run the game directly without a valid login or setting up demo mode, and I don't think the shell script does either.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum