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.
I seem to have an OpenGL issue and was wondering if anyone can help, please keep in mind that I am new to Liunx and might need some dumbed down answers sometimes.
Here is my error when I type in the command Doom3:
5151 strings read from strings/english.lang
Couldn't open journal files
execing editor.cfg
execing default.cfg
couldn't exec DoomConfig.cfg
couldn't exec autoexec.cfg
5151 strings read from strings/english.lang
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
----- R_InitOpenGL -----
dlopen(libGL.so.1)
Open X display
Initializing OpenGL display
Using XFree86-VidModeExtension Version 2.2
DGA DirectVideo Mouse (Version 2.0) initialized
Free86-VidModeExtension Activated at 640x480
Couldn't get a visual
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
Couldn't get a visual
idRenderSystem::Shutdown()
Fatal X Error:
Major opcode of failed request: 105
Minor opcode of failed request: 0
Serial number of failed request: 38
BadValue (integer parameter out of range for operation)
Fatal X Error:
Major opcode of failed request: 2
Minor opcode of failed request: 0
Serial number of failed request: 42
BadWindow (invalid Window parameter)
Fatal X Error:
Major opcode of failed request: 4
Minor opcode of failed request: 0
Serial number of failed request: 43
BadWindow (invalid Window parameter)
Sys_Error: Unable to initialize OpenGL
reinstall the graphics drivers, make sure to set the default colour depth to 24bit and reboot your pc. this worked for me. im not sure if all those steps are necessary though. to do the colour depth bit just look in you XF86Config.conf or xorg.conf file. ask for more help if you need it.
Last edited by Mr Marmmalade; 10-06-2004 at 01:43 PM.
Awesome!! I got it up and running. I had my video set to 16bit and once it was changed to 24bit the game fired up. Thank you for the advice Mr Marmmalade, that helped out a great deal. One thing though when I am in the game the it does look funky, I didnt reload the drivers, do you think that it could be that??
Wavz
I dont have alot of money, but you have my respect. Thank you for your knowledge, and anything I learn I pass on to anyone who wants to learn. So thank you for being a teacher!!!!!!!!!!
Wavz
...well, maybe the same problem. I get very similar output to the console:
Code:
]DOOM 1.1.1282 linux-x86 Oct 4 2004 08:27:55
Hostname: localhost.localdomain
Alias: localhost
IP: 127.0.0.1
------ Initializing File System ------
Loaded pk4 /usr/local/games/doom3-demo/demo/demo00.pk4 with checksum 0x93fac1e4
Current search path:
/home/jim/.doom3-demo/demo
/usr/local/games/doom3-demo/demo
/usr/local/games/doom3-demo/demo/demo00.pk4 (12234 files)
game DLL: 0x0 in pak: 0x0
file system initialized.
--------------------------------------
Running in restricted demo mode.
----- Initializing Decls -----
------------------------------
------- Initializing renderSystem --------
using ARB renderSystem
renderSystem initialized.
--------------------------------------
5151 strings read from strings/english.lang
Couldn't open journal files
couldn't exec editor.cfg
execing default.cfg
couldn't exec DoomConfig.cfg
couldn't exec autoexec.cfg
5151 strings read from strings/english.lang
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
----- R_InitOpenGL -----
dlopen(libGL.so.1)
Open X display
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.
The game then just goes to a blackscreen, and if I move the mouse I can see that it is really just a black window covering the display, on a much bigger desktop (the screen resolution was decreased, but the desktop stayed the same size)
Now, in /etc/X11/xorg.conf I have in the screen section only this display:
here's that part of my xorg.conf. you can see that the first section chooses which of the following sections to use. i.e. ' DefaultDepth 24' tells it to use the last section and ignore the 8 & 16-bit bits. so make sure you've got 'DefaultDepth' set to 24.
Sorry, I should have posted the entire section, I already have the DefaultDepth at 24:
Is there any way I can check the depth of the screen being used?
heh. in the KDE 'Info Centre --> X-Server' bit it shows the colour depth (i think). well it says various things.
from your earlier console info it mentions a few errors, about not being able to load things. here's my sucessful one to compare with. yours stops just before the 'GL_RENDERED' bit.
here's a guess; your doom3 looks like its trying to run in 640x480 so maybe your windowing system doesnt like it and decided to do the annoying 'desktop-bigger-than-screen' (DBTS) mode. see how in my xorg.conf i got rid of all but the 1024x768 resolutions just to stop DBTS thing from happening.
also it looks like i'm not using your sort of mouse (DGA DirectVideo Mouse). ant yours cant load the autoexec & dommconfig files either.
i dunno whats wrong witrh yours. i presume you've got an OpenGL capable card?
Code:
There's no point in being grown up if you can't be childish sometimes.
-- Dr. Who
philip@Zippy2:~$ doom3 +disconnect
DOOM 1.1.1282 linux-x86 Oct 4 2004 08:21:14
Hostname: Zippy2.home.net
Alias: Zippy2
IP: 127.0.0.1
------ Initializing File System ------
Loaded pk4 /mnt/special/sys_games/doom3/base/game00.pk4 with checksum 0x7dafc4d4
Loaded pk4 /mnt/special/sys_games/doom3/base/game01.pk4 with checksum 0x16cf3b8a
Loaded pk4 /mnt/special/sys_games/doom3/base/pak000.pk4 with checksum 0x28d208f1
Loaded pk4 /mnt/special/sys_games/doom3/base/pak001.pk4 with checksum 0x40244be0
Loaded pk4 /mnt/special/sys_games/doom3/base/pak002.pk4 with checksum 0xc51ecdcd
Loaded pk4 /mnt/special/sys_games/doom3/base/pak003.pk4 with checksum 0xcd79d028
Loaded pk4 /mnt/special/sys_games/doom3/base/pak004.pk4 with checksum 0x765e4f8b
Loaded pk4 /mnt/special/sys_games/doom3/base/pak005.pk4 with checksum 0x8ffc3621
Current search path:
/home/philip/.doom3/base
/mnt/special/sys_games/doom3/base
/mnt/special/sys_games/doom3/base/pak005.pk4 (63 files)
/mnt/special/sys_games/doom3/base/pak004.pk4 (5137 files)
/mnt/special/sys_games/doom3/base/pak003.pk4 (4676 files)
/mnt/special/sys_games/doom3/base/pak002.pk4 (6120 files)
/mnt/special/sys_games/doom3/base/pak001.pk4 (8972 files)
/mnt/special/sys_games/doom3/base/pak000.pk4 (2698 files)
/mnt/special/sys_games/doom3/base/game01.pk4 (2 files)
/mnt/special/sys_games/doom3/base/game00.pk4 (2 files)
game DLL: 0x0 in pak: 0x0
file system initialized.
--------------------------------------
----- Initializing Decls -----
------------------------------
------- Initializing renderSystem --------
using ARB renderSystem
renderSystem initialized.
--------------------------------------
5151 strings read from strings/english.lang
Couldn't open journal files
execing editor.cfg
execing default.cfg
execing DoomConfig.cfg
execing autoexec.cfg
5151 strings read from strings/english.lang
----- Initializing Sound System ------
sound system initialized.
--------------------------------------
----- R_InitOpenGL -----
dlopen(libGL.so.1)
Open X display
Initializing OpenGL display
Using XFree86-VidModeExtension Version 2.2
Xlib: extension "XFree86-DGA" missing on display ":0.0".
Failed to detect DGA DirectVideo Mouse
Free86-VidModeExtension Activated at 1024x768
Using 8/8/8 Color bits, 8 Alpha bits, 24 depth, 8 stencil display.
GL_RENDERER: GeForce 6800/AGP/SSE/3DNOW!
GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_compression 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_texture_non_power_of_two GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_pixel_format_float GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp 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_mirror_clamp GL_EXT_texture_object GL_EXT_vertex_array GL_HP_occlusion_test GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_centroid_sample GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow 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'
/dev/dsp - bit rate: 16, channels: 2, frequency: 44100
------------------------------------------------
...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
...using GL_ARB_texture_non_power_of_two
...using GL_ARB_texture_compression
...using GL_EXT_texture_filter_anisotropic
maxTextureAnisotropy: 16.000000
...using GL_1.4_texture_lod_bias
X..GL_EXT_shared_texture_palette not found
...using GL_EXT_texture3D
...using GL_EXT_stencil_wrap
...using GL_NV_register_combiners
...using GL_EXT_stencil_two_side
X..GL_ATI_fragment_shader not found
X..GL_ATI_text_fragment_shader not found
...using GL_ARB_vertex_buffer_object
...using GL_ARB_vertex_program
...using GL_ARB_fragment_program
...using EXT_depth_bounds_test
---------- R_NV20_Init ----------
---------------------------------
----------- R200_Init -----------
Not available.
---------- R_ARB2_Init ----------
Available.
Cg not available.
---------------------------------
---------- R_Exp_Init -----------
Disabled at compile time.
---------------------------------
----- R_ReloadARBPrograms -----
glprogs/test.vfp
glprogs/test.vfp
glprogs/interaction.vfp
glprogs/interaction.vfp
glprogs/bumpyEnvironment.vfp
glprogs/bumpyEnvironment.vfp
glprogs/ambientLight.vfp
glprogs/ambientLight.vfp
glprogs/shadow.vp
glprogs/R200_interaction.vp
glprogs/nv20_bumpAndLight.vp
glprogs/nv20_diffuseColor.vp
glprogs/nv20_specularColor.vp
glprogs/nv20_diffuseAndSpecularColor.vp
glprogs/environment.vfp
glprogs/environment.vfp
-------------------------------
using ARB_vertex_buffer_object memory
using ARB2 renderSystem
found DLL in pak file: /mnt/special/sys_games/doom3/base/game01.pk4/gamex86.so
copy gamex86.so to /home/philip/.doom3/base/gamex86.so
--------- Initializing Game ----------
gamename: baseDOOM-1
gamedate: Oct 4 2004
Initializing event system
...472 event definitions
Initializing class hierarchy
...141 classes, 381376 bytes for event callbacks
Initializing scripts
/proc/cpuinfo CPU frequency: 1799.51 MHz
Compiled 'removeInitialSplineAngles': 5299.8 ms
---------- Compile stats ----------
Memory usage:
Strings: 79, 12592 bytes
Statements: 67783, 1355660 bytes
Functions: 2108, 250452 bytes
Variables: 147320 bytes
Mem used: 2476244 bytes
Static data: 2277552 bytes
Allocated: 3283340 bytes
Thread size: 7068 bytes
...6 aas types
game initialized.
--------------------------------------
-------- Initializing Session --------
session initialized
--------------------------------------
--- Common Initialization Complete ---
terminal support enabled ( use +set in_tty 0 to disabled )
pid: 1246
496 MB System Memory
128 MB Video Memory
Async thread started
--------- Game Map Shutdown ----------
--------------------------------------
--------- Game Map Shutdown ----------
--------------------------------------
Shutting down sound hardware
----------- OSS Sound Shutdown -----------
unmap dma sound buffer
close sound device
------------------------------------------
idRenderSystem::Shutdown()
------------ Game Shutdown -----------
--------- Game Map Shutdown ----------
--------------------------------------
Shutdown event system
--------------------------------------
shutdown terminal support
philip@Zippy2:~$
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.