[r128] XVideo output distorted/stretched on Mobility M4

Bug #34436 reported by Conn O Griofa
10
Affects Status Importance Assigned to Milestone
Debian
Fix Released
Unknown
xserver-xorg-video-ati (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

I'm running Ubuntu Dapper, and I have an ATI Mobility M4 with 8mb ram. When I try to play movies using XVideo output, the video is stretched incorrectly, leaving the picture distorted (part of the picture horizontally is cropped, and vertically squashed). I have found an identical bug listed here for XFree86 (scroll down to see sample screenshots): http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=176014

It seems this fix was not merged into Xorg, could this be investigated?

This may in fact be the necessary fix: http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/drivers/ati/r128_video.c.diff?r1=1.31&r2=1.32

I tried "sudo apt-get source xserver-xorg-driver-ati", editing r128_video.c to reflect the changes above, and created & installed the custom .deb ("dpkg-buildpackage -rfakeroot -uc -b"). There were no problems or additional warnings during compile, but XVideo output remains squashed.

Any help would be greatly appreciated in fixing this bug.

CVE References

Revision history for this message
In , Marc Clemente (marc-mclemente) wrote : xserver-xfree86: [ati/r128] XVideo bug gives me a stretched video output window (or blue screen)

Maybe the problem is the modeline. I just don't see how
106.2 kHz * 2160 can give a pixel clock of 162 MHz.

(**) R128(0): Default mode "1600x1200": 162.0 MHz, 106.2 kHz, 85.0 Hz
(II) R128(0): Modeline "1600x1200" 162.00 1600 1664 1688 2160 1200
1202 1205 1250 +hsync +vsync

Is this a bug or a red herring?

Marc

Revision history for this message
In , Michel Daenzer (daenzer) wrote : Re: Bug#176014: [ati/r128] XVideo bug gives me a stretched video output window (or blue screen)

On Don, 2003-01-09 at 17:42, Marc F. Clemente wrote:
>
> I have an IBM laptop with an ATI Rage Mobility M3, 16MB video memory and
> a 1600x1200 panel. When I use my normal settings (included below), the
> xine video output window only displays the left half of the image, but
> stretched 2x horizontally to fill up the window. So instread of seeng
> "xine" I only see "xi". This happens at 8, 16, and 24 bpp. If I tell
> XF86Config-4 that I only have 8MB video memory and use 24 bpp depth, I
> get a blue screen filling the output window.
>
> I have an almost identical laptop that has a 1400x1050 display and only
> 8MB video memory, and I have no problem getting xine/XVideo to work. I
> use the same configuration on both computers (I even swapped hard disks
> to be sure!).

I think this bug only occurs in very high resolutions. IIRC there was a
fix by the GATOS project a while ago, don't know what became of it.

--
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member / CS student, Free Software enthusiast

Revision history for this message
In , Marc Clemente (marc-mclemente) wrote : [ati/r128] XVideo bug gives me a stretched video output window (or blue screen)

After some experimentation, the modeline issue is probably a red
herring. I changed the following lines in the XF86Config-4:

Section "Monitor"
         Identifier "IBM LCD Display"
         HorizSync 30-75
         VertRefresh 50-85
         Option "DPMS"
EndSection

And it now uses the following modeline (which is mathematically correct):

(**) R128(0): Default mode "1600x1200": 162.0 MHz, 75.0 kHz, 60.0 Hz
(II) R128(0): Modeline "1600x1200" 162.00 1600 1664 1688 2160 1200
1202 1205 1250 +hsync +vsync

I get the same problem with xine displaying only half of the output window.

I tried the 4.2.1-4pre5v1 pre-release. No change.

I tried 1280x1024 and 1024x768 and I get the same problem.

And actually, at 1280x1024 and 1024x768, the display window is stretched
horizontally, but is also compressed vertically.

I would give screen captures, but they don't work for the xvideo window.
  So you can instead look at photos of my laptop. Xvideo is on the left
and Xshm is on the right.

http://www.mclemente.net/~marc/dscn0769.jpg (1600x1200)
http://www.mclemente.net/~marc/dscn0770.jpg (1280x1024)
http://www.mclemente.net/~marc/dscn0772.jpg (1024x768)

Revision history for this message
In , Branden Robinson (branden) wrote : XFree86 non-upstream bug cleanup, part 6: normal bugs between 180 days and 1 year old
Download full text (9.5 KiB)

# I'm not going to revisit XKB problems until 4.3.0 is in unstable,
# because in that release XKB support was *massively* overhauled and
# improved; thus, I am reassigning XKB bugs to xlibs-data. Pretty much
# the same goes for NLS issues.

# #162787: xbase-clients: xauth doesn't work when .Xauthority-l and .Xauthority-c exist
# Package: xbase-clients; Reported by: <email address hidden>; 340 days old.
retitle 162787 xbase-clients: [xauth] doesn't work when .Xauthority-l and .Xauthority-c exist
tag 162787 + upstream

# #163634: SEGV in libXft
# Package: xlibs; Reported by: <email address hidden>; 333 days old.
retitle 163634 xlibs: [libXft] SEGV when encountering surprising spaces in /etc/X11/XftConfig
severity 163634 important
tag 163634 + upstream

# #164379: cannot get Xnest to use XKEYBOARD
# Package: xnest; Reported by: Sean Neakums <email address hidden>; 329 days old.
retitle 164379 xnest: server does not support XKEYBOARD extension [regression from 4.1.0]
tag 164379 + upstream

# #165479: xserver-xfree86: Mysterious patterns on Trident display with LCD notebook.
# Package: xserver-xfree86; Reported by: Matej Cepl <email address hidden>; 321 days old.
retitle 165479 xserver-xfree86: [trident] clients complain that SHAPE extension missing on CyberBlade/DSTN/i7 rev 92
# still reproducible with 4.2.1?
tag 165479 + upstream moreinfo

# #165591: debconf shenanigans
# Package: xserver-xfree86; Reported by: Andrew Suffield <email address hidden>; 320 days old.
retitle 165591 xserver-xfree86: debconf-based XF86Config-4 shenanigans

# #165849: PATCH for xfree86 source Wacom driver
# Package: xserver-xfree86; Reported by: <email address hidden>; 318 days old.
retitle 165849 xserver-xfree86: [wacom] poor support for Graphire 2 tablets
tag 165849 + upstream patch fixed-in-experimental

# #166478: keymap for french Tibooks
# Package: xlibs; Reported by: Guillaume Morin <email address hidden>; Tags: patch; 314 days old.
retitle 166478 xlibs-data: [xkb] modification to macintosh/fr symbols for French PowerBook G4 support
reassign 166478 xlibs-data
tag 166478 + upstream

# #166550: xserver-xfree86: [common] EXPS/2 (Explorer PS/2) mouse protocol not interpreted correctly
# Package: xserver-xfree86; Reported by: "Zephaniah E\. Hull" <email address hidden>; 313 days old.
retitle 166550 xserver-xfree86: [mouse] ZAxisMapping should 'push up' other buttons
tag 166550 + patch upstream

# #166746: xlibmesa3: Several bugs causing segfaults with Warcraft III in wine
# Package: xlibmesa3; Reported by: Michael Karcher <email address hidden>; Tags: patch; 312 days old.
retitle 166746 xlibmesa3-gl: SEGVs while using Warcraft III in Wine
reassign 166746 xlibmesa3-gl
tag 166746 + patch upstream help

# #167887: xserver-xfree86: X-server configuration doesn't enable me to add 1400x1050 resolution used by my notebook-tft
# Package: xserver-xfree86; Reported by: "Wilfried Goesgens" <email address hidden>; 304 days old.
retitle 167887 xserver-common: debconf/dexconf don't enable me to add 1400x1050 resolution used by my notebook TFT
reassign 167887 xserver-common
severity 167887 wishlist
merge 144040 167887

# #167910: [savage] patch to upgrade driver...

Read more...

Revision history for this message
In , Stephen McCamant (smcc-csua) wrote : [ati/r128] XVideo windows misbehaving at high resolutions on Rage 128 Mobility LF rev 2

I had a similar problem, also with an IBM laptop (a Thinkpad A21p)
with a 1600x1200 LCD panel and an ATI Rage 128 Mobility M3 LF
(according to XFree86) chipset.

I fixed the problem by installing an XFree86 4.3.0 server using the
xfree86-server 4.3.0-0pre1v3 package from experimental.

Revision history for this message
In , Daniel Stone (daniels-debian) wrote : Bug#176014: fixed in xfree86 4.3.0-1
Download full text (76.3 KiB)

Source: xfree86
Source-Version: 4.3.0-1

We believe that the bug you reported is fixed in the latest version of
xfree86, which is due to be installed in the Debian FTP archive:

lbxproxy_4.3.0-1_i386.deb
  to pool/main/x/xfree86/lbxproxy_4.3.0-1_i386.deb
libdps-dev_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libdps-dev_4.3.0-1_i386.deb
libdps1-dbg_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libdps1-dbg_4.3.0-1_i386.deb
libdps1_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libdps1_4.3.0-1_i386.deb
libice-dev_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libice-dev_4.3.0-1_i386.deb
libice6-dbg_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libice6-dbg_4.3.0-1_i386.deb
libice6_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libice6_4.3.0-1_i386.deb
libsm-dev_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libsm-dev_4.3.0-1_i386.deb
libsm6-dbg_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libsm6-dbg_4.3.0-1_i386.deb
libsm6_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libsm6_4.3.0-1_i386.deb
libx11-6-dbg_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libx11-6-dbg_4.3.0-1_i386.deb
libx11-6_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libx11-6_4.3.0-1_i386.deb
libx11-dev_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libx11-dev_4.3.0-1_i386.deb
libxaw6-dbg_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxaw6-dbg_4.3.0-1_i386.deb
libxaw6-dev_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxaw6-dev_4.3.0-1_i386.deb
libxaw6_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxaw6_4.3.0-1_i386.deb
libxaw7-dbg_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxaw7-dbg_4.3.0-1_i386.deb
libxaw7-dev_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxaw7-dev_4.3.0-1_i386.deb
libxaw7_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxaw7_4.3.0-1_i386.deb
libxext-dev_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxext-dev_4.3.0-1_i386.deb
libxext6-dbg_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxext6-dbg_4.3.0-1_i386.deb
libxext6_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxext6_4.3.0-1_i386.deb
libxft1-dbg_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxft1-dbg_4.3.0-1_i386.deb
libxft1_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxft1_4.3.0-1_i386.deb
libxi-dev_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxi-dev_4.3.0-1_i386.deb
libxi6-dbg_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxi6-dbg_4.3.0-1_i386.deb
libxi6_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxi6_4.3.0-1_i386.deb
libxmu-dev_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxmu-dev_4.3.0-1_i386.deb
libxmu6-dbg_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxmu6-dbg_4.3.0-1_i386.deb
libxmu6_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxmu6_4.3.0-1_i386.deb
libxmuu-dev_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxmuu-dev_4.3.0-1_i386.deb
libxmuu1-dbg_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxmuu1-dbg_4.3.0-1_i386.deb
libxmuu1_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxmuu1_4.3.0-1_i386.deb
libxp-dev_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxp-dev_4.3.0-1_i386.deb
libxp6-dbg_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxp6-dbg_4.3.0-1_i386.deb
libxp6_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxp6_4.3.0-1_i386.deb
libxpm-dev_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxpm-dev_4.3.0-1_i386.deb
libxpm4-dbg_4.3.0-1_i386.deb
  to pool/main/x/xfree86/libxpm4-dbg_4.3.0-1_i...

Revision history for this message
In , Branden Robinson (branden) wrote : reopening 176014

# Automatically generated email from bts, devscripts version 2.7.95.1
 # reopen bug closed by unathorized upload of 4.3.0-1 to unstable
reopen 176014

Revision history for this message
In , Branden Robinson (branden) wrote : tagging 176014

# Automatically generated email from bts, devscripts version 2.7.95.1
 # this bug is fixed in experimental
tags 176014 + fixed-in-experimental

Revision history for this message
In , Branden Robinson (branden) wrote : Fixed in upload of xfree86 4.3.0-1 to experimental
Download full text (73.3 KiB)

tag 110974 + fixed-in-experimental
tag 112703 + fixed-in-experimental
tag 115223 + fixed-in-experimental
tag 117454 + fixed-in-experimental
tag 128125 + fixed-in-experimental
tag 129216 + fixed-in-experimental
tag 138883 + fixed-in-experimental
tag 142569 + fixed-in-experimental
tag 143825 + fixed-in-experimental
tag 145420 + fixed-in-experimental
tag 148008 + fixed-in-experimental
tag 148775 + fixed-in-experimental
tag 152796 + fixed-in-experimental
tag 164780 + fixed-in-experimental
tag 165849 + fixed-in-experimental
tag 167910 + fixed-in-experimental
tag 172550 + fixed-in-experimental
tag 176014 + fixed-in-experimental
tag 179929 + fixed-in-experimental
tag 183300 + fixed-in-experimental
tag 183619 + fixed-in-experimental
tag 184322 + fixed-in-experimental
tag 185443 + fixed-in-experimental
tag 185936 + fixed-in-experimental
tag 186237 + fixed-in-experimental
tag 187365 + fixed-in-experimental
tag 187374 + fixed-in-experimental
tag 188842 + fixed-in-experimental
tag 190323 + fixed-in-experimental
tag 191915 + fixed-in-experimental
tag 194136 + fixed-in-experimental
tag 194144 + fixed-in-experimental
tag 194351 + fixed-in-experimental
tag 196058 + fixed-in-experimental
tag 196810 + fixed-in-experimental
tag 197058 + fixed-in-experimental
tag 199111 + fixed-in-experimental
tag 200857 + fixed-in-experimental
tag 204358 + fixed-in-experimental
tag 209352 + fixed-in-experimental
tag 210651 + fixed-in-experimental
tag 211528 + fixed-in-experimental
tag 212186 + fixed-in-experimental
tag 215831 + fixed-in-experimental
tag 215997 + fixed-in-experimental
tag 216896 + fixed-in-experimental
tag 221686 + fixed-in-experimental
tag 223024 + fixed-in-experimental
tag 224757 + fixed-in-experimental
tag 225408 + fixed-in-experimental
tag 225759 + fixed-in-experimental
tag 226292 + fixed-in-experimental
tag 227217 + fixed-in-experimental
tag 227616 + fixed-in-experimental
tag 228408 + fixed-in-experimental
tag 228704 + fixed-in-experimental
tag 228810 + fixed-in-experimental
tag 231531 + fixed-in-experimental

quit

This message was generated automatically in response to an
upload to the experimental distribution. The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 17 Feb 2004 12:58:28 -0500
Source: xfree86
Binary: libx11-6-dbg libxtst6-dbg xserver-common xlibs-static-dev libxp6-dbg xbase-clients xlibmesa3-dbg libxtrap6-dbg xfonts-75dpi libxt6 libice6-dbg xmh libxaw6-dbg x-dev libxv1 libxext6-dbg xlibmesa-dev libxpm4 libxtst6 xlibmesa-gl-dev xfonts-cyrillic libx11-6 libsm6-dbg xlibs-pic xlibs-data x-window-system xfree86-common xlibmesa-dri xlibmesa3 libxv1-dbg libxrandr2 xlibmesa-glu libxaw7-dev xnest libxaw6 xterm libxp6 xlibmesa-dri-dbg libxrandr2-dbg libxmu6 xlibmesa-glu-dbg libx11-dev xlibs-static-pic libxpm4-dbg libxaw7-dbg libxmu6-dbg xlibmesa-glu-dev libxmuu-dev pm-dev libxext6 libxft1-dbg libxtst-dev libxv-dev libxp-dev twm x-window-system-dev libsm-dev xfonts-scalable libdps1-dbg libxmuu1-dbg xfwp libice6 libxmu-dev xlibs libdps-dev xserver-xfree86-dbg libxrandr-dev libsm6 xserver-xfree86 libdps1 proxymngr xfonts-base-transcoded libxaw6-dev lbxproxy x-window-system-core xutils xspecs libxtrap6 libice-...

Revision history for this message
In , Branden Robinson (branden) wrote : Bug#176014: fixed in xfree86 4.3.0-2
Download full text (81.2 KiB)

Source: xfree86
Source-Version: 4.3.0-2

We believe that the bug you reported is fixed in the latest version of
xfree86, which is due to be installed in the Debian FTP archive:

lbxproxy_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/lbxproxy_4.3.0-2_powerpc.deb
libdps-dev_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libdps-dev_4.3.0-2_powerpc.deb
libdps1-dbg_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libdps1-dbg_4.3.0-2_powerpc.deb
libdps1_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libdps1_4.3.0-2_powerpc.deb
libice-dev_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libice-dev_4.3.0-2_powerpc.deb
libice6-dbg_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libice6-dbg_4.3.0-2_powerpc.deb
libice6_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libice6_4.3.0-2_powerpc.deb
libsm-dev_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libsm-dev_4.3.0-2_powerpc.deb
libsm6-dbg_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libsm6-dbg_4.3.0-2_powerpc.deb
libsm6_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libsm6_4.3.0-2_powerpc.deb
libx11-6-dbg_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libx11-6-dbg_4.3.0-2_powerpc.deb
libx11-6_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libx11-6_4.3.0-2_powerpc.deb
libx11-dev_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libx11-dev_4.3.0-2_powerpc.deb
libxaw6-dbg_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxaw6-dbg_4.3.0-2_powerpc.deb
libxaw6-dev_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxaw6-dev_4.3.0-2_powerpc.deb
libxaw6_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxaw6_4.3.0-2_powerpc.deb
libxaw7-dbg_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxaw7-dbg_4.3.0-2_powerpc.deb
libxaw7-dev_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxaw7-dev_4.3.0-2_powerpc.deb
libxaw7_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxaw7_4.3.0-2_powerpc.deb
libxext-dev_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxext-dev_4.3.0-2_powerpc.deb
libxext6-dbg_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxext6-dbg_4.3.0-2_powerpc.deb
libxext6_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxext6_4.3.0-2_powerpc.deb
libxft1-dbg_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxft1-dbg_4.3.0-2_powerpc.deb
libxft1_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxft1_4.3.0-2_powerpc.deb
libxi-dev_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxi-dev_4.3.0-2_powerpc.deb
libxi6-dbg_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxi6-dbg_4.3.0-2_powerpc.deb
libxi6_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxi6_4.3.0-2_powerpc.deb
libxmu-dev_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxmu-dev_4.3.0-2_powerpc.deb
libxmu6-dbg_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxmu6-dbg_4.3.0-2_powerpc.deb
libxmu6_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxmu6_4.3.0-2_powerpc.deb
libxmuu-dev_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxmuu-dev_4.3.0-2_powerpc.deb
libxmuu1-dbg_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxmuu1-dbg_4.3.0-2_powerpc.deb
libxmuu1_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxmuu1_4.3.0-2_powerpc.deb
libxp-dev_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxp-dev_4.3.0-2_powerpc.deb
libxp6-dbg_4.3.0-2_powerpc.deb
  to pool/main/x/xfree86/libxp6-dbg_4.3.0-2_powerpc.deb
libxp6_4.3.0-2_powe...

Revision history for this message
Conn O Griofa (psyke83) wrote :

I'm running Ubuntu Dapper, and I have an ATI Mobility M4 with 8mb ram. When I try to play movies using XVideo output, the video is stretched incorrectly, leaving the picture distorted (part of the picture horizontally is cropped, and vertically squashed). I have found an identical bug listed here for XFree86 (scroll down to see sample screenshots): http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=176014

It seems this fix was not merged into Xorg, could this be investigated?

This may in fact be the necessary fix: http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/drivers/ati/r128_video.c.diff?r1=1.31&r2=1.32

I tried "sudo apt-get source xserver-xorg-driver-ati", editing r128_video.c to reflect the changes above, and created & installed the custom .deb ("dpkg-buildpackage -rfakeroot -uc -b"). There were no problems or additional warnings during compile, but XVideo output remains squashed.

Any help would be greatly appreciated in fixing this bug.

Revision history for this message
Conn O Griofa (psyke83) wrote :

Update: running under 1280x1024 resolution, it appears that the aspect of XVideo is correct and video is being displayed properly (perhaps a few pixels short vertically, but not many). However, this configuration isn't feasible, as my card has 8mb onboard video ram, therefore when I play videos in larger resolution (i.e. DVDs), I get "BadAlloc (innsufficient resources for operation)". Running in a lower resolution usually means I can play high-res movies, but due to this bug, the aspect is wrong and the video squashed.

Revision history for this message
Conn O Griofa (psyke83) wrote :

I have made some modifications that fixes this problem under all resolutions, but I'm not happy with the results. It seems that although the vertical height is now correct, vertical scaling is of poor quality for Xv output. I'm not sure how to fix this, can someone look at my patch?

See here: https://bugs.freedesktop.org/show_bug.cgi?id=6493

Revision history for this message
Simon Law (sfllaw) wrote :

There appears to be code that can fix this.

Changed in xserver-xorg-driver-ati:
status: Unconfirmed → Confirmed
Revision history for this message
Conn O Griofa (psyke83) wrote :

I have a feeling this is a problem specific to the Dell Inspiron 8000. I'll paste my post from Xorg's bugzilla, as the solution may lie elsewhere, perhaps in the kernel or somewhere else.

---
I've figured out the problem in more depth, but not the solution.

My Dell Inspiron 8000 has a special function key that scales the screen from the
native resolution. The laptop panel's native size is 1400x1050, under lower
resolutions you can have the display unscaled (with borders around the picture)
or scaled (filling the entire panel) - you can toggle this with the key combo Fn+F7.

If the panel is unscaled, the default driver plays videos perfectly, but when
it's scaled (which is the default and most favourable setting) then Xv output's
vertical height is incorrect.

The patch I posted solves the problem at the expense of "dirty" Xv output; the
default driver works perfectly with clear Xv output when the panel is unscaled.
I'd like for it to work as intended with the panel scaled. Is there any logs I
can post to help solve this?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

can you try with Feisty Herd5 if the issue is still there?

Changed in xserver-xorg-video-ati:
status: Confirmed → Needs Info
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Conn, I know you are running Feisty, so please follow up on this.

Revision history for this message
Conn O Griofa (psyke83) wrote :

Timo, sorry for not following up on this sooner. I no longer have this laptop in my possession, but I was waiting to see if I could get it back on loan to test the issue again. You can close the bug, if any new issues arise I will report bugs upstream instead.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Ok, thanks for the update! Closing.

Changed in xserver-xorg-video-ati:
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.