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
arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

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

#21 Post by arzgi »

xorg in /doc/ does not do anything. If you want it to be effective, mv it to

Code: Select all

/etc/X11/xorg.conf

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

#22 Post by bw123 »

Laurel wrote: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?)
yeah, you said you as going to install the firmware from backports, I guess you never got around to it. I sent a link, you can either download the .deb and install it or add the non-free to the backports repo and it will show up.

Just get the kernel and the firmware correct and I bet you be pleasantly surprised. They both need to be from backports. I'm sure stevepusser will help you with the rest once the basics are done.
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

#23 Post by stevepusser »

arzgi wrote:xorg in /doc/ does not do anything. If you want it to be effective, mv it to

Code: Select all

/etc/X11/xorg.conf
DON'T move that example Intel conf file to the working directory if you don't have Intel graphics, unless you want to break your GUI for some reason. :!: :!: :!: :!: :!: For the most part, the free drivers don't need a conf file unless you need to specify some non-default options.

I'm pretty sure that you also need to upgrade the mesa packages from backports, too.
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

#24 Post by Laurel »

Woohoo :D :D :D :D

It is working. I manually downloaded the backports firmware-amd-graphics_20180825+dfsg-1~bpo9+1_all.deb and "dpkg -i" it.

Code: Select all

laurel@uni:~$ xrandr
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384
eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080     60.03*+  59.93  
   1680x1050     60.03    59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1280x1024     60.03    60.02  
   1440x900      60.03    59.89  
   1280x960      60.00  
   1360x768      59.80    59.96  
   1280x800      60.03  
   1152x864      60.00  
   1280x720      60.03  
   1024x768      60.03    60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   960x600       60.00  
   960x540       59.99  
   800x600       60.03    60.00    60.32    56.25  
   840x525       60.01    59.88  
   800x512       60.17  
   700x525       59.98  
   640x512       60.02  
   720x450       59.89  
   640x480       60.03    60.00    59.94  
   680x384       59.80    59.96  
   576x432       60.06  
   512x384       60.00  
   400x300       60.32    56.34  
   320x240       60.05  
HDMI-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 477mm x 268mm
   1920x1080     60.00*+  50.00    59.94    59.93  
   1680x1050     69.88    59.95    59.88  
   1600x1024     60.17  
   1400x1050     74.76    70.00    59.98  
   1280x1024     75.02    60.02  
   1440x900      59.89    59.90  
   1280x960      60.00  
   1360x768      59.80    59.96  
   1280x800      60.00  
   1152x864      75.00    75.00    70.00    60.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.05    60.04    75.03    70.07    60.00  
   960x720       75.00    60.00  
   928x696       75.00    60.05  
   896x672       75.05    60.01  
   960x600       60.00  
   832x624       74.55  
   960x540       59.99  
   800x600       75.00    70.00    65.00    60.00    72.19    75.00    60.32    56.25  
   840x525       74.96    69.88    60.01    59.88  
   720x576       50.00  
   800x512       60.17  
   700x525       74.76    70.06    59.98  
   720x480       60.00    59.94  
   640x512       75.02    60.02  
   720x450       59.89  
   640x480       60.00    75.00    72.81    75.00    66.67    60.00    59.94  
   720x400       70.08  
   680x384       59.80    59.96  
   576x432       75.00    75.00    70.00    60.06  
   512x384       75.03    70.07    60.00  
   416x312       74.66  
   400x300       72.19    75.12    60.32    56.34  
   320x240       72.81    75.00    60.05  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)

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: 20180825+dfsg-1~bpo9+1
  Candidate: 20180825+dfsg-1~bpo9+1
  Version table:
 *** 20180825+dfsg-1~bpo9+1 100
        100 /var/lib/dpkg/status
     20161130-3 500
        500 http://deb.debian.org/debian stretch/non-free amd64 Packages
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

So to summarise the solution:
Change /etc/apt/sources.list to add non-free and backports

Code: Select all

deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ stretch/updates main contrib non-free

deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free

deb http://ftp.debian.org/debian stretch-backports main
Update kernel, remove old kernel for housekeeping

Code: Select all

  apt-get install aptitude
  aptitude search linux-image
  apt-get -t stretch-backports upgrade
  aptitude search linux-image
  apt-get -t stretch-backports install linux-image-4.18.0-0.bpo.1-amd64
  reboot
  dpkg --get-selections | grep linux-image
  apt-get remove linux-image-4.9.0-7-amd64
  apt-get remove linux-image-4.9.0-8-amd64
Download firmware-amd-graphics_20180825+dfsg-1~bpo9+1_all.deb and install it

Thank you everyone, but especially stevepusser and bw123 for your time, patience and help :D

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

#25 Post by bw123 »

Laurel wrote:
...
Update kernel, remove old kernel for housekeeping
...
This one of the things in the guide you linked that I disagree with. I used to do this, but with only one kernel installed, from backports, if there is ever an issue, say with network stack, or a regression that breaks your video, you're going to be stranded and have to manually transfer a working kernel by usb, or a live system. For that reason, I always leave the stable kernel installed.

