Sempron APU Graphics segfault in lightdm
I have installed the Fedora 28 XFCE spin, and am very impressed with the work you have done. I have one minor issue and I am only raising it because I am confused about what is happening and which drivers I should be using. This is a Sempron 3850 that uses [AMD/ATI] Kabini [Radeon HD 8280 / R3 Series] graphics. In Debian Buster, I just use the AMD ucode. What is happening is, I get the login window in lightdm, then when I put in my password, the screen goes blank, then I have to login to lightdm the 2nd time, then it works and I no longer see errors in dmesg. Here is the error I get:
[ 26.062943] showsignalmsg: 8 callbacks suppressed [ 27.683791] radeondpauxtransfernative: 74 callbacks suppressed [ 43.166719] radeondpauxtransfernative: 74 callbacks suppressed
Here is the output of lsmod
lsmod | grep radeon
radeon 1654784 3 i2calgobit 16384 2 amdgpu,radeon drmkmshelper 200704 2 amdgpu,radeon ttm 126976 2 amdgpu,radeon drm 454656 8 amdgpu,radeon,gpusched,ttm,drmkms_helper
And here is the part of the boot log where it appears to load the Kabini microcode, then also loads the radeon driver:
[ 5.594069] [drm] radeon kernel modesetting enabled.
[ 5.597263] checking generic (c0000000 300000) vs hw (c0000000 10000000)
[ 5.597265] fb: switching to radeondrmfb from EFI VGA
[ 5.600370] Console: switching to colour dummy device 80x25
[ 5.601237] [drm] initializing kernel modesetting (KABINI 0x1002:0x9836 0x1458:0xD000 0x00).
[ 5.601279] [drm] doorbell mmio base: 0xD0000000
[ 5.601286] [drm] doorbell mmio size: 8388608
[ 5.601375] ATOM BIOS: AMD
[ 5.601460] radeon 0000:00:01.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
[ 5.601473] radeon 0000:00:01.0: GTT: 2048M 0x0000000020000000 - 0x000000009FFFFFFF
[ 5.601488] [drm] Detected VRAM RAM=512M, BAR=256M
[ 5.601495] [drm] RAM width 128bits DDR
[ 5.601633] [TTM] Zone kernel: Available graphics memory: 3795232 kiB
[ 5.601641] [TTM] Zone dma32: Available graphics memory: 2097152 kiB
[ 5.601648] [TTM] Initializing pool allocator
[ 5.601664] [TTM] Initializing DMA pool allocator
[ 5.601717] [drm] radeon: 512M of VRAM memory ready
[ 5.601726] [drm] radeon: 2048M of GTT memory ready.
[ 5.601752] [drm] Loading kabini Microcode
[ 5.602121] [drm] Internal thermal controller without fan control
[ 5.602793] [drm] radeon: dpm initialized
[ 5.602989] [drm] Found UVD firmware Version: 1.64 Family ID: 9
[ 5.606086] [drm] Found VCE firmware/feedback version 40.2.2 / 15!
[ 5.606117] [drm] GART: num cpu pages 524288, num gpu pages 524288
[ 5.633154] [drm] PCIE GART of 2048M enabled (table at 0x000000000030E000).
[ 5.633457] radeon 0000:00:01.0: WB enabled
[ 5.633505] radeon 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0x00000000fc907248
[ 5.633519] radeon 0000:00:01.0: fence driver on ring 1 use gpu addr 0x0000000020000c04 and cpu addr 0x000000001ea94925
[ 5.633531] radeon 0000:00:01.0: fence driver on ring 2 use gpu addr 0x0000000020000c08 ...
Here is the output of inxi, which is the same as my Debian install
Graphics: Card: Advanced Micro Devices [AMD/ATI] Kabini [Radeon HD 8280 / R3 Series] bus-ID: 00:01.0 chip-ID: 1002:9836 Display Server: x11 (X.org 1.19.6 ) drivers: ati,radeon (unloaded: modesetting,fbdev,vesa) Resolution: 1920x1080@60.00hz OpenGL: renderer: AMD KABINI (DRM 2.50.0 / 4.16.0-0.rc4.git0.1.fc28.x86_64, LLVM 6.0.0) version: 4.5 Mesa 18.0.0 (compat-v: 3.0) Direct Render: Yes
I am wondering about this "error 4 in libcairo.so.2.11512.0". Maybe lightdm is using cairo for compositing, but I have the native XFCE compositor enabled, so it throws this error when XFCE starts? I will disable compositing in XFCE and see if I still get these errors on startup.
# lshw -c video *-display
description: VGA compatible controller product: Kabini [Radeon HD 8280 / R3 Series] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 1 bus info: pci@0000:00:01.0 version: 00 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi vgacontroller busmaster cap_list rom configuration: driver=radeon latency=0 resources: irq:37 memory:c0000000-cfffffff memory:d0000000-d07fffff ioport:f000(size=256) memory:feb00000-feb3ffff memory:c0000-dffff
I disabled the XFCE compositor, and am able to login without the segfault error in the lightdm-greeter, but I see this message consistently:
[ 677.372285] radeondpauxtransfernative: 116 callbacks suppressed [ 687.197333] radeondpauxtransfernative: 74 callbacks suppressed [ 792.584531] radeondpauxtransfernative: 32 callbacks suppressed [ 802.665877] radeondpauxtransfernative: 74 callbacks suppressed
I haven't notice any performance issues, though
It seems both
amdgpu
andradeon
are loaded and your gpu is driven byradeon
. Maybe you have to blacklistamdgpu
or you can try to blacklistradeon
and see ifamdgpu
works better (if it even works at all). Please post the output ofdmesg | grep -P "(radeon|amdgpu)"