Click to See Complete Forum and Search --> : Alsa wrecks my OpenGL


kippx
09-30-2003, 09:37 PM
System:
Debian Unstable, Kernel 2.4.22
ATI Radeon VE, XFree86 4.3.0
Onboard VIA82Cxx

As of now, OpenGL runs fine, I have reinstalled my system to optimize/fix misc problems. My XFree86 Config file is setup by 'xf86config' with a few things changed to load glx and dri. I "had" to compile agp, drm, and drm_radeon directly into the kernel to get dri support working. glxgears gives me 'disabling TCL support' (normal for Radeon VE) and runs ~667fps which is also normal. The problem I have is after I install ALSA sound modules, everything OpenGL crashes, even glxgears which uses no sound. Before I attempt another solution..here are the ways i tried already: Kernel 2.5.69 upgrade to add the ALSA modules through that, same outcome as above. Install from debian apt-get, same as above, install from downlaoded source, same outcome. So my conclusion would be that ALSA doesnt like my rig. Any suggestions before I ruin my 30th install? :(

UPDATE:
Well, I recompiled my kerenl (2.4.22) to include Sound Support built in and VIA82xx as a module, and again, my OpenGL doesnt work...maybe I am having a module problem? Either way, Ideas would be helpful...

UPDATE 2:
Tried running ' glxgears | tee glerror.log ' to see if it would spit out a log, but..nothing ends up in the log. Nothing is said with glxgears before the crash, i.e no "disabling TCL support". So it is crashing before it even starts glxgears...I'm assuming, when it tries to access the video card is when the crash comes, so why would it ALWAYS happen after I install sound modules...

I ran "tuxracer >& tuxlog.log" and I realized that the there was "no audio device". I checked to see if the via sound module was being loaded and it wasnt. Loaded the module and tried again with "tuxracer >& tuxlog.log" only this time it crashed, and there where no errors in the log. Really short on ideas now.

dmesg also reports to load the dri radeon driver..again, its built directly into the kernel, only solution I found to get the Radeon VE correctly working.

Thought it might be a permission problem so I:
chmod 777 /dev/dsp /dev/mixer /dev/sequencer
adduser me audio
but still, no go. Same outcome as above!

Beer in mind, Im still rather new to linux.

hard candy
10-01-2003, 06:06 AM
Trry this iin the boot loader config file added to the end of the kernel line:
apci=off pci=noacpi
You might consider installing the 2.6 kernel (beta 5 at least) as it is pretty stable and seems to work better than the 2.5 kernel. Having alsa is compiled into the kernel and making sure you have "module-init-tools" installed would work the best.
Also, try upgrading the tcltk package to give a stable interface for glxgears.
Run "lspci" and see if there are any iRQ confilicts.

kippx
10-01-2003, 05:01 PM
Thanks for the suggestion, but still no go. I wasnt to sure where to add the "apci=off apm=off" to lilo.conf so I tried numerous spots, to the append="" line, the end of the root=/dev/hda1/, and to the end of the Linux section. If those are wrong spots, please correct me. I also tried updating to kernel 2.6.0test6 but that as well didnt work. I have Compaq Presario and '/proc/interrupts' reports that my eth0 will either always share IRQ with another device, or not be reconized at all. Thanks again for the suggestions, but Im still at the same wall.

kipp

kippx
10-07-2003, 03:07 PM
Well, I must say, with linux can be tricky. But the problem has been solved. I assumed it was a driver conflicting with something or other, and thats what it was. They way I "hacked" the radeon driver must have caused more instability than I thought. So, I installed the DRM as LFS said. And instantly DRM worked perfect. Now for the sound, I followed this guide: http://www.sonic.net/~rknop/linux/debian_alsa.html and now alsa works without a hitch!

Thanks for thoughts, and sorry I couldnt provide a full solution.

kipp
:D