Linux - GamesThis forum is for all discussion relating to gaming in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Yesterday DOOM3 worked on my PC. Today it doesn't. The only change I made between now and then was making my PC boot directly into X when it starts up (so that I see a graphical login screen and don't have to type "startx").
Now DOOM3 doesn't work anymore.
I'm using a GeForce FX 5500. I have the nVidia drivers installed and working.
My PC's a 2.(7/8?) GHz Celeron with 512MB RAM.
Any ideas?
Here's what I got from the terminal:
@darkwater:~$ doom3
DOOM 1.3.1302 linux-x86 May 12 2005 14:56:44
found interface lo - loopback
found interface eth0 - 192.168.1.104/255.255.255.0
------ Initializing File System ------
Loaded pk4 /usr/local/games/doom3/base/game01.pk4 with checksum 0xe9d5adcf
Loaded pk4 /usr/local/games/doom3/base/game02.pk4 with checksum 0x80401dd2
Loaded pk4 /usr/local/games/doom3/base/game03.pk4 with checksum 0x351c23e8
Loaded pk4 /usr/local/games/doom3/base/pak000.pk4 with checksum 0x28d208f1
Loaded pk4 /usr/local/games/doom3/base/pak001.pk4 with checksum 0x40244be0
Loaded pk4 /usr/local/games/doom3/base/pak002.pk4 with checksum 0xc51ecdcd
Loaded pk4 /usr/local/games/doom3/base/pak003.pk4 with checksum 0xcd79d028
Loaded pk4 /usr/local/games/doom3/base/pak004.pk4 with checksum 0x765e4f8b
Loaded pk4 /usr/local/games/doom3/base/pak005.pk4 with checksum 0x8ffc3621
Loaded pk4 /usr/local/games/doom3/base/pak006.pk4 with checksum 0x95b65ab
Loaded pk4 /usr/local/games/doom3/base/pak007.pk4 with checksum 0x666bdb3c
Loaded pk4 /home/scott/.doom3/base/dm6.pk4 with checksum 0xd628a0b0
Loaded pk4 /home/scott/.doom3/base/map_aerod3.pk4 with checksum 0x167a80bd
Loaded pk4 /home/scott/.doom3/base/map_swd3dm1.pk4 with checksum 0x85948274
Loaded pk4 /home/scott/.doom3/base/map_swd3dm2.pk4 with checksum 0x623b6de5
Loaded pk4 /home/scott/.doom3/base/map_swd3dm3.pk4 with checksum 0x181d8ed3
Current search path:
/home/scott/.doom3/base
/home/scott/.doom3/base/map_swd3dm3.pk4 (20 files)
/home/scott/.doom3/base/map_swd3dm2.pk4 (15 files)
/home/scott/.doom3/base/map_swd3dm1.pk4 (15 files)
/home/scott/.doom3/base/map_aerod3.pk4 (27 files)
/home/scott/.doom3/base/dm6.pk4 (21 files)
/usr/local/games/doom3/base
/usr/local/games/doom3/base/pak007.pk4 (38 files)
/usr/local/games/doom3/base/pak006.pk4 (48 files)
/usr/local/games/doom3/base/pak005.pk4 (63 files)
/usr/local/games/doom3/base/pak004.pk4 (5137 files)
/usr/local/games/doom3/base/pak003.pk4 (4676 files)
/usr/local/games/doom3/base/pak002.pk4 (6120 files)
/usr/local/games/doom3/base/pak001.pk4 (8972 files)
/usr/local/games/doom3/base/pak000.pk4 (2698 files)
/usr/local/games/doom3/base/game03.pk4 (2 files)
/usr/local/games/doom3/base/game02.pk4 (2 files)
/usr/local/games/doom3/base/game01.pk4 (2 files)
game DLL: 0x0 in pak: 0x0
Addon pk4s:
file system initialized.
--------------------------------------
----- Initializing Decls -----
------------------------------
------- Initializing renderSystem --------
using ARB renderSystem
renderSystem initialized.
--------------------------------------
5206 strings read from strings/english.lang
Couldn't open journal files
execing editor.cfg
execing default.cfg
execing DoomConfig.cfg
couldn't exec autoexec.cfg
5206 strings read from strings/english.lang
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
----- R_InitOpenGL -----
Setup X display connection
dlopen(libGL.so.1)
Initializing OpenGL display
Using XFree86-VidModeExtension Version 2.2
DGA DirectVideo Mouse (Version 2.0) initialized
Free86-VidModeExtension Activated at 640x480
Using 8/8/8 Color bits, 8 Alpha bits, 24 depth, 8 stencil display.
GL_RENDERER: GeForce FX 5500/AGP/SSE2
GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_imaging GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_texture_border_clamp GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_shared_texture_palette GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fog_distance GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_multi_draw_arrays GL_SUN_slice_accum
------- Input Initialization -------
XKB extension: compile time 0x1:0x0, runtime 0x1:0x0: OK
XKB extension present on server ( 0x1:0x0 )
------------------------------------
------ OSS Sound Initialization ------
opened sound device '/dev/dsp'
ioctl SNDCTL_SYSINFO failed: Invalid argument
this ioctl is only available in OSS/Linux implementation. If you run OSS/Free, don't bother./dev/dsp - bit rate: 16, channels: 2, frequency: 44100
allocated a mix buffer of 16384 bytes
WARNING: ioctl SNDCTL_DSP_SETTRIGGER PCM_ENABLE_OUTPUT failed: Broken pipe
--------------------------------------
...using GL_ARB_multitexture
...using GL_ARB_texture_env_combine
...using GL_ARB_texture_cube_map
...using GL_ARB_texture_env_dot3
...using GL_ARB_texture_env_add
X..GL_ARB_texture_non_power_of_two not found
X..GL_ARB_texture_compression not found
...using GL_EXT_texture_filter_anisotropic
maxTextureAnisotropy: 8.000000
...using GL_EXT_texture_lod
...using GL_1.4_texture_lod_bias
...using GL_EXT_shared_texture_palette
...using GL_EXT_texture3D
...using GL_EXT_stencil_wrap
X..GL_NV_register_combiners not found
X..GL_EXT_stencil_two_side not found
X..GL_ATI_separate_stencil not found
X..GL_ATI_fragment_shader not found
X..GL_ATI_text_fragment_shader not found
X..GL_ARB_vertex_buffer_object not found
X..GL_ARB_vertex_program not found
X..GL_ARB_fragment_program not found
X..EXT_depth_bounds_test not found
---------- R_NV20_Init ----------
Not available.
----------- R200_Init -----------
Not available.
---------- R_ARB2_Init ----------
Not available.
----- R_ReloadARBPrograms -----
glprogs/test.vfp: GL_VERTEX_PROGRAM_ARB not available
glprogs/test.vfp: GL_FRAGMENT_PROGRAM_ARB not available
glprogs/interaction.vfp: GL_VERTEX_PROGRAM_ARB not available
glprogs/interaction.vfp: GL_FRAGMENT_PROGRAM_ARB not available
glprogs/bumpyEnvironment.vfp: GL_VERTEX_PROGRAM_ARB not available
glprogs/bumpyEnvironment.vfp: GL_FRAGMENT_PROGRAM_ARB not available
glprogs/ambientLight.vfp: GL_VERTEX_PROGRAM_ARB not available
glprogs/ambientLight.vfp: GL_FRAGMENT_PROGRAM_ARB not available
glprogs/shadow.vp: GL_VERTEX_PROGRAM_ARB not available
glprogs/R200_interaction.vp: GL_VERTEX_PROGRAM_ARB not available
glprogs/nv20_bumpAndLight.vp: GL_VERTEX_PROGRAM_ARB not available
glprogs/nv20_diffuseColor.vp: GL_VERTEX_PROGRAM_ARB not available
glprogs/nv20_specularColor.vp: GL_VERTEX_PROGRAM_ARB not available
glprogs/nv20_diffuseAndSpecularColor.vp: GL_VERTEX_PROGRAM_ARB not available
glprogs/environment.vfp: GL_VERTEX_PROGRAM_ARB not available
glprogs/environment.vfp: GL_FRAGMENT_PROGRAM_ARB not available
glprogs/arbVP_glasswarp.txt: File not found
glprogs/arbFP_glasswarp.txt: File not found
-------------------------------
WARNING: vertex array range in virtual memory (SLOW)
signal caught: Segmentation fault
si_code 1
Trying to exit gracefully..
Shutting down sound hardware
------ OSS Sound Shutdown ------
close sound device
--------------------------------
idRenderSystem::Shutdown()
I'm sure the problem has to do with me making X start automatically, but I'm not sure how to fix it since I want to have X start automatically.
You might take a look at this thread [Gentoo Forums].
It is long, but on page 3 there is a working solution. I'd recommend reading through most of it, though, instead of skipping and trying the solution...ignoring the gentoo specific commands, of course.
Well before I try that. . . is it weird that glxinfo shows me as using indirect rendering? Shouldn't I be using direct rendering, since I'm using a 3d-accelerated card?
Originally posted by NetRAVEN5000 Well before I try that. . . is it weird that glxinfo shows me as using indirect rendering? Shouldn't I be using direct rendering, since I'm using a 3d-accelerated card?
Scratch that - sorry. Forgot that nVidia has you disable DRI in your xorg.conf.
Anyways, I still can't make any sense of why it would work one day and not the next.
Also, thanks for trying to help out flower.Hercules, but your instructions are for a Gentoo install using an ATi card and the 64-bit ATi driver, and I'm using a Slackware 10.2 install with an nVidia card and my chip's only 32-bit.
Last edited by NetRAVEN5000; 09-30-2005 at 10:39 PM.
The DRI drivers for ATI cards may run the game with some tweaking ( you need to apply the S3TC patch for instance ). But the rendering quality will be sub-optimal, as a number of important graphic features are not available in the DRI drivers.
Do not send me reports about the game not working on ATI card. Either with fglrx driver or the DRI driver. We know about this already, and at this point there is nothing we can do.
The DRI drivers for ATI cards may run the game with some tweaking ( you need to apply the S3TC patch for instance ). But the rendering quality will be sub-optimal, as a number of important graphic features are not available in the DRI drivers.
Do not send me reports about the game not working on ATI card. Either with fglrx driver or the DRI driver. We know about this already, and at this point there is nothing we can do.
First of all, I reinstalled the drivers and now it works OK. Maybe I did updates and it broke OGL.
Second of all, maybe you didn't fully read my previous posts, flower.Hercules, but I don't have an ATi card. I don't buy from ATi anymore - I did so once and their Linux support was terrible.
Last edited by NetRAVEN5000; 10-01-2005 at 09:37 PM.
Originally posted by flower.Hercules Originally, NetRAVEN5000, I read it and I'm not sure why, on my second response, I thought you did.
Well, I don't know why - I said right off the bat in my first post " I'm using a GeForce FX 5500. I have the nVidia drivers installed and working" and after you sent the ATi-specific instructions I said "I'm using a Slackware 10.2 install with an nVidia card."
basically, there's no DRI because there are either different vendors or different versions of the client / server. Just fix your symlinks and it'll work.
first check to see if the versions are mismatched:
basically, there's no DRI because there are either different vendors or different versions of the client / server. Just fix your symlinks and it'll work.
first check to see if the versions are mismatched:
where $NVVER is the version of your nvidia-glx package, e.g. 1.0.7174
glxinfo should now show DRI as being enabled, and Doom3 will run.
Thanks for trying to help, but (I forgot to mention this but) I did a reinstall of the nVidia drivers and now it works - maybe they got wrecked when I did updates or something.
As far as the "indirect rendering" thing, I found out that the reason it couldn't use direct rendering was because I didn't have the proper AGPGART driver enabled in my kernel.
I don't think I want to go through the trouble to make "DRI" work - the nVidia "readme" says it doesn't work with it and until nVidia says otherwise I don't really wanna go through the trouble to make it work - not sure it's worth it if everything already works the way I want it to. Thanks anyways, though!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.