Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
After xorg-server-1.16.2.901-r1 update 3D stopped working
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
peter4
Guru
Guru


Joined: 19 Jul 2005
Posts: 359
Location: Wroclaw, Poland

PostPosted: Wed Dec 31, 2014 4:34 pm    Post subject: After xorg-server-1.16.2.901-r1 update 3D stopped working Reply with quote

A bunch of xorg-related packages were bumped today:

Code:
     Wed Dec 31 14:02:21 2014 <<< app-admin/eselect-opengl-1.2.7
     Wed Dec 31 14:02:23 2014 >>> app-admin/eselect-opengl-1.3.1
     Wed Dec 31 14:02:32 2014 <<< x11-proto/glproto-1.4.17
     Wed Dec 31 14:02:33 2014 >>> x11-proto/glproto-1.4.17-r1
     Wed Dec 31 14:08:31 2014 <<< media-libs/mesa-10.3.5
     Wed Dec 31 14:08:32 2014 >>> media-libs/mesa-10.3.5-r1
     Wed Dec 31 14:09:21 2014 <<< x11-base/xorg-server-1.16.2.901
     Wed Dec 31 14:09:23 2014 >>> x11-base/xorg-server-1.16.2.901-r1


After upgrading them 3D acceleration stopped working on my system. I use the binary nvidia driver. Here's my Xorg log: http://pastebin.com/CL7yaQ7s

EDIT: downgraded them, problem didn't go away. Plot thickens. I'm 100% sure I had working acceleration before the upgrade.
EDIT2: manually eselect'ing opengl set nvidia fixed it after the downgrade. With the -r1 versions it still doesn't work.
EDIT3: removed the bits I was wrong about.


Last edited by peter4 on Wed Dec 31, 2014 5:29 pm; edited 3 times in total
Back to top
View user's profile Send private message
j_c_p
Guru
Guru


Joined: 30 Aug 2003
Posts: 319
Location: France - Colmar

PostPosted: Wed Dec 31, 2014 4:43 pm    Post subject: Reply with quote

The same for me :cry:
Code:
[    24.640] (II) Loading sub module "dri2"
[    24.640] (II) LoadModule: "dri2"
[    24.640] (II) Module "dri2" already built-in
[    24.640] (II) NVIDIA(0): [DRI2] Setup complete
[    24.640] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    24.641] (--) RandR disabled
[    24.932] (EE) AIGLX error: dlopen of /usr/lib64/dri/swrast_dri.so failed (/usr/lib64/dri/swrast_dri.so: undefined symbol: _glapi_tls_Dispatch)
[    24.932] (EE) GLX: could not load software renderer
[    24.932] (II) GLX: no usable GL providers found for screen 0


To read -> https://lists.debian.org/debian-x/2014/07/msg00431.html
_________________
Lian Li PC60 - AMD FX 8300 - Asrock 990FX EXTREME9 - Gigabyte GTX960 G1 Gaming 4Go
Back to top
View user's profile Send private message
peter4
Guru
Guru


Joined: 19 Jul 2005
Posts: 359
Location: Wroclaw, Poland

PostPosted: Wed Dec 31, 2014 5:24 pm    Post subject: Reply with quote

I think I found the problem.

After upgrade:
Code:
[     7.037] (II) LoadModule: "glx"
[     7.038] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[     7.109] (II) Module glx: vendor="X.Org Foundation"
[     7.109]    compiled for 1.16.2.901, module version = 1.0.0
[     7.109]    ABI class: X.Org Server Extension, version 8.0
After downgrade:
Code:
[  2899.413] (II) LoadModule: "glx"
[  2899.413] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  2899.418] (II) Module glx: vendor="NVIDIA Corporation"
[  2899.418]    compiled for 4.0.2, module version = 1.0.0
[  2899.418]    Module class: X.Org Server Extension
[  2899.418] (II) NVIDIA GLX Module  346.22  Tue Dec  2 10:20:26 PST 2014
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54097
Location: 56N 3W

PostPosted: Wed Dec 31, 2014 5:42 pm    Post subject: Reply with quote

peter4,

Code:
[     7.109] (II) Module glx: vendor="X.Org Foundation"

suggests that eselect opengl set is pointing to the wrong OpenGL driver.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
peter4
Guru
Guru


Joined: 19 Jul 2005
Posts: 359
Location: Wroclaw, Poland

PostPosted: Wed Dec 31, 2014 5:45 pm    Post subject: Reply with quote

Here's a bug: https://bugs.gentoo.org/show_bug.cgi?id=534128
Back to top
View user's profile Send private message
Kaorukun
n00b
n00b


Joined: 27 Aug 2014
Posts: 5

PostPosted: Wed Dec 31, 2014 8:55 pm    Post subject: Reply with quote

