Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] glxinfo (and other OpenGL apps) fails: BadValue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jody
Guru
Guru


Joined: 16 Oct 2007
Posts: 551
Location: Switzerland

PostPosted: Tue Sep 24, 2019 12:33 pm    Post subject: [SOLVED] glxinfo (and other OpenGL apps) fails: BadValue Reply with quote

On my relatively newly installed workstation, there seems to be something wrong with my OpenGL.
When i start glxinfo, for instance, i get:
Code:
 $ glxinfo
name of display: :0.0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  85
  Current serial number in output stream:  86

All other OpenGL applications give the same or similar messages (e.g. "couldn't create GL context for visual x24"

My opengl is set to nvidia:
Code:
 $ eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11


This is the nvidia-related output of lsmod]/b]:
Code:
$ lsmod | grep nvidia
nvidia_drm             45056  3
nvidia_modeset       1077248  3 nvidia_drm
nvidia              18624512  83 nvidia_modeset
drm_kms_helper        192512  1 nvidia_drm
drm                   524288  6 drm_kms_helper,nvidia_drm


My graphics card is [b]GeForce GTX 1080 Ti


How can i fix my openGL?


Last edited by jody on Tue Sep 24, 2019 1:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 23542
Location: here

PostPosted: Tue Sep 24, 2019 12:46 pm    Post subject: Reply with quote

Are your user in video group?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
jody
Guru
Guru


Joined: 16 Oct 2007
Posts: 551
Location: Switzerland

PostPosted: Tue Sep 24, 2019 1:40 pm    Post subject: Reply with quote

After adding the user to the group 'video' and restarting the workstation OpenGL seems to be working correctly now.

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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