Bug 5339 - [RADEON:UMS:R100M] LCD looks like running in wrong scan rate when running 3D applications
Summary: [RADEON:UMS:R100M] LCD looks like running in wrong scan rate when running 3D ...
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 15:44 UTC by gnulinuxfun
Modified: 2016-02-25 21:12 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
X11 configuration file (3.80 KB, text/plain)
2005-12-16 11:49 UTC, gnulinuxfun
no flags Details
Log file of X (42.63 KB, text/plain)
2005-12-16 11:50 UTC, gnulinuxfun
no flags Details

Description gnulinuxfun 2005-12-14 15:44:36 UTC
I am runing the DRI snapshot on a IBM T42 with Radeon Mobility 7500 graphic
card.  The distribution is Kubuntu 5.10.  When I run a 3D application, such as
glxgears, quake3 demo or planetpenguin-racer, after a shor time, the screen
looks like running in a wrong refreshing rate.  I am not sure whether it is
really running in  a wrong refreshing rate.  It seems that somes of the
horizontal lines are not scanning from the 'zero point', causing the screen
display 'shaking'.  

I use driconf to set to 'Always synchronize with vertical refresh'.  This
reduces the 'noise' but did not fully solve the problem.  

When I used Kubuntu 5.04 with the dri snapshot, everything works fine.  But
aftergrading to 5.10, the dri never works properly.  

Here is the modules section in my xorg.conf:
Section "Module"
        Load    "dri"
        SubSection "extmod"
              Option "omit xfree86-dga"
        EndSubSection
        Load    "GLcore"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dbe"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
#       Load    "/usr/X11R6/lib/modules/extensions/libglx.a"
        Load    "int10"
        Load    "type1"
        Load    "vbe"
        Load    "radeon"
        Load    "xtrap"
        Load    "drm"
        SubSection "Extensions"
             Option "RENDER" "Enable"
        EndSubSection
EndSection

Here is the section for the card:
Section "Device"
       Identifier      "Radeon Mobility M7 LW"
       Driver "radeon"
       VendorName      "ATI Technologies Inc."
       BoardName       "Radeon Mobility M7 LW"
       BusID  "PCI:1:0:0"
       Option "AGPMode" "4"
       Option "AGPFastWrite"  "true"
#       Option "AGPSize" "64" # default: 8
#       Option "RingSize" "8"
#       Option "BufferSize" "2"
       Option "EnablePageFlip" "true"
#       Option "EnableDepthMoves" "true"
       Option "RenderAccel" "true"
       Option   "UseInternalAGPGART"    "no"
#       Option  "backingstore"          "true"
        Option  "AllowGLXWithComposite" "true"
EndSection

The output of glxinfo:
Disabling HW TCL support
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_hyperpipe, GLX_SGIX_swap_barrier, 
    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 version: 1.2
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_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI Radeon 20051013 AGP 4x x86/MMX/SSE2 NO-TCL
OpenGL version string: 1.3 Mesa 6.5
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture, 
    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_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_fog_coord, GL_EXT_histogram, 
    GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels, GL_EXT_polygon_offset, 
    GL_EXT_rescale_normal, GL_EXT_secondary_color, 
    GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, 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_OES_read_format, 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 Michel Dänzer 2005-12-14 22:25:35 UTC
Does it also happen if you don't enable page flipping?
Comment 2 gnulinuxfun 2005-12-16 02:35:15 UTC
(In reply to comment #1) 
> Does it also happen if you don't enable page flipping? 
 
Yes. Disable page flipping does not help.   
Comment 3 Michel Dänzer 2005-12-16 03:22:10 UTC
If not specifying any AGP related options and/or

    Option    "DisplayPriority" "HIGH"

doesn't help either, please attach the full X server config and log files.
Comment 4 gnulinuxfun 2005-12-16 11:49:36 UTC
Created attachment 4100 [details]
X11 configuration file
Comment 5 gnulinuxfun 2005-12-16 11:50:41 UTC
Created attachment 4101 [details]
Log file of X
Comment 6 Michel Dänzer 2005-12-16 22:15:01 UTC
You have tried not setting Option "AGPMode" or Option "AGPFastWrite", haven't you?

Also, does running in depth 16 instead of 24 make a difference?

Anyway, the fact that the same DRI snapshot seems to work fine with a different
distro got me thinking... there have been reports of some versions of
xscreensaver causing display flicker on some machines. Although Kubuntu doesn't
use xscreensaver AFAIK, maybe this could give you some ideas for other things to
try, such as disabling the screensaver.
Comment 7 gnulinuxfun 2005-12-18 11:46:49 UTC
(In reply to comment #6)
> You have tried not setting Option "AGPMode" or Option "AGPFastWrite", haven't you?
> 
> Also, does running in depth 16 instead of 24 make a difference?
> 
> Anyway, the fact that the same DRI snapshot seems to work fine with a different
> distro got me thinking... there have been reports of some versions of
> xscreensaver causing display flicker on some machines. Although Kubuntu doesn't
> use xscreensaver AFAIK, maybe this could give you some ideas for other things to
> try, such as disabling the screensaver.

I tried all these today and the problem never completely dispears.  

I am wondering whether this problem has something todo with the speedstep of
Pentinum M CPU somehow.  I notices that when playing quake 3 demo, if I keep
standing, everything is fine.  But when I begin to move faster and firing the
guns, the wrong scanning lines begin to appear.  If I exit the game, the screen
will return to normal.  It may take several seconds for the screen to fall back
to normal.  


Comment 8 Michel Dänzer 2006-01-06 02:23:45 UTC
Anything that helps others understand better exactly what the problem looks like
might be helpful...
Comment 9 Erik Andren 2006-01-22 21:39:15 UTC
(In reply to comment #8)
> Anything that helps others understand better exactly what the problem looks like
> might be helpful...

A photo or video of the display with the problem in action would be helpful.
Comment 10 Ronan Keryell 2006-07-10 11:15:45 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > Anything that helps others understand better exactly what the problem looks like
> > might be helpful...
> 
> A photo or video of the display with the problem in action would be helpful.
> 

Well, I guess I have the same issue for years with my Sony PCG-GRX516MD, but I
thought it was an hardware issue.

I sent my computer twice to Sony to fix it but it didn't help. Of course, since
I need to put the original hard disk with Windows on it so that Sony accept to
repair it, they can not see the problem with OpenGL on X11... :-/

It looks like in plain-old-mode X11, the issue happens rather with a high
temperature. In OpenGL mode, the issue is quite more often here...

I've put a sample on
http://enstb.org/~keryell/bug_radeon/dsc02013.jpg
with bzflag.
There is a little blurr related to the 1/13s shutter speed but you can get the
idea... :-/

So, is it a hardware or software issue? Or a hardware issue triggered with a
special X11 usage?
Comment 11 Jerome Glisse 2011-03-08 11:19:46 UTC
Do you still have this issue with recent distribution & KMS ?
Comment 12 Christopher M. Penalver 2016-02-25 21:12:35 UTC
gnulinuxfun@yahoo.com, Kubuntu 5.10 reached EOL on April 13, 2007. For more on this, please see https://wiki.ubuntu.com/Releases .

If this is reproducible in a supported release, it will help immensely if you filed a new report with Ubuntu by ensuring you have the package xdiagnose installed, and that you click the Yes button for attaching additional debugging information running the following from a terminal:
ubuntu-bug xorg

Also, please feel free to subscribe me to it.

For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.