I posted an update on bugzilla - had almost the same issue today.
It seems that after update Xorg lost the list of directories to look in for modules. First it tried to load a 32-bit version of libglx.so, then could not find fglrx. Reverting to old versions, reemerging, eselect etc. did not help.
I "fixed" it by putting a list of appropriate directories to xorg.conf, although it was working without this section just fine prior to upgrade.
Code:

Section "Files"
        ModulePath      "/usr/lib64/xorg/modules,/usr/lib64/opengl/ati,/usr/lib32/xorg/modules,/usr/lib32/opengl/ati"
EndSection

(I guess the /lib32/ are not needed)

I wonder what went wrong and what's the proper way of configuring this?
Back to top
View user's profile Send private message
j_c_p
Guru
Guru


Joined: 30 Aug 2003
Posts: 319
Location: France - Colmar

PostPosted: Thu Jan 01, 2015 12:17 pm    Post subject: Reply with quote

I downgraded ;).
_________________
Lian Li PC60 - AMD FX 8300 - Asrock 990FX EXTREME9 - Gigabyte GTX960 G1 Gaming 4Go
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6095
Location: Dallas area

PostPosted: Thu Jan 01, 2015 1:23 pm    Post subject: Reply with quote

I've had the ModulePath line for a long time my config file, perhaps because I added lots of FontPath lines to that section.

Though I chose not to upgrade to those versions just yet.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1602
Location: Just over the horizon

PostPosted: Thu Jan 01, 2015 6:18 pm    Post subject: Reply with quote

I downgraded too and got it working again...don't have time to fiddle with it now. May tinker some more when I get some time. I'm not sure exactly what the cause is yet.
Back to top
View user's profile Send private message
macldz
n00b
n00b


Joined: 26 Feb 2013
Posts: 2

PostPosted: Thu Jan 01, 2015 6:43 pm    Post subject: Reply with quote

platojones wrote:
I downgraded too and got it working again...don't have time to fiddle with it now. May tinker some more when I get some time. I'm not sure exactly what the cause is yet.

Another but temporary method is
replace libglx.so with

lrwxrwxrwx 1 root root 50 Jan 1 20:19 libglx.so -> ../../../opengl/nvidia/extensions/libglx.so.346.22
-rwxr-xr-x 1 root root 281752 Jan 1 16:54 libglx.so.xorg



( check if in /etc/env.d exists file 000opengl )

Its temp solutions, waiting for xorg-server patch.
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Tue Jan 20, 2015 1:40 pm    Post subject: Reply with quote

Kaorukun wrote:
I posted an update on bugzilla - had almost the same issue today.
It seems that after update Xorg lost the list of directories to look in for modules. First it tried to load a 32-bit version of libglx.so, then could not find fglrx. Reverting to old versions, reemerging, eselect etc. did not help.
I "fixed" it by putting a list of appropriate directories to xorg.conf, although it was working without this section just fine prior to upgrade.
Code:

Section "Files"
        ModulePath      "/usr/lib64/xorg/modules,/usr/lib64/opengl/ati,/usr/lib32/xorg/modules,/usr/lib32/opengl/ati"
EndSection

(I guess the /lib32/ are not needed)

I wonder what went wrong and what's the proper way of configuring this?

I use FGLRX in Gentoo ~amd64 multilib. I'm emerging world at the moment, so have not rebooted yet. In my case, I notice that my existing xorg.conf has had the following additional lines added to it:

Code:
Section "Files"
EndSection

and there is a new directory /etc/X11/xorg.conf.d/ which contains a new file 20opengl.conf containing the following lines:

Code:
Section "Files"
        ModulePath "/usr/lib32/xorg/modules"
        ModulePath "/usr/lib64/opengl/ati"
        ModulePath "/usr/lib64/xorg/modules"
EndSection

If I read Gentoo Bug Report No. 534128 correctly, all I need to do is comment out the above-mentioned two new lines in xorg.conf. As I am using ~amd64 multilib, I assume I also need to comment out the first ModulePath line in the new file 20opengl.conf but am not sure. Can anyone advise? Thanks in advance.

----------------------------------------------------------------------------

EDIT (Tue 20 Jan 23:17:29 GMT 2015): Just to confirm, I'm using ~amd64 multilib and FGLRX driver (ATI Mobility Radeon HD 5650 GPU). I deleted the above-mentioned two lines in xorg.conf and I also deleted the line containing "lib32" in 20opengl.conf. After rebooting, X11, GLX and Direct Rendering are working.


EDIT (Mon 26 Jan 04:15:37 GMT 2015): Actually, I'm not so sure now that the above-mentioned two lines in xorg.conf were new; they may have been in the file before I emerged world. Anyway, I deleted them.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
Aonoa
Guru
Guru


Joined: 23 May 2002
Posts: 589

PostPosted: Fri Jan 30, 2015 10:49 am    Post subject: Reply with quote

Adding
Code:
ModulePath "/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules"

In the otherwise empty "Files" section of xorg.conf fixed my problems.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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