Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: 690G OpenGL video playback is Green & Purple

  1. #1
    Join Date
    Aug 2008
    Posts
    19

    Default 690G OpenGL video playback is Green & Purple

    Hi All,
    Finally I have my 690G based computers up and running with open source drivers and everything is running well. Except video playback from within an OpenGL application. Everything is Green and Purple..
    System is Ubuntu 8.10 alpha 5 using the radeon driver

    Using the radeonhd driver the video playback is the correct colours however the performance is so terrible (about 1/10 of radeon) that it's unusable.

    Anyone run into this before or have any suggestions as to how to fix it?

  2. #2
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,418

    Default

    Is this video playback over a normal monitor (VGA, DVI etc..) or over a TVOut (composite, S-Video, component) ?

  3. #3
    Join Date
    Dec 2007
    Posts
    2,341

    Default

    Sounds like a problem in the colorspace conversion. Does it happen with all videos or just certain ones?

    ...wait what do you mean by "video playback from within an OpenGL application"? Are you using Xv or is GL rendering the video?

  4. #4
    Join Date
    Nov 2007
    Posts
    117

    Default

    YUV decoding problem.

  5. #5
    Join Date
    Aug 2008
    Posts
    19

    Default

    Connection is via LVDS, I can try VGA but will have to wait til after the weekend.
    The 'application' is the python libavg framework. Renders everything using openGL sorry I'm not sure on the specific details of how it all works sorry.
    using ffplay works fine I've tested two videos one is mpeg2 the other is an mpeg4 of some variation. I'll check exactly what codecs when I'm near that machine again.

  6. #6
    Join Date
    Dec 2007
    Posts
    2,341

    Default

    Quote Originally Posted by ovoskeuiks View Post
    Connection is via LVDS, I can try VGA but will have to wait til after the weekend.
    The output doesn't matter.

    Quote Originally Posted by ovoskeuiks View Post
    The 'application' is the python libavg framework. Renders everything using openGL sorry I'm not sure on the specific details of how it all works sorry.
    using ffplay works fine I've tested two videos one is mpeg2 the other is an mpeg4 of some variation. I'll check exactly what codecs when I'm near that machine again.
    If ffplay uses Xv and it works, I'm guessing it's a problem with the GL code in libavg or the r300 3D driver.

  7. #7
    Join Date
    Aug 2008
    Posts
    19

    Default

    Quote Originally Posted by agd5f View Post
    If ffplay uses Xv and it works, I'm guessing it's a problem with the GL code in libavg or the r300 3D driver.
    Is the r300 3D driver common to both radeon and radeonhd? The radeonhd works but with terrible performance, so would that point to it being something in the implementation of the radeon driver?

  8. #8
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,418

    Default

    The 3D and DRM drivers are common between radeon and radeonhd, although 3D was only fully integrated into radeonhd relatively recently. One possibility is that radeonhd was falling back to software rendering for some reason -- "works but terribly slow" is another way of saying "software rendering"

    Could you pastebin a log with radeonhd ?

  9. #9
    Join Date
    Aug 2008
    Posts
    19

    Default

    Quote Originally Posted by bridgman View Post
    The 3D and DRM drivers are common between radeon and radeonhd, although 3D was only fully integrated into radeonhd relatively recently. One possibility is that radeonhd was falling back to software rendering for some reason -- "works but terribly slow" is another way of saying "software rendering"

    Could you pastebin a log with radeonhd ?
    I can but I'm away at a Tangi for the next few days will post it when I'm back in front of that machine.

  10. #10
    Join Date
    Aug 2008
    Posts
    19

    Default

    Quote Originally Posted by bridgman View Post
    The 3D and DRM drivers are common between radeon and radeonhd, although 3D was only fully integrated into radeonhd relatively recently. One possibility is that radeonhd was falling back to software rendering for some reason -- "works but terribly slow" is another way of saying "software rendering"

    Could you pastebin a log with radeonhd ?
    This is using radeonhd with the xorg.conf options specified in the installing open-source drivers thread in this forum. Uncommenting the DRI option gives a Warning saying Option DRI is not used

    xorg.conf
    http://pastebin.com/m5cc18acc

    Xorg.0.log
    http://pastebin.com/d632079c9

    glxinfo
    http://pastebin.com/m1a4ca0d0

    glxgears performance with this is about 120 FPS as oppose to around 800 with ati-radeon

    Cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •