Hi,
I have a AMD Radeon RX570 graphics card in a system currently running Leap 15.1. I use the amdgpu-pro driver for its OpenCL support. In preparation for a system upgrade to Leap 15.2, I wanted to uninstall the driver using the included uninstallation script amdgpu-pro-uninstall. But after uninstalling the driver and rebooting the system, the login screen won’t show anymore. If I login on the consol xrandr lists no display at all while dmesg shows the amdgpu driver loading fine.
I can see the following errors in the logs:
sddm-greeter[1907]: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
sddm-greeter[1907]: Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
I already checked whether I have the required packages installed and as far as I can see, that should be the case. Here are the related packages installed:
rpm -qa --qf "%{NAME}
" | grep -i -e amdgpu -e mesa -e drm -e 'libe?gl' -e x11 | sort | tr '
' ' '
dbus-1-x11 ghostscript-x11 libdrm2 libdrm_amdgpu1 libdrm_intel1 libdrm_nouveau2 libdrm_radeon1 libqt4-x11 libQt5X11Extras5 libva-drm2 libva-x11-2 libvigraimpex11 libX11-6 libX11-data libX11-xcb1 libxkbcommon-x11-0 Mesa Mesa-dri Mesa-gallium Mesa-libEGL1 Mesa-libGL1 Mesa-libglapi0 Mesa-libOpenCL Mesa-libva patterns-base-x11 patterns-base-x11_enhanced patterns-base-x11_opt patterns-yast-x11_yast perl-X11-Protocol pulseaudio-module-x11 x11perf x11-tools xf86-video-amdgpu xorg-x11 xorg-x11-driver-input xorg-x11-driver-video xorg-x11-essentials xorg-x11-fonts xorg-x11-fonts-core xorg-x11-libs xorg-x11-libX11-ccache xorg-x11-server xorg-x11-server-extra xorg-x11-server-wayland xorg-x11-Xvnc xorg-x11-Xvnc-module yast2-x11
I also didn’t change the X11 configuration (at least on purpose):
grep -v '^#' /etc/X11/xorg.conf.d/10-amdgpu.conf /etc/X11/xorg.conf.d/50-device.conf
/etc/X11/xorg.conf.d/10-amdgpu.conf:Section "OutputClass"
/etc/X11/xorg.conf.d/10-amdgpu.conf: Identifier "AMDgpu"
/etc/X11/xorg.conf.d/10-amdgpu.conf: MatchDriver "amdgpu"
/etc/X11/xorg.conf.d/10-amdgpu.conf: Driver "amdgpu"
/etc/X11/xorg.conf.d/10-amdgpu.conf:EndSection
What surprises me is that this is not the first time I uninstalled amdgpu-pro. And when I did before, I had no issues using the graphics card with the default kernel driver. One thing that strikes me, though, is that I think (if I recall correctly) when uninstalling amdgpu-pro there were other packages around MESA reinstalled in order to meet dependencies. That does not happen when I uninstall the driver now. I might be mistaken in my recollection, though.
Am I missing something? What else could prevent the default amdgpu driver from being usable?
Thanks and regards,
Timo