[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card



Thank you Jörg.
So I followed the instructions here as AMD GPU from what I read should
support my Radeon 520 Mobile
https://wiki.debian.org/AMDGPUDriverOnStretchAndBuster2

But I have problems with the installation of both versions 19.3 and
19.5. My kernel is 5.4.0-4-amd64 #1 SMP Debian 5.4.19-1 (2020-02-13)
x86_64 GNU/Linux
Since there is no linux-headers-5.4.0-4-amd64 package I assume I need
linux-headers-5.4.0-4-common but installation still fails.

The make.log says:
/var/lib/dkms/amdgpu/19.30-934563/build/include/kcl/kcl_drm.h:6:10:
fatal error: drm/drmP.h: Datei oder Verzeichnis nicht gefunden / File
or directory not found

libdrm-dev is installed.
I'm confused why it says "Building initial module for 5.5.0-1-amd64"
while I don't have that kernel installed.

sudo dpkg -i amdgpu-dkms_19.30-934563_all.deb
(Lese Datenbank ... 176749 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von amdgpu-dkms_19.30-934563_all.deb ...

------------------------------
Deleting module version: 19.30-934563
completely from the DKMS tree.
------------------------------
Done.
Entpacken von amdgpu-dkms (19.30-934563) über (19.30-934563) ...
amdgpu-dkms (19.30-934563) wird eingerichtet ...
Loading new amdgpu-19.30-934563 DKMS files...
Building for 5.4.0-4-amd64 5.5.0-1-amd64
Building for architecture amd64
Module build for kernel 5.4.0-4-amd64 was skipped since the
kernel headers for this kernel does not seem to be installed.
Building initial module for 5.5.0-1-amd64
Error! Bad return status for module build on kernel: 5.5.0-1-amd64 (amd64)
Consult /var/lib/dkms/amdgpu/19.30-934563/build/make.log for more information.
dpkg: Fehler beim Bearbeiten des Paketes amdgpu-dkms (--install):
 »installiertes amdgpu-dkms-Skript des Paketes
post-installation«-Unterprozess gab den Fehlerwert 10 zurück
Fehler traten auf beim Bearbeiten von:
 amdgpu-dkms


I'm not sure why xrandr command you refer to specifically. This one?
xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x46 cap: 0xb, Source Output, Sink Output, Sink
Offload crtcs: 4 outputs: 3 associated providers: 0 name:Intel

Regards,
Martin

On Sat, 11 Apr 2020 at 13:48, Jörg-Volker Peetz <jvpeetz@web.de> wrote:
>
> Try it without any /etc/X11/xorg.conf file and read the Debian Stretch part in
> the Debian wiki. What's the output of the "xrandr" commands listed in the wiki?
>
> Regards,
> Jörg.
>


Reply to: