Summary: | [G45] Vsync not working? | ||
---|---|---|---|
Product: | Mesa | Reporter: | Sven Arvidsson <sa> |
Component: | Drivers/DRI/i965 | Assignee: | Jesse Barnes <jbarnes> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | Keywords: | NEEDINFO |
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Xorg log
dmesg output xrandr verbose output |
Description
Sven Arvidsson
2009-09-18 12:14:09 UTC
Yeah, sync to vblank should be working fine for 3D applications. There's a "swapbufferswait" option for the intel DDX driver that controls this behavior. If you still see tearing with the latest bits can you attach your X log etc as requested by http://intellinuxgraphics.org/how_to_report_bug.html? Created attachment 30089 [details]
Xorg log
Created attachment 30090 [details]
dmesg output
Created attachment 30091 [details]
xrandr verbose output
Log files are attached. From Xorg.log it seems swapbuffers are enabled:
(**) intel(0): SwapBuffers wait enabled
Even with the swapbufferswait code you can still see high framerates (e.g. if the app paints several frames during one refresh). Do you see actual tearing with recent kernel and 2D driver code? Maybe you were seeing flicker due to display FIFO underruns instead? Yes, I'm using quite up to date version of both the 2D driver and the kernel, and the behaviour is the same. I'm not really sure if it's FIFO underruns, or how I can tell the difference, but it does seem like tearing to me. -- xf86-video-intel: 14109abf285866ad4cd99d0cd16b0954a0a73a62 -- xserver: 1.7.0 -- mesa: e8eec9385497053a4172deeff9c0ff2726a10f3b -- drm: 83a35b68f45cebc70152e55ed3f99db485c9a7cd -- kernel: 2.6.32-rc7 (debian) If this is still happening a video would help track it down. Do you have a phone or camera that can capture a video of what you're seeing? Interesting, the tearing does indeed seem to be gone. I guess the bug can be closed :) I'm still getting much higher framerates in games and glxgears than the refresh rate of the monitor, but maybe that's normal? Yeah, that's normal. They can often display several frames before the vertical scanline intersects with the region they're drawing (sometimes even display multiple frames during a single vblank period), so the FPS will sometimes be higher. |
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.