Bug 987 - XV viewport effect with multiple heads with different resolutions
Summary: XV viewport effect with multiple heads with different resolutions
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 6.7.0
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL: http://bugs.xfree86.org/show_bug.cgi?...
Depends on:
Reported: 2004-08-05 04:06 UTC by Alex Boag-Munroe
Modified: 2016-11-18 20:30 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Description Alex Boag-Munroe 2004-08-05 04:06:32 UTC
Apologies if this is in the wrong category I couldn't find anything xv specific so I picked on the driver 
I have a Dell Inspiron 5100 with on board ATI Mobility 7500 graphics.  Works great with the radeon 
driver using DRM but xv overlays won't expand to full screen when outputting to my external 
monitor at 1280x1024. 
It's very difficult to describe...the video -appears- to be stretching to the full screen but I get a kind of 
"viewport" effect where I get a box (I am guessing its 1024x768 in size, roughly) and if I move the 
box around I can move the "viewport" and see parts of the movie that are hidden. 
If the movie isn't full screen and I have, say, xine, at the top of the screen and I move the mouse to 
the bottom of the screen some of the video that's playing is hidden. 
If you can tell me how to do screenshots of overlayed stuff I'll show you what I mean...I hope I've 
described it properly. 
Laptop display panel runs at 1024x768, external output is set at 1280x1024.
Comment 1 Alex Boag-Munroe 2004-08-05 04:08:29 UTC
Sorry, I meant to say if I move the MOUSE around, the box seems to move with the mouse cursor, 
which moves the box around.  The box would be like if I covered part of the screen with black 
cardboard that has a hole cut in it. 
Apologies for the screwy explanation it's very difficult to describe, I've never seen this before :/ 
Comment 2 Adam Jackson 2004-08-05 06:34:09 UTC
this sounds like http://www.jwz.org/xscreensaver/faq.html#screen-size .  this
was also reported in xf86 bugzilla, where comment 9 is a pretty much spot-on
analysis of the problem.

just to clarify: when doing full-screen Xv, you get the viewport effect on the
smaller screen (ie, the laptop LCD, running at 1024x768)?  if so, what happens
when you run the external monitor at the same resolution?
Comment 3 Alex Boag-Munroe 2004-08-05 13:11:38 UTC
Ah no.  Sorry hehe. 
I don't even look at the laptop screen this "effect" is on my monitor. 
Imagine you're watching Spiderman at full screen on a 1280x1024 display.  The video proportionately 
looks like it has been stretched to that size. 
However, there is a frame that LOOKS like it is 1024x768 in size, surrounded by black covering the 
movie.  So you can only see 1024x768 pixels of this movie at a time. 
If I move my mouse to the bottom right hand corner of my 1280x1024 desktop, I can see the 
"bottom right 1024x768 corner" of the movie output.  Let me try some lame ascii art example here: 
*                                                           * 
*                                                           * 
*                                                           * 
*                                                           * 
*                                                           * 
*                                                           * 
*                                                           * 
So imagine that is my screen at 1280x1024.  If I play a movie and stretch it to full screen and my 
mouse cursor happens to be top left of my desktop: 
*                           |                               * 
*                           |                               * 
*                           |                               * 
*                           |                               * 
*-----------------------                               * 
*                                                           * 
*                                                           * 
The box I have added represents how much of the movie I can see.  If I move my mouse around 
inside that box the box doesn't move.  However if my mouse cursor "pushes" any one of the box's 
edges, the box moves in that direction.  So if I moved my mouse to the right, that box will move to 
the right, revealing hidden movie elements but hiding parts of the movie off to the left (because the 
box moved to the right).  Confused yet? lol I know I am. 
I suppose it is like putting a picture into a picture frame that fits, but then putting a sheet of 
cardboard over the picture with a hole cut into it that is smaller than the picture.  To see different 
parts of the picture you'd need to move the cardboard around. 
I reiterate though, this is not the laptop display panel.  This is an external monitor with the drivers set 
to output the hardware overlay onto the external display. 
Comment 4 Adam Jackson 2004-08-05 17:55:04 UTC
i'm familiar with the effect; it's a feature, believe it or not.

what happens when you run the external display at 1024x768?
Comment 5 Alex Boag-Munroe 2004-08-07 18:18:00 UTC
It works fine if the display is either set to 1024x768 externally or if I set the overlay to appear on the 
laptop panel. 
Is there any way to fix this?  My wife and I usually watch movies on the computer at full screen. 
Comment 6 Alex Boag-Munroe 2004-08-14 15:46:58 UTC
Why has someone put a url to an xfree bug in the URL field?  I see no solution 
over there... 
Comment 7 T. Hood 2005-09-23 08:02:05 UTC
So what is reported here is not a bug but a feature designed to work around a
limitation of the Radeon 7500?
Comment 8 Erik Andren 2006-04-22 18:07:13 UTC
Are you still experiencing this problem with a more current version of xorg?
Comment 9 Erik Andren 2006-05-10 05:53:33 UTC
Comment 10 Michel Dänzer 2006-05-10 17:15:27 UTC
Assuming this is clone mode, it sounds like the driver incorrectly uses the
panel dimensions to determine the size and offset of the overlay even when the
overlay is on the external display. It might be enlightening to see full config
and log files.
Comment 11 Timo Jyrinki 2007-02-22 14:27:03 UTC
Marking broken (status null/blank) bugs in xorg with no activity in a long time as fixed. Please reopen if you think it's necessary, but first do a search if a similar bug report is already filed and in a NEW/ASSIGNED state. These bugs do not currently show in most search results as they do not have any status.

Sorry for this janitorial spam, you know where to send hate mails to when your inbox gets full of bugs you're subscribed to.

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.