View Full Version : radeonhd + TVOut
null56
03-08-2009, 11:10 AM
I try to use tvout
Video card: AGP x1950 Pro
Linux: gentoo-2.6.27-gentoo-r8 x86_64
xorg-server-1.5.3-r3
x11-apps/xrandr-1.2.3
x11-drivers/xf86-video-radeonhd-1.2.4
I have read the documentation
http://wiki.x.org/wiki/radeonhd
and have made a xorg.conf
Section "Device"
Identifier "Card0"
Driver "radeonhd"
VendorName "ATI Technologies Inc"
BoardName "RV570 [Radeon X1950 Pro]"
Option "monitor-DVI-I_1/digital" "Monitor0"
Option "monitor-TV_SVIDEO" "TV"
Option "RROutputOrder" "Monitor0"
BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
Identifier "TV"
Option "RightOf" "Monitor0"
EndSection
My xrandr --verbose
DVI-I_1/digital connected 1280x1024+0+0 (0x40) normal (normal left inverted right x axis y axis) 338mm x 270mm
Identifier: 0x3c
Timestamp: 5780644
Subpixel: unknown
Clones: DVI-I_1/analog TV_SVIDEO DVI-I_2/digital DVI-I_2/analog
CRTC: 0
CRTCs: 0 1
RANDR_OUTPUT_NUMBER: 2 (0x00000002)
COHERENT: 0 (0x00000000) range: (0,1)
RANDR_PANNING_AREA:
RANDR_CONNECTOR_NUMBER: 1 (0x00000001)
RANDR_CONNECTOR_TYPE: TMDS
RANDR_SIGNAL_FORMAT: TMDS
..............
TV_SVIDEO disconnected (normal left inverted right x axis y axis)
Identifier: 0x3d
Timestamp: 5780644
Subpixel: unknown
Clones: DVI-I_1/analog DVI-I_1/digital DVI-I_2/digital DVI-I_2/analog
CRTCs: 0 1
RANDR_OUTPUT_NUMBER: 3 (0x00000003)
RANDR_PANNING_AREA:
RANDR_CONNECTOR_NUMBER: 2 (0x00000002)
RANDR_CONNECTOR_TYPE: TV
RANDR_SIGNAL_FORMAT: unknown
but there is not effect ( TV-out show the picture only in the virtual terminal, not under the xorg...
Is it a possible to use tv-out for watch the novies with this version of driver?
because man radeonhd
DESCRIPTION
radeonhd is an Xorg driver for AMD GPG (ATI) R5xx/R6xx/R7xx based video cards.
· No TV and Component connector support so far.
thanks
bridgman
03-08-2009, 11:25 AM
Right; I don't think tvout for 5xx/6xx has been ported from radeon to radeonhd yet. TVout for your GPU is only in the radeon (xf86-video-ati) driver.
null56
03-08-2009, 01:40 PM
Right; I don't think tvout for 5xx/6xx has been ported from radeon to radeonhd yet. TVout for your GPU is only in the radeon (xf86-video-ati) driver.
I've tried to use x11-drivers/xf86-video-ati-6.11.0, but the same settings of xorg.conf show me on start xorg...
(II) RADEON(0): Skipping TV-Out
(II) RADEON(0): Skipping Component Video
Why?
null56
03-08-2009, 01:57 PM
and no more info about tv out
xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 2048 x 2048
DVI-1 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270
bridgman
03-08-2009, 02:19 PM
I've tried to use x11-drivers/xf86-video-ati-6.11.0, but the same settings of xorg.conf show me on start xorg...
(II) RADEON(0): Skipping TV-Out
(II) RADEON(0): Skipping Component Video
Why?
I think it's disabled by default :
http://airlied.livejournal.com/64021.html
null56
03-08-2009, 02:45 PM
I have just installed stable version of driver and tv was detected, but....
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1400 x 1400
S-video connected 1024x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
800x600 59.9 +
1024x600 59.9*
848x600 59.8
720x600 59.7
640x600 59.9
DVI-1 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
.. my main screen have a pink tint and two resolutions (two screen in one)... ))))
Has anybody complete xorg.conf for tv out for /xf86-video-ati
TechMage89
03-09-2009, 01:03 AM
Try entering a manual mode for NTSC (look up the modeline for NTSC on the mythtv wiki and paste the numbers in the newmode parameter.) That might work better.
However, I think TV out has not been thoroughly tested and debugged, so you might want to get get in touch with the devs and report it as a bug.
null56
03-09-2009, 10:04 AM
xf86-video-ati more then 6.8.0 version not detect my tv-out
xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1400 x 1400
DVI-1 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
null56
03-09-2009, 10:24 AM
(((
TV-out not working when a LCD monitor is connected.
The TV-out module needs the driver to use the correct mode in order to get TV-out. ("800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz)
agd5f
03-09-2009, 12:08 PM
You need 6.11.0 or git master and Option "ATOMTvOut" "true" in the device section of your config to use tv out on atom based cards. It's not enabled by default as there are still issues in some cases.
null56
03-09-2009, 04:45 PM
Yes, you was right... but my xorg outputs all screen in one display.
How to split it?
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1400 x 1400
S-video connected 800x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
DVI-1 disconnected (normal left inverted right x axis y axis)
DIN disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
My xorg.conf
Section "ServerLayout"
Screen 0 "Screen0" 0 0
EndSection
Section "Monitor"
Identifier "Monitor0"
EndSection
Section "Monitor"
Identifier "Monitor-TV"
Option "PreferredMode" "800x600"
# Option "RightOf" "Monitor0"
EndSection
Section "Device"
Option "ATOMTvOut" "true"
Option "Screen" "2"
Option "Monitor-DVI-0" "Monitor0"
Option "Monitor-S-video" "Monitor-TV"
Identifier "Card0"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "RV570 [Radeon X1950 Pro]"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card0"
Monitor "Monitor-TV"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600"
EndSubSection
EndSection
Option works, if I want to right of or other... BUT to the Screen0, my lcd display. No picture on tv after load the driver...
Virtaul terminals works, but in the pink color...
How to split output to diffrerent displays... My lcd and tv?
PS: log file
(II) RADEON(0): Output S-video using monitor section Monitor-TV
(**) RADEON(0): Option "PreferredMode" "800x600"
(II) RADEON(0): Default TV standard: NTSC
(II) RADEON(0): TV standards supported by chip: NTSC NTSC-J PAL PAL-M
....
(II) RADEON(0): Port0:
XRANDR name: S-video
Connector: S-video
TV1: INTERNAL_KLDSCP_DAC2
DDC reg: 0x0
Using TV scaler 1 3
forcing TV scaler
scaler 0 setup success
Set CRTC 0 Source success
crtc 0 YUV enable setup success
Output DAC2 setup success
Output TV setup success
Output TV1 enable success
Enable CRTC 0 success
Unblank CRTC 0 success
Blank CRTC 0 success
Disable CRTC 0 success
Lock CRTC 0 success
Output TV1 disable succes
null56
03-22-2009, 01:34 PM
just updateted to
x11-base/xorg-server-1.5.3-r5
x11-drivers/xf86-video-ati-6.12.1
same problem...
xorg-x11 not installed... is it may be a problem?
https://bugs.freedesktop.org/show_bug.cgi?id=20650
fermulator
05-10-2009, 12:54 AM
I'm having troubles with this also.
EDIT: Specs:
* Ubuntu 9.04 (2.6.28-11-server)
* Radeon X1950 (r570)
* xserver-xorg-video-radeon 1:6.12.1-0ubuntu2
* xserver-xorg-video-ati 1:6.12.1-0ubuntu2
* libxrandr2 2:1.3.0-1build1
With default settings xrandr -q retured:
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 3360 x 1050
DVI-1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 296mm
DVI-0 disconnected (normal left inverted right x axis y axis)
Then I found this thread and learned about "ATOMTvOut" ... :
My xorg.conf now contains the line in the device section:
Option "ATOMTvOut" "true"
, and xrandr -q now returns:
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 3360 x 1050
S-video connected (normal left inverted right x axis y axis)
1360x768 59.8
1024x768 59.9
800x600 60.3 59.9
848x480 59.7
720x480 59.7
640x480 59.9 59.4
DVI-1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 296mm
DVI-0 disconnected (normal left inverted right x axis y axis)
Using gnome-display-properties also sees the TV now! Great.
But ... (of course) ... when I try:
xrandr --output S-video --mode 800x600
The TV flickers (like it would normally when getting a new Line In signal) ... but doesn't show any output. Also, after running that command, my primary LCD monitor image gets REALLY messed up. It's like htere's a line distortion and it's not quite right. I can still read text ... but the picture is very messed up.
What to try next?
bridgman
05-10-2009, 02:08 AM
I'm just checking through the commit logs, but last I remember TVout on 5xx was still causing problems. There was a commit on 3/18 but not sure if that made it into the driver version you are using :
http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=537da7018b0fd2ad263fc5cdc55b3b85cf8e9205
I think agd5f and airlied got it kind-of working on the older and newer boards but 5xx was still a problem even after (theoretically) setting it up the same way fglrx does. Hopefully someone with recent experience using the driver will jump in.
Can you try composite out ? One of the outputs didn't work yet but don't remember if that was S-video or component. Composite is definitely most likely to work though.
agd5f
05-11-2009, 02:27 AM
Component doesn't work yet. S-video works pretty well on r1xx-r3xx and r6xx/r7xx chips. S-video is kind of hit or miss on r4xx/r5xx/rs6xx chips.
stivn
05-11-2009, 11:07 AM
hey, i got exactly the same problem as fermulator on my r500 (X1400 mobility). also driving jaunty with os driver 6.12.1... is there anything i could try? i really need my svideo out to get work (still got an old tv without hdmi input).
fermulator
05-11-2009, 12:02 PM
Can you try composite out ?
Unfortunately I don't have any TV with composite inputs. Just S-video. hehe, my TV is old.
Component doesn't work yet. S-video works pretty well on r1xx-r3xx and r6xx/r7xx chips. S-video is kind of hit or miss on r4xx/r5xx/rs6xx chips.
So what is the problem then you think? Is the fix already committed and we can use the latest driver, or has "all the work been done that you're planning on doing for TV-out", and we need to figure out these corner cases ourselves? (I guess my point is here I'm not going to veer off the Ubuntu repository driver unless the latest driver would actually work for this task). I think that makes sense.
bridgman
05-11-2009, 12:23 PM
Unfortunately I don't have any TV with composite inputs. Just S-video. hehe, my TV is old.
Composite is older than S-video; it's that single yellow RCA jack beside the S-video DIN connector.
Composite combines colour and luminance info onto a single wire; S-video uses a separate wire for colour (chroma) so the luminance info doesn't need to be low-pass filtered to keep it from interfering with the chroma subcarrier.
Your TV might be too old for component, but that's turned off anyways right now ;)
So what is the problem then you think? Is the fix already committed and we can use the latest driver, or has "all the work been done that you're planning on doing for TV-out", and we need to figure out these corner cases ourselves? (I guess my point is here I'm not going to veer off the Ubuntu repository driver unless the latest driver would actually work for this task). I think that makes sense.
I think the answer is "we don't know, in theory everything is set right but it doesn't work properly and more tinkering is needed".
anderssl
05-11-2009, 03:17 PM
Component doesn't work yet. S-video works pretty well on r1xx-r3xx and r6xx/r7xx chips. S-video is kind of hit or miss on r4xx/r5xx/rs6xx chips.
@agd5f: does this mean that the radeonhd driver can be used for r100-r300 cards? I'm asking because the documentation at http://wiki.x.org/wiki/radeonhd only says that r500 and up are supported. And I have a r300 card... Sure would be nice to get TV-out working!
bridgman
05-11-2009, 08:58 PM
You need to use the radeon (xf86-video-ati) driver for r100-r300 cards, and that's where you would find r300 tvout.
Radeonhd covers r500-r700, radeon covers r100-r700.
agd5f
05-11-2009, 08:58 PM
@agd5f: does this mean that the radeonhd driver can be used for r100-r300 cards? I'm asking because the documentation at http://wiki.x.org/wiki/radeonhd only says that r500 and up are supported. And I have a r300 card... Sure would be nice to get TV-out working!
I've been talking about the radeon driver, not radeonhd. radeonhd does not support tv-out at all at the moment. Also the page is correct; radeonhd only supports r5xx-r7xx cards.
anderssl
05-13-2009, 01:12 AM
I've been talking about the radeon driver, not radeonhd. radeonhd does not support tv-out at all at the moment. Also the page is correct; radeonhd only supports r5xx-r7xx cards.
Sorry for being thick-skulled. I have installed the newest version of radeon, following instructions on this page: http://wiki.x.org/wiki/RadeonTVbuildHowto
After some messing around (I`m a linux noob) the install has concluded without error messages. But xrandr still can`t seem to recognize my S-Video output:
xrandr -q
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 1280 x 1200
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1280x800 60.0*+
1280x720 59.9
1152x768 59.8
1024x768 60.0 59.9
800x600 60.3 59.9
640x480 59.9 59.4
S-video disconnected 800x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
800x600 60.3*
I`ve got a hardware adapter connected in the S-Video out, a male S-Video to female composite/RCA adapter with a composite/RCA cable to the TV, does that matter? (Old TV, no S-Video in...) Pretty sure there`s nothing wrong with the physical connection, as it was working in Windows until I stopped using Windows recently...
I`m using:
Ubuntu 9.04 Jaunty
ATI Radeon 9700 (r300)
What am I missing?
agd5f
05-13-2009, 09:42 AM
Sorry for being thick-skulled. I have installed the newest version of radeon, following instructions on this page: http://wiki.x.org/wiki/RadeonTVbuildHowto
After some messing around (I`m a linux noob) the install has concluded without error messages. But xrandr still can`t seem to recognize my S-Video output:
xrandr -q
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 1280 x 1200
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1280x800 60.0*+
1280x720 59.9
1152x768 59.8
1024x768 60.0 59.9
800x600 60.3 59.9
640x480 59.9 59.4
S-video disconnected 800x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
800x600 60.3*
I`ve got a hardware adapter connected in the S-Video out, a male S-Video to female composite/RCA adapter with a composite/RCA cable to the TV, does that matter? (Old TV, no S-Video in...) Pretty sure there`s nothing wrong with the physical connection, as it was working in Windows until I stopped using Windows recently...
I`m using:
Ubuntu 9.04 Jaunty
ATI Radeon 9700 (r300)
What am I missing?
maybe the wrong tv-standard? you can change that as on option in your xorg.conf or on the fly with xrandr --output S-video --set tv_standard ntsc or pal, etc. Also try turning the tv off and on:
xrandr --output S-video --off
xrandr --output S-video --mode 800x600
You might also try a newer version of the driver depending on what version you are using.
legume
05-13-2009, 10:46 AM
I`ve got a hardware adapter connected in the S-Video out, a male S-Video to female composite/RCA adapter with a composite/RCA cable to the TV, does that matter? (Old TV, no S-Video in...) Pretty sure there`s nothing wrong with the physical connection, as it was working in Windows until I stopped using Windows recently...
I`m using:
Ubuntu 9.04 Jaunty
ATI Radeon 9700 (r300)
What am I missing?
If the "s-video" connector is anything like the connector on the newer cards then it's not just s-video but has more pins so the adapters for composite or component actually use different pins. I don't know if you can ever get xrandr to say composite rather than s-video.
My rv670 card usually won't work after connecting to a TV with out being power cycled, and I mean really cutting the power and waiting a minute, after which it will show on TV everything right from the start of the boot up process. I haven't got it working with radeon yet, though. It works OK and scales if I use xorg vesa driver.
agd5f
05-13-2009, 10:48 AM
If the "s-video" connector is anything like the connector on the newer cards then it's not just s-video but has more pins so the adapters for composite or component actually use different pins. I don't know if you can ever get xrandr to say composite rather than s-video.
My rv670 card usually won't work after connecting to a TV with out being power cycled, and I mean really cutting the power and waiting a minute, after which it will show on TV everything right from the start of the boot up process. I haven't got it working with radeon yet, though. It works OK and scales if I use xorg vesa driver.
With radeon you need:
Option "ATOMTvOut" "TRUE"
in the device section of your config and driver version 6.12.2 or newer.
legume
05-13-2009, 11:07 AM
With radeon you need:
Option "ATOMTvOut" "TRUE"
in the device section of your config and driver version 6.12.2 or newer.
I've tried a few options -
Option "ATOMTvOut" "true"
Option "TVStandard" "pal"
Option "ForceTVOut" "true"
Option "TVDACLoadDetect" "true"
without luck - it just blanks the TV as soon as I startx, sometimes after quiting X after testing, the vga text on the TV ends up green.
anderssl
05-13-2009, 01:36 PM
maybe the wrong tv-standard? you can change that as on option in your xorg.conf or on the fly with xrandr --output S-video --set tv_standard ntsc or pal, etc. Also try turning the tv off and on:
xrandr --output S-video --off
xrandr --output S-video --mode 800x600
You might also try a newer version of the driver depending on what version you are using.
Thanks for the tips - at least some result: When I do the commands above, I get a bunch of flickering lines on the tv screen. Not as fun to watch as South Park, but at least there is some contact. Changing the tv standard only changes the shape of the lines, and I assume my tv is ntsc anyway, since I'm in the US.
I think I'm using the latest verison of the driver, 6.12.2.99.
I tried to do the static options in the xorg.conf file, as listed on this page: http://wiki.x.org/wiki/radeonTV
-but that only led to getting reduced resolution on my laptop lcd screen, and no contact with the tv at all.
As stated before, I'm a linux noob so I may well have overlooked anything that's obvious to you guys... I'd be thankful for any help!
null56
05-26-2009, 05:21 AM
I don't understand. My card AGP x1950 has supported tvout by driver xf86-video-ati or not? I understood that not ready radeonhd driver for this purples...
null56
08-09-2009, 11:37 AM
I have just updated to x11-drivers/xf86-video-ati-6.12.2-r1
It's all right no problem more. Th picture on the tv
stivn
08-10-2009, 05:41 AM
I have just updated to x11-drivers/xf86-video-ati-6.12.2-r1
It's all right no problem more. Th picture on the tv
where do i get that version for fedora? i have 6.12.2 without r1?
null56
08-10-2009, 08:31 AM
I have a gentoo disrt... You can build a module from sources
http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/
But i don't see this version there, may it is a patch for 6.12.2 version
Try to download sources from this page and compile
http://dev.gentooexperimental.org/~scarabeus/
This is page from my ebuild file of driver
As for lenny the build requirements are too high for mainline ati (that's something that i REALLY hate) it still can be used the 6.12 branch which mainly has major bugfixes but no experimental code:
git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-ati
cd xf86-video-ati
git checkout -t -b 6.12-branch origin/6.12-branch
agd5j just told me that:
git revert --no-edit 76af48c43f829e7aebacc9f2a623823fa26ee22b
instead of switching to 6.12-branch is enough too. I would like that would not be needed as it is a really uncritical thing that only creates the ChangeLog:
http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=76af48c43f829e7aebacc9f2a623823fa26ee22b
null56
08-16-2009, 11:11 AM
sorry...
very strange situation...
It work only with build uvesafb this way, without kernel command line
video=uvesafb:1600x1200-32@70,mtrr:3,ywrap
http://en.gentoo-wiki.com/wiki/Framebuffer
If uvesafb was installed success and work, you can see the tv picture...
After start x, goto virtual terminal and back...
If you didn't off the kernel command line, console will be in pink color..
I think it is not stable yet... I did'nt found other way to use tv out
nanonyme
08-16-2009, 11:24 AM
Just thought to note that the last line of fallback for xf86-video-ati seems to be NTSC. (found out while searching for background information for another issue) The Option "TVStandard" "pal" line looks fine though, no idea why it wouldn't work...
legume
08-17-2009, 07:06 AM
S-video TV out on my pal rv670 now works with todays git, thanks to airlied's changes.
Haven't tested anything apart from 1024x768 clone yet.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.