Re: Gnome Freeze (me too!)
On Wed, 5 Sep 2001, dman wrote: | I don't know. Do you have all DMA channels, io addressed, irqs, etc, | configured right? | | There isn't anything to configure. Well, you can change a clocking | parameter (for special cases), but that's all. I had configured my card when I still had RH installed using sndconfig (or some similar abbreviation). In my modules.conf I had several options for the module including IO base address, IRQ (I think), and DMA channel to use. My problem was that I had picked the wrong DMA channel the first time I configured it so it didn't work right. /proc/pci shows IRQ 10 in three places. Could this be a problem? I don't see any way to change any of these IRQs. [EMAIL PROTECTED]:~$ cat /proc/pci PCI devices found: Bus 0, device 0, function 1: Multimedia audio controller: Intel Unknown device (rev 0). Vendor id=8086. Device id=7195. Fast devsel. IRQ 10. Master Capable. No bursts. I/O at 0xe000 [0xe001]. I/O at 0xef00 [0xef01]. Bus 0, device 3, function 1: CardBus bridge: Texas Instruments Unknown device (rev 1). Vendor id=104c. Device id=ac1c. Medium devsel. IRQ 10. Master Capable. Latency=168. Min Gnt=192.Max Lat=4. Bus 0, device 5, function 0: VGA compatible controller: ATI Unknown device (rev 100). Vendor id=1002. Device id=4c52. Medium devsel. Fast back-to-back capable. IRQ 10. Master Capable. Latency=64. Min Gnt=8. Non-prefetchable 32 bit memory at 0xfd00 [0xfd00]. I/O at 0xe800 [0xe801]. Non-prefetchable 32 bit memory at 0xfebff000 [0xfebff000]. ...RickM...
Re: Gnome Freeze (me too!)
/proc/pci shows IRQ 10 in three places. Could this be a problem? I don't see any way to change any of these IRQs. Your system supports IRQ sharing. It should *not* be a problem... You may be able to turn this off in your BIOS though. Doing so may cause you to run out of available resources though. Hall
Re: Gnome Freeze (me too!)
On Tue, Sep 04, 2001 at 07:31:45PM -0600, Rick Macdonald wrote: | On Tue, 4 Sep 2001, dman wrote: | | | If I try to play the same file with xanim, the sound is all choppy and | | fast (sounds like The Chipmunks). | | I know nothing about xanim. | | What happens if you play an mp3 with xmms? | | I left the laptop at the office today. Just now from home I logged on and | installed xmms, but if I try to play anything I can't hear it from home. | ;-) :-). | I'll try tomorrow. | | | Maybe the i810 support isn't very good? | | I don't know. Do you have all DMA channels, io addressed, irqs, etc, | configured right? | | There isn't anything to configure. Well, you can change a clocking | parameter (for special cases), but that's all. I had configured my card when I still had RH installed using sndconfig (or some similar abbreviation). In my modules.conf I had several options for the module including IO base address, IRQ (I think), and DMA channel to use. My problem was that I had picked the wrong DMA channel the first time I configured it so it didn't work right. -D
Re: Gnome Freeze (me too!)
I had configured my card when I still had RH installed using sndconfig (or some similar abbreviation). In my modules.conf I had several options for the module including IO base address, IRQ (I think), and DMA channel to use. My problem was that I had picked the wrong DMA channel the first time I configured it so it didn't work right. -D I strongly suggest you run a 2.4 series kernel. It autodetects all these things. I had a hard time configuring my ESS 1868. With the 2.4 kernel it just works. -- Danie Roux *shuffle* Adore Unix
Re: Gnome Freeze (me too!)
On Wed, Sep 05, 2001 at 05:30:19PM +0200, Danie Roux wrote: | I had configured my card when I still had RH installed using sndconfig | (or some similar abbreviation). In my modules.conf I had several | options for the module including IO base address, IRQ (I think), and | DMA channel to use. My problem was that I had picked the wrong DMA | channel the first time I configured it so it didn't work right. | | I strongly suggest you run a 2.4 series kernel. I think this is a good suggestion. | I had a hard time configuring my ESS 1868. With the 2.4 kernel it just works. The card I used to have was an ESS 1869 (I don't have any sound card at the moment). I had no trouble with it once I picked the right DMA channel. If you're interested I still have the config options commented out in my modules.conf, I could send them to you. -D
Re: Gnome Freeze (me too!)
On Wed, 5 Sep 2001, dman wrote: | What happens if you play an mp3 with xmms? OK, I've tried playing 3 mp3 files. They mostly race through one minute's worth in a few seconds with just noisy static sounds. One of them, if I keep trying, will race part way through and then slow down and play properly. It kinda sounds like some sort of conflict (and considering the original problem that it hung gnome/sawfish when window sound events were turned on). As far as I can tell there isn't any config option anywhere for DMA. Here's some info in case anybody can spot a problem. The sound card is using IRQ10. One suspicious thing I notice below in the dmesg is 00:03.1 - irq 10 but I don't know what it refers to. [EMAIL PROTECTED]:~$ cat /proc/modules xirc2ps_cs 13920 1 vmnet 16224 2 vmmon 17792 1 ds 6384 2 [xirc2ps_cs] i82365 22384 2 pcmcia_core44320 0 [xirc2ps_cs ds i82365] i810_audio 10144 1 ac97_codec 7200 0 [i810_audio] [EMAIL PROTECTED]:~$ cat /proc/dma 2: floppy 4: cascade [EMAIL PROTECTED]:~$ cat /proc/interrupts CPU0 0: 21917603 XT-PIC timer 1: 2924 XT-PIC keyboard 2: 0 XT-PIC cascade 3:4169128 XT-PIC xirc2ps_cs 5: 2 XT-PIC i82365 6: 28 XT-PIC floppy 8: 1772 XT-PIC rtc 10: 64719 XT-PIC Intel 440MX, i82365 12: 67810 XT-PIC PS/2 Mouse 13: 1 XT-PIC fpu 14: 128399 XT-PIC ide0 NMI: 0 [EMAIL PROTECTED]:~$ cat /proc/ioports -001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 01f0-01f7 : ide0 02e8-02ef : serial(auto) 02f8-02ff : serial(set) 0300-030f : xirc2ps_cs 03c0-03df : vga+ 03f0-03f5 : floppy 03f6-03f6 : ide0 03f7-03f7 : floppy DIR 03f8-03ff : serial(set) e000-e0ff : Intel 440MX ef00-ef3f : Intel 440MX ffa0-ffa7 : ide0 ffa8-ffaf : ide1 From dmesg: Intel 810 + AC97 Audio, version 0.17, 22:00:48 Sep 2 2001 PCI: Increasing latency timer of device 00:01 to 64 i810: Intel 440MX found at IO 0xef00 and 0xe000, IRQ 10 ac97_codec: AC97 Audio codec, vendor id1: 0x8384, id2: 0x7644 (Unknown) i810_audio: Found 1 audio device(s). Linux PCMCIA Card Services 3.1.22 kernel build: 2.2.19 unknown options: [pci] [cardbus] PCI routing table version 1.0 at 0xf6030 00:03.0 - irq 5 00:03.1 - irq 10 Intel PCIC probe: TI 1225 rev 01 PCI-to-CardBus at slot 00:03, mem 0x6800 host opts [0]: [pci + serial irq] [pci irq 5] [lat 168/176] [bus 32/34] host opts [1]: [pci + serial irq] [pci irq 10] [lat 168/176] [bus 35/37] ISA irqs (scanned) = 3,4,7,11,15 PCI status changes cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff cs: IO port probe 0x0800-0x08ff: clean. cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x400-0x44f 0x4d0-0x4d7 cs: IO port probe 0x0a00-0x0aff: clean. cs: memory probe 0xa000-0xa0ff: clean. ...RickM...
Re: Gnome Freeze (me too!)
On Mon, Sep 03, 2001 at 11:38:04AM -0600, Rick Macdonald wrote: | On Sun, 2 Sep 2001, dman wrote: | | On Sat, Sep 01, 2001 at 11:22:23PM -0600, Rick Macdonald wrote: | | Worse! I think I had the wrong sound card driver. I've rebuilt the kernel | | sound, but now I get the dreaded Can't Open /dev/dsp device. I haven't | | figured out why yet. | | I recommend building all the (potentially relevant) sound drivers as a | modules so that you can toy with them and try different settings | without going through a recompile and a reboot. If some specific | kernel features aren't absolutely essential then you could use a stock | kernel to figure out what you need for sound since the stock kernels | come with just about everything in module form. | | Good idea. I still have the original potato kernel (since upgraded to | woody/sid) so I tried it. After trying several other drivers I went full | circle and convinced myself that I do have the right driver (i810_audio), | which is the one that caused sawfish to hang when gnome window events had | sound turned on. | | It does work somewhat: | | I can run play english.au and it sounds perfect but gives these | messages: | | playing english.au | sox: Sound card appears to only support singled word samples. Overriding | format | sox: Sound card appears to only support 2 channels. Overriding format This sounds to me like the .au file has multiple word samples and more than 2 channels, but since your sound card can't handle that then sox is adjusting for your sound card. | If I try to play the same file with xanim, the sound is all choppy and | fast (sounds like The Chipmunks). I know nothing about xanim. What happens if you play an mp3 with xmms? | Maybe the i810 support isn't very good? I don't know. Do you have all DMA channels, io addressed, irqs, etc, configured right? -D
Re: Gnome Freeze (me too!)
On Tue, 4 Sep 2001, dman wrote: | If I try to play the same file with xanim, the sound is all choppy and | fast (sounds like The Chipmunks). I know nothing about xanim. What happens if you play an mp3 with xmms? I left the laptop at the office today. Just now from home I logged on and installed xmms, but if I try to play anything I can't hear it from home. ;-) I'll try tomorrow. | Maybe the i810 support isn't very good? I don't know. Do you have all DMA channels, io addressed, irqs, etc, configured right? There isn't anything to configure. Well, you can change a clocking parameter (for special cases), but that's all. ...RickM...
Re: Gnome Freeze (me too!)
On Sun, 2 Sep 2001, dman wrote: On Sat, Sep 01, 2001 at 11:22:23PM -0600, Rick Macdonald wrote: | Worse! I think I had the wrong sound card driver. I've rebuilt the kernel | sound, but now I get the dreaded Can't Open /dev/dsp device. I haven't | figured out why yet. I recommend building all the (potentially relevant) sound drivers as a modules so that you can toy with them and try different settings without going through a recompile and a reboot. If some specific kernel features aren't absolutely essential then you could use a stock kernel to figure out what you need for sound since the stock kernels come with just about everything in module form. Good idea. I still have the original potato kernel (since upgraded to woody/sid) so I tried it. After trying several other drivers I went full circle and convinced myself that I do have the right driver (i810_audio), which is the one that caused sawfish to hang when gnome window events had sound turned on. It does work somewhat: I can run play english.au and it sounds perfect but gives these messages: playing english.au sox: Sound card appears to only support singled word samples. Overriding format sox: Sound card appears to only support 2 channels. Overriding format If I try to play the same file with xanim, the sound is all choppy and fast (sounds like The Chipmunks). Maybe the i810 support isn't very good? ...RickM...
Re: Gnome Freeze (me too!)
On Sat, 1 Sep 2001, dman wrote: On Sat, Sep 01, 2001 at 11:24:08AM -0600, Rick Macdonald wrote: | Jon Masters [EMAIL PROTECTED] asked about sound. That makes a bit | of sense in my case, because sound doesn't work too well on the laptop | (choppy) and I probably had sound turned on for close window events. I | guess I'll look at that. You probably have the wrong DMA channel selected. This was the problem I had with my previous desktop system (that actually had a sound card). Worse! I think I had the wrong sound card driver. I've rebuilt the kernel sound, but now I get the dreaded Can't Open /dev/dsp device. I haven't figured out why yet. ...RickM...
Re: Gnome Freeze (me too!)
On Sat, Sep 01, 2001 at 11:22:23PM -0600, Rick Macdonald wrote: | On Sat, 1 Sep 2001, dman wrote: | | On Sat, Sep 01, 2001 at 11:24:08AM -0600, Rick Macdonald wrote: | | | Jon Masters [EMAIL PROTECTED] asked about sound. That makes a bit | | of sense in my case, because sound doesn't work too well on the laptop | | (choppy) and I probably had sound turned on for close window events. I | | guess I'll look at that. | | You probably have the wrong DMA channel selected. This was the | problem I had with my previous desktop system (that actually had a | sound card). | | Worse! I think I had the wrong sound card driver. I've rebuilt the kernel | sound, but now I get the dreaded Can't Open /dev/dsp device. I haven't | figured out why yet. I recommend building all the (potentially relevant) sound drivers as a modules so that you can toy with them and try different settings without going through a recompile and a reboot. If some specific kernel features aren't absolutely essential then you could use a stock kernel to figure out what you need for sound since the stock kernels come with just about everything in module form. -D
Re: Gnome Freeze (me too!)
On Sat, 1 Sep 2001, Keith O'Connell wrote: ...when I load the Gnome desktop into play the machine will freeze at the first gnome action I try (selecting an icon of the desktop or similar). Locks up tight. I have to Ctrl-Alt-Bkspace to get out. If I try to log back in a xdm it won't progress beyond accepting the password. To get into X again once Gnome has aborted I have to reboot! I am currently writing this message in Netscape under Ice with the machine, so I fear Gnome as the culprit as everything else is fine. Why I have the exact hang problem. I'm running woody/sid on three machines. It only happens on an NEC laptop. All three machines run Gnome with sawfish. The two desktops have NVidia video. The laptop has an ATI of some sort. When the harddrive was in a different laptop, it was OK. The probelm started when I moved the harddrive to this newer NEC. Many things changed at the same time, however. Video, soundcard, and a refresh of woody and or sid to get newer versions. X on the laptop would hang randomly when a window was closing. Happened with windows from many different apps. If I did Ctrl-Alt-Bkspace right away I could usually kill X but not log back in via gdm as you describe. If I telnet in to the laptop and kill and restart sawfish, well, that didn't fix everything and I had to quit and reboot anyway. If I pressed keys or clicked too many times with the mouse, then Ctrl-Alt-Bkspace wouldn't work and I'd have to hit the power switch. I couldn't figure out if it was X, the window manager or the XServer. I switched ice-gnome, still using gdm and gnome as usual, and it hasn't hung up since. That doesn't necessarily prove that it is sawfish's fault. Jon Masters [EMAIL PROTECTED] asked about sound. That makes a bit of sense in my case, because sound doesn't work too well on the laptop (choppy) and I probably had sound turned on for close window events. I guess I'll look at that. ...RickM...
Re: Gnome Freeze (me too!)
On Sat, Sep 01, 2001 at 11:24:08AM -0600, Rick Macdonald wrote: | Jon Masters [EMAIL PROTECTED] asked about sound. That makes a bit | of sense in my case, because sound doesn't work too well on the laptop | (choppy) and I probably had sound turned on for close window events. I | guess I'll look at that. You probably have the wrong DMA channel selected. This was the problem I had with my previous desktop system (that actually had a sound card). -D