Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87361 - xorg-x11-6.8.2 hangs with quake3, zsnes (FS mode) and changing from tty{1,2..} to tty7
Summary: xorg-x11-6.8.2 hangs with quake3, zsnes (FS mode) and changing from tty{1,2.....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-30 18:13 UTC by Enderson Tadeu S. Maia (RETIRED)
Modified: 2005-05-23 20:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enderson Tadeu S. Maia (RETIRED) gentoo-dev 2005-03-30 18:13:36 UTC
After I updated from xorg-x11-6.8.0 to 6.8.2 I'm with these problems, before
when I used 6.8.0, it worked. I applied a patch from this bug (http://bugs.gentoo.org/show_bug.cgi?id=82039) and it worked, but now it's not working anymore, dunno why.

Now even using the previous version that worked, don't work.

Please, tell me more way to debug this.

I'm trying to recompile xorg-x11-6.8.2 now, and return with more information.

Reproducible: Always
Steps to Reproduce:
Run
$ quake3
or 
$zsnes
or
Change from tty1 to tty7
Ctrl+Alt+1 and Ctrl+Alt+7
Actual Results:  
System hangs, and just mouse works. Need to shutdown.

Expected Results:  
Play games!

$ glxinfo 
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, 
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method, 
    GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control, 
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control, 
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_video_sync, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI Radeon 20040929 AGP 4x x86/MMX+/3DNow!+/SSE NO-TCL
OpenGL version string: 1.2 Mesa 6.2.1
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture, 
    GL_ARB_texture_border_clamp, GL_ARB_texture_compression, 
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine, 
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, 
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle, 
    GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, 
    GL_EXT_blend_color, GL_EXT_blend_logic_op, GL_EXT_blend_minmax, 
    GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, 
    GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture, 
    GL_EXT_draw_range_elements, GL_EXT_histogram, GL_EXT_packed_pixels, 
    GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color, 
    GL_EXT_separate_specular_color, GL_EXT_subtexture, GL_EXT_texture, 
    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_bias, 
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, 
    GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels, 
    GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once, 
    GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat, 
    GL_MESA_ycbcr_texture, GL_MESA_window_pos, GL_NV_blend_square, 
    GL_NV_light_max_exponent, GL_NV_texture_rectangle, 
    GL_NV_texgen_reflection, GL_SGI_color_matrix, GL_SGI_color_table, 
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, 
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x28 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2a 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2b 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x2c 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2d 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2f 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x30 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x31 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x32 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
Comment 1 Enderson Tadeu S. Maia (RETIRED) gentoo-dev 2005-04-23 09:43:22 UTC
I couldn't play no games with 3D.

I got an ould xorg-x11-6.8.0-r3.tbz2 from a friend that has a notebook
with the same video card, and was OK. So I think the problem is xorg's.

So I'm now playing with xorg-x11-6.8.0-r3
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-04-23 12:24:26 UTC
You could test 6.8.99.3 to see whether it's fixed there.
Comment 3 Enderson Tadeu S. Maia (RETIRED) gentoo-dev 2005-04-25 07:50:38 UTC
With the xorg-x11-6.8.99.3 version, I don't get Direct Rendering support.

I'll compile 6.8.0-r5 that's on portage. And report here.

Comment 4 Adam Jackson 2005-04-25 07:55:13 UTC
6.8.99.3 requires

Option "ColorTiling" "no"

in your Device section to get working direct rendering.  you might want to try that before trying 6.8.0-r5.
Comment 5 Enderson Tadeu S. Maia (RETIRED) gentoo-dev 2005-04-25 08:15:04 UTC
Ok, I got Direct Rendering with the #4 option, but quake3 still freezes the machine.

I'm compiling the 6.8.0-r5 to tryit out.
Comment 6 Enderson Tadeu S. Maia (RETIRED) gentoo-dev 2005-04-25 11:10:29 UTC
It's OK with xorg-x11-6.8.0-r5.
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2005-04-25 11:21:22 UTC
Please search for this problem at bugs.freedesktop.org, and if you don't find it, file a new bug. Probably the Mesa and xorg products will be good places to try searching -- if you file one, put it in Mesa.

Post the URL here when it's filed. Thanks!
Comment 9 Enderson Tadeu S. Maia (RETIRED) gentoo-dev 2005-04-25 18:15:08 UTC
The patch from https://bugs.freedesktop.org/attachment.cgi?id=2079 SOLVED the problem.

I can now play quake3, and switch from X to VT and back without crash.

Will this patch be part of a future 6.8.2-rX, or just for 6.8.3 ?
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2005-04-25 18:31:28 UTC
That patch is already in our 6.8.2 ebuild and has been since it was added to portage. Take a look at 5180_all_6.8.2-back-out-extra-radeonsetfblocation.patch. Did you reverse it or something?
Comment 11 Enderson Tadeu S. Maia (RETIRED) gentoo-dev 2005-04-26 10:28:16 UTC
I checked the patch, and it's there, at 6.8.2-r1 and r2, I installed -r1, and
it's not OK. with 6.8.99.33 and editing radeon_driver.c to remove
RADEONSetFBLocation (pScrn); by hand, it works. I can switch from X to VT and
play Quake3.
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2005-04-26 19:31:12 UTC
Which instance are you removing in 6.8.99.3? There's one around line 5130 and another around 8100.
Comment 13 Enderson Tadeu S. Maia (RETIRED) gentoo-dev 2005-04-27 05:07:38 UTC
# grep -n 'RADEONSetFBLocation\ *(pScrn);' radeon_driver.c*    
radeon_driver.c:5148:    RADEONSetFBLocation(pScrn);
radeon_driver.c:8132:    RADEONSetFBLocation(pScrn);
radeon_driver.c.orig:5148:    RADEONSetFBLocation(pScrn);
radeon_driver.c.orig:7937:    RADEONSetFBLocation (pScrn);
radeon_driver.c.orig:8133:    RADEONSetFBLocation(pScrn);

I removed the 7937 line.
Comment 14 Donnie Berkholz (RETIRED) gentoo-dev 2005-05-23 20:24:46 UTC
OK, changing patchset..
Comment 15 Donnie Berkholz (RETIRED) gentoo-dev 2005-05-23 20:30:14 UTC
Pulled 5140_all_6.8.0-radeon-swsusp.patch, which seems to be redundant, in
6.8.2-r2 and 6.8.99.5.