Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Ryzen CPU/Vega APU laptop does not detect HDMI dual monitor

Graphical Environments, Managers, Multimedia & Desktop questions.
Message
Author
Laurel
Posts: 27
Joined: 2018-10-02 11:00

Ryzen CPU/Vega APU laptop does not detect HDMI dual monitor

#1 Post by Laurel »

Hey all. I'm delighted to have finally installed Debian on my new Lenovo E585 laptop :D. However, when I plug a HDMI monitor to the HDMI port on the monitor, it does not detect the monitor.
root@uni:~# xrandr
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
root@uni:~# xrandr --listproviders
Providers: number : 0
Here's the VGA-related output of my lspci -v
root@uni:~# lspci -v | grep VGA
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 15dd (rev c3) (prog-if 00 [VGA controller])
Any advice on how to solve this problem? :)

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#2 Post by Segfault »

First step, root does not run X. Log in as user.

Laurel
Posts: 27
Joined: 2018-10-02 11:00

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#3 Post by Laurel »

Hi Segfault, thanks for your help. The results you see were obtained by logging in as a normal user and then invoking su. Not invoking su had the same results.

lshw results in three UNCLAIMED entries, which are listed below:
*-generic UNCLAIMED
description: IOMMU
product: Advanced Micro Devices, Inc. [AMD]
vendor: Advanced Micro Devices, Inc. [AMD]
physical id: 0.2
bus info: pci@0000:00:00.2
version: 00
width: 32 bits
clock: 33MHz
capabilities: msi ht cap_list
configuration: latency=0
*-display UNCLAIMED
description: VGA compatible controller
product: Advanced Micro Devices, Inc. [AMD/ATI]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:05:00.0
version: c3
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
configuration: latency=0
resources: memory:b0000000-bfffffff memory:c0000000-c01fffff ioport:1000(size=256) memory:c0800000-c087ffff memory:c0000-dffff
*-generic UNCLAIMED
description: Encryption controller
product: Advanced Micro Devices, Inc. [AMD]
vendor: Advanced Micro Devices, Inc. [AMD]
physical id: 0.2
bus info: pci@0000:05:00.2
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi msix cap_list
configuration: latency=0
resources: memory:c0700000-c07fffff memory:c088c000-c088dfff

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#4 Post by bw123 »

lscpi has a coulpe of switches, -n -nn and -k that are sometimes helpful. -k can show if the correct kernel driver is being loaded. I would probably rcheck out the entire output instead of grep it for VGA, it's okay to post it, some geeks like to look at hardware info like that. By using grep VGA with the -v switch on lspci, you're editing out the verbose part.

Did you install firmware following the instructions here?
https://wiki.debian.org/AtiHowTo

Do you think maybe the device is too new for stretch kernel? Have you considered testing newer kernel -and- firmware from stretch-backports?

I see you already have a thread on installation on this machine http://forums.debian.net/viewtopic.php? ... 2e#p682292 it's probably a better idea just to keep one thread so you don;t have to repost details.

For posting output from the os, code tags are better than quote blocks. Easier to read. There's also paste.debian.net for very long output, the AtiHowTo link above has instructions for confirming the correct firmware is loading.
Last edited by bw123 on 2018-10-03 12:45, edited 2 times in total.
resigned by AI ChatGPT

Laurel
Posts: 27
Joined: 2018-10-02 11:00

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#5 Post by Laurel »

Hi bw123, thank you for your help :)

Here's the output of lspci -k

Code: Select all

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15d0
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 15d0
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 15d1
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 15d1
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15db
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15dc
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
	Subsystem: Lenovo FCH SMBus Controller
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
	Subsystem: Lenovo FCH LPC Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e8
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e9
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ea
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15eb
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ec
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ed
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ee
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ef
01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a808
	Subsystem: Samsung Electronics Co Ltd Device a801
	Kernel driver in use: nvme
	Kernel modules: nvme
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
	Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
	Kernel driver in use: r8169
	Kernel modules: r8169
03:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
	Subsystem: Lenovo SD/MMC Card Reader Controller
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci_pci
04:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
	Subsystem: Lenovo QCA9377 802.11ac Wireless Network Adapter
	Kernel driver in use: ath10k_pci
	Kernel modules: ath10k_pci
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 15dd (rev c3)
	Subsystem: Lenovo Device 506f
05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de
	Subsystem: Lenovo Device 506f
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 15df
	Subsystem: Lenovo Device 506f
05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e0
	Subsystem: Lenovo Device 506f
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e1
	Subsystem: Lenovo Device 506f
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Device 15e3
	Subsystem: Lenovo Device 5070
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)
	Subsystem: Lenovo FCH SATA Controller [AHCI mode]
	Kernel driver in use: ahci
	Kernel modules: ahci
I didn't install the firmware according to the instructions on the link you provided, but rather the one here:
https://linuxconfig.org/how-to-install- ... etch-linux

bw123 wrote:Do you think maybe the device is too new for stretch kernel? Have you considered testing newer kernel -and- firmware from stretch-backports?

I see you already have a thread on installation on this machine http://forums.debian.net/viewtopic.php? ... 2e#p682292 it's probably a better idea just to keep one thread so you don;t have to repost details.
Let's leave a newer kernel and firmware from stretch backports as a last resort :wink:

Next time I'll post in the same installation thread. I wasn't sure where to post this, and decided to post it separately because people who may have installed it successfully but were looking for HDMI problems with this laptop might overlook a combined thread.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#6 Post by stevepusser »

Firmware is not drivers! All of the open drivers still need to load that non-free firmware from the "firmware-amd-graphics" package, even the amdgpu driver.

If that still doesn't work, then investigate if you need a newer kernel as well as the firmware from stretch-backports. For this, I would suggest updating your hardware ID database so you might get better results than "1509fd" and the like:

as sysadmin:

Code: Select all

update-pciids
update-usbids
Then install inxi and report the results of

Code: Select all

inxi -Gxxx
MX Linux packager and developer

Laurel
Posts: 27
Joined: 2018-10-02 11:00

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#7 Post by Laurel »

Hi stevepusser, thank you for your help :D

Code: Select all

root@uni:~# apt install firmware-amd-graphics
Reading package lists... Done
Building dependency tree       
Reading state information... Done
firmware-amd-graphics is already the newest version (20161130-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Still doesn't detect HDMI-connected monitor.

Did the update-pciids and update-usbids as recommended, and installed inxi. Here's inxi's output:

Code: Select all

root@uni:~# inxi -Gxxx
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
           bus-ID: 05:00.0 chip-ID: 1002:15dd
           Display Server: X.org 1.19.2 drivers: ati,vesa (unloaded: modesetting,fbdev,radeon)
           tty size: 80x24 Advanced Data: N/A for root

lspci -k after the update-pciids:

Code: Select all

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15d0
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 15d0
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 15d1
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 15d1
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15db
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15dc
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
	Subsystem: Lenovo FCH SMBus Controller
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
	Subsystem: Lenovo FCH LPC Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e8
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e9
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ea
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15eb
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ec
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ed
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ee
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ef
01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981
	Subsystem: Samsung Electronics Co Ltd Device a801
	Kernel driver in use: nvme
	Kernel modules: nvme
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
	Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
	Kernel driver in use: r8169
	Kernel modules: r8169
03:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
	Subsystem: Lenovo SD/MMC Card Reader Controller
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci_pci
04:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
	Subsystem: Lenovo QCA9377 802.11ac Wireless Network Adapter
	Kernel driver in use: ath10k_pci
	Kernel modules: ath10k_pci
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c3)
	Subsystem: Lenovo Device 506f
05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de
	Subsystem: Lenovo Device 506f
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 15df
	Subsystem: Lenovo Device 506f
05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e0
	Subsystem: Lenovo Device 506f
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e1
	Subsystem: Lenovo Device 506f
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Device 15e3
	Subsystem: Lenovo Device 5070
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)
	Subsystem: Lenovo FCH SATA Controller [AHCI mode]
	Kernel driver in use: ahci
	Kernel modules: ahci

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#8 Post by stevepusser »

Hmmmm---I seem to recall that Vega is a rather new release, and that the standard Stretch Mesa stack, kernel, firmware, etc, probably won't support it. If it's 2018 release hardware, the odds of that are probably 100%. But there are upgrades to all those packages in the stretch-backports repository.

BTW, don't run commands as root, like you did for inxi, when not specified. That's a bad habit, and there's data missing from the result.
MX Linux packager and developer

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#9 Post by bw123 »

by searching for "vega" on each page, you can see that the firmware isn't in stretch
https://packages.debian.org/stretch/fir ... d-graphics
but it is in stretch-backports
https://packages.debian.org/stretch-bac ... d-graphics

Checking dmesg output like in theAtiHowTo link would probably confirm the firmware is not found.
https://wiki.debian.org/AtiHowTo#Troubleshooting
resigned by AI ChatGPT

Laurel
Posts: 27
Joined: 2018-10-02 11:00

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#10 Post by Laurel »

stevepusser wrote:Hmmmm---I seem to recall that Vega is a rather new release, and that the standard Stretch Mesa stack, kernel, firmware, etc, probably won't support it. If it's 2018 release hardware, the odds of that are probably 100%. But there are upgrades to all those packages in the stretch-backports repository.
OK thanks Steve.
BTW, don't run commands as root, like you did for inxi, when not specified. That's a bad habit, and there's data missing from the result.
OK...I just thought usually hardware related stuff requires root permissions so I stayed as root when tinkering with it.
bw123 wrote:by searching for "vega" on each page, you can see that the firmware isn't in stretch
https://packages.debian.org/stretch/fir ... d-graphics
but it is in stretch-backports
https://packages.debian.org/stretch-bac ... d-graphics

Checking dmesg output like in theAtiHowTo link would probably confirm the firmware is not found.
https://wiki.debian.org/AtiHowTo#Troubleshooting
OK thanks bw123 - I will install the backports firmware and let you all know how it goes :)

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#11 Post by bw123 »

the stable kernel does not support it.

Code: Select all

# modinfo amdgpu | grep -e 15dd -e vega
root@debian:~# uname -a
Linux debian 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u5 (2018-09-30) x86_64 GNU/Linux
resigned by AI ChatGPT

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#12 Post by stevepusser »

Yup...refer to my post above about kernel, Mesa stack, and firmware packages from stretch-backports.
MX Linux packager and developer

Laurel
Posts: 27
Joined: 2018-10-02 11:00

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#13 Post by Laurel »

Hi again all :) . I upgraded my kernel following the very helpful instructions here:

http://jensd.be/818/linux/install-a-new ... tch-stable

HDMI still doesn't work. The following output is with the HDMI cable connected.

Code: Select all

laurel@uni:~$ uname -a
Linux uni 4.17.0-0.bpo.1-amd64 #1 SMP Debian 4.17.8-1~bpo9+1 (2018-07-23) x86_64 GNU/Linux
laurel@uni:~$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
   1920x1080      0.00* 

Code: Select all

root@uni:~# modinfo amdgpu | grep -e 15dd -e vega
firmware:       amdgpu/vega12_gpu_info.bin
firmware:       amdgpu/vega10_gpu_info.bin
firmware:       amdgpu/vega12_asd.bin
firmware:       amdgpu/vega12_sos.bin
firmware:       amdgpu/vega10_asd.bin
firmware:       amdgpu/vega10_sos.bin
firmware:       amdgpu/vega12_rlc.bin
firmware:       amdgpu/vega12_mec2.bin
firmware:       amdgpu/vega12_mec.bin
firmware:       amdgpu/vega12_me.bin
firmware:       amdgpu/vega12_pfp.bin
firmware:       amdgpu/vega12_ce.bin
firmware:       amdgpu/vega10_rlc.bin
firmware:       amdgpu/vega10_mec2.bin
firmware:       amdgpu/vega10_mec.bin
firmware:       amdgpu/vega10_me.bin
firmware:       amdgpu/vega10_pfp.bin
firmware:       amdgpu/vega10_ce.bin
firmware:       amdgpu/vega12_sdma1.bin
firmware:       amdgpu/vega12_sdma.bin
firmware:       amdgpu/vega10_sdma1.bin
firmware:       amdgpu/vega10_sdma.bin
firmware:       amdgpu/vega12_uvd.bin
firmware:       amdgpu/vega10_uvd.bin
firmware:       amdgpu/vega12_vce.bin
firmware:       amdgpu/vega10_vce.bin
firmware:       amdgpu/vega12_smc.bin
firmware:       amdgpu/vega10_acg_smc.bin
firmware:       amdgpu/vega10_smc.bin

Code: Select all

laurel@uni:~$ inxi -Gxxx
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
           bus-ID: 05:00.0 chip-ID: 1002:15dd
           Display Server: X.Org 1.19.2 drivers: ati,vesa (unloaded: modesetting,fbdev,radeon)
           Resolution: 1920x1080@0.00hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits)
           GLX Version: 3.0 Mesa 13.0.6 Direct Rendering: Yes
Last edited by Laurel on 2018-10-06 07:37, edited 1 time in total.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#14 Post by bw123 »

The latest kernel from backports is installed by the metapackage linux-image-amd64,
https://packages.debian.org/search?keyw ... mage-amd64
if you use this you get the latest and it stays updated as newer kernels are uploaded to backports.
Hi again all :) . I upgraded my kernel following the very helpful instructions here:

http://jensd.be/818/linux/install-a-new ... tch-stable
...
I disagreed with the guide in a couple of ways, and it obviously did not work for you. You got an older kernel, not the latest available.
https://backports.debian.org/
resigned by AI ChatGPT

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#15 Post by stevepusser »

Some users of AMD GPUs also might be affected by this bug in 4.18 kernels: https://www.phoronix.com/scan.php?page= ... Power-Draw

Support for newer hardware also depends on the Mesa stack and firmware packages in backports--libgl1-mesa-dri and libgl1-mesa-glx, for example.
MX Linux packager and developer

Laurel
Posts: 27
Joined: 2018-10-02 11:00

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#16 Post by Laurel »

Hi again. I updated the kernel from 4.17 to 4.18. Still no joy with the HDMI connection.

Code: Select all

laurel@uni:~$ uname -a
Linux uni 4.18.0-0.bpo.1-amd64 #1 SMP Debian 4.18.6-1~bpo9+1 (2018-09-13) x86_64 GNU/Linux
laurel@uni:~$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
   1920x1080      0.00* 
Thank you all for your help and your time...I think I will raise the white flag on this problem and try another Linux distro until Debian (my preferred distro) will work with this out of the box. Can anyone suggest a Linux distro that would work out of the box with the Vega APUs and also the wifi? (Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31))

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#17 Post by bw123 »

http://linux.oneandoneis2.org/LNW.htm

...
New: I still don't see why they can't supply it as a car so people who want a car have got one, and other people can take it apart if they want to. Anyway, I finally got it put together, but some bits come off occasionally. What do I do about this? Can I glue it?

Old: It's Lego. It's designed to come apart. That's the whole point.

New: But I don't want it to come apart. I just want a toy car!

Old: Then why on Earth did you buy a box of Lego??
resigned by AI ChatGPT

Laurel
Posts: 27
Joined: 2018-10-02 11:00

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#18 Post by Laurel »

bw123 wrote:http://linux.oneandoneis2.org/LNW.htm

...
New: I still don't see why they can't supply it as a car so people who want a car have got one, and other people can take it apart if they want to. Anyway, I finally got it put together, but some bits come off occasionally. What do I do about this? Can I glue it?

Old: It's Lego. It's designed to come apart. That's the whole point.

New: But I don't want it to come apart. I just want a toy car!

Old: Then why on Earth did you buy a box of Lego??
:roll: OK fine...thank you for the pep talk. What do we try to do next?

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#19 Post by bw123 »

I installed the latest kernel from bpo, and your device pciid is listed in the amdgpu module, so I'm assuming you still have a firmware issue that is keeping the amdgpu module from loading at bootup. Without the firmware, it doesn't work. Make sure the firmware is found, it's reported in dmesg. The AtiHowTo wiki page has the instructions under "Troubleshooting."

If it is loading the firmware, but still not using amdgpu, then I'd think the next step is ask x to use amdgpu module in a .conf file like the AtiHowTo wiki page says.

Code: Select all

# modinfo amdgpu | grep -i 15dd
alias:          pci:v00001002d000015DDsv*sd*bc*sc*i*
# uname -a
Linux debian 4.18.0-0.bpo.1-amd64 #1 SMP Debian 4.18.6-1~bpo9+1 (2018-09-13) x86_64 GNU/Linux
Steve listed some other pkgs you will probably have to upgrade, so here's my short list of what you can try from backports. I might not upgrade all these at once, but it might be necessary?

Code: Select all

apt policy linux-image-amd64 firmware-amd-graphics libgl1-mesa-dri libgl1-mesa-glx
resigned by AI ChatGPT

Laurel
Posts: 27
Joined: 2018-10-02 11:00

Re: Ryzen CPU/Vega APU laptop does not detect HDMI dual moni

#20 Post by Laurel »

Hi bw123. Thank you again for your help and time.

Firstly, firmware version 20161130-3 is installed (if that is a date in the firmware version, is it ~2 years too old?)

Code: Select all

root@uni:~# apt install firmware-amd-graphics
Reading package lists... Done
Building dependency tree       
Reading state information... Done
firmware-amd-graphics is already the newest version (20161130-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Also, as per the AtiHowTo wiki, firmware-linux-nonfree, libg1-mesa-dri and xserver-xorg-video-ati are all installed.

dmesg results:
One question I had, is the UUID below that I edited out a unique identifier to the hard drive (like a serial number) or does it change with each format?

Code: Select all

root@uni:~# dmesg | grep amd
[    0.000000] Linux version 4.18.0-0.bpo.1-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 SMP Debian 4.18.6-1~bpo9+1 (2018-09-13)
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.18.0-0.bpo.1-amd64 root=UUID=(removed) ro modprobe.blacklist=ideapad_laptop ivrs_ioapic[32]=00:14.0 ivrs_ioapic[33]=00:00.1 quiet
[    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-4.18.0-0.bpo.1-amd64 root=UUID=(removed) ro modprobe.blacklist=ideapad_laptop ivrs_ioapic[32]=00:14.0 ivrs_ioapic[33]=00:00.1 quiet
[    0.505574] amd_uncore: AMD NB counters detected
[    0.505577] amd_uncore: AMD LLC counters detected
[    1.259548] usb usb1: Manufacturer: Linux 4.18.0-0.bpo.1-amd64 xhci-hcd
[    1.260291] usb usb2: Manufacturer: Linux 4.18.0-0.bpo.1-amd64 xhci-hcd
[    1.262068] usb usb3: Manufacturer: Linux 4.18.0-0.bpo.1-amd64 xhci-hcd
[    1.262515] usb usb4: Manufacturer: Linux 4.18.0-0.bpo.1-amd64 xhci-hcd
[   31.621972] EDAC amd64: Node 0: DRAM ECC disabled.
[   31.621974] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.
[   31.687318] [drm] amdgpu kernel modesetting enabled.
[   31.728115] amdgpu 0000:05:00.0: firmware: failed to load amdgpu/raven_gpu_info.bin (-2)
[   31.728117] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/raven_gpu_info.bin failed with error -2
[   31.728119] amdgpu 0000:05:00.0: Failed to load gpu_info firmware "amdgpu/raven_gpu_info.bin"
[   31.728120] amdgpu 0000:05:00.0: Fatal error during GPU init
[   31.728122] [drm] amdgpu: finishing device.
[   31.728753] amdgpu: probe of 0000:05:00.0 failed with error -2
root@uni:~# dmesg | grep radeon
root@uni:~# dmesg | grep ati
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] No NUMA configuration found
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ftrace: allocating 31200 entries in 122 pages
[    0.000000] Hierarchical RCU implementation.
[    0.020000] tsc: Fast TSC calibration using PIT
[    0.024000] Calibrating delay loop (skipped), value calculated using timer frequency.. 4391.62 BogoMIPS (lpj=8783252)
[    0.030557] Spectre V2 : Mitigation: Full AMD retpoline
[    0.030558] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.030558] Spectre V2 : Spectre v2 mitigation: Enabling Indirect Branch Prediction Barrier
[    0.030559] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[    0.035607] Freeing SMP alternatives memory: 24K
[    0.040000] Hierarchical SRCU implementation.
[    0.041295] x86: Booting SMP configuration:
[    0.043729] TSC synchronization [CPU#0 -> CPU#1]:
[    0.057973] PCI: Using configuration type 1 for base access
[    0.057973] PCI: Using configuration type 1 for extended access
[    0.057973] mtrr: corrected configuration.
[    0.095469] acpi PNP0A08:00: FADT indicates ASPM is unsupported, using BIOS configuration
[    0.119722] acpi USBC000:00: platform device creation failed: -16
[    1.258485] AES CTR mode by8 optimization enabled
[   31.496545] Non-volatile memory driver v1.3
[   31.524383] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one
[   31.614122] kvm: Nested Virtualization enabled
[   31.726709] Creating topology SYSFS entries
[   31.728115] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[   35.009758] audit: type=1400 audit(1538813343.724:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince" pid=627 comm="apparmor_parser"
[   35.010303] audit: type=1400 audit(1538813343.724:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince//sanitized_helper" pid=627 comm="apparmor_parser"
[   35.011302] audit: type=1400 audit(1538813343.724:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince-previewer" pid=627 comm="apparmor_parser"
[   35.011546] audit: type=1400 audit(1538813343.724:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince-previewer//sanitized_helper" pid=627 comm="apparmor_parser"
[   35.012376] audit: type=1400 audit(1538813343.728:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince-thumbnailer" pid=627 comm="apparmor_parser"
[   35.012642] audit: type=1400 audit(1538813343.728:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince-thumbnailer//sanitized_helper" pid=627 comm="apparmor_parser"
[   35.102465] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  293.832812] xor: automatically using best checksumming function   avx       
[  352.880852] JBD2: Error -5 detected when updating journal superblock for sda1-8.
[  352.880861] JBD2: Error -5 detected when updating journal superblock for sda1-8.
root@uni:~# dmesg | grep -E radeon

My xorg.conf file is located in /usr/share/doc/xserver-xorg-video-intel/xorg.conf . According to the Debian xorg manpages, this is not where the file is supposed to reside...
Its contents:

Code: Select all

Section "Device"
	Identifier "Intel"
	Driver "intel"
#	Option "AccelMethod" "uxa"
EndSection

Code: Select all

root@uni:~# apt policy linux-image-amd64 firmware-amd-graphics libgl1-mesa-dri libgl1-mesa-glx
linux-image-amd64:
  Installed: (none)
  Candidate: 4.9+80+deb9u6
  Version table:
     4.18+98~bpo9+1 100
        100 http://ftp.debian.org/debian stretch-backports/main amd64 Packages
     4.9+80+deb9u6 500
        500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
        500 http://deb.debian.org/debian-security stretch/updates/main amd64 Packages
     4.9+80+deb9u5 500
        500 cdrom://[Debian GNU/Linux 9.5.0 _Stretch_ - Official amd64 DVD Binary-1 20180714-10:25] stretch/main amd64 Packages
        500 http://deb.debian.org/debian stretch/main amd64 Packages
firmware-amd-graphics:
  Installed: 20161130-3
  Candidate: 20161130-3
  Version table:
 *** 20161130-3 500
        500 http://deb.debian.org/debian stretch/non-free amd64 Packages
        100 /var/lib/dpkg/status
libgl1-mesa-dri:
  Installed: 13.0.6-1+b2
  Candidate: 13.0.6-1+b2
  Version table:
     18.1.6-1~bpo9+1 100
        100 http://ftp.debian.org/debian stretch-backports/main amd64 Packages
 *** 13.0.6-1+b2 500
        500 cdrom://[Debian GNU/Linux 9.5.0 _Stretch_ - Official amd64 DVD Binary-1 20180714-10:25] stretch/main amd64 Packages
        500 http://deb.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
libgl1-mesa-glx:
  Installed: 13.0.6-1+b2
  Candidate: 13.0.6-1+b2
  Version table:
     18.1.6-1~bpo9+1 100
        100 http://ftp.debian.org/debian stretch-backports/main amd64 Packages
 *** 13.0.6-1+b2 500
        500 cdrom://[Debian GNU/Linux 9.5.0 _Stretch_ - Official amd64 DVD Binary-1 20180714-10:25] stretch/main amd64 Packages
        500 http://deb.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status

Post Reply