Hello Guest

LWJGL and nouveau driver (minecraft)

  • 2 Replies
  • 4827 Views
LWJGL and nouveau driver (minecraft)
« on: May 04, 2014, 00:07:51 »
(Sorry in advance if this is not the right place for Minecraft related questions but...)

Minecraft crashes after populating the world just before the start (problem is NOT present while using nvidia binary driver):


Code: [Select]
#  SIGSEGV (0xb) at pc=0x704257e9, pid=15500, tid=3065318208
#
# JRE version: Java(TM) SE Runtime Environment (7.0_55-b13) (build 1.7.0_55-b13)
# Java VM: Java HotSpot(TM) Client VM (24.55-b03 mixed mode linux-x86 )
# Problematic frame:
# C  [nouveau_dri.so+0x2507e9]  nouveau_drm_screen_create+0x26ae9


Stack: [0xb6b00000,0xb6b51000],  sp=0xb6b4f980,  free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [nouveau_dri.so+0x2507e9]  nouveau_drm_screen_create+0x26ae9

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.opengl.ARBOcclusionQuery.nglGetQueryObjectuivARB(IIJJ)V+0
J  bom.a(II)V
J  bom.a(Lsu;ID)I
j  bof.a(FJ)V+638
j  bof.b(F)V+492
j  ban.ak()V+303
j  ban.f()V+72
j  net.minecraft.client.main.Main.main([Ljava/lang/String;)V+1007
v  ~StubRoutines::call_stub

could you give some advices how to deal with it? I've tried the newest xorg driver / mesa from xorg-edgers and lwjgl 2.9.2 (also with manually compiled natives).

PS the OS is Xubuntu 14.04.


*

Offline Cornix

  • *****
  • 487
Re: LWJGL and nouveau driver (minecraft)
« Reply #1 on: May 04, 2014, 07:25:50 »
Are you sure that the driver supports
Code: [Select]
nglGetQueryObjectuivARBbecause that is an extension. If the driver does not support this function it is no wonder it wont work.

*

Offline kulpa

  • *
  • 11
Re: LWJGL and nouveau driver (minecraft)
« Reply #2 on: May 05, 2014, 09:34:03 »
strange, I'm using nouveau with minecraft 1.6.4, works fine.
Code: [Select]
$ DRI_PRIME=1 glxinfo | grep -i  Occlusion
    GL_ARB_occlusion_query2, GL_ARB_pixel_buffer_object, GL_ARB_point_sprite,
    GL_ARB_occlusion_query, GL_ARB_occlusion_query2,

I'm using optimus enabled GT218M [NVS 3100M].

OpenGL: 3.0 Mesa 10.1.1
Java version: 1.7.0_21 (64-bit)
OS: 64-bit Linux 3.14.2-1-ARCH
lwjgl: 2.9.1

Maybe you are using minecraft 1.7 and new changes require a more modern driver, or it's also possible, that the nouveua driver is malfunctioning.
Does your glxinfo show GL_ARB_occlusion_query?