Bug 15982
Summary: | radeon module update for 2.6.34 breaks ALSA (snd_atiixp and snd_hda_intel) | ||
---|---|---|---|
Product: | Drivers | Reporter: | Sylvia (fierevere) |
Component: | Video(DRI - non Intel) | Assignee: | Jaroslav Kysela (perex) |
Status: | CLOSED CODE_FIX | ||
Severity: | high | CC: | alexdeucher, fierevere, maciej.rutecki, rjw, xor29a |
Priority: | P1 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.34 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 15310 | ||
Attachments: |
kernel compile config
dmesg lspci -vv dmesg lspci -vv fix |
Description
Sylvia
2010-05-16 08:41:10 UTC
Created attachment 26393 [details]
kernel compile config
Created attachment 26394 [details]
dmesg
Created attachment 26395 [details]
lspci -vv
Important addition: by itself sound can be player with console players (aplay, mpg123) with Xorg server activity (switching to X11 or screen updated) sound playing breaks immediately /proc/interrupts CPU0 0: 526373 XT-PIC-XT timer 1: 1307 XT-PIC-XT i8042 2: 0 XT-PIC-XT cascade 3: 1 XT-PIC-XT 4: 11235 XT-PIC-XT yenta, 0000:03:00.0 5: 593 XT-PIC-XT mmc0 7: 0 XT-PIC-XT parport0 8: 1 XT-PIC-XT rtc0 9: 491 XT-PIC-XT acpi 10: 2438 XT-PIC-XT radeon, ATI IXP Modem, ATI IXP 11: 3645 XT-PIC-XT ohci_hcd:usb1, ehci_hcd:usb2, ohci_hcd:usb3 12: 6310 XT-PIC-XT i8042 14: 6060 XT-PIC-XT pata_atiixp 15: 66 XT-PIC-XT pata_atiixp NMI: 0 Non-maskable interrupts MCE: 0 Machine check exceptions MCP: 2 Machine check polls ERR: 0 radeon and ATI IXP share same interrupt. Please change component to Video DRI if appropriate. I dont use ATI IXP modem, so i cannot test if it works or not (Its softmodem, no software installed because not needed) enabling local apic for uniprocessors does not help
> CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
> CONFIG_X86_MPPARSE=y
> CONFIG_X86_UP_APIC=y
> CONFIG_X86_UP_IOAPIC=y
> CONFIG_X86_LOCAL_APIC=y
> CONFIG_X86_IO_APIC=y
enabling SMP too, /proc/interrupts remains the same arrangement PS: (if important) kernel is booting with pci=noacpi acpi=noirq parameters due to problems since 2.6.22 with looping sound and USB dying. I can confirm. Sound is distorted when I sroll, move windows or change virtual desktop. Before 2.6.34-rc5 everything was good. $ cat /proc/interrupts CPU0 0: 68856 XT-PIC-XT timer 1: 369 XT-PIC-XT i8042 2: 0 XT-PIC-XT cascade 7: 37 XT-PIC-XT 8: 1 XT-PIC-XT rtc 9: 132 XT-PIC-XT acpi 10: 4949 XT-PIC-XT ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3 11: 24219 XT-PIC-XT radeon, sata_sil, ohci1394, wifi0, hda_intel 12: 106 XT-PIC-XT i8042 15: 1731 XT-PIC-XT ide0 NMI: 0 Non-maskable interrupts ERR: 37 $ lsmod Module Size Used by wlan_tkip 8174 1 wlan_ccmp 4518 1 vboxdrv 109497 0 ath5k 109019 0 wlan_scan_sta 8046 1 snd_hda_codec_realtek 192134 1 ath_rate_sample 8254 1 snd_hda_intel 16047 1 snd_hda_codec 53669 2 snd_hda_codec_realtek,snd_hda_intel snd_pcm 52161 2 snd_hda_intel,snd_hda_codec ath_pci 156360 0 snd_timer 12974 1 snd_pcm wlan 155492 6 wlan_tkip,wlan_ccmp,wlan_scan_sta,ath_rate_sample,ath_pci ath_hal 334090 3 ath_rate_sample,ath_pci snd 33051 7 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer snd_page_alloc 5581 2 snd_hda_intel,snd_pcm Created attachment 26396 [details]
dmesg
Created attachment 26397 [details]
lspci -vv
When DRI is disabled (radeon.modeset=0), the problem disappears Any chance you can bisect this? (In reply to comment #11) > Any chance you can bisect this? 2.6.34-rc3 - works 2.6.34-rc4 - broken, ( booting with acpi=off because of kernel oops in acpi module and hang), sounds works with inactive X server, broken otherwise 2.6.34-rc5 - broken I havent seen any commits for rc4 that affect radeon ( by short description in commit log ) http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.34.y.git;a=shortlog;h=refs/tags/v2.6.34-rc4 but sound gets broken from rc4 (In reply to comment #12) > I havent seen any commits for rc4 that affect radeon ( by short description > in well, there are 4 more pages of commits, will be trying to find out where exactly its broken rc3 - works 2010-03-30 Alex Deucher drm/radeon/kms: init rdev->num_crtc at asic init - works 2010-03-31 Alex Deucher drm/radeon/kms: add hw_i2c module option - broken 2010-03-31 Alex Deucher drm/radeon/kms: disable MSI on IGP chips - bad 2010-03-31 Alex Deucher drm/radeon/kms: display watermark updates (v2) - bad 2010-03-31 Alex Deucher drm/radeon/kms/dp: disable training pattern on the - ok 2010-03-31 Alex Deucher drm/radeon/kms/atom: minor fixes to transmitter setup - ok 2010-03-31 Michel Dänzer drm/radeon/kms: Only restrict BO to visible VRAM size - ok 2010-03-31 Randy Dunlap drm: fix build error when SYSRQ is disabled - works Last working snapshot: http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.34.y.git;a=commit;h=3b01a1191fe76bd11e5743eceed7c25d8157239e First broken snapshot: http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.34.y.git;a=commit;h=f46c01208da1881591e3f55ca77d37f54469f8e4 Diff between them: http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.34.y.git;a=patch;h=f46c01208da1881591e3f55ca77d37f54469f8e4 (In reply to comment #15) > Last working snapshot: > > http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.34.y.git;a=commit;h=3b01a1191fe76bd11e5743eceed7c25d8157239e > > First broken snapshot: > > http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.34.y.git;a=commit;h=f46c01208da1881591e3f55ca77d37f54469f8e4 I can confirm it. Bug appeared in f46c012 commit Does booting with radeon.disp_priority=1 fix the issue? Apply the settings with a cold boot. (In reply to comment #17) > Does booting with radeon.disp_priority=1 fix the issue? Yes, "radeon.disp_priority=1" fix the issue (tested in 2.6.34) (In reply to comment #17) > Does booting with radeon.disp_priority=1 fix the issue? works for me with 2.6.34 release so setting disp_priority to high on all r4xx chips by default isnt that good for RS480 MoBo's with SB4x0 soundcard that have XPress 200m (RC410) Created attachment 26460 [details]
fix
This patch should fix it. I've sent it to Dave to and stable.
2.6.34 with patch and default boot params works too, just as expected ) thanks ) Patch : https://bugzilla.kernel.org/attachment.cgi?id=26460 Handled-By : Alex Deucher <alexdeucher@gmail.com> Fixed by commit 45737447ed160faaba036c0709226bf9057f7b72 . |