I'm glad you hung in there and thanks for posting all the info.
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

#26 Post by stevepusser »

Well, it boils down to this:

Newly released hardware very often requires a newer kernel and firmware packages from backports, especially as the the stable version ages. Stretch was frozen near the end of 2016, I think. Often, you may need a newer Mesa stack or proprietary driver from backports, also.
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 monitor

#27 Post by Laurel »

Dear all, it's a few years hence and I hope everyone is doing well :)

I've upgraded my laptop to Debian 11.1, and followed the Debian AtiHowTo guide here.

https://wiki.debian.org/AtiHowTo

Unfortunately the HDMI port was not working :oops: .

I then installed the 5.14 backports linux-image-amd64, over the existing 5.10 one, still with no luck.

I'd be happy to try any suggestions. Thank you in advance.

Output of inxi:

Code: Select all

Graphics:  Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] vendor: Lenovo driver: amdgpu v: kernel
           bus-ID: 05:00.0 chip-ID: 1002:15dd class-ID: 0300
           Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo bus-ID: 3-2:3 chip-ID: 13d3:56a6 class-ID: 0e02
           serial: 0001
           Display: server: X.Org 1.20.11 compositor: xfwm4 v: 4.16.1 driver: loaded: amdgpu,ati
           unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz s-dpi: 96
           OpenGL: renderer: AMD Radeon Vega 3 Graphics (RAVEN DRM 3.42.0 5.14.0-0.bpo.2-amd64 LLVM 11.0.1) v: 4.6 Mesa 20.3.5
           direct render: Yes
Output of xrandr:

Code: Select all

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080     60.03*+
   1680x1050     60.03  
   1280x1024     60.03  
   1440x900      60.03  
   1280x800      60.03  
   1280x720      60.03  
   1024x768      60.03  
   800x600       60.03  
   640x480       60.03  
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
Output of apt policy

Code: Select all

linux-image-amd64:
  Installed: (none)
  Candidate: 5.10.70-1
  Version table:
     5.14.9-2~bpo11+1 100
        100 http://ftp.debian.org/debian bullseye-backports/main amd64 Packages
     5.10.70-1 500
        500 cdrom://[Debian GNU/Linux 11.1.0 _Bullseye_ - Official amd64 DVD Binary-1 20211009-10:08] bullseye/main amd64 Packages
        500 http://deb.debian.org/debian bullseye/main amd64 Packages
        100 /var/lib/dpkg/status
     5.10.46-5 500
        500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
firmware-amd-graphics:
  Installed: 20210315-3
  Candidate: 20210315-3
  Version table:
 *** 20210315-3 500
        500 http://deb.debian.org/debian bullseye/non-free amd64 Packages
        100 /var/lib/dpkg/status
libgl1-mesa-dri:
  Installed: 20.3.5-1
  Candidate: 20.3.5-1
  Version table:
 *** 20.3.5-1 500
        500 cdrom://[Debian GNU/Linux 11.1.0 _Bullseye_ - Official amd64 DVD Binary-1 20211009-10:08] bullseye/main amd64 Packages
        500 http://deb.debian.org/debian bullseye/main amd64 Packages
        100 /var/lib/dpkg/status
libgl1-mesa-glx:
  Installed: 20.3.5-1
  Candidate: 20.3.5-1
  Version table:
 *** 20.3.5-1 500
        500 cdrom://[Debian GNU/Linux 11.1.0 _Bullseye_ - Official amd64 DVD Binary-1 20211009-10:08] bullseye/main amd64 Packages
        500 http://deb.debian.org/debian bullseye/main amd64 Packages
        100 /var/lib/dpkg/status

cfb
Posts: 52
Joined: 2017-01-08 16:39
Been thanked: 5 times

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

#28 Post by cfb »

This is just a stab in the dark:
Have you looked in BIOS/UEFI?
In my ThinkPad (another model), there is a "Display" setting that might be relevant.

Another thing:
Are you using the latest BIOS/UEFI version?
If not you could try upgrading.

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

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

#29 Post by Laurel »

Hi cfb, yes I did just update the BIOS. It's version is 1.58 (2020-11-17). I wanted to try Qubes :wink: (this is a Debian forum!) and couldn't because Qubes doesn't work with AMD Virtualization technology. I was hoping a BIOS update might change that, no luck though.

I reinstalled Debian 11.1, appended "contrib non-free" to all the options of apt's sources.list, and re-did the AtiHowTo Debian Wiki. The dual monitor setup works now :D

I found it interesting that the HDMI port mirrors what is on the laptop's screen before the full disk encryption password is entered - which I guess means the issue before, and the fix, was the firmware?

Once the disk is unlocked and the desktop environment loaded, it changes from a mirrored display to a split display.

cfb
Posts: 52
Joined: 2017-01-08 16:39
Been thanked: 5 times

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

#30 Post by cfb »

It was maybe not clear in what I wrote, but the "Display" setting is in the BIOS/UEFI, not in Debian.
Have you checked that?

Other than that I cannot help you. Sorry! :(

Post Reply