Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  plasma freezes temporary (was: kwin crashes)  (Read 2916 times)

Offline orinoco

  • User
  • Posts: 233
  • Bullshit artist
plasma freezes temporary (was: kwin crashes)
« on: 2016/10/29, 14:45:56 »
Hello,

kwin crashes randomly here for some time. Even with the latest kernel.

journal: http://paste.siduction.org/20161029123923
inxi: http://paste.siduction.org/20161029123936
« Last Edit: 2016/10/30, 23:58:25 by orinoco »

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
Re: kwin crashes
« Reply #1 on: 2016/10/29, 16:37:12 »
Hello orinoco,
I'm not sure if this is a graphics issue or some qt-kde issue.

xserver-xorg-video-intel defaults to SNA (Sandybridge New Acceleration), but your cpu is older.
The package contains an example xorg.conf:
Code: [Select]
mkdir -p /etc/X11/xorg.conf.d/
cp /usr/share/doc/xserver-xorg-video-intel/xorg.conf  /etc/X11/xorg.conf.d/20-intel.conf


you can try to enable Universal Xcceleration Architecture (UXA), which is the predeccessor of SNA.
#Switch to intel with UXA
Section "Device"
    Identifier "Intel"
    Driver "intel"
    Option "AccelMethod" "uxa"
EndSection

A more modern option uses version 3 of the Direct Rendering Infrastructure.
Xorg still defaults to version 2.1.
    Option "DRI" "3"


greetings
musca
β€žEs irrt der Mensch, solang er strebt.β€œ  (Goethe, Faust)

Offline orinoco

  • User
  • Posts: 233
  • Bullshit artist
Re: kwin crashes
« Reply #2 on: 2016/10/30, 23:50:23 »
Hello musca,

thanks for your advice. My xorg configuration now looks like this

Code: [Select]
Section "Device"
Identifier  "Intel Graphics"
Driver      "intel"
Option      "AccelMethod"     "uxa"
# Option      "AccelMethod"     "sna"
Option      "Backlight"       "intel_backlight" # use your backlight that works here
Option      "DRI"             "3"
BusID       "PCI:0:2:0"
EndSection

And I upgraded to the latest kernel today:

Code: [Select]
Linux tuxor2 4.8.5-towo.3-siduction-amd64 #1 SMP PREEMPT siduction 4.8-12 (2016-10-30) x86_64 GNU/Linux
Now kwin is not yelling about a crash anymore. Instead my Plasma Desktop freezes for about 10s. Meanwhile the journal says:

http://paste.siduction.org/20161030224721

 

Offline orinoco

  • User
  • Posts: 233
  • Bullshit artist
Re: plasma freezes temporary (was: kwin crashes)
« Reply #3 on: 2016/11/07, 23:15:08 »
I can reproduce the crash with temporary freeze by running x64 from vice-package. One of five tries freezes my notebook permanently.

Offline orinoco

  • User
  • Posts: 233
  • Bullshit artist
Re: plasma freezes temporary (was: kwin crashes)
« Reply #4 on: 2016/11/11, 01:23:04 »
Installed latest kernel 4.8.7-towo.1 and my notebook crashes during boot and freezes permanently. All I can find as a possible reason:


BUG: unable to handle kernel NULL pointer dereference at      (null)

Offline orinoco

  • User
  • Posts: 233
  • Bullshit artist
Re: plasma freezes temporary (was: kwin crashes)
« Reply #5 on: 2018/02/09, 20:07:22 »
Oh dear...


After more than a year I found a workaround.


Adding video=SVIDEO-1:d to the kernel cmdline did the trick.