[fglrx] xv output not available for video playback

Bug #197639 reported by Zenigata
74
This bug affects 3 people
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
Won't Fix
High
Unassigned
Nominated for Intrepid by Celeblin
jockey (Ubuntu)
Invalid
Medium
Unassigned
Nominated for Intrepid by Celeblin

Bug Description

using an up to date amd64 hardy and the repositorie's fglrx drivers

The xv output is not working for video playback.

Since the opengl bug it is quite annoying since the only output available is a very slow x11.

Regards
--
Z.

Revision history for this message
A. Meschede (ameschede-freenet) wrote :

same here, xvimagesink won't work.
only ximagesink does the job.

- ubuntu hardy 8.04 daily-built: March 06 2008
- mobility radeon x1400, restricted fglrx drivers from the repository
- usind aiglx, not xserver-xgl
- error occurs, no matter if compiz is enabled or not.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

I confirm this with ATI mobility radeon x300, any video output while using fglrx is extremely slow and indirect.

Revision history for this message
Sebastian (zimmermann+launchpad-net) wrote :

Same here: Ubuntu hardy, daily built 08/03/15, Radeon Mobility X1400, fglrx drivers, videooverlay on opengloverlay off

xvinfo: no adaptors present.

Very poor video performance.
(I use metacity, but with compiz no difference)

Revision history for this message
lasse (lasselassi) wrote :

I have the same problem, no xvideo available.

I just updated from Gutsy (where fglrx 8.03 was finally giving me good xvideo) to Hardy and now xvideo is totally gone.

Thinkpad Z61p, Mobility FireGL V5200.

Revision history for this message
lasse (lasselassi) wrote :

I got xvideo working! I should have researched more before posting my prior post...

The solution is to add the following line to the fglrx-device section of /etc/X11/xorg.conf:
       Option "TexturedVideo" "on"

My complete section now looks like this:

Section "Device"
        Identifier "aticonfig-Device[0]"
        Driver "fglrx"
        BoardName "ati"
        Option "VideoOverlay" "on"
        Option "OpenGLOverlay" "off"
 Option "TexturedVideo" "on"
        Option "XaaNoOffscreenPixmaps"
        Option "UseFastTLS" "2"
        Option "RenderAccel" "true"
        BusID "PCI:1:0:0"
EndSection

Revision history for this message
Sebastian (zimmermann+launchpad-net) wrote :

Same here: xvideo works as soon as I add Option "TexturedVideo" "on" to the xorg.conf.

However, I still have bad video performance when compositing is enabled. Without compositing, everything is fine.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Change the package to jockey since jockey should install Option "TexturedVideo" "on" by default in /etc/X11/xorg.conf file

description: updated
Changed in linux-restricted-modules-2.6.24:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Saivann Carignan (oxmosys) wrote :

I just tested the actual solutions and I did not get good results, ATI mobility radeon X300 :

Using "VideoOverlay" "on" xvinfo works, playing video without compiz works, but playing video with compiz just gives a black screen.
Using "TexturedVideo" "on" same as VideoOverlay, but the video appears with compiz and never stop flashing and appears over all windows (screenshot attached)
Using both same as TexturedVideo.

Therefore, I set add back the linux-restricted-modules package to the list since I'm not sure if this problem is just about driver options in xorg.conf file.

description: updated
Revision history for this message
Martin Pitt (pitti) wrote :

Thank you for the investigations so far. Please let me know here when you figured out a set of options which helps some users but does not cause regressions.

Changed in jockey:
status: Confirmed → Incomplete
Revision history for this message
Id2ndR (id2ndr) wrote :

Same behavior that Saïvann Carignan for me with an X800 agp card.

I can play video with compiz and without flashing if I use fullscreen (if totem bar is not present at the bottom of the screen).

Revision history for this message
Heinz Emmerich (heinz-l4d) wrote :

Same here with an HP nx8220 and x600.

Revision history for this message
David (david-spiraltechnology) wrote :

Same behavior as Saïvann Carignan on a Ati Mobility Radeon 9600.
Let me know if there's additional information required.

Revision history for this message
Zenigata (drebon) wrote :

Same here. For the blinkin' issue, I have the same thing with or without these options on most opengl apps.

For Gnome Chess, I have mostly a black screen that sometimes lets the correct rendering appears beneath...

I think there is a probleme with the order of sort of layers when using compositing with fglrx...

I'm not sure wether this is a fglrx issue or a aiglx...

Regards
--
Z.

Changed in jockey:
status: Incomplete → Invalid
Revision history for this message
Bryce Harrington (bryce) wrote :

pitti, do you have whitelisting/blacklisting mechanisms in jockey to allow options to be switched on by a per-pci id basis? My guess is that the options could be chipset specific, so we'll need to have people report their cards via `lspci -nnvv | grep -A1 'VGA compat'` or similar.

Revision history for this message
Bryce Harrington (bryce) wrote :

A question I'd have for ATI is if this is something that could be automagically set in the driver itself based on card type, as is commonly done in open source drivers.

Revision history for this message
David (david-spiraltechnology) wrote :

Hi, the chipset my card has (output from Bryce's suggestion above):

01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] [1002:4e50] (prog-if 00 [VGA controller])
Subsystem: Mitac Unknown device [1071:8355]

Let me know if there's moe information required,
Cheers
David

Revision history for this message
Martin Pitt (pitti) wrote :

Jockey's fglrx handler does not have such a blacklist/whitelist yet, but it is relatively to add one. It needs some infrastructure to pass the hardware information to the handler, then it can evaluate it.

Changed in jockey:
importance: High → Medium
status: Invalid → Confirmed
Revision history for this message
Sven Sprengel (svenauskr) wrote :

I noticed that when I add the options:
Option "VideoOverlay" "on"
Option "TexturedVideo" "on"

to the xorg.conf, fullscreen video like in mythfrontend works fine now. But when I want to watch another video with totem e.g., video screen is black in windowed mode, only fullscreen will deliver the video.

But as soon es the video is overlayed by some buttons (totem: when you move the mouse in fullscreen) or anything else the video gets black again. Same in mythfrontend when it's overlayed by another window.

Revision history for this message
Adolfo González Blázquez (infinito) wrote :

Here, with ATI X600 and Compiz enabled, i've got this:

- With Option "VideoOverlay" "on", i've got black totem window, but correct video in fullscreen mode.
- With Option "VideoOverlay" "on" and Option "TexturedVideo" "on" video flickering on both window and fullscreen mode.

My card:
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc M24 1P [Radeon Mobility X600] [1002:3150] (prog-if 00 [VGA controller])
 Subsystem: Hewlett-Packard Company nx8220 [103c:0934]

Revision history for this message
Sven Sprengel (svenauskr) wrote :

Indeed this is only when compiz is enabled. I forgot to mention, sorry.

Revision history for this message
Sebastian (zimmermann+launchpad-net) wrote :

xvideo, playing videos and overall performance are good when not using compiz.
Playing videos when compiz is enabled is bad, I get video flickering.

Results with "Textured Video on" on Radeon Mobility X1400.

Note that according to this page: http://forum.compiz-fusion.org/showthread.php?t=6794

Pre-AVIVO cards (up to X1050) should use
VideoOverlay on
TexturedVideo off
OpenGLOverlay off

AVIVO cards (X12xx and higer) should use
VideoOverlay off
TexturedVideo on
OpenGLOverlay off

Revision history for this message
Adolfo González Blázquez (infinito) wrote :

Those options didn't make a change in my X600. Still no video without fullscreen.

Revision history for this message
Andrea Gasparini (gaspa) wrote :

With this card:

01:05.0 VGA compatible controller: ATI Technologies Inc Radeon XPRESS 200M 5955 (PCIE)

on a Compaq nx6125, no one of the previous solution works. :'(

Revision history for this message
habub (hassan-bazil) wrote :

Adding this option under device section solved the blank window problem for me

 Option "TexturedVideo" "on"
        Option "XaaNoOffscreenPixmaps"
        Option "UseFastTLS" "2"
        Option "RenderAccel" "true"
        BusID "PCI:1:0:0"

Still having flickers when playing videos in window mode but still better than nothing. I have a radeon x700 card compiz enabled amd64 using xvideo output. Note using restricted drivers you have to enable xvideo output manually using aticonfig --ovt=Xv

Revision history for this message
Celeblin (celeblin) wrote :

With my ATI Mobility Radeon X300 I have the same problem.

I must choose using composite extensions or playing videos with the fglrx drivers.

With the open drivers I can't use the Powerplay option and the fan is active much time degrading the battery life, but videos and composite works fine together.

So for now I use fglrx with no composite with this options in xorg.conf:

Section "Device"
 Identifier "Configured Video Device"
 Driver "fglrx"
 Option "VideoOverlay" "on"
 Option "OpenGLOverlay" "off"
EndSection

I tried a lot of configurations, but always with problems. Maybe the video doesn't appear, or appear "pixelized" and using a lot of CPU, or is in front of any windows...

Regards!.

Revision history for this message
Michael Gauthier (mike-silverorange) wrote :

I have an TI Technologies Inc M22 [Mobility Radeon X300] on a Thinkpad T43.

When not using compiz or any other compositing manager, the following x.org settings enable Xv:

Section "Device"
  Identifier "Configured Video Device"
  Driver "fglrx"
  Option "VideoOverlay" "on"
EndSection

Xv is not enabled by default when using fglrx without compiz.

Revision history for this message
Mario Limonciello (superm1) wrote :

Closing fglrx-installer task, as this is a configurable option that just is turned off by default

Changed in fglrx-installer:
status: Confirmed → Won't Fix
Revision history for this message
Michael Gauthier (mike-silverorange) wrote :

Can it be turned on by default? Most users will not be able to edit xorg.conf to enable it.

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 197639] Re: [fglrx] xv output not available for video playback

That part should be handled by Jockey.

On Thu, Aug 7, 2008 at 14:18, Michael Gauthier <email address hidden>wrote:

> Can it be turned on by default? Most users will not be able to edit
> xorg.conf to enable it.
>
> --
> [fglrx] xv output not available for video playback
> https://bugs.launchpad.net/bugs/197639
> You received this bug notification because you are subscribed to fglrx-
> installer in ubuntu.
>

--
Mario Limonciello
<email address hidden>

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Mario Limonciello : Doesn't sound like a good idea to me. If the user enable compiz while "VideoOverlay" is set to "on" in xorg.conf, the user will get a black screen instead of his video.

Revision history for this message
Waldeck Schützer (waldeck-dm) wrote :

Hello All,

I'd like to report that turning off VideoOverlay and OpenGLOverlay and turning on TexturedOverlay, together with habub's suggestions did the trick for me. I'm getting smooth video rendering both in metacity and compiz, in windowed or full-screen modes. However, mplayer's full screen mode is not really full screen as the video will not be scaled up properly and will show with thick black borders around it.

My lspci reports this:
01:05.0 VGA compatible controller: ATI Technologies Inc RS485 [Radeon Xpress 1100 IGP]

fglrxinfo reports this :
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon Xpress Series
OpenGL version string: 2.1.7873 Release

This is on an Acer Aspire 5100 running 64-bit the version of Ubuntu 8.10.

Regards,
Waldeck Schutzer

Revision history for this message
Waldeck Schützer (waldeck-dm) wrote :

Well, actually I'm getting a bit of flickering in windowed mode, but it doesn't seem to bother much.

Waldeck

Revision history for this message
marmuta (marmuta) wrote :

No change for Radeon X800 in Intrepid beta with xorg-driver-fglrx 2:8.543-0ubuntu2.
xv video is still invisible or flickering unbearably.

Upstream bug reports are here:
http://ati.cchtml.com/show_bug.cgi?id=875
http://ati.cchtml.com/show_bug.cgi?id=887

latest forum thread here:
https://bugs.launchpad.net/ubuntu/+source/jockey/+bug/197639

Revision history for this message
marmuta (marmuta) wrote :

oops, wrong link, forum thread is here:
http://ubuntuforums.org/showthread.php?t=948000

Revision history for this message
ubertoo (ubertoo) wrote :

This bug is unresolved in K/Ubuntu 8.10.

Revision history for this message
Patrik Kullman (nomego) wrote :

After copying the related parts from waldeck's Xorg.conf, fullscreen XVideo works in Compiz.

Thanks!

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Still not working on Radeon X800 using habub's or waldeck's settings. Ie. using compiz and playing video results in unbearable flickering. So this still cannot be used by default.

(I try fglrx about once a year, always returning to the default open ati driver, which works fine but no shaders support)

Revision history for this message
Stefan Sauer (ensonic) wrote :

Me too.
01:00.0 VGA compatible controller: ATI Technologies Inc M22 [Mobility Radeon X300]

tried all kind of permutations of VideoOverlay,OpenGLOverlay,TexturedVideo in Screen together with Composite in Extensions, but failed to get it working. xvinfo always claims there is no xvideo support. That is a very serious regression.

Revision history for this message
Stefan Sauer (ensonic) wrote :

Oh my. The upgrade mechanism forgot to update which kernel is loaded by default (/boot/grub/menu.lst default was 2 and not 0). Now everything works almost fine. I have desktop effects and xvideo (including the flickering bug).
The xvideo is definitely borked as it also sort of stays in fron (menus open behind).

Revision history for this message
prash (prash) wrote :

Waldeck's method works for me too. Video does not flicker for me now. There is a bit of tearing now and then, though -- in both, windowed and full-screen mode. CPU usage remains high too - about 30% for mplayer. I guess this is what makes the video freeze for a moment when I am switching applications or starting new ones.

Revision history for this message
dino99 (9d9) wrote :

outdated, and hardy is reaching eol https://wiki.ubuntu.com/Releases

Changed in jockey (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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