[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Nvidia, GL and root



* Jeld The Dark Elf <jeld@mindless.com> (2001-07-03 23:40):
> > If Quake 3 runs fine as root though, it does suggest a permissions
> > problem.  What error do you get when you try run it as a user?
> > 
> Q3 1.29f linux-i386 Jun 19 2001
> ----- FS_Startup -----
> Current search path:
> /home/blah/.q3a/baseq3
> /usr/local/games/quake3/baseq3/pak6.pk3 (61 files)
> /usr/local/games/quake3/baseq3/pak5.pk3 (7 files)
> /usr/local/games/quake3/baseq3/pak4.pk3 (272 files)
> /usr/local/games/quake3/baseq3/pak3.pk3 (4 files)
> /usr/local/games/quake3/baseq3/pak2.pk3 (148 files)
> /usr/local/games/quake3/baseq3/pak1.pk3 (26 files)
> /usr/local/games/quake3/baseq3/pak0.pk3 (3539 files)
> /usr/local/games/quake3/baseq3
> ./quake3.x86/baseq3
> 
> ----------------------
> 4057 files in pk3 files
> execing default.cfg
> execing q3config.cfg
> couldn't exec autoexec.cfg
> Hunk_Clear: reset the hunk ok
> Joystick is not active.
> ----- Client Initialization -----
> ----- Initializing Renderer ----
> -------------------------------
> ----- Client Initialization Complete -----
> ----- R_Init -----
> ...loading /usr/lib/libGL.so: Initializing OpenGL display
> ...setting mode 4: 800 600
> Using XFree86-VidModeExtension Version 2.0
> XF86DGA Mouse (Version 2.0) initialized
> XFree86-VidModeExtension Activated at 800x600
> Using 4/4/4 Color bits, 24 depth, 0 stencil display.
> Received signal 11, exiting...

On my machine, where you get the signal 11, mine initialises the GL
renderer, so it may be a problem with the GL libraries, or permissions
on them.  Here are the permissions on mine:

$ ls -l /usr/lib/libGL.so
lrwxrwxrwx    1 root     root           17 May 18 16:19 /usr/lib/libGL.so -> libGL.so.1.0.1251

$ ls -l /usr/lib/libGL.so.1.0.1251 
-rwxr-xr-x    1 root     root       248932 May 18 16:19 /usr/lib/libGL.so.1.0.1251

Also, do you have a symlink to the libGL in your quake3 directory?
When I ran Quake on X3.3.6, I used to have to make a symlink there,
but its not needed with the nvidia drivers.

You could also try starting Quake and specifying the libGL library on
the command line, like this:

quake3 +set r_gldriver /usr/lib/libGL.so.1.0.1251

You can also try deleting the .q3a directory in $HOME and then letting
it recreate the startup files.

Cheers,
Sean

-- 
Sean Quinlan (smq@gmx.co.uk)



Reply to: