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

Everything about X, Gnome, KDE, ... and everything running on it

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

Postby Laurel » 2018-10-06 07:44

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))
Laurel
 
Posts: 13
Joined: 2018-10-02 11:00

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

Postby bw123 » 2018-10-06 07:59

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??
User avatar
bw123
 
Posts: 3580
Joined: 2011-05-09 06:02
Location: TN_USA

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

Postby Laurel » 2018-10-06 10:31

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?
Laurel
 
Posts: 13
Joined: 2018-10-02 11:00

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

Postby bw123 » 2018-10-06 11:18

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
User avatar
bw123
 
Posts: 3580
Joined: 2011-05-09 06:02
Location: TN_USA

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

Postby Laurel » 2018-10-06 14:51

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
Laurel
 
Posts: 13
Joined: 2018-10-02 11:00

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

Postby arzgi » 2018-10-06 15:24

xorg in /doc/ does not do anything. If you want it to be effective, mv it to
Code: Select all
/etc/X11/xorg.conf
arzgi
 
Posts: 389
Joined: 2008-02-21 17:03
Location: Finland

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

Postby bw123 » 2018-10-06 15:55

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.
User avatar
bw123
 
Posts: 3580
Joined: 2011-05-09 06:02
Location: TN_USA

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

Postby stevepusser » 2018-10-06 17:19

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10278
Joined: 2009-10-06 05:53

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

Postby Laurel » 2018-10-06 19:02

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
Laurel
 
Posts: 13
Joined: 2018-10-02 11:00

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

Postby bw123 » 2018-10-06 19:39

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.
User avatar
bw123
 
Posts: 3580
Joined: 2011-05-09 06:02
Location: TN_USA

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

Postby stevepusser » 2018-10-06 22:09

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10278
Joined: 2009-10-06 05:53

Previous

Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable