Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #221228

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

From Martin <mb0087@gmail.com>
Newsgroups linux.debian.user
Subject Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card
Date 2020-04-11 21:10 +0200
Message-ID <zUtFT-8d5-3@gated-at.bofh.it> (permalink)
References <zTLOy-6pU-3@gated-at.bofh.it> <zU4xP-14B-7@gated-at.bofh.it> <zUjQe-22l-15@gated-at.bofh.it> <zUmO5-3Om-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.
>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Can't get my Debian laptop to use my Radeon 520 Mobile graphics card Martin <mb0087@gmail.com> - 2020-04-09 22:20 +0200
  Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics  card Jörg-Volker Peetz <jvpeetz@web.de> - 2020-04-10 18:20 +0200
    Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card Martin <mb0087@gmail.com> - 2020-04-11 10:40 +0200
      Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics  card Jörg-Volker Peetz <jvpeetz@web.de> - 2020-04-11 13:50 +0200
        Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card Martin <mb0087@gmail.com> - 2020-04-11 21:10 +0200
          Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics  card Jörg-Volker Peetz <jvpeetz@web.de> - 2020-04-12 17:30 +0200
            Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card Martin <mb0087@gmail.com> - 2020-04-12 19:50 +0200
              Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics  card Jörg-Volker Peetz <jvpeetz@web.de> - 2020-04-14 10:30 +0200
                Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card Martin <mb0087@gmail.com> - 2020-04-14 20:00 +0200
  Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics  card Felix Miata <mrmazda@earthlink.net> - 2020-04-11 22:10 +0200

csiph-web