Announcement

Collapse
No announcement yet.

TV Out with Radeon 9200 and the OS radeon driver, possible?

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

  • #16
    I used to simply use a file manager om my TV. But the fonts are too small and you really need a mouse then. I tend to have a (rather small) keyboard on the couch next to me. A mouse isn't practical. And the mediacenter "remembers" where I was with viewing series and movies. I can resume watching really easily. And because a mediacenter can show album art and screenshots really well in a way that is fit for a TV. Lyrics etc. It is much easier to browse through one's albumes and movies on a mediacenter application. And that's why they often aren't that "heavy" on resources: most are frontends to mplayer or Xine. Once you've grown accustomed to a mediacenter on yer TV you don't want to go back.

    The differences between a file browser (w/ large thumbnails) and a mediacenter aren't that big, but it is functional.

    Comment


    • #17
      Originally posted by Meneer Jansen View Post
      but it is functional.
      I guess this point is where we have the disconnect.... since it obviously *ISN'T* functional -- its broken badly.

      Comment


      • #18
        Originally posted by Meneer Jansen View Post
        Just for the heck of it I recently popped my old Radeon 9600 which I ditched when I switched to Linux a few years ago. This because Ati and Linux weren't exactly friends. Especially TV out was difficult to set up, if not impossible.

        Anyway, w/ the all new and improved open source Xorg drivers (ati/radeon/r128/mach64) I thoufg I'd give it a try again. And lo and behold, it seemed to work pretty nice for a while. 3D support is great. TV out and overscanning (to get the TV screen completely filled).

        I use XBMC for my mediacenter. Unfortunately that program does not use xv to draw it's video. What it does use? I don't know (yet) but it results in tearing of video.

        Anyway, this is how I enable TV out on one screen (overlay!) and overscan. Wanna know what the commands mean? Just ask.
        Code:
        xrandr --output S-video --set load_detection 1
        xrandr --output VGA-0 --off
        xrandr --output S-video --mode 800x600
        xrandr --output S-video --set tv_horizontal_size 2
        xrandr --output S-video --set tv_horizontal_position -5
        xrandr --output S-video --set tv_vertical_position -3
        In short: if you're lucky Myth TV supports xv for its video output. Otherwise: everybody in this 'opensource ati/amd linux' subforum keeps on stressing that for proper TV out one had better bought a second hand Nvidia card for a few dollars on eBay. But for me it's some sort of Don Quichote crusade: I won't rest (read: stop testing) until the Linux community can accept Ati/AMD cards as a worthy piece of hardware, fit for everything you'd like to do with your Linux box. Because I want to be able to recommend everybody I know to try Linux one time. No matter what hardware they own

        Having said that: the radeon open source driver is really really really really really really good! Some say it's even better than the closed one because old Ati's (like mine) DO work w/ the open one.
        We're running Ubuntu 10.04, those driver props aren't there.
        We only have "tv standard"
        Will upgrading to 10.10 get use those props?
        Is there a PPA with the latest drivers?

        Code:
        scott@media-centre:~$ xrandr --output S-video --set tv_horizontal_size 2
        X Error of failed request:  BadName (named color or font does not exist)
          Major opcode of failed request:  149 (RANDR)
          Minor opcode of failed request:  11 (RRQueryOutputProperty)
          Serial number of failed request:  27
          Current serial number in output stream:  27
        scott@media-centre:~$
        Thanks,

        J1M.

        Comment


        • #19
          Code:
          scott@media-centre:~$ xrandr --verbose
          Screen 0: minimum 320 x 200, current 800 x 600, maximum 4096 x 4096
          VGA-0 disconnected (normal left inverted right x axis y axis)
          	Identifier: 0x51
          	Timestamp:  23009
          	Subpixel:   no subpixels
          	Clones:     DVI-0
          	CRTCs:      0 1
          	Transform:  1.000000 0.000000 0.000000
          	            0.000000 1.000000 0.000000
          	            0.000000 0.000000 1.000000
          	           filter: 
          	load detection: 1 (0x00000001)	range:  (0,1)
          DVI-0 disconnected (normal left inverted right x axis y axis)
          	Identifier: 0x52
          	Timestamp:  23009
          	Subpixel:   horizontal rgb
          	Clones:     VGA-0
          	CRTCs:      0 1
          	Transform:  1.000000 0.000000 0.000000
          	            0.000000 1.000000 0.000000
          	            0.000000 0.000000 1.000000
          	           filter: 
          	load detection: 1 (0x00000001)	range:  (0,1)
          S-video connected 800x600+0+0 (0x54) normal (normal left inverted right x axis y axis) 0mm x 0mm
          	Identifier: 0x53
          	Timestamp:  23009
          	Subpixel:   no subpixels
          	Clones:    
          	CRTC:       0
          	CRTCs:      0 1
          	Transform:  1.000000 0.000000 0.000000
          	            0.000000 1.000000 0.000000
          	            0.000000 0.000000 1.000000
          	           filter: 
          	tv standard:	ntsc
          		supported: ntsc         pal          pal-m        pal-60      
          		           ntsc-j       scart-pal    pal-cn       secam       
          	load detection: 1 (0x00000001)	range:  (0,1)
            800x600 (0x54)   38.2MHz -HSync +VSync *current +preferred
                  h: width   800 start  832 end  912 total 1024 skew    0 clock   37.4KHz
                  v: height  600 start  603 end  607 total  624           clock   59.9Hz
            640x480 (0x55)   25.2MHz -HSync -VSync
                  h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
                  v: height  480 start  490 end  492 total  525           clock   59.9Hz

          Comment


          • #20
            Tried this PPA:

            http://www.ubuntuupdates.org/ppa/ubu...wat?dist=lucid

            No dice.

            How do I get the magical tv_horizontal_size setting?

            Sadly I've also read that this setting will not fix the current problem,
            Strip missing from the right hand side of the image (looks like overscan)

            Guess I won't know till I find it.

            Comment


            • #21
              Originally posted by RoboJ1M View Post

              How do I get the magical tv_horizontal_size setting?

              Sadly I've also read that this setting will not fix the current problem,
              Strip missing from the right hand side of the image (looks like overscan)
              Those options are not available with kms at the moment. No one has gotten around to porting the code from ums to kms. You'll need to disable kms to use them for now.

              Comment


              • #22
                Originally posted by RoboJ1M View Post
                We're running Ubuntu 10.04, those driver props aren't there.
                We only have "tv standard"
                Will upgrading to 10.10 get use those props?
                Is there a PPA with the latest drivers?

                Code:
                scott@media-centre:~$ xrandr --output S-video --set tv_horizontal_size 2
                X Error of failed request:  BadName (named color or font does not exist)
                  Major opcode of failed request:  149 (RANDR)
                  Minor opcode of failed request:  11 (RRQueryOutputProperty)
                  Serial number of failed request:  27
                  Current serial number in output stream:  27
                scott@media-centre:~$
                Thanks,

                J1M.
                Well, I've had good looking TV output on Radeon 9600 (r300 driver) @ Kubuntu 10.04 and 10.10 without need to set those later parameters.
                Just be sure to use "load detection" instead of load_detection and "tv standard" instead of tv_standard as this has changed with UMS -> KMS change.

                Comment


                • #23
                  Originally posted by droidhacker View Post
                  XBMC doesn't use XV? Seems like the place to complain would be to XBMC since that would be THEIR defect... and its a SERIOUS one.
                  No, not really.

                  Xv sucks. MythTV will also ditch it in the next version (or the version after).

                  Comment


                  • #24
                    Originally posted by BlackStar View Post
                    No, not really.

                    Xv sucks. MythTV will also ditch it in the next version (or the version after).
                    That has nothing to do with Xv "sucking". Mythtv is just bloating out. It will make mythtv suck.

                    Comment


                    • #25
                      Originally posted by agd5f View Post
                      Those options are not available with kms at the moment. No one has gotten around to porting the code from ums to kms. You'll need to disable kms to use them for now.
                      I don't suppose there's a button for that? :\

                      Can somebody explain how to disable kms and use ums?

                      Ta,

                      J1M.

                      Comment


                      • #26
                        boot with radeon.modeset=0 on your kernel command line in grub.

                        Comment


                        • #27
                          Hi,

                          I added radeon.modeset=0 after ro splash in the grub line and booted it.
                          Unfortunately we just end up with a black and flickery screen.

                          Pressing the power button shut the machine down, so it hadn't crashed.
                          However it would not go any further.

                          Regards,

                          J1M.

                          Comment


                          • #28
                            Solved it.

                            Needed to plug in another monitor so we could type:

                            Code:
                            xrandr --output S-video --set load_detection 1
                            Unfortunately no amount of adjusting the size and position could correct the problem.

                            The good news is that I used xrandr to create a new modeline of 785x600, pulling the right edge in and put the lines in /etc/gdm/init/default.

                            Now the entire screen (including the right scroll bar!) is visible.

                            I shall probably tweak it further to use all of the available screen.

                            While I've got the ear of smart people I have one final TV-out related question to ask.

                            Is it possible to fake the ratio, sqaushing it vertically, so that the widescreen TV that it's being send to shows a picture with the correct aspect ratio (16:9)?

                            So, just like anamorphic DVDs.

                            Googling suggests that if I could set the screen size for the output that X would figure all this out for me, but the screen size is 0mm x 0mm and I can't see any way to set it with xrandr.

                            Anybody know the answer to that one?

                            Thanks,

                            J1M.

                            Comment


                            • #29
                              Originally posted by Meneer Jansen View Post
                              Don Quichote crusade: I won't rest (read: stop testing) until the Linux community can accept Ati/AMD cards as a worthy piece of hardware, fit for everything you'd like to do with your Linux box. Because I want to be able to recommend everybody I know to try Linux one time. No matter what hardware they own

                              Having said that: the radeon open source driver is really really really really really really good! Some say it's even better than the closed one because old Ati's (like mine) DO work w/ the open one.
                              Likewise, I recommend ATI for anyone using Linux, because:

                              1) They actively support the open source community.
                              2) The open source ATI drivers are amazing, barring overscan correction, they just work!

                              Anyway, good luck fellow ATI crusader!

                              OT: If I wanted to write a Gnome application to assist with correcting overscan on ATI and Intel chipsets (I have 3 to do!), where would I start?
                              I'm thinking of a simple app that adjusts the current modeline with up, down, left, right, width and height buttons. Then something that spits out the xrandr lines to stick in the gdm scripts.
                              I'm a C# developer by trade but I'm thinking, what, python? Is there a good IDE for that? Mono?
                              Or maybe I could start hacking in the Gnome "Monitors" application?

                              Thanks,

                              J1M.

                              Comment


                              • #30
                                The pre-avivo tv-out encoder was a PITA to set up properly. That's why it only supports 800x600 at the moment. In theory the scaler can scale any size desktop image down the the native timing sizes, you'd just need to figure out the proper crtc timing values and pll ratios.

                                Comment

                                Working...
                                X