Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nim program fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Alain De Vos
n00b
n00b


Joined: 20 Nov 2019
Posts: 15

PostPosted: Sat Feb 17, 2024 2:36 pm    Post subject: Nim program fails Reply with quote

import pixels
putPixel(1,1)
putPixel(10,10)
putPixel(100,100)

Nim program above works fine on FreeBSD,Artix-Linux,MX-Linux

On Gentoo it fails with error:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 151 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Back to top
View user's profile Send private message
Alain De Vos
n00b
n00b


Joined: 20 Nov 2019
Posts: 15

PostPosted: Sat Feb 17, 2024 8:09 pm    Post subject: Reply with quote

Solution was simple. I had to add the user to the "video group".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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