Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
extreme-tuxracer runs ony as root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 603

PostPosted: Tue May 17, 2011 8:30 am    Post subject: extreme-tuxracer runs ony as root Reply with quote

Hi All:

Running version 0.5_beta from partage on a 2.6.36 kernel.
Run as root, the game works fine.
Run as a normal user that is in the games group I get this:
*** etracer error: Couldn't initialize video: Couldn't find matching GLX visual (Resource temporarily unavailable).

dri is working, direct rendering is there,
glxgears is getting 210 fps.
It a permissions issue for sure, but where?

Suggestions?

Cheers,
John
Back to top
View user's profile Send private message
Apheus
Apprentice
Apprentice


Joined: 12 Jul 2008
Posts: 182

PostPosted: Tue May 17, 2011 11:46 am    Post subject: Reply with quote

I think there is also a "video" group (can't check at the moment), did you try with a user in that group?

Also, what does "eselect opengl list" say? Is there a file /usr/lib/libglx.so or /usr/lib/libgl.so, and what are its permissions:

Code:
ls -l /usr/lib/libglx.so
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 603

PostPosted: Tue May 17, 2011 2:04 pm    Post subject: Reply with quote

Apheus wrote:
I think there is also a "video" group (can't check at the moment), did you try with a user in that group?

Also, what does "eselect opengl list" say? Is there a file /usr/lib/libglx.so or /usr/lib/libgl.so, and what are its permissions:

Code:
ls -l /usr/lib/libglx.so

Hi Apheus:
kids kids # eselect opengl list
Available OpenGL implementations:
[1] xorg-x11 *
kids kids #

kids kids # cat /etc/group | grep "kids"
wheel:x:10:root,kids
audio:x:18:kids
cdrom:x:19:kids,haldaemon
video:x:27:root,kids
usb:x:85:kids,haldaemon
users:x:100:games,kids
kids:x:1001:
plugdev:x:1004:haldaemon,kids
games:x:35:kids


the user kids is already in the video group.

kids kids # ls -l /usr/lib/libglx.so
ls: cannot access /usr/lib/libglx.so: No such file or directory
kids kids # lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
02:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)

I have an intel controller and dri is working, just can't show you as am ssh'd into the box from my laptop.

ANy other ideas?

Cheers,
John
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1398
Location: Oranienburg/Germany

PostPosted: Tue May 17, 2011 7:45 pm    Post subject: Reply with quote

Hi,

what does the following command show up:

Code:

glxinfo | grep "render"


it should return something like this:
Code:

direct rendering: Yes


If you dont get something like this, you dont have 3D support enabled fully.

bb
_________________
1st: C2D 3GHz, 8GB, 2.25TB, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 320GB, HD3000
4th: Athlon X2 BE-2300, 4GB, 64GB SSD + 3TB RAID5 GF7025
5th: Samung N350, 2GB, 250GB, HD3150
6th: Rasperry Pi, 512MB, 32GB SD
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 603

PostPosted: Wed May 18, 2011 6:10 am    Post subject: Reply with quote

Yes, rendering is enabled.
This is the only game that has this problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players 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