TV Out on radeon 7500

Alex Deucher alexdeucher at gmail.com
Mon Oct 15 18:14:21 PDT 2007


On 10/13/07, nikosapi <nikosapi at gmail.com> wrote:
> On October 13, 2007 19:51:14 you wrote:
> > On 10/13/07, nikosapi <nikosapi at gmail.com> wrote:
> > > On October 13, 2007 18:53:45 you wrote:
> > > > On 10/13/07, nikosapi <nikosapi at gmail.com> wrote:
> > > > > Hello,
> > > > >
> > > > > I just got an old pci radeon 7500 card for its TV output capabilities
> > > > > (I'm using two of the outputs on my nvidia card already).
> > > > >
> > > > > I've upgraded to Ubuntu Gutsy and I've also gotten the latest radeon
> > > > > drivers and xrandr from git. I got information on how to do this
> > > > > from:
> > > > > http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2007-Augus
> > > > >t/03 9878.html
> > > > >
> > > > > Using xrandr I am able to issue the following commands which makes
> > > > > the blue screen on my tv very jittery (I assume it's because the card
> > > > > is feeding the TV a bad signal):
> > > > >
> > > > > xrandr --addmode S-video 800x600
> > > > > xrandr --output S-video --mode 800x600
> > > > >
> > > > > Then if I try to set the output to ntsc (xrandr --output S-video
> > > > > --set tv_standard ntsc) I get the following error:
> > > > >
> > > > > X Error of failed request:  BadValue (integer parameter out of range
> > > > > for operation)
> > > > >   Major opcode of failed request:  159 (RANDR)
> > > > >   Minor opcode of failed request:  13 ()
> > > > >   Value in failed request:  0x1b9
> > > > >   Serial number of failed request:  20
> > > > >   Current serial number in output stream:  21
> > > > >
> > > > > Although if I do: xrandr --output S-video --set tv_standard pal I get
> > > > > no error message. Does this mean that it doesn't support ntsc? The
> > > > > only other 'tv_standard' that I found that doesn't give me an error
> > > > > is 'default' which produces an even more violent jitter on the
> > > > > screen.
> > > >
> > > > According to your bios, you chip only supports PAL:
> > > > (II) RADEON(1): Default TV standard: PAL
> > > > (II) RADEON(1): TV standards supported by chip: PAL
> > > >
> > > > Right now I only add the standards that the bios lists.  It's trivial
> > > > to add them all though.  they should all work in theory, but YMMV.
> > > >
> > > > Alex
> > >
> > > Hello Alex,
> > >
> > > Is this a problem with the card itself? (Should the bios support ntsc if
> > > the box says it should?)
> >
> > It'll probably work fine.
> >
> > > If it isn't, is there a way to force the card into ntsc mode?
> >
> > You can edit the code to add any standards you want (radeon_output.c).
> >  I should probably just ignore the bios and add all the tv standards
> > (or at least PAL and NTSC).  Maybe this week at some point.
> >
> > Alex
>
> It worked! I found the code that checks to see if the ntsc mode is supported
> in the card's bios and I commented some of it out. I attached a patch just in
> case someone else needs it.

I've gone ahead and changed the driver to allow you to set all tv standards.

Alex



More information about the xorg mailing list