Re: [GATOS]YPrPb Radeon output
Status: Beta
Brought to you by:
volodya
From: Pasi <pa...@ik...> - 2005-08-18 17:56:10
|
On Tue, Aug 16, 2005 at 02:37:08AM +0100, Steven Newbury wrote: >=20 > --- Pasi K=E4rkk=E4inen <pa...@ik...> wrote: >=20 > > On Thu, Aug 11, 2005 at 01:11:29AM +0100, Steven Newbury wrote: > > > I'm attempting to add YPrPb support to the Xorg Radeon driver. Ini= tially > > my > > > approach was to set likely looking registers to various values and = hope to > > be > > > lucky, once this failed I decided I would use a different approach: > > >=20 > > > After a ridiculous amount of work (ATI sells a dongle that somehow = signals > > to > > > the driver to enable YPrPb mode, I don't have one, I'm using a stan= dard > > > VGA->component cable) I have managed to get it working under Window= s XP and > > > hoped I'd be able to make a register dump to find which registers a= re set > > to > > > what. Unfortunately I haven't been able to find anything to dump t= he > > registers > > > under Windows. > > >=20 > > > It doesn't help that I do not know whether it is the TV Out hardare > > (Theatre > > > chip) or the normal CRT path that provides the direct component out= put so I > > > don't even know which registers are likely to be relevent. > > >=20 > > > I have discovered that not all Radeons support YPrPb, for example m= y 9200SE > > > (rv280) does not, as it happens much of my earlier testing was with= this > > card! > > > :-( My 8500 (r200) does, and it works very well with my Toshiba 28Z= D26P TV > > in > > > 720x480p (the TV should support PAL based 576p too but the Windows = Radeon > > > drivers do not). =20 > > >=20 > > > Does anybody here, Federico Ulivi perhaps, have any idea where to g= o from > > here, > > > what registers might be relevent, and whether there is a tool to du= mp the > > > Radeon registers under Windows. I have tried using the Linux radeo= ndump > > > utility under Cygwin but though I managed to get it to compile I ha= ven't > > > managed to get it to work, lack of /proc/bus/pci doesn't help there= . I've > > also > > > been in touch with the author of ATI Tray Tools (a Windows Radeon t= weaking > > > tool) which does show the state of a small number of registers, how= ever he > > > doesn't believe he can be of much help since he only interfaces wit= h the > > > Windows Catalyst drivers. > > >=20 > >=20 > > Hi! > >=20 > > Check this out: http://zealsoftstudio.com/memaccess/ > >=20 > > -- Pasi K=E4rkk=E4inen > Hello again Pasi, > I've re-written radeon_dump to utilise the memaccess library, or at lea= st > attempted to. I'm using Cygwin and gcc, I've got it linking to the Mem= Acc.lib > library from the memaccess distribution but at runtime it segfaults whe= n it > tries to open the driver. I'm pretty certain it must be something I'm = doing > wrong with the way I'm linking it. I've put MemAcc.lib into a ./lib su= bdir and > I'm using gcc -L ./lib -lMemAcc to link it. There must be something el= se I > need to do??? >=20 > I can't find any references on-line about using Cygwin with memaccess, = I'm > probably the first I guess. :-/ > Hi! Sorry, but I haven't used memaccess library myself.. I think I got the ur= l from dri-devel list, where somebody was using it for almost the same purp= ose :) =20 If you have msvc you could try with that. - Pasi > $ gdb ./radeon_dump.exe > GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special) > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and yo= u are > welcome to change it and/or distribute copies of it under certain condi= tions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for deta= ils. > This GDB was configured as "i686-pc-cygwin"... > (gdb) run > Starting program: /home/ZeQ/radeon_dump/radeon_dump.exe >=20 > Program received signal SIGSEGV, Segmentation fault. > 0x80000001 in ?? () > (gdb) bt > #0 0x80000001 in ?? () > #1 0x0040110b in main (argc=3D1, argv=3D0x4c1d68) at radeon_dump.c:198 > (gdb) >=20 > printf("Attempting to open MemAccess Library\n"); > if(!maOpenLibrary()) <--- radeon_dump.c:198 > { > maGetLastState(sError); > fprintf(stderr,"Error: %s\n", sError); > return -1; > } >=20 >=20 > Steve >=20 >=20 > =09 > ___________________________________________________________=20 > How much free photo storage do you get? Store your holiday=20 > snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Pract= ices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing &= QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5= sf > _______________________________________________ > Gatos-devel mailing list > Gat...@li... > https://lists.sourceforge.net/lists/listinfo/gatos-devel |