| View previous topic :: View next topic |
| Author |
Message |
jserink l33t

Joined: 30 Jan 2004 Posts: 603
|
Posted: Tue May 17, 2011 8:30 am Post subject: extreme-tuxracer runs ony as root |
|
|
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 |
|
 |
Apheus Apprentice

Joined: 12 Jul 2008 Posts: 182
|
Posted: Tue May 17, 2011 11:46 am Post subject: |
|
|
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 |
|
 |
jserink l33t

Joined: 30 Jan 2004 Posts: 603
|
Posted: Tue May 17, 2011 2:04 pm Post subject: |
|
|
| 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 |
|
 |
bbgermany Veteran


Joined: 21 Feb 2005 Posts: 1398 Location: Oranienburg/Germany
|
Posted: Tue May 17, 2011 7:45 pm Post subject: |
|
|
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 |
|
 |
jserink l33t

Joined: 30 Jan 2004 Posts: 603
|
Posted: Wed May 18, 2011 6:10 am Post subject: |
|
|
Yes, rendering is enabled.
This is the only game that has this problem. |
|
| Back to top |
|
 |
|
|
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
|
|