Summary: | using Randr to invert the screen exhibits majors flickering when playing video | ||
---|---|---|---|
Product: | xorg | Reporter: | asergiu <adrian> |
Component: | Driver/intel | Assignee: | Gordon Jin <gordon.jin> |
Status: | RESOLVED DUPLICATE | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | major | ||
Priority: | high | CC: | adrian |
Version: | 7.4 (2008.09) | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
asergiu
2009-07-24 07:19:06 UTC
In fact I noticed performance issues whenever the screeen is rotated. Not only with my application. Viewing videos and in general anything that uses Xv I think has performance penalties - resulting in severe flickering. Adrian I'm wondering if this is related to bug#16612. Please attach dmesg and Xorg.0.log. This can also be reproduced with rotation by 90 degrees, right? In fact I think you are right Gordon. It should have something with the way rotation is handled by blitting the front buffer to rotate buffer and with the moment of the blit. I don't have the xorg.conf with me today - I will send it tomorrow. However I did more research with our application (let's call it AirApp) and with vlc displaying videos. AirApp forces the mouse cursor to a position and hides it continuosly. Now this causes the flickering when the screen is rotated - and I think is due to the improper moment maybe of the blit operation. When the screen is normal - there is no problem with the AirApp moving and hiding the mouse pointer continuously. If I keep the mouse button pressed in a location on the border of the screen the flicker dissapears (no more mouse move) - is just the video that lags a bit. So in conclusion I think there a a few issues with the way rotation is implemented - maybe timing issues. I will ask tomorrow the application developers to remove mouse moving and hiding to see if it partially corrects the problem. The AirApp works correclty on a Nvidia video card with Nvidia driver (rotated). I did not see performance issues there. Adrian In fact I think you are right Gordon. It should have something with the way rotation is handled by blitting the front buffer to rotate buffer and with the moment of the blit. I don't have the xorg.conf with me today - I will send it tomorrow. However I did more research with our application (let's call it AirApp) and with vlc displaying videos. AirApp forces the mouse cursor to a position and hides it continuosly. Now this causes the flickering when the screen is rotated - and I think is due to the improper moment maybe of the blit operation. When the screen is normal - there is no problem with the AirApp moving and hiding the mouse pointer continuously. If I keep the mouse button pressed in a location on the border of the screen the flicker dissapears (no more mouse move) - is just the video that lags a bit. So in conclusion I think there a a few issues with the way rotation is implemented - maybe timing issues. I will ask tomorrow the application developers to remove mouse moving and hiding to see if it partially corrects the problem. The AirApp works correclty on a Nvidia video card with Nvidia driver (rotated). I did not see performance issues there. Adrian |
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.