the patch based on http://megahurts.dk/rune/tv_output.html http://shell.world-net.co.nz/~knightw/tvout/ I just hacked it quite a bit to compile under gentoo's xf86-video-ati-6.5.7.3 Be wormed that it might be some legality to use it since the patch and xorg have different licences.
Created attachment 83174 [details, diff] patch for xorg 7 modular v 6.5.7.3 to enable tvoutput in ATI driver copy it to your local portage /usr/local/portage/x11-drivers/xf86-video-ati/files modify a line in ebuild xf86-video-ati-6.5.7.3-r1.ebuild: PATCHES="${FILESDIR}/${P}-hangup-ppc.patch ${FILESDIR}/${P}-tv_output.patch" and recompile
We won't include this in our own patchsets until the X team includes this upstream. Thanks for the patch though; we'll of course leave this here for those who are interested. Make sure you post this to the forums and possibly gentoo-wiki.com for those who are interested, since I don't think a tonne of people will find it here. I'll mark this as upstream since the responsibility lies with the patch author and X team to get this into official X.
Thanks, all true, I just wanted to post it here for whom, who really need tvoutput now. The link http://gentoo-wiki.com/HOWTO_DRI_with_ATi_Open-Source_Drivers has been modified as well. btw, there is an uncompiled binary in the patch in ../src/tvo_set/ http://sourceforge.net/mailarchive/forum.php?thread_id=9760999&forum_id=5014 Here is interesting part: Things havent been done: Imakefile -> Makefile for tvo_set.c however, you can compile it with a single command line: gcc tvo_set.c -I/where_your_xorg_is_installed/include/ -L/where_your_xorg_is_installed/lib/ -lXv -o tvo_set Waiting for the upstream.
Created attachment 84891 [details, diff] patch for xorg 7 modular v 6.6.0 to enable tvoutput in ATI driver This patch is for new version xf86-video-ati-6.6.0. It's just assembled files from http://shell.world-net.co.nz/~knightw/tvout/ Copy the original ebuild to your local portage and add the line: PATCHES="${FILESDIR}/${P}-tv_output.patch" into it.
*** Bug 71452 has been marked as a duplicate of this bug. ***
Created attachment 89986 [details, diff] patch for xorg 7 modular v 6.6.1 to enable tvoutput in ATI driver Vertion bump
Created attachment 89987 [details, diff] patch for xorg 7 modular v 6.6.1 to enable tvoutput in ATI driver Version bump
Created attachment 95893 [details, diff] patch for xorg 7 modular v 6.5.8.0 to enable tvoutput in ATI driver
I think we need a nother version bump to x11-drivers/xf86-video-ati-6.6.2? Also a weebit more detailed instruction for us n00bs would be handy here. What's the plan? copy the x11-drivers/xf86-video-ati-6.6.1 dir to our local overlay and apply the patch?
Ok just added the PATCH line (as i seem to have over-read it) and the 6.6.1 patch doesn't patch against 6.6.2. I'll fix it later tonight I hope, otherwise i'll post my patch.out file for others to take a peek at :)
Created attachment 96124 [details, diff] Fixed xf86-video-ati-6.6.2 patch for archive.
Created attachment 96125 [details, diff] TV Out patch against xf86-video-ati 6.6.2
Comment on attachment 96124 [details, diff] Fixed xf86-video-ati-6.6.2 patch for archive. (Ignore this patch. I messed up here)
Comment on attachment 96125 [details, diff] TV Out patch against xf86-video-ati 6.6.2 Also this one is messed up so I have to resubmit.
Created attachment 96126 [details, diff] Radeon TV-Out patch against 6.6.2 Ok, second attempt. Patch patches and compiles fine on my system. However I have a radeon 9500Pro (testing it for someone elses 9200SE) so I doubt I could even get it to work at all. AFAIK the r300 uses r200 drivers for 2d stuff, and the Rage Theater chip is the nearly the same build in Rage Theater 200 from the other radeons? Oh well atleast now I got a patched ati driver to start experimenting with.
Created attachment 96376 [details, diff] radeon tv-out patch against 6.6.2 (updated Makefile.in) The patch is the same as the most recent 6.6.2 patch from node but with added lines to Makefile.in so that theater_out_drv.so is built
You guys should create a own portage overlay and create a page in the gentoo-wiki like radeon_and_tv-out
patch still works with 6.6.3, If I get bored I'll check if it still applies cleanly and if not re-apply one. For me, I had to actually disconnect my VGA port for TV-Out to work. Things went pretty bad when I didn't. Also, the driver still only works in 16bpp? I'll see if 24bpp is even possible cause, it might not have been very visible back in 95, but on my freevo background it shows really badl allready.
Can confirm that 24bpp works just fine, My xorg.conf wasn't all it should have been. Oh well, i think i might try vga->scart and see how I like that anyhow.
shouldn't you make the patch so it also compiles the tvo_set utility?
Is that patch in cvs of xf86-video-ati?
Created attachment 115364 [details, diff] this is the 6.6.2 patch from Steven Leung. I'm re-uploading it to obsolete my old v.6.6.1 and update the bug to have the proper numbering (6.6.3).
Created attachment 115366 [details, diff] radeon tv-out patch against 6.6.3 by Steven Leung Sorry for the spam.
Created attachment 115513 [details, diff] radeon tv-out patch against rc 6.6.191 based on 6.6.3 Ok, it's getting tricky now. Some pieces of the patch are in the git already and some variables has changed. Give it a try. Let me know if any problem with the patch.
> Ok, it's getting tricky now. But it works perfect for me! Thanks!!!
> But it works perfect for me! Thanks!!! Thanks for the good news. I couldn't check myself because I have r300 and it's never worked for me :) 3 new versions rc2-rc4 have hit the portage today in one shot. The last one called: xf86-video-i810-1.9.94 (06 Apr 2007) The patch might still work. Let's wait for the final version and see how it goes.
With xf86-video-ati-6.6.3 this patch makes my linux box to randomly freeze. This only happens only when the s-video cable is plugged in and never if attached to a normal vga (or dvi) monitor. I cannot post any error since this freeze leaves no trace at all into system logs. My card is an ati 9200 PCI. This is my device section of xorg.conf: Section "Device" Identifier "ATI" Driver "radeon" BusID "PCI:0:20:0" Option "DynamicClocks" "on" ##################################################### # TV-Output options for opensource driver with patch Option "TVOutput" "PAL" Option "IgnoreEDID" "true" ##################################################### EndSection This is my emerge --info Portage 2.1.2.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4 i686) ================================================================= System uname: 2.6.21-gentoo-r4 i686 VIA Esther processor 1200MHz Gentoo Base System release 1.12.9 Timestamp of tree: Mon, 16 Jul 2007 06:50:01 +0000 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -mmmx -msse -msse2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=i686 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://trumpetti.atm.tut.fi/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/" LANG="it_IT@euro" LC_ALL="it_IT@euro" LDFLAGS="-Wl,-O1" LINGUAS="it" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/portage_tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac alsa bash-completion berkdb bitmap-fonts bzip2 caps cli cracklib crypt dga dri fam fbcon fortran gdbm gif gmp gnutls gpm iconv idn ipv6 isdnlog jpeg libg++ mad midi mmx mp3 mudflap ncurses nls nptl nptlonly offensive opengl openmp pam pcre perl png pppd python quicktime readline reflection samba sdl session speex spell spl sse sse2 ssl tcpd theora tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x264 x86 xml xorg xv xvid zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="radeon via vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Is there any support for the IGP graphics in laptops? I'm trying to use it with my Compaq which has an IGP320 graphics. I can't seem to get X to output anything to my svideo port. Could be something wrong in the xorg.conf maybe? I tried following the instructions on some of the sites, but nothing seems to be working at the moment.
It's a bit old news, but just to put a final dot here: after all contributers agreed (including myself) to release the code under xorg license, the patch has been merged into the official xorg ATI driver and it is anticipated to work on most R200 and R300-based cards. See the following links for details: http://www.hboeck.de/archives/522-TV-Out-for-radeon-r200r300-cards.html http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-ati.git;a=shortlog;h=randr-1.2 Use http://dev.gentoo.org/~hanno/xf86-video-ati-9999.ebuild and submit bug reports to Hanno Boeck directly ;-) Good job, Hanno!
I should be getting a 6.7 release candidate into the main tree shortly...