Slashdot Mirror


KDE Plasma 5 Problem Traced To Bug In Intel Graphics Driver

prisoninmate writes with news that certain complaints about the KDE Plasma 5 desktop environment may not be KDE's fault at all: Apparently, KDE Plasma 5 runs just fine, and the issue is related to a serious Intel Graphics Driver Stack bug. The good news is that a workaround for the bug is already available, and it requires you to modify the /etc/X11/xorg.conf.d/20-intel.conf file from your Linux kernel-based operating system, by switching back to the older UXA acceleration method instead of the default SNA method used in many distros.

56 comments

  1. SystemD by kimvette · · Score: 2, Funny

    Some of have SystemD and don't have /etc/X11, you insensitive clod!

    --
    The Christian Right is Neither (Christian nor right). See: Matthew 23, Matthew 25, Ezekiel 16:48-50
    1. Re:SystemD by Anonymous Coward · · Score: 4, Funny

      what is this mysterious "/etc" everyone is talking about? the systemd nightlies don't have this. is it part of the deprecated "directory" system?

    2. Re:SystemD by Anonymous Coward · · Score: 0

      Directories don't belong in a modern operating system. They are folders now, but only if you activate them from systemcntl, or maybe there is an xml file to edit...

    3. Re:SystemD by Anonymous Coward · · Score: 0

      Some of us are smart enough not to use a SystemD distribution.

    4. Re:SystemD by Kickasso · · Score: 1

      xml file to edit

      Intriguing. Where do I find it?

    5. Re:SystemD by ben+kohler · · Score: 1

      The /etc/X11/ dir is optional on any recent Xorg versions, this is not related to systemd or the init system in any way. If/when you need to start making customizations to the default Xorg setup, you *can* do it in /etc/X11/ .

    6. Re:SystemD by binarylarry · · Score: 2, Funny

      I usually use systemdedit, its a pretty capable text editor built into systemd.

      --
      Mod me down, my New Earth Global Warmingist friends!
    7. Re:SystemD by Anonymous Coward · · Score: 0

      But do any of you have KDE Plasma 5?

    8. Re: SystemD by Anonymous Coward · · Score: 0

      Yeah, but can it run emacs?

    9. Re:SystemD by Anonymous Coward · · Score: 0

      Call me when systemd has a mail client.

    10. Re:SystemD by IMightB · · Score: 1

      I thought it was called emacs.... or is that just a symlink to systemdedit?

    11. Re:SystemD by Anonymous Coward · · Score: 0

      Nah,
      you have xmleditd built into systemd.

      And for /etc you need etcd, of course. Depends on folderd.

    12. Re:SystemD by kimvette · · Score: 1

      Yes yes yes of course... lots of aspies on here.

      I thought ", you insensitive clod!" was a good clue that I was just talking shit to be funny.

      --
      The Christian Right is Neither (Christian nor right). See: Matthew 23, Matthew 25, Ezekiel 16:48-50
    13. Re:SystemD by Keybounce · · Score: 1

      Alright, if you are not using folders, then how are you organizing your files?

      Serious question; this is the first I've heard of a folder-less unix variant.

  2. I'm using nvidia... by luca · · Score: 1

    ...and I still think that plasma 5 is not ready for prime time (to put it mildly)

    1. Re:I'm using nvidia... by Anonymous Coward · · Score: 0

      Same here - luckily it's just on an old workstation laptop that I only use for testing.

    2. Re:I'm using nvidia... by Anonymous Coward · · Score: 0

      Dunno... I use it as my daily driver on openSUSE Tumbleweed and have had zero issues with it. Things work and work very smoothly - better than KDE4 and there's no comparison possible to the disaster known as Gnome3 (still baffles me how anyone can use that mess).

  3. Hah! by dos1 · · Score: 1

    I feel a bit bad now, because around week/two weeks ago I managed to find it out by myself that switching to UXA fixed the crashes on my machine. Looks like I should have made some fuss about it!

    1. Re:Hah! by Anonymous Coward · · Score: 1

      It ain't a bad thing, if you find a fix or workaround and make a little fuss.

  4. Linux Fails Again by Anonymous Coward · · Score: 0

    Fast forward two years and Intel will be fixing the true cause of the failure in the Linux kernel.

    George Zimmerman guarantees it.

    1. Re:Linux Fails Again by Anonymous Coward · · Score: 1

      George Zimmerman guarantees it.

      By shooting a black kid?

      Or did you mean George Zimmer?

      (For comparison: George Zimmerman)

    2. Re: Linux Fails Again by Anonymous Coward · · Score: 0

      The Intel driver crashed trying to defend itself.

      #buggydriversmatter

  5. Another fix for the bug... by Anonymous Coward · · Score: 0

    Don't use KDE Plasma 5.

    1. Re:Another fix for the bug... by Anonymous Coward · · Score: 0

      That won't solve the bug.

  6. Why would a graphics driver bug... by Viol8 · · Score: 0

    ... cause a crash when desktops are switched? All that does is move windows from onscreen to off and vice verca. What the hell is KDE doing with the X server than means this happens anyway?

    1. Re:Why would a graphics driver bug... by gstoddart · · Score: 1

      Oddly enough ... desktops are rendered in graphics, and bugs cause strange behavior because nobody planned for them.

      There's probably tons of things which can go wrong when your graphics driver has bugs in it.

      --
      Lost at C:>. Found at C.
    2. Re:Why would a graphics driver bug... by Carewolf · · Score: 1

      ... cause a crash when desktops are switched? All that does is move windows from onscreen to off and vice verca. What the hell is KDE doing with the X server than means this happens anyway?

      Bugs like that are discovered when you actually starts using new features to render things more hardware accelerated. If no major application used it before, it is common to uncover bugs in drivers. The alternative though is not use new features.

    3. Re:Why would a graphics driver bug... by Anonymous Coward · · Score: 0

      What the hell is KDE doing with the X server than means this happens anyway?

      No idea, I dumped them when I saw my X server using all of a core (on a dual-core laptop) and 70% of my memory.

    4. Re:Why would a graphics driver bug... by Viol8 · · Score: 2

      Oddly enough windows are moved around all the time. There must be something specific they're doing here wrt switching desktops since apparently the crash doesn't happen at other times.

    5. Re:Why would a graphics driver bug... by Anonymous Coward · · Score: 0

      From the dolphin team awhile back when they found a bug and told intel linux driver team

        a consumer of ubos! that's exciting.
        basically, we got them working, and said "when a workload shows up, we can optimize"

    6. Re:Why would a graphics driver bug... by Anonymous Coward · · Score: 1

      Where do you get the idea that the crash doesn't happen at other times? I looked around and see reports from a month ago of XBMC on GNOME crashing on startup, and mpv player crashing after watching a video for a bit, all originating from the same point in the same driver. There's a bug in Intel's new SNA driver and this causes various failures in otherwise-working code which happens to rely on the driver; switching to Intel's older UXA driver fixes the problem.

    7. Re:Why would a graphics driver bug... by gstoddart · · Score: 2

      You are the one saying this is just a move. Did you write the code? Do you know what it does?

      Or are you just naively deciding the bug must be in moving windows because that's what you think it is?

      There's a lot of pieces to a window manager and a graphic driver.

      Obviously, some of these are interacting and causing the crash. Saying must be something specific ... well, that's the nature of bugs, you have to do the right things to trigger them.

      If it was "just moving windows", the crash would happen all the time. Which means it's probably more complicated than your oversimplified explanation.

      --
      Lost at C:>. Found at C.
    8. Re:Why would a graphics driver bug... by Anonymous Coward · · Score: 0

      It doesn't just happen when switching desktops, but also when playing games, watching video and such.

      What happens is that a field is referencing a memory structure. That structure gets deleted and set to null. Later some other code tries to use the memory structure referenced by that field. Boom.

      It isn't yet clear at this stage if this really is a driver bug. It is also possible that the driver code is operating as designed, but the 3D library software talking to driver asked for the deletion and subsequent use in some way.

    9. Re:Why would a graphics driver bug... by Viol8 · · Score: 1

      FYI I've written a window manager. Switching desktops involves nothing more than moving the correct windows on and off screen. You can't unmap them because that generates a different event which the applications might respond to incorrectly in the circumstances.

  7. Intel graphics by Anonymous Coward · · Score: 1

    Once a upon a time, Intel used to be the answer to users questions about which graphics hardware would work best on a new linux installation. It was never the fastest hardware, but it had the reputation for being the most stable with adequate performance for ordinary desktop use. That doesn't seem to be the case anymore with high performance desktop shells exposing more and more flaws with Intel's graphic stack.

    1. Re:Intel graphics by AaronW · · Score: 1

      I have never found Intel graphics hardware to be the most stable for Linux, far from it. For years I had a lot of problems with Intel graphics such as every time my laptop went into standby the graphics would never recover. At work I had two identical desktops and with the same image I could only get X11 to work on one of them and then it refused to support the monitor's resolution. The other identical machine would just lock up. I dropped in nVidia cards and suddenly everything worked well. It just worked and ran at the monitor's native resolution. I've also had awful experience with AMD/ATI's drivers. By far the best experience I've had has been with nVidia's proprietary drivers though there have been some versions that were buggy they generally have been great.

      --
      This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
  8. If you want something done right... by Anonymous Coward · · Score: 1

    You have to do it yourself.

    If I were a KDE dev, I would write a display server in house, bundle it with LibreOffice, then roll the whole thing into systemd. Then we could finally ditch those pesky operating systems all together.

    Just think of how easy ps output would be to read.

    1. Re:If you want something done right... by goarilla · · Score: 2

      You forgot to include Docker somewhere.

  9. Any relevance to KDE 4? by Anonymous Coward · · Score: 0

    I've had problems with KDE 4 crashing on Intel Graphics, mainly when logging off or switching users. It's related to or ends up in the qxl driver.

  10. Passing the buck by Anonymous Coward · · Score: 0

    That's always the preferred process when reporting bugs or putting in feature requests in open source...

    After all, each volunteer is only responsible for one small portion of the whole stack and they are always of the opinion that their stuff is great and it's the other component that should change.

  11. Bad Bugs in Gfx driver and "Intel" by Anonymous Coward · · Score: 0

    are synonymous. It's one long, never-ending carousel ride. Get off now! Go NVidia.

    1. Re:Bad Bugs in Gfx driver and "Intel" by AaronW · · Score: 1

      I agree. I've had nothing but trouble with Intel's graphics drivers compared to nVidia. Generally the nVidia proprietary drivers just work and work well.

      --
      This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
  12. taskbar by goombah99 · · Score: 1

    just installed Kububtu 15 with plasma. yikes, there's no task bar or "start"-like menu anymore. How do I get back those interface features I'm comfortable with?

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:taskbar by Teun · · Score: 1

      You must have mistaken Win8 for Kubuntu Plasma.
      Because Plasma is in every respect a traditional DE but then with a new engine.
      That admittedly requires some tuning.

      --
      "The likes of Facebook and WhatsApp are free to those whose privacy is of zero value."
    2. Re:taskbar by Tapewolf · · Score: 2

      just installed Kububtu 15 with plasma. yikes, there's no task bar or "start"-like menu anymore. How do I get back those interface features I'm comfortable with?

      You may need to add a few widgets to do this, I think you can right-click to bring up the appropriate menu. It was a bit of a nuisance but in about 10 minutes or so I was able to get a reasonably good start menu and taskbar. It was disappointing that it didn't import the profile and layout from v4, though.

      I could probably look up exactly how it was done, but right now I've switched to XFCE for the time being, because Plasma 5 crashes if you look at it funny. This on an nVidia card with the proprietary drivers so I think there's more to this than a bug in the Intel driver.

      One important thing to note is that Plasma 5 drops support for the little systray icons, apparently they were powered by the XEmbed system which is considered deprecated. This means things like Dropbox and WINE applications which use the systray won't appear. There are workarounds for this (alternate libraries that implement a systray) and in the case of Dropbox it looks like they've recently added support for whatever new library or protocol replaces it.

  13. intel extreme graphics = extreme crap by Anonymous Coward · · Score: 0

    intel extreme graphics = extreme crap

    $50 cards can kick it ass bad. Pro tip get the intel 1150 Xeons and save + get more cores.

  14. Are you sure it's Intel? by danomac · · Score: 2

    Considering we had a Samsung firmware bug in TRIM that turned out to not to be an issue with Samsung drives, but with the TRIM code itself.

    1. Re:Are you sure it's Intel? by Anonymous Coward · · Score: 0

      Considering that the problem was originally identified by someone using mpv, not KDE, and that it is marked as "high critical" on the Mesa bug tracker, this bug is pretty clearly not KDE's fault.

    2. Re:Are you sure it's Intel? by Enesim · · Score: 0

      Considering that the problem was originally identified by someone using mpv, not KDE, and that it is marked as "high critical" on the Mesa bug tracker, this bug is pretty clearly not KDE's fault.

    3. Re:Are you sure it's Intel? by Anonymous Coward · · Score: 0

      Yes, the problem is with the code in the kernel, just like it was with the trim code. (The Intel driver is part of the kernel, not part of the device.)

    4. Re:Are you sure it's Intel? by BadDreamer · · Score: 1

      The Samsung firmware bug is still there, in the Samsung drives. In addition there was a bug in the RAID0/10 TRIM code which Samsung fixed.

      So no, we did not have a Samsung firmware bug in TRIM that was not an issue with Samsung drives.

  15. glamor? by 3vi1 · · Score: 1

    How about using glamor instead of uxa? Does that work around it too, or is the bug just so rare I haven't noticed it?

    I run KDE plasma 5, have been using glamor for a long while, and am running the xorg-edgers drivers... and I haven't seen anything like the bug described at kde.org.

  16. I'm going to regret asking by morgauxo · · Score: 1

    I'm going to regret asking but.. is KDE talking directly to the graphics drivers? I knew the situation with X on a programming level was bad but.. that bad?

    Is that why starting with version 4 KDE has worked terribly (if at all) in VNC? Is it because it wants to talk directly to the hardware's drivers and VNC is something other than hardware?

    - Forgive me if the KDE/VNC situation has improved, I stopped using KDE in part because of this over a year ago.

    1. Re: I'm going to regret asking by bill_mcgonigle · · Score: 1

      I dunno - I've used KDE4 vnc sessions on our "homes" server (Fedora) since about 2009. Maybe they cleared it up in 2008?

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  17. So what's the reason for all the other brokenness? by fluffynuts · · Score: 1

    I've used KDE for a while, from 3 through 5. 4 worked really well and when I got the upgrade to 5, I thought that I finally had the perfect desktop - if it worked like 4 and looked like 5, I'd be ecstatic.
    Unfortunately, I found it to be overall a little sluggish to start and that deteriorated over time to the often reported states of coming out of screensaver to a black screen with cursor for a minute before anything would show; a programs menu which would take 30 seconds to open the first time, no matter how long ago the machine booted - and 1-5 seconds thereafter; to finally booting to a black desktop with just a mouse cursor. Deleting cache files makes the problem simmer down a little, for a while, but they never truly to away and they creep right back up to full size within a few days.
    I also had the applet that controls wireless refuse to ever connect to my AP after once inadvertently touching the flight mode toggle. I could connect from the cli, but no amount of pushing and prodding on the applet would get me there.
    Not to mention that this isn't the first time it's the "gpu driver's fault". The built in dark theme only works on machines with great graphics cards. Older machines get a white-on-white panel.

    And let's not forget the xembed debacle. Way to force your philosophical outlook on the people who can't change anything - end users.

    I don't know what happened, but the kde guys, imo, lost the plot. I've had to switch to xfce to be able to use my desktop. I've ditched Linux for win10 in my laptop and have a fast boot and os. That ditch was done as a rage-quit of KDE because of the aforementioned wireless issues - I just had enough of trying to work around the beautiful, but ultimately brain-damaged plasma5.

  18. Is that all? by TechnoJoe · · Score: 0

    a workaround for the bug is already available, and it requires you to modify the /etc/X11/xorg.conf.d/20-intel.conf file from your Linux kernel-based operating system, by switching back to the older UXA acceleration method instead of the default SNA method used in many distros.

    At least I'm not editing the windows registry.