Pages: [1]
  Print  
Author Topic: Blank screen/X hangs on running the game on Red Hat Fedora Linux 20.  (Read 16660 times)
neutrino78x
Nub


Cakes 0
Posts: 10


« on: April 27, 2014, 09:00:13 PM »

Hey guys, well the game works great in Win XP, but I'm not booting XP anymore due to security concerns, and I recently got a "new" PC.

In Red Hat Fedora 20 Linux, I installed the game with "yum install openarena", and it installed with no errors.

However, whenever I try to run the game, the graphics card seems to change modes, and then I have a blank, unresponsive Xorg screen.  I am left with pressing Control-Alt-F2, logging in on the console, and restarting gdm (service gdm restart).

Here is the output of stderr (openarena 2>log.txt):

Code:
ioq3 1.36 linux-x86_64 Aug  4 2013
Have SSE support
----- FS_Startup -----
Current search path:
/home/brian/.openarena/baseoa
/usr/share/openarena/baseoa
/usr/share/openarena/baseoa/pak6-patch088.pk3 (711 files)
/usr/share/openarena/baseoa/pak6-patch085.pk3 (559 files)
/usr/share/openarena/baseoa/pak6-misc.pk3 (229 files)
/usr/share/openarena/baseoa/pak5-TA.pk3 (139 files)
/usr/share/openarena/baseoa/pak4-textures.pk3 (1753 files)
/usr/share/openarena/baseoa/pak2-players.pk3 (669 files)
/usr/share/openarena/baseoa/pak2-players-mature.pk3 (231 files)
/usr/share/openarena/baseoa/pak1-maps.pk3 (100 files)
/usr/share/openarena/baseoa/pak0.pk3 (1042 files)

----------------------
5433 files in pk3 files
execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
Couldn't read q3history.
----- Initializing Renderer ----
-------------------------------
QKEY found.
----- Client Initialization Complete -----
----- R_Init -----
SDL using driver "x11"
Initializing OpenGL display
Estimated display aspect: 1.333
...setting mode 3: 640 480
Using 8/8/8 Color bits, 24 depth, 8 stencil display.
Available modes: '640x480 800x600 832x624 1024x768 720x400'
GL_RENDERER: Mesa DRI Intel(R) Q45/Q43
Initializing OpenGL extensions
...GL_EXT_texture_compression_s3tc not found
...ignoring GL_S3_s3tc
...using GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array
...ignoring GL_EXT_texture_filter_anisotropic

GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) Q45/Q43
GL_VERSION: 2.1 Mesa 10.1.0
GL_EXTENSIONS: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_envmap_bumpmap GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_packed_depth_stencil GL_APPLE_object_purgeable GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_separate_shader_objects GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_seamless_cubemap_per_texture GL_ARB_ES2_compatibility GL_ARB_debug_output GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_texture_lod GL_ARB_texture_rgb10_a2ui GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_shader_bit_encoding GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_texture_storage GL_AMD_shader_trinary_minmax GL_ARB_clear_buffer_object GL_ARB_invalidate_subdata GL_ARB_vertex_attrib_binding GL_KHR_debug GL_ARB_texture_mirror_clamp_to_edge
GL_MAX_TEXTURE_SIZE: 8192
GL_MAX_TEXTURE_UNITS_ARB: 8

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(8-bits)
MODE: 3, 640 x 480 windowed hz:N/A
GAMMA: hardware w/ 0 overbright bits
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_NEAREST
picmip: 1
texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: enabled
compressed textures: disabled
Initializing Shaders
----- finished R_Init -----
------ Initializing Sound ------
Loading "libopenal.so.1"...
Allocated 96 sources.
OpenAL default capture device is 'Built-in Audio Analog Stereo'
OpenAL capture device opened.
OpenAL info:
  Vendor:         OpenAL Community
  Version:        1.1 ALSOFT 1.15.1
  Renderer:       OpenAL Soft
  AL Extensions:  AL_EXT_ALAW AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_samples AL_SOFT_buffer_sub_data AL_SOFTX_deferred_updates AL_SOFT_direct_channels AL_SOFT_loop_points AL_SOFT_source_latency
  ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_DEDICATED ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context ALC_SOFT_loopback
  Device:         Built-in Audio Analog Stereo
  Available Devices:
Built-in Audio Analog Stereo
  Input Device:   Built-in Audio Analog Stereo
  Available Input Devices:
