View previous topic :: View next topic |
Author |
Message |
Tony420 Apprentice
Joined: 16 Mar 2004 Posts: 193 Location: Corona, CA
|
Posted: Tue Jan 18, 2005 8:59 pm Post subject: ET problem! ??You are using software Mesa ?? |
|
|
ut2k4-demo worked fine...tried to play ET and this happens:
this is is 9800pro
Code: |
You are using software Mesa (no hardware acceleration)!
Driver DLL used: libGL.so.1
If this is intentional, add
"+set r_allowSoftwareGL 1"
to the command line when starting the game. |
So the question is...how do I stop using the Mesa libGL driver? |
|
Back to top |
|
|
steve_d555 Guru
Joined: 07 Nov 2004 Posts: 458 Location: Belmont, Massachusetts
|
Posted: Thu Jan 20, 2005 3:37 am Post subject: |
|
|
opengl-update ati
Did you do above?
Do you have ati-drivers installed?
Are there errors in Xorg.0.log?
Is the module loaded?
--Steve |
|
Back to top |
|
|
Tony420 Apprentice
Joined: 16 Mar 2004 Posts: 193 Location: Corona, CA
|
Posted: Thu Jan 20, 2005 4:55 am Post subject: |
|
|
ahhh that wasnt the problem...I fixed it tho. You have to alter the launcher file for ET to make it work, not to mention fix the portage ebuild.
It should look like:
Code: | #!/bin/sh
cd /opt/enemy-territory
export LIBGL_DRIVERS_DIR=/usr/X11R6/lib32/modules/dri
exec ./et.x86 +set sys_videoRam 128 +set r_glDriver /opt/enemy-territory/libGL.so.1 |
presto! working ET. The same thing is done to get doom3 to run. |
|
Back to top |
|
|
sixofseven n00b
Joined: 08 Mar 2004 Posts: 20
|
Posted: Thu Jan 20, 2005 6:39 am Post subject: doesn't work |
|
|
I have installed ati-drivers according to all howto's. I compiled the kernel twice and everything is fine there. fglrx is in the 2.6 kernel modules. No errors in Xorg.log.
glxinfo | grep direct = direct rendering: yes
(64-bit) and yes I have done opengl-update ati.
Code: | bash-2.05b# more /usr/bin/et_launch
#!/bin/sh
cd /opt/enemy-territory
export LIBGL_DRIVERS_DIR=/usr/X11R6/lib32/modules/dri
exec ./et.x86 +set sys_videoRam 128 +set r_glDriver /usr/lib/opengl/ati/lib/libGL.so.1.2
|
Code: |
bash-2.05b$ et_launch
ET 2.56 linux-i386 Sep 10 2003
----- FS_Startup -----
Current search path:
/home/gifu/.etwolf/etmain
/opt/enemy-territory/etmain/pak1.pk3 (10 files)
/opt/enemy-territory/etmain/pak0.pk3 (3725 files)
/opt/enemy-territory/etmain/mp_bin.pk3 (4 files)
/opt/enemy-territory/etmain
----------------------
3739 files in pk3 files
execing default.cfg
couldn't exec language.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
------- Input Initialization -------
Joystick is not active.
------------------------------------
Bypassing CD checks
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading /usr/lib/opengl/ati/lib/libGL.so.1.2: QGL_Init: dlopen /usr/lib/opengl/ati/lib/libGL.so.1.2 failed: /usr/lib/opengl/ati/lib/libGL.so.1.2: cannot open shared object file: Nosuch file or directory
failed
...loading libGL.so.1: Initializing OpenGL display
...setting mode 4: 800 600
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 800x600
Using 8/8/8 Color bits, 24 depth, 0 stencil display.
GL_RENDERER: Mesa GLX Indirect
***********************************************************
You are using software Mesa (no hardware acceleration)!
Driver DLL used: libGL.so.1
If this is intentional, add
"+set r_allowSoftwareGL 1"
to the command line when starting the game.
***********************************************************
...WARNING: could not set the given mode (4)
Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 640x480
Received signal 11, exiting...
|
--> /usr/lib/opengl/ati/lib/libGL.so.1.2 failed: /usr/lib/opengl/ati/lib/libGL.so.1.2: cannot open shared object file: Nosuch file or directory
there is a such file, I don't know why this comes. Same error with /opt/ati/bin/libGL.so.1.2
There is no error if I set the driver to be /usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2, but it is GL_RENDERER: Mesa GLX Indirect
Code: |
bash-2.05b$ et_launch
ET 2.56 linux-i386 Sep 10 2003
----- FS_Startup -----
Current search path:
/home/gifu/.etwolf/etmain
/opt/enemy-territory/etmain/pak1.pk3 (10 files)
/opt/enemy-territory/etmain/pak0.pk3 (3725 files)
/opt/enemy-territory/etmain/mp_bin.pk3 (4 files)
/opt/enemy-territory/etmain
----------------------
3739 files in pk3 files
execing default.cfg
couldn't exec language.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
------- Input Initialization -------
Joystick is not active.
------------------------------------
Bypassing CD checks
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading /usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2: Initializing OpenGL display
...setting mode 4: 800 600
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 800x600
Using 8/8/8 Color bits, 24 depth, 0 stencil display.
GL_RENDERER: Mesa GLX Indirect
***********************************************************
You are using software Mesa (no hardware acceleration)!
Driver DLL used: /usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2
If this is intentional, add
"+set r_allowSoftwareGL 1"
to the command line when starting the game.
***********************************************************
...WARNING: could not set the given mode (4)
Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 640x480
Received signal 11, exiting...
|
|
|
Back to top |
|
|
bennettp Guru
Joined: 22 Feb 2004 Posts: 335 Location: on my back and tumbling
|
Posted: Thu Jan 20, 2005 8:47 am Post subject: |
|
|
sixofseven: "/usr/lib/opengl/ati/lib/libGL.so.1.2" is probably a symlink. Make sure it's pointing to something. _________________ Registered Linux User #363420 |
|
Back to top |
|
|
sixofseven n00b
Joined: 08 Mar 2004 Posts: 20
|
Posted: Thu Jan 20, 2005 10:18 am Post subject: |
|
|
no, it's not a symlink. And I have checked all of these, what I have tried.
bash-2.05b$ ls -al /usr/lib/opengl/ati/lib/libGL.so.1
lrwxrwxrwx 1 root root 12 Jan 19 14:22 /usr/lib/opengl/ati/lib/libGL.so.1 -> libGL.so.1.2
bash-2.05b$ ls -al /usr/lib/opengl/ati/lib/libGL.so.1.2
-rwxrwxrwx 1 root root 1015425 Jan 19 14:22 /usr/lib/opengl/ati/lib/libGL.so.1.2 |
|
Back to top |
|
|
|