From owner-freebsd-stable Mon Jul 30 16:35:18 2001 Delivered-To: freebsd-stable@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id A66E837B403 for ; Mon, 30 Jul 2001 16:35:12 -0700 (PDT) (envelope-from oberman@ptavv.es.net) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id f6UNYub30393; Mon, 30 Jul 2001 16:34:56 -0700 (PDT) Message-Id: <200107302334.f6UNYub30393@ptavv.es.net> To: Lamont Granquist Cc: Scott Lambert , freebsd-stable@FreeBSD.ORG Subject: Re: Watching DVD's in -stable In-reply-to: Your message of "Sat, 28 Jul 2001 21:13:37 PDT." <20010728211146.N32331-100000@coredump.scriptkiddie.org> Date: Mon, 30 Jul 2001 16:34:56 -0700 From: "Kevin Oberman" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG For anyone who has followed this, 0.2.81 builds cleanly (assuming set the GTK_CONFIG variable to point to gtk12-config) on -stable and works fine ONCE I ENABLED DMA on the drive. (That means putting: hw.ata.atpai_dma="1" into my /boot/loader.conf file.) When I say "works", I mean that I see the video start to play and hear the initial audio. I have yet to try running a full movie. When I did not have DMA enabled, I could occasionally get audio, but no video. Even the audio played poorly. Steps followed: 1. Download the tarball from http://www.videolan.org/vlc/download.html. Both gzip and bzip2 files are available. The bz2 file is smaller. 2. Unpack (tar -xjf vlc-0.2.81.tar.bz2) 3. setenv GTK_CONFIG /usr/X11R6/bin/gtk12-config 4. ./configure 5. gmake (You will have to install the GNU make port for this to work.) 6. gmake install 7. gmake clean 8. ln -s /dev/acd0c /dev/dvd (this assumes an ATAPI DVD/CD drive) 9. Check DMA setting with "sysctl hw.ata.atapi_dma". Of it is 0, add the line in the first paragraph to /boot/loader.conf and reboot. 10.vlc dvd:/dev/dvd If you don't have access to the dvd device, you will should probably edit /etc/fbtab to get it. I don't recommend running anything as root if you don't have to. That's about all you need to do! R. Kevin Oberman E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message