Built-in Audio Analog Stereo
Monitor of Built-in Audio Analog Stereo
Sound initialization successful.
--------------------------------
Loading vm file vm/ui.qvm...
File "vm/ui.qvm" found in "/usr/share/openarena/baseoa/pak6-patch088.pk3"
...which has vmMagic VM_MAGIC_VER2
Loading 1555 jump table targets
VM file ui compiled to 784949 bytes of code
ui loaded in 1848448 bytes on the hunk
********************
ERROR: program tried to execute code outside VM
********************
recursive error after: program tried to execute code outside VM
AL lib: (EE) context_state_callback2: Received context failure!
AL lib: (EE) stream_state_callback2: Received stream failure!
AL lib: (EE) context_state_callback2: Received context failure!
AL lib: (EE) stream_state_callback2: Received stream failure!

(zenity:5040): Gdk-WARNING **: zenity: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

XIO:  fatal IO error 17 (File exists) on X server ":0"
      after 189 requests (189 known processed) with 0 events remaining.
AL lib: (EE) alc_cleanup: 2 devices not closed

btw here is output of uname -a:

Linux proton.nucleus 3.13.10-200.fc20.x86_64 #1 SMP Mon Apr 14 20:34:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Any ideas? Smiley
Logged
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #1 on: April 28, 2014, 02:11:59 AM »

I'm not a Linux user... however are you sure about your user having the right read/write permissions on both your "DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/wiki/Homepath]homepath" (game settings) and "basepath" (installation) folders? I ask this due to the "file exists" error in the log (although the error seems to come from X instead of the game itself...).

Does the same thing happen even if running the game as root? I know that should not be necessary, but just to do a try....

Note: the problem may even be related with the linux repository version of OpenArena (which may include different binaries)... if you wish, you can try to manually download the official OA package instead ((DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Manual/Download_mirrors)...
« Last Edit: April 28, 2014, 06:15:32 AM by Gig » Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
grey matter
Member


Cakes 8
Posts: 381

>9k


« Reply #2 on: April 28, 2014, 12:43:13 PM »

Code:
********************
ERROR: program tried to execute code outside VM
********************

Iirc this happens when running an older ioq3 with a hardened userland/compiler settings (at least it occured in most forks before ffac0e67574891072f74db3769b5ca7e252853b1 former r2305, see bug #5702).

I don't know if and when OpenArena includes that fix (too lazy to check now) and if the Fedora version includes it as well.

Your options would be:
  • use the official OA binaries, as they most likely are compiled without hardened settings
  • check for and create a Fedora bug
  • use a recent ioquake3 engine with OA assets

€: Oh hey https://bugzilla.redhat.com/show_bug.cgi?id=1049693
« Last Edit: April 28, 2014, 12:52:04 PM by grey matter » Logged

This space is for rent.
neutrino78x
Nub


Cakes 0
Posts: 10


« Reply #3 on: April 29, 2014, 10:57:08 PM »

Update on this, running as root didn't work. Smiley

So yeah I guess greymatter is right, I can either try the official binaries from this web site or downgrade ioquake to the previous version from the Fedora site. I didn't see that bugzilla report before, though I did see another one saying that the guy had solved the problem by downgrading a package but he didn't specify which one.

I did try "yum downgrade quake3" and it returned "nothing to do", so I will have to download the rpm manually. I have to get up early tomorrow so I'll let you guys know tomorrow night...but it sounds like we're on track to fixing it. Smiley
Logged
neutrino78x
Nub


Cakes 0
Posts: 10


« Reply #4 on: April 30, 2014, 10:54:56 PM »

Downgrading to the previous version of quake3 (as stated in the redhat bug above) worked! Smiley

Not sure if that's the best solution though, I'll probably try upgrading it again and downloading the official binaries, and running them in their own folder.

Now I have a brightness problem though, turning up the brightness all the way doesn't change the game from being dark. Similar to the brightness problem with Quake 3 games on Windows XP. Any advice on that?
Logged
fromhell
Administrator
GET A LIFE!
**********

Cakes 35
Posts: 14520



WWW
« Reply #5 on: April 30, 2014, 11:06:49 PM »

Color control on the 'nixes broke years ago.  Until OA implements a method via GLSL, r_overbrightBits 0 can help in the meanwhile.
Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
Pages: [1]
  Print  
 
Jump to: