GNOME Bugzilla – Bug 484454
wrong aspect ratio when screen rotated
Last modified: 2017-10-10 21:01:59 UTC
Please describe the problem: I'm running gnome on a Tablet-PC, therefore the screen is rotated sometimes. If totem is started while the screen is rotated, the aspect ratio is wrong,. If you open a 4:3 movie, you have to select 2.11:1 to get the correct result. If you open a 16:9 movie however you cannot watch it since there is nothing higher to select than 2.11:1, the 16:9 movie will be shown with 4:3 aspect ratio now. Steps to reproduce: 1. rotate screen to CW or CCW 2. start totem 3. open any movie file Actual results: Expected results: Does this happen every time? yes Other information:
Which backend is that with? How do you rotate the display, using XRandR? In the xorg.conf?
The backend is either xine or gstreamer, right? I have not used xine since a long time and never on this machine, so its gstreamer then. Im rotating with xrandr. X is started in normal orientation, there is no predefined rotation in xorg.conf. Videocard is the intel gma 945, driver the latest available xf86-vdeo-i810-2.1.1.
I wonder if GDK is giving us wrong, or incomplete information there. Tim, any ideas?
Bug is pretty old, and we added support for screen changing sizes in the meanwhile. 2008-08-26 Bastien Nocera <hadess@hadess.net> * src/backend/bacon-video-widget-gst-0.10.c (size_changed_cb): When changing screen size through XRandR, update the aspect ratio of the visualisation (Closes: #327811) Do you still see the problem in Totem 2.24?
Bug is still alive and well in Totem 2.5.91 (Ubuntu Jaunty, xorg-video-intel-2.6.2) Sorry for the late answer, i could not use totem until the recent release of xorg-video-intel-2.6.2 (rotation was unaccelerated and xv video froze my system).
2.5.91? I guess 2.25.91. I can reproduce this when starting Totem with the screen rotated. It seems that the pixel-aspect-ratio is wrong when the screen is rotated. xdpyinfo normal: screen #0: dimensions: 1680x1050 pixels (445x278 millimeters) resolution: 96x96 dots per inch xdpyinfo with the screen rotated: dimensions: 1050x1680 pixels (445x278 millimeters) resolution: 60x153 dots per inch Looks like the sizes aren't getting swapped.
Filed an upstream bug: http://bugs.freedesktop.org/show_bug.cgi?id=20991 Feel free to add more details if you have them there.
*** Bug 727581 has been marked as a duplicate of this bug. ***
*** Bug 743713 has been marked as a duplicate of this bug. ***
*** Bug 776528 has been marked as a duplicate of this bug. ***