xf86-video-ati 6.9.0 and v-sync

Michel Dänzer michel at tungstengraphics.com
Fri Jul 25 00:02:09 PDT 2008


On Fri, 2008-07-25 at 08:56 +0300, Nikos Chantziaras wrote:
> Trying to enable v-sync (vblank_mode 1) results in this error when 
> trying to run glxgears on a Radeon X1950XT PCI-e (r580):
> 
>    do_wait: drmWaitVBlank returned -1, IRQs don't seem to be
>    working correctly.
> 
> glxgears "runs", but with sub-1FPS speed:
> 
>    3 frames in 6.0 seconds =  0.500 FPS
>    2 frames in 6.0 seconds =  0.333 FPS
>    2 frames in 6.0 seconds =  0.333 FPS
>    2 frames in 6.0 seconds =  0.333 FPS
>    2 frames in 6.0 seconds =  0.333 FPS
> 
> also, the kernel complains a lot when switching from X to a VT:
> 
>    [drm] Setting GART location based on new memory map
>    [drm] Loading R500 Microcode
>    [drm] Num pipes: 4
>    [drm] writeback test succeeded in 1 usecs
>    do_IRQ: 0.83 No irq handler for vector
>    do_IRQ: 0.83 No irq handler for vector
>    do_IRQ: 0.83 No irq handler for vector

When exactly do these IRQ related lines appear? On X server startup,
when running a 3D app with vblank_mode > 0, when switching to console or
when switching back to X?

Looks like the DRM isn't setting up the IRQ correctly...


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer




More information about the xorg mailing list