After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 484454 - wrong aspect ratio when screen rotated
wrong aspect ratio when screen rotated
Status: RESOLVED NOTGNOME
Product: totem
Classification: Core
Component: GStreamer backend
2.20.x
Other All
: Normal normal
: ---
Assigned To: Maintainer alias for GStreamer component of Totem
Maintainer alias for GStreamer component of Totem
: 727581 743713 776528 (view as bug list)
Depends on:
Blocks: randr-tracker
 
 
Reported: 2007-10-07 17:11 UTC by Sascha Heid
Modified: 2017-10-10 21:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Sascha Heid 2007-10-07 17:11:05 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:
Comment 1 Bastien Nocera 2007-10-07 18:23:10 UTC
Which backend is that with?
How do you rotate the display, using XRandR? In the xorg.conf?
Comment 2 Sascha Heid 2007-10-07 18:45:50 UTC
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.
Comment 3 Bastien Nocera 2007-10-07 19:16:51 UTC
I wonder if GDK is giving us wrong, or incomplete information there.

Tim, any ideas?
Comment 4 Bastien Nocera 2008-12-05 16:47:57 UTC
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?
Comment 5 Sascha Heid 2009-03-01 16:23:38 UTC
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).
Comment 6 Bastien Nocera 2009-04-01 10:52:00 UTC
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.
Comment 7 Bastien Nocera 2009-04-01 11:13:09 UTC
Filed an upstream bug:
http://bugs.freedesktop.org/show_bug.cgi?id=20991

Feel free to add more details if you have them there.
Comment 8 Bastien Nocera 2015-12-04 10:54:55 UTC
*** Bug 727581 has been marked as a duplicate of this bug. ***
Comment 9 Bastien Nocera 2015-12-04 10:55:05 UTC
*** Bug 743713 has been marked as a duplicate of this bug. ***
Comment 10 Tim-Philipp Müller 2017-10-10 21:01:59 UTC
*** Bug 776528 has been marked as a duplicate of this bug. ***