Announcement

Collapse
No announcement yet.

Open-Source ATI Driver Gets TV-Out

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Open-Source ATI Driver Gets TV-Out

    Phoronix: Open-Source ATI Driver Gets TV-Out

    Thanks to recent commits in the RandR 1.2 branch for the open-source X.Org Radeon driver, it's now possible to use S-Video and composite TV output on your ATI graphics card without any patches. This is not limited to the R200 series but will also work with the R300 series and theoretically any graphics card supported by the xf86-video-ati driver. In this guide have outlined the instructions for enabling TV output support from the Radeon driver git code as well as some of the current limitations.

    http://www.phoronix.com/vr.php?view=10814

  • #2
    Hi,

    Is the video overlay working properly with this driver?


    Trek1701

    Comment


    • #3
      but of course.

      Comment


      • #4
        Hi,

        I'm having trouble building the driver. autogen.sh runs smoothly, but when I use the make command I get this:

        make all-recursive
        make[1]: Entering directory `/home/lynn/Desktop/xf86-video-ati'
        Making all in src
        make[2]: Entering directory `/home/lynn/Desktop/xf86-video-ati/src'
        /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT ati.lo -MD -MP -MF .deps/ati.Tpo -c -o ati.lo ati.c
        gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT ati.lo -MD -MP -MF .deps/ati.Tpo -c ati.c -fPIC -DPIC -o .libs/ati.o
        In file included from ati.c:65:
        radeon_probe.h:46:22: error: xf86Crtc.h: No such file or directory
        In file included from ati.c:65:
        radeon_probe.h:225: error: expected specifier-qualifier-list before 'xf86CrtcPtr'
        ati.c:228: error: 'PACKAGE_VERSION_MAJOR' undeclared here (not in a function)
        ati.c:228: error: 'PACKAGE_VERSION_MINOR' undeclared here (not in a function)
        ati.c:228: error: 'PACKAGE_VERSION_PATCHLEVEL' undeclared here (not in a function)
        make[2]: *** [ati.lo] Error 1
        make[2]: Leaving directory `/home/lynn/Desktop/xf86-video-ati/src'
        make[1]: *** [all-recursive] Error 1
        make[1]: Leaving directory `/home/lynn/Desktop/xf86-video-ati'
        make: *** [all] Error 2
        Does anyone know the solution?

        Thanks
        -Lynn

        Comment


        • #5
          Originally posted by lynn View Post
          Hi,

          I'm having trouble building the driver. autogen.sh runs smoothly, but when I use the make command I get this:



          Does anyone know the solution?
          Looks like you're missing some headerfiles from the xorg-server package (and maybe other X libs)
          Forgot to install the appropriate -devel package(s)?
          Last edited by mlau; 08-15-2007, 03:15 PM.

          Comment


          • #6
            Which header files and dev packages, specifically? I've been installing various things that sound related, such as xorg-dev and xlibs-dev, but I keep getting the same make error.

            Thanks
            -Lynn

            Comment


            • #7
              maybe xorg-server development files would do the trick.

              Comment


              • #8
                Originally posted by lynn View Post
                Which header files and dev packages, specifically? I've been installing various things that sound related, such as xorg-dev and xlibs-dev, but I keep getting the same make error.

                Thanks
                -Lynn
                Yoshi's right. To find out what's missing, use your distributions package system. For instance, on debian go to http://packages.debian.org/ and at the bottom, search for the missing file - xf86Crtc.h. It tells you that the file exists in the xserver-xorg-dev package.
                Now, this is debian. I don't know if this works for you.

                Comment


                • #9
                  Originally posted by lynn View Post
                  Which header files and dev packages, specifically? I've been installing various things that sound related, such as xorg-dev and xlibs-dev, but I keep getting the same make error.
                  According to gentoo's portage this particular
                  header belongs to the 'xorg-server' package,
                  assuming your distro is already using >= X 7.0

                  Comment


                  • #10
                    Thanks to you guys I have the TV-out working, but now there's another problem. The colors on the TV appear as if their brightness has been inverted. For example, bright orange becomes dark orange and dark blue becomes light blue.

                    This is my LCD monitor and this is my tv screen. Any ideas?

                    Comment


                    • #11
                      Ok, I keep running into a problem at the autogen.sh stage. aclocal seems to be giving me a problem.

                      Code:
                      % ./autogen.sh --prefix=/usr/
                      Can't exec "aclocal": No such file or directory at /usr/bin/autoreconf line 174.
                      Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 174.
                      autoreconf: Entering directory `.'
                      autoreconf: configure.ac: not using Gettext
                      autoreconf: running: aclocal  --output=aclocal.m4t
                      Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 288.
                      autoreconf: failed to run aclocal: No such file or directory
                      I first received an error involving autoreconf. Turns out it was not installed on my system. I installed the package and now the above output is where I am at now.

                      Comment


                      • #12
                        Hi,

                        I've manage to patch, compile and install the driver. My xorg.conf now shows

                        (II) RADEON(0): Port0:
                        Monitor -- AUTO
                        Connector -- VGA
                        DAC Type -- Primary
                        TMDS Type -- None
                        DDC Type -- VGA_DDC
                        (II) RADEON(0): Port1:
                        Monitor -- AUTO
                        Connector -- DVI-I
                        DAC Type -- TVDAC/ExtDAC
                        TMDS Type -- Internal
                        DDC Type -- DVI_DDC
                        (II) RADEON(0): Port2:
                        Monitor -- AUTO
                        Connector -- STV
                        DAC Type -- TVDAC/ExtDAC
                        TMDS Type -- None
                        DDC Type -- NONE

                        But I don't know how to setup my xorg.conf. Anyone knows how or could show me a working xorg.conf with vga and tv out working?

                        Comment


                        • #13
                          Configure error

                          I have a strange configure error:
                          Code:
                          checking whether we are using the GNU C compiler... (cached) yes
                          checking whether gcc accepts -g... (cached) yes
                          checking for gcc option to accept ISO C89... (cached) none needed
                          checking dependency style of gcc... (cached) gcc3
                          ./configure: line 20150: syntax error near unexpected token `XINERAMA,'
                          ./configure: line 20150: `XORG_DRIVER_CHECK_EXT(XINERAMA, xineramaproto)'
                          And honestly, I have no idea where that comes from.

                          My machine is a standard Fedora 7 which is up2date so the setup is comparable to the one used in the review/howto. And I have almost all xorg-x11 packages installed, the only ones missing are some drv*devel packages for drivers I do not use.

                          Does anyone has any idea?

                          Comment


                          • #14
                            Do you have xorg-x11-server-sdk?
                            Michael Larabel
                            http://www.michaellarabel.com/

                            Comment


                            • #15
                              Argh, that was to easy, I should have known that by myself. Thanks!

                              Comment

                              Working...
                              X