Skip to Content.
Sympa Menu

baslinux - Re: [BL] onboard via686 (via82cxxx_audio.o) sound

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: "Samual Acorn" <sam.acorn AT gmail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] onboard via686 (via82cxxx_audio.o) sound
  • Date: Mon, 26 Feb 2007 00:26:32 -0600

On 25/02/07, sindi keesan <keesan AT sdf.lonestar.org> wrote:
On Sun, 25 Feb 2007, Samual Acorn wrote:

> mplayer -vo xvidix -framedrop file

Vidix is a portable interface to provide DGA. Video Interface for Unix.
Found the source code for drivers. vidix-0.9.9.3 was released Dec 2006.
vidix-0.9.9.3.tar.bz2 331K

Using glibc 2.2.5 and gcc 2.95.3 I tried to compile:
./configure
make - a few warnings then
Error 1 Error 2 mga_vid.c various things are undeclared.

uclibc (0.27 precompiled) worked to compile vidix. I have drivers
genfb_vid.o nvidia_vid.o rage128_vid.o mga_vid.o mach64_vid.o etc. Tried
to insmod nvidia_vid.o - lots of unresolved symbols. Exited uclibc and
now I have the wrong kernel version. It might help to have the uclibc
that was compiled around 2.4.31 since that is my kernel version.

Sam, can you explain how to compile and use vidix?

vidix was already compiled and useable in a mplayer package you had on
your site... at least at one point in time..

should already be a /usr/local/lib/mplayer/vidix on your system with a
handfull of *.so files in it... its these .so files that do it... you
dont need to install any modules...

one of the problems tho is even tho i still have this package i took
it apart from its original form and ran the script in it manually to
install it... (redhat doesnt have the 'pkg' command) so i dunno how i
would get it back to you if you dont have it... (been a while since i
took it apart so i dunno how it was originally constructed)... the
version was 1.0pre5 ... the install script will print (to the screen)
info on where it put the vidix files if you are using the same version
i am..


With this nvidia Riva pci video card, -vo svga does not work.
-vo vesa works, sort of, but the sound lags then stops.
x11 works (with -framedrop).

close X if you use vesa.... (if you didnt already) .. ive never tried svga...


Similar problems with matrox card in this board. x11 works.
Don't recall why vesa was not usable.

The Riva card won't work with xfbdev. The whole screen turns blue.
There is something in kernel archives about a patch for Riva fbdev.

i dont have a riva to test that (closest i have is a geforce 4 w/ 128mb ram)


I think I had one AGP card somewhat working with -vo fbdev (in half-screen
mode?). Nothing is fully standardized.

x11 always works.

it always will... but it will be horridly slow...


> you need to access the vidcard directly in some way rather than just
> drawing on X or using vesa to get the real speed of your vidcard....
>
> sharing interrupts between PCI cards shouldnt be a problem (PCI was
> designed so that interrupts can be shared)
>
> even the fastest machines will need -framedrop at one point in time or
> another (multitasking causing a lag in video for example... even if

The AGP cards don't need it on a fast computer. PCI do. I don't
multitask while watching a DVD, it tends to crash mplayer.

AGP is just a modified version of PCI... other cards can still get in its
way...


> you arent activly doing anything else the hardware and its drivers
> still are) if mplayer can help it it wont drop frames so it doesnt
> hurt to use -framedrop....
>
> if you are watching DVDs turn DMA on for the dvd drive... you cant put
> every function on the cpu...

How do I do that? I left BIOS alone for the most part. Prefetch mode was
disabled for the second controller but I can try enabling it. Do I turn
on DMA when I load linux?

hdparm -d1 /dev/<dvddrivelocation>

linux turns DMA off -- it doesnt matter what the bios says... you have
to turn it back on..

i dunno if you have hdparm or not tho...


mplayer -vo help lists:
xmga (Matrox - not my version)
mga (ditto)
xv (X11/Xv) ??
dga (Direct Graphic Access V2.0)
sdl
fbdev
fbdev2
vesa VESA VBE 2.0 (worked but not well here)
xvidix X11 (VIDIX)
cvidix - console vidix

i get;
Available video output drivers:
xmga Matrox G200/G4x0/G550 overlay in X11 window (using
/dev/mga_vid)
mga Matrox G200/G4x0/G550 overlay (/dev/mga_vid)
xv X11/Xv
x11 X11 ( XImage/Shm )
xover General X11 driver for overlay capable video output drivers
dga DGA ( Direct Graphic Access V2.0 )
sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
fbdev Framebuffer Device
fbdev2 Framebuffer Device
null Null video output
pgm PGM file
md5 MD5 sum
mpegpes Mpeg-PES file
yuv4mpeg yuv4mpeg output for mjpegtools (to "stream.yuv")
vesa VESA VBE 2.0 video output
xvidix X11 (VIDIX)
cvidix console VIDIX
tga Targa output



svga is not listed here but works with some video cards.

guess i never used 'svga' cos i dont have it *grin*


> On 25/02/07, sindi keesan
<keesan AT sdf.lonestar.org> wrote:
>> The driver works fine for streaming audio, but when playing dvds all the
>> sounds repeat a second or so after. Is this related to converting 44Khz
>> to 48KHz, or to sharing IRQ 10?

DVD audio is natively at 48khz (or more.. but most are 48) so you
shouldnt need to convert it...

>>
>> Back to add-on sound card and no ethernet card.
>>
>> Computers used to come with separate chips for onboard sound - esssolo1,
>> cs4232 - which worked properly.
>>
>> My fastest computer (1.2GHz) and newest PCI video card (STB Nvidia Riva
>> 16MB) still require -framedrop or the sound lags and eventually stops.
>> -framedrop did not prevent the above problem.
>>
>> Sindi
>>
>> keesan AT sdf.lonestar.org
>> SDF Public Access UNIX System - http://sdf.lonestar.org
>>
>>
>
>
> --
> --
> --sam
> --
> Web; http://mephitus.no-ip.org/
> Skype; Mephitus
> ICQ; 51687964
> --
> "When you've done something right, no one will be sure you've done
> anything at all." -- Futurama
> --
>



--
--
--sam
--
Web; http://mephitus.no-ip.org/
Skype; Mephitus
ICQ; 51687964
--
"When you've done something right, no one will be sure you've done
anything at all." -- Futurama
--




Archive powered by MHonArc 2.6.24.

Top of Page