Asus A7N8X Delux + Nvidia OpenGL + Surround sound fixed Guide.
UPDATE:
EDIT: 30-10-04 - All works now. EDIT: 2-11-04 Quake 3 runs perfecly with 230fps on highest settings. Oh man it was long.. Just a little update, i got an email from a LQ user asking about one thread i created regarding this matter.. and here's an update i replied to him. It should help anyone else who is getting problems setting up Nforce sound, video, and network drivers. ... It really turned out that i had 2 reasons why my computer kept freezing... ATI card and gay drivers... and my 250 gig sata hard drive was failing on me... It was too late when i noticed =/ and i lost everything.. But anyway, i got everything to work, except that the games have a slight delay between the audio, and the gameplay.. Nvidia claims that the latest nforce2 audio drivers that came out 3 days ago fixes that, but i haven't played a game to check yet. If anyone did, please tell me. Secondly, you can watch movies only and only on Totem player, and you can't skip through the movie or it will crash... (hey... better than nothing) EDIT: 30-10-04 Fixed. Read bottom of post. im hoping you dont have ATI card, coz if you do, you're screwed.. they have the worst drivers, especially linux drivers... I spent days trying to get them to work.. Worked once, then i couldnt figure it out again.. What i did, is buy myself an nvidia geforce 6800 card, and it works perfectly. But there are a few things you should do first... Firstly, keep hotplug installed, it installs essential drivers your motherboard needs. (like some which don't let your computer lag every 1 second) but in the blacklist, make sure it includes (/etc/hotplug/blacklist) snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec gameport snd-pcm snd-timer snd-page-alloc snd-mpu401-uart snd-rawmidi snd-seq-device snd-rawmidi snd fglrx radeon rivafb forcedeth fglrx, radeon, and rivafb only put there if you're on an nvidia card, and not an ati card, otherwise, omitt them. keep forcedeth there, coz these are the linux default network drivers.. you're going to install nvidia's. download the new nforce drivers and the latest nvidia video drivers (if you're using nvidia card) from their website. Now reboot.. after you reboot, if you lsmod, you shouldn't see any alsa or oss drivers there.. good.. also, you shouldnt see forcedeth there, and you shouldnt have any network drivers installed.. this makes life easier... chmod +x NFORCE-Linux-x86-1.0-0292-pkg1.run chmod +x NVIDIA-Linux-x86-1.0-6111-pkg1.run (if you have nvidia card, then) ./NVIDIA-Linux-x86-1.0-6111-pkg1.run and install them. then read the documentation on what to edit in /etc/X11/xorg.conf mainly as i remember, you have to set Driver to nvidia in Section "Device" Identifier "nvidiaCard" Driver "nvidia" #VideoRam 131072 # Insert Clocks lines here if appropriate EndSection And go to /etc/modules.conf and delete everything there but these three lines. If you can't see any of them, then just manually add them: alias sound-slot-0 nvsound alias eth0 nvnet alias char-major-195 nvidia First one sets the sound, second sets the network, third sets the gfx card (if you have nvidia card.) next... install audio drivers from ./NFORCE-Linux-x86-1.0-0292-pkg1.run Don't install the network drivers yet, unselect it. When you finish installing audio drivers, don't bother running alsaconf, it wont detect any drivers there.. But once you reboot, the nvsound drivers should be installed and running. make sure your ethernet cable is plugged in the Gigabit slot (the top one afaik). then run ./NFORCE-Linux-x86-1.0-0292-pkg1.run unselect the audio, and install the network drivers. (ignore all the warnings) once finished, reboot, and if everything goes smoothly, the nvnet drivers should load, and during boot time, you should get a warning saying that might taint the kernel (ignore that.. if you get the message, it meens all is well). enter kde through startx, you should see the nvidia sign before loading kde. this meens your gfx drivers are up and running. open a console terminal, and type nvmixer Speaker -> set to 5.1 surround sound. and under xmms, Totem, or anything else, use the OSS drivers there. Sound should work. ping an ip address and you should get a response, (that is, if you fixed your network before, using netconfig). If you still don't get a ping response, connect your ethernet cable to the 100Mb slot (bottom), and try again. but on mine, it works on the top one. And that's that. NOTES: I disabled OSS from my kernel.. i doubt you have to do that, but just incase you do, just go to cd /usr/src/linux make xconfig go to Sound, and disable OSS sound modules from there (n) And to recompile the kernel, follow DaOne's post on "Kernel compiling guide for newbies" Keep in mind, everytime you recompile the kernel, you have to reinstall all your drivers again (sound, graphics, and network). Once you get the hang of it, it will take you 5 minuts tops to reinstall them. Hope this helps, and if you're using ATI drivers, they might be the main reason why your computer is freezing in kde. I think it was the DRI problem.. I can't help you there.. EDIT: 30-10-04 To get mplayer or gmplayer to play normally without sound errors, delay, or crashes, read on Post #14 http://www.linuxquestions.org/questi...53#post1264753 |
Coolness!! This is exactly the kind of thing I needed to figure out the nvsound module. Especially the part about not worrying about the alsa modules. I thought I still needed snd.
About all I tried was xmms using the OSS plugin and then loaded up mplayer and played an mp3 from each, and they both played together. Then I left xmms running and loaded up UT2k4, and the sounds coexisted. I didn't notice and lag in the sounds from what I could tell. Only thing I noticed was a quick skip in the xmms sound when I started UT2k4. I have an a7n8x-e deluxe. For me the network is a little different, my top one is the nvidia one, which isn't gigabit. The bottom NIC is gigabit and requires another driver. Thanks again for the writeup! |
Forgot to mention, this is my .asoundrc file in my home directory
Code:
### .asoundrc for nforce2 apu Buaku, can you play movie files properly? or do you have the same problems i have? with the no skipping etc... ? |
Well i just tried a dvd in mplayer
mplayer -dvd-device /dev/cdrom dvd://2 and that was a mess, lol. The video and audio were really lagged, it was un watchable. I could skip through it ok and mplayer dind't crash, but totally unwatchable. I dont have any mpg's on that system to try. I'll try that other player too when i have some more time. And I'll try a normal mpeg with mplayer and see what happens. I'll post back with my results. |
Ok I tried totem today, video and sound played well only when i ran it and the display was through a remote cygwin X server displaying on my windows machine.
When i physically logged into my linux machine all i got was a blue screen for the video...the sound played fine though. I then took whollychao's suggestion for mplayer from this other thread of yours.... http://www.linuxquestions.org/questi...97#post1253997 and the "-ao sdl" option worked great! So you might wanna give that a shot with mplayer. I have no idea what was up with my version of totem...it was installed with slackware 10. I need to upgrade a lot of stuff to try the latest totem it seems. |
Ok I did some pokin around about totem problems here and found :
http://www.linuxquestions.org/questi...55#post1244755 I guess I'll be sticking with mplayer for now. |
buaku, i bow down to you =) i wouldn't have noticed the reply there if you didn't link to it.
|
hehe sweet.
One thread i have doesn't seem to email me a notice when it gets a reply. yet all the ones i jumped in in the middle have. that was definantly a handy tip! something soo simple fixes sooo many problems, lol |
Do you know how to make life easier and let it automatically open mplayer with these parameters everytime you double click on a movie file?
|
That I dont know. I've mainly been using fluxbox and no form of file manager. So I'm just used to starting it all from the command line.
|
Sorry, was too tired to notice...
Just add ao sdl to ~/.mplayer/config. right click on a movie file (mpg, avi....) --> open with --> Other and choose /usr/bin/mplayer (not gmplayer) Tick the box next to "Remember application" And that should do it... Sacrefice the control bar, but gain synchronisation, skipping, and a movie to watch =) |
You could change your X icon/menu settings so it starts 'gmplayer -ao sdl' instead of just start
'gmplayer' |
Actually, putting what xushi said and running gmplayer would have the same effect as running mplayer, so choose the one you like more ;)
|
Fixed (finally....)
I'll be posting this on both threads since they're both related. copy /etc/mplayer/codecs.conf to your ~/.mplayer/ directory. if you open gmplayer from command prompt, you'll notice it says Code:
SDL: Samplerate: 48000Hz Channels: Stereo Format Signed 16-bit (Little-Endian) pico ~/.mplayer/mplayer.conf add a line there: ao=sdl pico /etc/mplayer/mplayer.conf add a line there: ao=sdl set framedrop = no and finally remove the very last "i didnt read RTFM" line :) open gmplayer, go to audio settings, choose SDL, and click configure. Make sure you do not select any codecs in there. just select the blank field. Save, exit, and start gmplayer with a movie again. It should display the same output as what you get in mplayer Code:
SDL: Samplerate: 48000Hz Channels: Stereo Format Signed 16-bit (Little-Endian) go to any movie file you have, and switch its default player from mplayer, back to gmplayer again. right click --> open with --> other use /usr/bin/gmplayer Thanks alot whollychao, Cedrik, gbonvehi buaku.. I've been a pain for 2 months =) |
Quote:
Thanks xushi, everything works smoothly, at last with hardware mixing! One little problem with mplayer: Code:
mplayer -ao sdl -channels 6 movie.avi Any ideas? Thanks! |
All times are GMT -5. The time now is 12:26 AM. |