We are having a problem with KDE locking up a workstation. It is running Leap 42.1. ‘lspci -v’ gives:
VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 720] (rev a1) (prog-if 00 [VGA controller])
Subsystem: eVga.com. Corp. Device 2722
Flags: bus master, fast devsel, latency 0, IRQ 123
Memory at f6000000 (32-bit, non-prefetchable) [size=16]
Memory at e8000000 (64-bit, prefetchable) [size=128]
Memory at f0000000 (64-bit, prefetchable) [size=32]
I/O ports at e000 [size=128]
Expansion ROM at f7000000 [disabled] [size=512]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Kernel driver in use: nouveau
Kernel modules: nouveau
Everything seems to run fine for hours, or a day or two, then a single desktop event (mouse click or keystroke) causes the whole desktop to freeze: the mouse pointer still moves, but mouse clicks or keystrokes do nothing (including using Ctrl-Alt-F1 to try to get to a text console). I can ssh in from another machine on the network, but doing ‘/sbin/init 3’ or ‘reboot’ from that prompt doesn’t cause the system drop to runlevel 3 or to reboot.
The contents of Xorg.0.log running up to the freeze look like this:
(EE) [mi] EQ overflow continuing. 1000 events have been dropped.
(EE) [mi] No further overflow reports will be reported until the clog is cleared.
I am reluctant to suggest that the user concerned tries the proprietary NVIDIA drivers, because two of our other users find after updating to the current NVIDIA drivers that KDE crashes immediately after logging on. My current advice to them is to use another desktop (MATE or XFCE) but this is rather unsatisfactory. Does anyone have any suggestions about how to stabilise KDE with this NVIDIA card and the nouveau driver?[/size][/size][/size][/size][/size]
> I am reluctant to suggest that the user concerned tries the
> proprietary NVIDIA drivers, because two of our other users find after
> updating to the current NVIDIA drivers that KDE crashes immediately
> after logging on. My current advice to them is to use another desktop
> (MATE or XFCE) but this is rather unsatisfactory. Does anyone have
> any suggestions about how to stabilise KDE with this NVIDIA card and
> the nouveau driver?
I had this problem until I updated to Qt5.7. I still get it when trying
42.2-beta as it is on Qt5.6. I added the following two 42.1 repositories
for Qt5 and Frameworks5 and switched to them:
Thanks, we’ll do that. This particular workstation is only used for a couple of days a week, so if this helps it may be some time before we know for sure. OTOH, if it doesn’t help, we may find out fairly quickly next time we use it. I’ll report back when we know either way.
Interesting… unfortunately this isn’t really a practical solution for us: I know from past experience that departing from a fairly vanilla install can end up sucking a huge amount of time in user support later on. I might experiment on my own workstation like this (if I used KDE myself that is), but I can’t really manage setups like this for users that aren’t technically knowledgeable.
This KDE-related blog entry https://blog.martin-graesslin.com/blog/2015/10/some-thoughts-on-the-quality-of-plasma-5/comment-page-1/ illustrates very clearly the weakest link problem (albeit for Intel rather than NVIDIA drivers). Maybe the effort involved in getting Leap 42.2 ready means that openSUSE haven’t been able to keep everything in sync for 42.1, and things will sort themselves out in a few weeks. Proprietary drivers certainly don’t help of course.
how did you install the nvidia driver if you used the nvidia repo there should be no issues, if you used the run file you need to re-run it after every kernel update (this is not recommended on leap as there is a working repository)
I’d say add the nvidia repo and use the propiatory driver
zypper ar -f ftp://download.nvidia.com/opensuse/leap/42.1/ nvidia
zypper in x11-video-nvidiaG0x
where G0x is G02 or G03 or G04 deppending on how old your hardware is, the G03 should work on most nvidia cards
I think those users with nvidia issues installed the driver with the run file from nvidia, first remove that driver by re-running the run file then add the nvidia repo and pull the appropriate driver, the propitiatory driver is stable with plasma 5, nouveau not so much, there’s a bug report over at freedesktop that’s still open https://bugs.freedesktop.org/show_bug.cgi?id=92077
if you don’t want to use the propitiatory driver do not use plasma 5 use lxqt or lxde or install and use plasma 5 with openbox instead of kwin5
ps. if there are such serios issues with the nvidia driver you really should report them at bugzilla as there are a lot of opensuse users that are running the nvidia propitiatory driver https://bugzilla.opensuse.org
> Cloddy;2796265 Wrote:
> > On Fri, 14 Oct 2016 14:56:02 GMT
> > I had this problem until I updated to Qt5.7. I still get it when
> > trying 42.2-beta as it is on Qt5.6. I added the following two 42.1
> > repositories for Qt5 and Frameworks5 and switched to them:
> >
> > http://tinyurl.com/bczda7s
> >
> >
>
> Interesting… unfortunately this isn’t really a practical solution
> for us: I know from past experience that departing from a fairly
> vanilla install can end up sucking a huge amount of time in user
> support later on. I might experiment on my own workstation like this
> (if I used KDE myself that is), but I can’t really manage setups like
> this for users that aren’t technically knowledgeable.
>
> This KDE-related blog entry http://tinyurl.com/zqwmrma illustrates
> very clearly the weakest link problem (albeit for Intel rather than
> NVIDIA drivers). Maybe the effort involved in getting Leap 42.2 ready
> means that openSUSE haven’t been able to keep everything in sync for
> 42.1, and things will sort themselves out in a few weeks. Proprietary
> drivers certainly don’t help of course.
>
>
Fair enough. I’ve also hit some other trouble with 42.1 in that my USB
mouse died so I replaced it, then my keyboard died so I replaced it.
Then both replacements started dying and needing a reboot to kickstart
them. I’ve now been back on 13.2 for a couple of days with no trouble
yet. Need some more testing to rule out - or rule in - hardware as
cause of problems. Backs up your point regarding departure from vanilla
install.
–
Graham Davis, Bracknell, Berks., UK.
openSUSE 42.1; KDE Plasma 5.8.0; Qt 5.7.0; Kernel 4.8.1;
AMD Phenom II X2 550 Processor; Sound: ATI SBx00 Azalia (Intel HDA);
Video: nVidia GeForce 210 (Driver: nouveau)
I did use the nvidia repo. You are right that there should be no issues, but in practice there are. This has happened before: a couple of years ago nvidia also released a disastrous update for their linux drivers that messed things up big time.
ps. if there are such serios issues with the nvidia driver you really should report them at bugzilla as there are a lot of opensuse users that are running the nvidia propitiatory driver https://bugzilla.opensuse.org
Good point, and maybe I will, but gathering enough information for a complete bug report takes time and effort, and I have a lot of other things (other than Linux support that is) to do right now. One problem at a time…
if you want to stick with opensource drivers and use plasma 5 then do not use kwin5 as a window manager that’s where the bug is use openbox with openbox-kde https://software.opensuse.org/package/openbox-kde
this will disable all composing and special effects but it’s lean and stable with novou, I have plasma 5, lxqt and openbox installed and I can confirm that lxqt with openbox and plasma 5 with openbox run fine with the nvidia hardware, I had issues with novou and kwin5 but I have none with the propitiatory driver I have an older geforce 240 that runs plasma 5 smoothly
I should have noted that the nvidia driver should only be used on desktops or non-optimus laptops if you try and use it on an optimus laptop strange things would happen, on optimus hardware (newer laptops) you need to use bumblebee with or without the propitiatory drivers https://en.opensuse.org/SDB:NVIDIA_Bumblebee
Turning off compositing has fixed the crashing, and the workstation’s user is happy with the situation: he isn’t bothered about fancy desktop effects and the advanced KDE bells and whistles. Rather than distracting him from his work with further testing of the compositor, I’ll leave this issue for now.
As for the NVIDIA proprietary driver issue that I referred to in passing, this happens on machines that have been zypper dup-ed multiple times, from as far back as 11.4 in one case. Although there were never any major problems with the upgrades, the states of these systems are not the same as they would be from a fresh install of their currently-installed OSs. I have done a fresh install of 42.2-RC1 on one of them (in separate / and /boot volumes with a new local user) and given it a quick spin. It seems to work well. Sometime early next year I will probably install Leap 42.2 from scratch on these systems and see how the NVIDIA drivers behave then.