Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get 3d accelleration to work
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
est921
n00b
n00b


Joined: 20 Dec 2015
Posts: 28

PostPosted: Thu Oct 18, 2018 7:23 pm    Post subject: Can't get 3d accelleration to work Reply with quote

I have followed the wiki to the best of my ability but 3d acceleration does not work. Glxinfo only returns
Code:
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig


I used eselect opengl to set the opengl interface to nvidia but I must have missed something else, not sure what.

My Xorg.0.log is here: https://paste.pound-python.org/show/KMbALqvj4123Wkn5ao7j/

To me, the most interesting line is
Code:

[  2664.917] (II) NVIDIA GLX Module  410.57  Tue Sep 18 23:27:13 CDT 2018
[  2664.917] (EE) Can't find the server GLX vendor interface.

But using google I only find people on the legacy drivers who run into that message.
Also, the graphics information section in the nvidia-settings program is completely empty.
Does anyone know what is wrong?
Back to top
View user's profile Send private message
log_null
n00b
n00b


Joined: 28 Nov 2011
Posts: 15

PostPosted: Thu Oct 18, 2018 9:52 pm    Post subject: Reply with quote

You can get more information enabling libgl debug to get more clues:

Code:

LIBGL_DEBUG=verbose


Verify if your Xorg is loading the correct libglx ( sometimes the installer can leave more than one version ).
Back to top
View user's profile Send private message
est921
n00b
n00b


Joined: 20 Dec 2015
Posts: 28

PostPosted: Fri Oct 19, 2018 3:57 pm    Post subject: Reply with quote

Where am I supposed to set the LIBGL_DEBUG variable? Before starting X? Before runnig glxinfo? Neither seems to do anything. The only glx I can see references to in the Xorg log is the nvidia one, are there any other log files I could check?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Oct 19, 2018 4:07 pm    Post subject: Reply with quote

FWIW, 410.57 is tagged as beta, 410.66 is not.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
est921
n00b
n00b


Joined: 20 Dec 2015
Posts: 28

PostPosted: Fri Oct 19, 2018 6:05 pm    Post subject: Reply with quote

I updated to the 410.66 drivers but unfortunately nothing has changed
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21619

PostPosted: Fri Oct 19, 2018 10:35 pm    Post subject: Reply with quote

est921 wrote:
Where am I supposed to set the LIBGL_DEBUG variable?
LIBGL_DEBUG is a Mesa construct. Non-Mesa OpenGL implementations may or may not react to it.
Back to top
View user's profile Send private message
est921
n00b
n00b


Joined: 20 Dec 2015
Posts: 28

PostPosted: Sun Oct 21, 2018 11:55 am    Post subject: Reply with quote

Oh, ok. Do you know if nvidia has some sort of equivalent?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21619

PostPosted: Sun Oct 21, 2018 6:07 pm    Post subject: Reply with quote

I do not use the proprietary nVidia drivers. Can you reproduce the problem when using the open source driver?
Back to top
View user's profile Send private message
est921
n00b
n00b


Joined: 20 Dec 2015
Posts: 28

PostPosted: Mon Oct 22, 2018 1:19 pm    Post subject: Reply with quote

No, things worked fine on the Nouveau. However I also managed to solve the problem by downgrading to Xorg-server 1.19.5-r2. So i guess I'll stay on Xorg 1.19.x for now and see if the problem has been fixed when 1.19 gets removed from gentoo
Back to top
View user's profile Send private message
Skotlex
Guru
Guru


Joined: 13 Mar 2004
Posts: 306

PostPosted: Tue Dec 25, 2018 10:38 pm    Post subject: Reply with quote

Not to bump, but I also ran into this bug recently, and also downgrading from Xorg-server 1.20.3 to 1.19.5-r2 worked.

However, I was running on version 1.20.3 for a few weeks, and it was working, but that was before upgrading my kernel to 4.14.83 (from 4.14.65) and my nvidia-drivers to 415.18 (I don't know which was the stable driver version before this one).

So it might be a particular issue between the drivers 415.18 and xorg 1.20.3. Since the X log is not more informative, nor is the nvidia-driver, there isn't much to go along to figure out what's causing this issue.
Back to top
View user's profile Send private message
est921
n00b
n00b


Joined: 20 Dec 2015
Posts: 28

PostPosted: Sun Dec 30, 2018 8:26 pm    Post subject: Reply with quote

Interesting, as I wrote before I had problems with 410.x drivers. I'm a bit hesitant about updating in case things break again and now <xorg-server-1.20 appears to be masked in portage. Did you figure out what was actually causing the problems or any workarounds on the affected drivers? I can't find much on google
Back to top
View user's profile Send private message
Skotlex
Guru
Guru


Joined: 13 Mar 2004
Posts: 306

PostPosted: Sun Apr 28, 2019 3:41 am    Post subject: Reply with quote

est921 wrote:
Interesting, as I wrote before I had problems with 410.x drivers. I'm a bit hesitant about updating in case things break again and now <xorg-server-1.20 appears to be masked in portage. Did you figure out what was actually causing the problems or any workarounds on the affected drivers? I can't find much on google


Today update world upgraded my xorg-server to version 1.20.4, I had forgotten about this bug until it came back. Worse, now I can't rollback to a previous xorg version as portage only has the ebuilds for versions 1.20.3 and 1.20.4

I have no idea what to do, and I find it weird that there hasn't been more bug reports about this. Since it's an unsupported package, we may be stuck, need to change to wayland, or change to nouveau?
Back to top
View user's profile Send private message
Pearlseattle
Apprentice
Apprentice


Joined: 04 Oct 2007
Posts: 162
Location: Switzerland

PostPosted: Sun Apr 28, 2019 6:08 pm    Post subject: Reply with quote

Did you upgrade as well your nvidia-drivers?
I see that your GTX 780 should be supported as well by the 415.x and 418.x drivers (and 390.x) => maybe it's worth trying them all out.

https://www.nvidia.com/Download/driverResults.aspx/141847/en-us
https://www.nvidia.com/Download/driverResults.aspx/145182/en-us

I will soon have to upgrade as well (GTX 760)... :?

EDIT: maybe this is related https://bbs.archlinux.org/viewtopic.php?id=237045
Back to top
View user's profile Send private message
Skotlex
Guru
Guru


Joined: 13 Mar 2004
Posts: 306

PostPosted: Mon Apr 29, 2019 1:35 am    Post subject: Reply with quote

Pearlseattle wrote:
Did you upgrade as well your nvidia-drivers?
I see that your GTX 780 should be supported as well by the 415.x and 418.x drivers (and 390.x) => maybe it's worth trying them all out.

Of course it was updated as well. Today, while trying to setup wayland to see if that'd help, I figured out a workaround. My xorg-server only fails to load the NVIDIA glx module when it was compiled with the minimal USE flag. I removed minimal from xorg-server and it works again just fine.

Code:

> emerge -pv xorg-server nvidia-drivers

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R    ] x11-drivers/nvidia-drivers-418.56:0/418::gentoo  USE="X acpi driver gtk3 kms multilib tools -compat -static-libs -uvm -wayland" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ]  x11-base/xorg-server-1.20.4:0/1.20.4::gentoo  USE="ipv6 suid udev xorg -debug -dmx -doc -elogind -glamor -kdrive -libressl -minimal (-selinux) -static-libs -systemd -unwind -wayland -xcsecurity -xephyr -xnest -xvfb" 0 KiB


This might actually be an xorg-server bug then, if it only happens when compiling with the minimum USE flag.
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