Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] glx not working with nvidia-drivers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
pascal
n00b
n00b


Joined: 25 Jun 2022
Posts: 2

PostPosted: Sat Jun 25, 2022 10:20 am    Post subject: [SOLVED] glx not working with nvidia-drivers Reply with quote

I'm using nvidia-drivers on Wayland.

glxinfo returns:
Code:

pascal@desktop ~ $ glxinfo
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig


glxgears returns:
Code:

pascal@desktop ~ $ glxgears
Error: couldn't get an RGB, Double-buffered visual


I installed nvidia-drivers with abi_x86_32 and without support for X.

Nvidia modules seems to be loaded:
Code:

pascal@desktop ~ $ lsmod | grep nvidia
nvidia_drm             57344  25
nvidia_modeset       1105920  4 nvidia_drm
nvidia              38498304  442 nvidia_modeset
drm_kms_helper        221184  1 nvidia_drm
drm                   417792  14 drm_kms_helper,nvidia,nvidia_drm


Kernel config:
https://dpaste.com/7R7U34L88.txt

emerge --info:
https://dpaste.com/8LP7WJ659.txt

Is there something I can do?

Thanks in advance


Last edited by pascal on Sat Jun 25, 2022 12:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2719

PostPosted: Sat Jun 25, 2022 11:45 am    Post subject: Re: glx not working with nvidia-drivers Reply with quote

pascal wrote:
glxgears returns:
Code:

pascal@desktop ~ $ glxgears
Error: couldn't get an RGB, Double-buffered visual


I installed nvidia-drivers with abi_x86_32 and without support for X.
GLX is only for X, it stands for GL extensions to the X window system (and by X, that includes using it with xwayland -- X support isn't useless on wayland). nvidia's libGLX_nvidia is linked with libX11, so it's not installed with USE=-X

(also, while it exists, nvidia's wayland support is still pretty rough).
Back to top
View user's profile Send private message
pascal
n00b
n00b


Joined: 25 Jun 2022
Posts: 2

PostPosted: Sat Jun 25, 2022 12:34 pm    Post subject: Reply with quote

Thats it!

Thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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