No announcement yet.

Radeon KMS bug causing wireless crashes, devs please help

  • Filter
  • Time
  • Show
Clear All
new posts

  • Radeon KMS bug causing wireless crashes, devs please help

    Attn: radeon devs, if you're here... thanks for all your hard work.

    There's an ongoing bug report on Launchpad, initially directed toward iwl3945, but it appears that the problem is actually with the radeon driver... wireless hangs/crashes during high GPU utilization (like video playback), but only occurs when kernel modesetting is turned on. With KMS off, the hardware runs normally. This seems to be some sort of regression, either in the kernel or in the driver.

    Here's the bug report:

    Please help... there are lots of folks out there with systems that are unusable unless they manually disable kernel modesetting. I'm one of the affected users, in my case on a Thinkpad T60 with X1400 and Intel wireless. There are also users reporting audio corruption under the same conditions as mentioned above, which disappears when KMS is disabled.

    Thanks for any help you can provide!

    Best regards,
    Jason Porter

  • #2
    I forgot to mention (and the edit button is missing)... this is a new problem on Ubuntu 10.04, the bug was present on launch of Lucid final.



    • #3
      Yes, it would be great if this was looked into. I've got affected hardware as well. Problems with audio (crackling not caused by Pulseaudio) and wireless connection dropping when running with radeon KMS, typically triggered by fullscreen movie playback or in general ?GPU load? (for lack of better way to describe it). Both problems disappear when disabling kernel mode setting. Thinkpad Z61m with ATI X1400.

      These are the bugs I am currently tracking wrt. this issue:
      Forgive me if this bug is a duplicate but I didn't see a recent bug with these details.... I did a clean install of Kubuntu 10.04 beta 2 and i noticed the wireless connection would work initially after boot and then it would drop and then tray icon would continue to say "Connecting" and "Activating" when i right clicked on it and never connect again. I did get it to reconnect once after unloading the iwl3945 and iwlcore modules and reloading them, then restarting the networking init.d script,...

      Binary package hint: alsa-base I have a Fujitsu-Siemens notebook with a HDA-Intel audio card that I first installed with Feisty Fawn. Since then I have upgraded every half year to the latest Kubuntu release, and DVD playback was never a problem. Now I have upgraded from Karmic to Lucid and when playing DVDs the sound crackles like an old record. When I boot into a backup copy of Karmic again, DVD playback is still fine, so it is not a problem of broken hardware. I have tried doing a fresh in...

      Binary package hint: linux-image-2.6.32-22-generic Sometimes during audio playback, a kernel thread named "[hd-audio0]" will consume excessive amounts of CPU and cause audio crackling. It seems to be more easily triggered when displaying video in fullscreen (or Rhythmbox visualizations) or dragging windows around while playing music, somehow relating it graphics operations (running default radeon driver with KMS and Compiz). This all started after moving from Ubuntu Karmic to Lucid (never ...

      The three last bugs are related to the audio problems I'm seeing when using KMS, two of which I've filed myself.

      I've been reluctant to file a bug at so far, because I don't know if radeon KMS is directly to blame, but what I am sure of is that it triggers the problems. Whether there is some general kernel problem or if KMS alters conditions in a way that shake out bugs in other kernel drivers. So far it looks like only people with ATI IGP or Xnnnn-series cards are affected.

      I'm on Ubuntu Lucid x86. Have tested up to mainline kernel 2.6.34-rc7, and the problem persists, so it's not Ubuntu-kernel specific.


      • #4
        Out of interest: got some easy way I could see if I can replicate this on Fedora 13? I've never had this kind of problems myself so just wondering. (as in, the audio part, I have no wireless)


        • #5
          I'm searching at for any similar bugs... if I don't find any, I'll file a bug so that it's at least on their radar and they know of the problem.

          If a bug report already exists, or if I create one (either way), I'll link the upstream in the relevant launchpad bugs.


          • #6
            OK, I filed a bug report on and linked to the other reports on Launchpad and Bugzilla.

            Apparently it may be due to a difference in PCI configuration between KMS and UMS?

            ?yvind Stegard on Bugzilla had this to say on that...
            Comment #29 From ?yvind Stegard 2010-05-10 17:31:29 (-) [reply] -------

            (In reply to comment #28)
            > Thank you for testing. Appearently, there might be a clash in the PCI device or
            > bus configuration. Unfortunately, I'm not expert in this area. It might be a
            > good idea to check the PCI device setup using lspci (compare good and bad
            > behaviour).

            Indeed, the PCI configuration for radeon is different under KMS (bad) compared
            to UMS (good):
            --- lspci-radeon-good.txt    2010-05-10 19:13:21.003538070 +0200
            +++ lspci-radeon-bad.txt    2010-05-10 19:19:45.254230183 +0200
            -    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
            +    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
            -    Interrupt: pin A routed to IRQ 16
            +    Interrupt: pin A routed to IRQ 30
            -    Capabilities: [80] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
            -        Address: 0000000000000000  Data: 0000
            +    Capabilities: [80] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
            +        Address: 00000000fee0100c  Data: 41b9
            +    Kernel driver in use: radeon
            There is no difference for the HDA Intel PCI configuration.

            Also, KMS causes problems for my wireless PCI network controller/driver iwl3945 (drops connection during Flash fullscreen video streaming, when snd-hda-intel crackling is at its worst . So, my system probably has issues out of scope for this bug report, wrt. to KMS. Thank you for all help.


            • #7
              Ha, I just realized ?yvind is the one who posted earlier in this thread. Hi ?yvind! Thanks for the links and the good information, hopefully it will get in front of the right eyeballs with all the linking.


              • #8
                Yes this is a very annoying bug. I can't even get on some wireless networks with radeon KMS enabled. Disable it and I get full bars, 80%+ connection quality.

                Thinkpad T60, Radeon X1300, iwl3945.


                • #9
                  Apparently it's slightly more serious than previously thought... users are reporting full kernel crashes when switching the wifi off using the hardware on/off switch. Disabling radeon KMS causes the behavior to disappear.

                  when I'm watching Zattoo (online tv) my wlan connection dies after a few minutes. Automatic reconnect is not possible, syslog shows the following error messages: Apr 4 20:21:21 r60 kernel: [ 727.542280] No probe response from AP 00:1f:3f:1e:41:b5 after 500ms, disconnecting. Apr 4 20:21:21 r60 wpa_supplicant[1048]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Apr 4 20:21:21 r60 NetworkManager: (wlan0): supplicant connection state: completed -> disconnected Apr 4 20:2...

                  Can any of the radeon devs chime in if they see this, to let me know if they're aware of this at all? Thanks!


                  • #10
                    Please try my suggestions on the bug report.