Date: Wed, 14 Nov 2007 09:33:28 +0100 From: "Avi Cohen Stuart" <[EMAIL PROTECTED]> Subject: RE: [LIB] videos on 110CT
John, It is a bit more complex :-) There are a few parts that need to work together. - First there is a kernel driver for the margi which is a module that relies on the dvb framework. This is also with the original margi driver found at linuxtv.org. I adapted that driver first to work again on 2.4 and later on 2.6 with the help of someone else. The current version that I have works with 2.6.21.5 on a gentoo installed libretto. - The second part is the in the PCMCIA driver. In order to enable the ZV to work, a small adaption in the topic driver is needed (actually delete a few lines) - The third part is the enabling of the ZV port in the opl3sa2 driver. Also add one line there. - The fourth part which took considerably a lot work is to get the ZV to work on the Neomagic. I based my work on what Shigehiro Nomura did to get Xv working on the Neomagic. The Xv(3) library allows to work with overlays. I did a lot of reverse engineering using IDA Pro on the windows neo20xx.dll which does handle the Overlay stuff for Direct X. And I adapted the Neomagic X server driver. - The fifth part is the program which connects all this stuff together. Also based on previous work I changed the program which uses libdvdread, libdvdcss and libdvdnav to handle the dvd stuff, including navigation. Somewhere in the code it does of course a write() call to the driver which sends the dvd stream thru dvb to the margi driver which sends it into the hardware and sends the frames + sound via the ZV bus (without CPU intervention) into the Neomagic and the Yahama 715 chips. And it almost works like a charm! And the last 5 years I had a lot of fun with understanding how the DVD works, learned how to use IDA Pro (www.datarescue.com), learned how to kernel debug under windows with windbg, asked and got the sources for the Margi DVD-to-Go WDM (and MCI) driver and DVDPlay program which helped a lot btw, learned a great deal (again) about linux 2.4 and 2.6 device driver writing and how to use kgdb to debug the linux kernel using a Vmware system as my debugging host and the libretto as a target, bored my collegues endlessly about the above... Avi. N.B. I have to find time to dump this stuff on a web site once... in an orderly fashion... > -----Original Message----- > From: John [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 14 November, 2007 1:47 > To: Libretto > Subject: RE: [LIB] videos on 110CT > > Date: Tue, 13 Nov 2007 16:46:36 -0800 (PST) > From: John <[EMAIL PROTECTED]> > Subject: RE: [LIB] videos on 110CT > > how does a dvd decoder like that work? Do you just echo the > dvd to the decoder like: echo /dvd/movie > >/dev/dvd decoder ? Or is it more complex? > > john > > --- Avi Cohen Stuart <[EMAIL PROTECTED]> > wrote: > > > Date: Tue, 13 Nov 2007 09:49:31 +0100 > > From: "Avi Cohen Stuart" <[EMAIL PROTECTED]> > > Subject: RE: [LIB] videos on 110CT > > > > Hi John, > > > > I'm using the Margi DVD-to-Go as a hardware DVD decoder. It > pumps the > > video frames into the Neomagic using the Zoomed Video port > without CPU > > intervention. > > However, I'm having some BSOD in windows. > > I have also worked on a linux 2.6 driver which IMHO works > relatively > > OK. > > In one of these months I want to release a beta version. > > > > I also looked at mplayer but it doesn't use the margi which > does all > > the hard decoding work in hardware... > > > > Avi. > > > > > -----Original Message----- > > > From: John [mailto:[EMAIL PROTECTED] > > > Sent: Monday, 12 November, 2007 20:21 > > > To: Libretto > > > Subject: RE: [LIB] videos on 110CT > > > > > > Date: Mon, 12 Nov 2007 11:19:55 -0800 (PST) > > > From: John <[EMAIL PROTECTED]> > > > Subject: RE: [LIB] videos on 110CT > > > > > > hello avi > > > > > > I am using mplayer and slackware linux 12.0 on a > > libretto > > > 110CT with 32MB ram. I can play homemade > > > mpeg2 videos full screen also but they don't play > > well. There > > > is alot of pausing and halting of the video. A > professenionally made > > > dvd movie plays really > > badly--will > > > hardly play at all. I thought with my problems a > > video ram > > > upgrade is needed. However if you are able to play > > videos ok > > > maybe it is just my setup. > > > I haven't been able to play them on windows 98, > > 2000 or XP > > > when I was using them either. > > > > > > john > > > --- Avi Cohen Stuart <[EMAIL PROTECTED]> > > > wrote: > > > > > > > Date: Mon, 5 Nov 2007 21:19:30 +0100 > > > > From: "Avi Cohen Stuart" > > <[EMAIL PROTECTED]> > > > > Subject: RE: [LIB] virtualization - was: speed > > gain using flash card > > > > > > > > John, > > > > > > > > I can try but what do I need to install and what > > to test? > > > > Another thing I don't understand about the full > > screen on the > > > > Neomagic: > > > > I can play DVD's full screen (16 bit) and I > > don't have > > > memory problems > > > > on the Neomagic. > > > > > > > > Avi. > > > > > > > > > -----Original Message----- > > > > > From: John [mailto:[EMAIL PROTECTED] > > > > > Sent: Monday, 05 November, 2007 20:50 > > > > > To: Libretto > > > > > Subject: RE: [LIB] virtualization - was: speed > > > > gain using flash card > > > > > > > > > > Date: Mon, 5 Nov 2007 11:50:02 -0800 (PST) > > > > > From: John <[EMAIL PROTECTED]> > > > > > Subject: RE: [LIB] virtualization - was: speed > > > > gain using flash card > > > > > > > > > > I always thought the vt book would be a great > > > > solution for > > > > > upgrading the 2M neomagic card in the libretto > > and > > > > improve it > > > > > enough to play DiVX videos full screen. Any > > chance > > > > you'll try > > > > > it out? I understand it works in linux also. > > > > > > > > > > --- Avi Cohen Stuart > > <[EMAIL PROTECTED]> > > > > > wrote: > > > > > > > > > > > Date: Sat, 3 Nov 2007 21:09:10 +0100 > > > > > > From: "Avi Cohen Stuart" > > > > <[EMAIL PROTECTED]> > > > > > > Subject: RE: [LIB] virtualization - was: > > speed > > > > gain using flash card > > > > > > > > > > > > John, > > > > > > > > > > > > I own a village tronic vt book but I never > > tried > > > > it on my > > > > > libretto. It > > > > > > is a great PCMCIA card. > > > > > > I also own a Margi Display-to-Go 4Mb which > > was > > > > also great back then. > > > > > > Whether it is worth the money, I think so > > but > > > > I'm not > > > > > always objective > > > > > > :-) > > > > > > > > > > > > Avi. > > > > > > > > > > > > <long snip> > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Tired of spam? Yahoo! Mail has the best spam > > protection > > > around http://mail.yahoo.com > > > > > > > > > > > > > > > > > > > > ______________________________________________________________ > ______________________ > Be a better pen pal. > Text or chat with friends inside Yahoo! Mail. See how. > http://overview.mail.yahoo.com/ > > >