There is a bizarre problem with KDE compositing, which has surprisingly been going on for over an year now. I’m just curious to understand its reasons better, as well as point it out in case people are not aware of it. On a side note, I run openSUSE Tumbleweed and the drivers installed from its official repositories, and use the RadeonSI video driver (Radeon R7 370 video card).
When using OpenGL 3.1 for desktop effects, the operating system will randomly freeze and go completely unresponsive, forcing you to power off the machine and start it back on. This problem does not occur when using OpenGL 2.0 however. The setting in cause is Configure Desktop - Display and Monitor - Compositor - Rendering Backend.
There’s no advantage to using 3.1 over 2.0, so the solution is simply to use the later! But an OS freeze is still a major problem, and many people might not know that this is the cause. Is this a driver or Kernel or Mesa issue?
I don’t normally run system packages from other repositories, as I don’t want to mess with them and risk breaking my system. I have the 4.8.3 Kernel, which might have amplified the issue. I don’t have SSH setup for connecting on this machine, so I don’t know about that… the system does however instantly freeze, as in the image / sound stop and I can no longer move the cursor or toggle NumLock / CapsLock.
Hi
I’ve had no issues with the Kernel:HEAD repo, I’m using it because my Mullins R5 works OTB with it now and amdgpu. Add it, try it, remove it and go back…?
If possible, can you setup a ssh session from another computer (or smartphone/tablet)?
Anything in ~/.xsession-errors* ~/.local/share/xorg/Xorg.1.log (if you reboot) else current will be 0.
Anything in the journalctl output at the time of the crash?
There isn’t really any useful output for that command. Here it is, both as user and as root:
mircea@linux-qz0r:~> journalctl --no-pager | grep amdgpu
Hint: You are currently not seeing messages from other users and the system.
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
Failed to get journal fields: Bad message
linux-qz0r:/home/mircea # journalctl --no-pager | grep amdgpu
Failed to get journal fields: Bad message
For now I submitted a bug report. It’s not just OpenGL 3.1 compositing that causes this, but also some games. MESA or a video driver might have screwed up again.
it will be Xorg.0.log.old … Xorg.1.log would refer to when you were concurrently running a second X Server instance
~/.local/share/xorg/Xorg.1.log
I know that we talked about this before (though I don’t really remember content), but I’m still not clear as to why it would be found in the location you’ve mentioned, as opposed to good old /var/log … which is, indeed, the location that the log remains on my TW systems.
For me there is no “~/.local/share/xorg/” directory. Also I checked both the .log and .log.old… the old file’s modified date was long before the moment of the crash, so I went with the normal log.
Wait… there is there an alternative video driver included with openSUSE? Or does amdgpu refer to the proprietary driver (fglrx), in which case I do not want it.
I did a bit of searching, and it is an interesting driver (owned by AMD but apparently open source). I wonder why openSUSE isn’t defaulting to it already? I heard something about it being experimental for R7 series too… is there any risk of a switch breaking my system or X11? Also does this mean I’d be no longer using MESA 3D, which I would prefer to stick to for now?
Sorry for the double post, but I think I figured out why I’m still using Radeon and not AMDGPU: Support for GCN 1.0 cards will only arrive in the 4.9 Kernel. My card is GCN 1.0 and I’m using the 4.8 Kernel, so I’d pretty much break my system if I messed with this now.
I guess one option is to wait, hoping the 4.9 Kernel is not far behind in TW… I assume I’ll switch drivers automatically then? It would however be nice if a solution for those strange crashes could be found until that time.
I build my own for the 4.4 kernel since it has a bug fix, 4.9.x it works OTB with the files indicated in my previous post as the fixes have been upstreamed. Now for my card (another bug report) was to add Mullins support in xf86-video-amdgpu which you need to see if installed, this may trigger your system to start using amdgpu OTB.
Hi
Nope, 4.8 kernel in openSUSE, plus I pushed the fixes through to tumbleweed with version 1.1.2;
* Thu Sep 15 2016 malcolmlewis@opensuse.org
- Update to version 1.1.1:
+ Use --with-xorg-conf-dir=$prefix/share/X11/xorg.conf.d by
default.
+ Fix cursor size for SI.
+ Add SI PCI IDs.
+ Add missing Kaveri PCI ID (1318).
+ Add Mullins PCI IDs (fdo#97472).
+ DRI2: Fix amdgpu_dri2_exchange_buffers width/height
copy'n'paste error.
+ DRI2: Add interpolated_vblanks in amdgpu_dri2_get_crtc_msc.
+ Only use RandR APIs if RandR is enabled (deb#827984).
+ Destroy all dedicated scanout buffers during CloseScreen.
+ glamor: Reallocate linear pixmap BO if necessary for DRI2
PRIME.
+ Move DRI2's local fixup_glamor helper to
amdgpu_glamor_set_pixmap_bo v2 so it can be used outside of the
DRI2 code.
+ Consolidate get_drawable_pixmap helper.
+ Add amdgpu_pixmap_get_tiling_info.
+ Remove amdgpu_share_pixmap_backing.
+ glamor: Fix amdgpu_glamor_share_pixmap_backing for priv->bo ==
NULL.
+ Add missing Bonaire PCI ID.
+ Add more Polaris 10 and 11 PCI IDs.
+ Fix amdgpu_mode_hotplug crash on multi GPU platform.
+ Handle Zaphod mode correctly in amdgpu_mode_hotplug
(fdo#93415).
+ Add Strato PCI ID.
+ Remove RR_Capability_SinkOutput for GPU without CRTC.
- Set amdgpu.ids as a config file to fix rpmlint warning.
Hmmm… interesting. I still haven’t fully understood the steps to enable it, and some posts stated that xorg stopped working after they added in the amdgpu configuration. Isn’t there any x11 command that can be used cleanly, or do system files need to be manually hacked?