Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #221140 > unrolled thread
| Started by | Martin <mb0087@gmail.com> |
|---|---|
| First post | 2020-04-09 22:20 +0200 |
| Last post | 2020-04-11 22:10 +0200 |
| Articles | 10 — 3 participants |
Back to article view | Back to linux.debian.user
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
| From | Martin <mb0087@gmail.com> |
|---|---|
| Date | 2020-04-09 22:20 +0200 |
| Subject | Can't get my Debian laptop to use my Radeon 520 Mobile graphics card |
| Message-ID | <zTLOy-6pU-3@gated-at.bofh.it> |
Hello everyone,
my laptop has two graphic devices. According to my hardware probe it
does not utilize the actual graphic card or at least something seems
wrong with it. I tried installing additional driver packages:
xserver-xorg-video-amdgpu mesa-va-drivers but it did not change
anything it seems. From other probes I see linux does support it on
other laptops. I wonder what am I missing?
https://linux-hardware.org/?probe=31e05fe1a9
lspci -nnk | grep -i vga -A3 | grep 'in use'
Kernel driver in use: i915
lspci -vnnn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation HD
Graphics 620 [8086:5916] (rev 02) (prog-if 00 [VGA controller])
inxi -Fxz
Graphics: Device-1: Intel HD Graphics 620 vendor: Hewlett-Packard
driver: i915 v: kernel bus ID: 00:02.0
Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330
/ M430 / Radeon 520 Mobile] vendor: Hewlett-Packard
driver: radeon v: kernel bus ID: 01:00.0
Display: x11 server: X.Org 1.20.8 driver: intel resolution:
1920x1080~60Hz, 1920x1080~60Hz
OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v:
4.6 Mesa 20.0.4 direct render: Yes
glxinfo | grep OpenGL
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 620 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.4
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.0.4
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.0.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
uname -a && lsb_release -dr
Linux lemon 5.4.0-4-amd64 #1 SMP Debian 5.4.19-1 (2020-02-13) x86_64 GNU/Linux
Description: Debian GNU/Linux bullseye/sid
Release: unstable
[toc] | [next] | [standalone]
| From | Jörg-Volker Peetz <jvpeetz@web.de> |
|---|---|
| Date | 2020-04-10 18:20 +0200 |
| Subject | Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card |
| Message-ID | <zU4xP-14B-7@gated-at.bofh.it> |
| In reply to | #221140 |
Keywords are "hybrig graphics" and "PRIME". Maybe, these links can be helpful: https://wiki.debian.org/AtiHowTo https://wiki.archlinux.org/index.php/PRIME Regards, Jörg.
[toc] | [prev] | [next] | [standalone]
| From | Martin <mb0087@gmail.com> |
|---|---|
| Date | 2020-04-11 10:40 +0200 |
| Message-ID | <zUjQe-22l-15@gated-at.bofh.it> |
| In reply to | #221166 |
Thank you Jörg-Volker, I have been trying around quote long but I have not managed to make my Radeon card show up for xarand as described here: https://wiki.archlinux.org/index.php/PRIME#XRandR_specifies_only_1_output_provider
[toc] | [prev] | [next] | [standalone]
| From | Jörg-Volker Peetz <jvpeetz@web.de> |
|---|---|
| Date | 2020-04-11 13:50 +0200 |
| Subject | Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card |
| Message-ID | <zUmO5-3Om-13@gated-at.bofh.it> |
| In reply to | #221186 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Martin <mb0087@gmail.com> |
|---|---|
| Date | 2020-04-11 21:10 +0200 |
| Message-ID | <zUtFT-8d5-3@gated-at.bofh.it> |
| In reply to | #221190 |
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. >
[toc] | [prev] | [next] | [standalone]
| From | Jörg-Volker Peetz <jvpeetz@web.de> |
|---|---|
| Date | 2020-04-12 17:30 +0200 |
| Subject | Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card |
| Message-ID | <zUMIy-2YD-5@gated-at.bofh.it> |
| In reply to | #221228 |
>From which repository did you get your kernel? In case of a missing file I consult https://packages.debian.org/ "Search the contents of packages". There is also the package apt-file. The package linux-headers-5.4.0-4-common from bullseye contains a file /usr/src/linux-headers-5.4.0-4-common/include/drm/drmP.h I don't have access to that GPU or experience with Radeon 520 Mobile. According to https://linux-hardware.org/index.php?id=pci%3A1002-6660-103c-8331 it should be supported by Linux kernel 5.4. Regards, Jörg.
[toc] | [prev] | [next] | [standalone]
| From | Martin <mb0087@gmail.com> |
|---|---|
| Date | 2020-04-12 19:50 +0200 |
| Message-ID | <zUOU2-4eQ-9@gated-at.bofh.it> |
| In reply to | #221322 |
Hi Jörg-Volker and Felix, appreciate your help! Here is the complete output for: sudo dpkg -i amdgpu-core_19.30-934563_all.deb amdgpu-dkms_19.30-934563_all.deb https://pastebin.com/kadr0nyH My sources list is (apart from docker, and skype repos): deb http://deb.debian.org/debian/ unstable main non-free contrib deb-src http://deb.debian.org/debian/ unstable main non-free contrib I did not install that kernel manually, just what I get by "apt dist-upgrade" And I can confirm that the file exists on my system: ls /usr/src/linux-headers-5.4.0-4-common/include/drm/drmP.h /usr/src/linux-headers-5.4.0-4-common/include/drm/drmP.h @Felix, yes, for firmware-amd-graphics apt says it is the newest version: 20190717-2 On Sun, 12 Apr 2020 at 17:23, Jörg-Volker Peetz <jvpeetz@web.de> wrote: > > >From which repository did you get your kernel? > In case of a missing file I consult https://packages.debian.org/ "Search the > contents of packages". There is also the package apt-file. > The package linux-headers-5.4.0-4-common from bullseye contains a file > /usr/src/linux-headers-5.4.0-4-common/include/drm/drmP.h > > I don't have access to that GPU or experience with Radeon 520 Mobile. > According to https://linux-hardware.org/index.php?id=pci%3A1002-6660-103c-8331 > it should be supported by Linux kernel 5.4. > > Regards, > Jörg. >
[toc] | [prev] | [next] | [standalone]
| From | Jörg-Volker Peetz <jvpeetz@web.de> |
|---|---|
| Date | 2020-04-14 10:30 +0200 |
| Subject | Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card |
| Message-ID | <zVp7b-1J6-5@gated-at.bofh.it> |
| In reply to | #221340 |
As far as I understand, kernel 5.4 supports your GPU. What is the outcome of the two commands $ lsmod | grep amdgpu $ find /lib/modules -name 'amdgpu*' The packages you try to install are not from Debian, maybe they are not up to date. Regards, Jörg.
[toc] | [prev] | [next] | [standalone]
| From | Martin <mb0087@gmail.com> |
|---|---|
| Date | 2020-04-14 20:00 +0200 |
| Message-ID | <zVy0O-75l-5@gated-at.bofh.it> |
| In reply to | #221484 |
> $ lsmod | grep amdgpu amdgpu 4923392 0 gpu_sched 36864 1 amdgpu mfd_core 16384 1 amdgpu ttm 122880 2 amdgpu,radeon i2c_algo_bit 16384 3 amdgpu,radeon,i915 drm_kms_helper 212992 3 amdgpu,radeon,i915 drm 548864 9 gpu_sched,drm_kms_helper,amdgpu,radeon,i915,ttm > $ find /lib/modules -name 'amdgpu*' /lib/modules/5.4.0-4-amd64/kernel/drivers/gpu/drm/amd/amdgpu /lib/modules/5.4.0-4-amd64/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko /lib/modules/5.5.0-1-amd64/kernel/drivers/gpu/drm/amd/amdgpu /lib/modules/5.5.0-1-amd64/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko > The packages you try to install are not from Debian, maybe they are not up to date. I will keep trying, especially when I am on kernel 5.5 :)
[toc] | [prev] | [next] | [standalone]
| From | Felix Miata <mrmazda@earthlink.net> |
|---|---|
| Date | 2020-04-11 22:10 +0200 |
| Subject | Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card |
| Message-ID | <zUuBX-kN-1@gated-at.bofh.it> |
| In reply to | #221140 |
Is firmware-amd-graphics installed? -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web