Peppermint OS Community Forum

Support => Hardware => Topic started by: emegra on March 18, 2019, 12:23:18 pm

Title: AMD Vega series driver
Post by: emegra on March 18, 2019, 12:23:18 pm
Hi guys
I've just installed PM9 on a friends PC and I'm having issues with graphics, to begin with I had to set the nomodeset boot parameter permanent to get it to boot, but even when booted the graphics aren't quite right, ie I cant get full screen video in SM player.
This is what I get

(https://i.imgur.com/SGTdsOh.png)

and VLC instantly crashess when I try to run a .mkv, Media player will run a video in full screen but it.s very stuttery, I'm sure this is a graphics driver issue but there's no additional drivers being offered, this is a brand new PC and there may not be a Linux driver for this GPU, I'm hoping I'm wrong

Here's the system specs
Code: [Select]
grant@Grant-Linux ~ $ inxi -F
System:    Host: Grant-Linux Kernel: 4.15.0-46-generic x86_64 bits: 64 Desktop: N/A
           Distro: Peppermint Nine
Machine:   Device: desktop System: Gigabyte product: B450M DS3H serial: N/A
           Mobo: Gigabyte model: B450M DS3H-CF v: x.x serial: N/A
           UEFI [Legacy]: American Megatrends v: F3 date: 12/24/2018
CPU:       Quad core AMD Ryzen 5 2400G with Radeon Vega Graphics (-MT-MCP-)
           cache: 2048 KB
           clock speeds: max: 3600 MHz 1: 1480 MHz 2: 1442 MHz 3: 1632 MHz
           4: 1589 MHz 5: 2742 MHz 6: 2942 MHz 7: 1421 MHz 8: 1463 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
           Display Server: x11 (X.Org 1.19.6 )
           drivers: fbdev,ati (unloaded: modesetting,vesa,radeon)
           Resolution: 1920x1080@77.00hz
           OpenGL: renderer: llvmpipe (LLVM 7.0, 128 bits) version: 3.3 Mesa 18.2.2
Audio:     Card-1 Advanced Micro Devices [AMD] Device 15e3 driver: snd_hda_intel
           Card-2 Advanced Micro Devices [AMD/ATI] Device 15de
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.15.0-46-generic
Network:   Card: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: b4:2e:99:41:3c:91
Drives:    HDD Total Size: 504.0GB (6.3% used)
           ID-1: /dev/nvme0n1 model: CT500P1SSD8 size: 500.1GB
           ID-2: USB /dev/sda model: DataTraveler_G3 size: 3.9GB
Partition: ID-1: / size: 182G used: 30G (18%) fs: ext4 dev: /dev/nvme0n1p5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 26.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 247 Uptime: 4:02 Memory: 4398.9/5970.9MB
           Client: Shell (bash) inxi: 2.3.56
grant@Grant-Linux ~ $ lshw --display

Any help would be much appreciated


Graeme

Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 18, 2019, 12:45:45 pm
I gather the AMD Ryzen 5 2400G requires kernel >= 4.17 to function properly, try switching to the hwe-18.04 which will pull in the 4.18 kernel and graphics stack:
Code: [Select]
sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
then REBOOT.

After rebooting:-

a) check you're on the 4.18 kernel with
Code: [Select]
uname -a
and

b) see if graphics are working better .. and post the output from
Code: [Select]
inxi -Fz
again.
Title: Re: AMD Vega series driver
Post by: emegra on March 18, 2019, 01:15:40 pm
Hi Mark thanks for your help4.18
 I did as you suggested and sadly it's not improved the graphics at all I'm now definitely on the 4.18 kernel

Code: [Select]
grant@Grant-Linux ~ $ uname -a
Linux Grant-Linux 4.18.0-16-generic #17~18.04.1-Ubuntu SMP Tue Feb 12 13:35:51 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
grant@Grant-Linux ~ $

and here's the specs as requested
Code: [Select]
grant@Grant-Linux ~ $ inxi -Fz
System:    Host: Grant-Linux Kernel: 4.18.0-16-generic x86_64 bits: 64 Desktop: N/A
           Distro: Peppermint Nine
Machine:   Device: desktop System: Gigabyte product: B450M DS3H serial: N/A
           Mobo: Gigabyte model: B450M DS3H-CF v: x.x serial: N/A
           UEFI [Legacy]: American Megatrends v: F3 date: 12/24/2018
CPU:       Quad core AMD Ryzen 5 2400G with Radeon Vega Graphics (-MT-MCP-)
           cache: 2048 KB
           clock speeds: max: 3600 MHz 1: 1973 MHz 2: 2022 MHz 3: 1386 MHz
           4: 1421 MHz 5: 2408 MHz 6: 2301 MHz 7: 1421 MHz 8: 1414 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
           Display Server: x11 (X.Org 1.20.1 )
           drivers: fbdev,ati (unloaded: modesetting,vesa,radeon)
           Resolution: 1920x1080@77.00hz
           OpenGL: renderer: llvmpipe (LLVM 7.0, 128 bits) version: 3.3 Mesa 18.2.2
Audio:     Card-1 Advanced Micro Devices [AMD] Device 15e3 driver: snd_hda_intel
           Card-2 Advanced Micro Devices [AMD/ATI] Device 15de
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.18.0-16-generic
Network:   Card: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 504.0GB (6.5% used)
           ID-1: /dev/nvme0n1 model: CT500P1SSD8 size: 500.1GB
           ID-2: USB /dev/sda model: DataTraveler_G3 size: 3.9GB
Partition: ID-1: / size: 182G used: 31G (18%) fs: ext4 dev: /dev/nvme0n1p5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 16.8C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 232 Uptime: 8 min Memory: 747.6/5970.7MB
           Client: Shell (bash) inxi: 2.3.56
grant@Grant-Linux ~ $


Many thanks

Graeme






   
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 18, 2019, 01:37:24 pm
does running
Code: [Select]
sudo update-pciids
then rebooting make any difference ?
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 18, 2019, 01:53:34 pm
According to this
http://ubuntuhandbook.org/index.php/2019/01/install-mesa-18-2-8-ppa-ubuntu-18-04-18-10/

Quote
Add the new Vega M, Vega 10, and Vega 20 PCI IDs

you may need an updated version of mesa ( >= 18.2.8 )

Can you post the output from
Code: [Select]
glxinfo | grep "OpenGL version"
whilst I test the version in X-Swat ( 18.3.3 )
Title: Re: AMD Vega series driver
Post by: emegra on March 18, 2019, 02:08:35 pm
ok updating pclids made no difference
here's the output

Code: [Select]
grant@Grant-Linux ~ $ sudo update-pciids
[sudo] password for grant:
Downloaded daily snapshot dated 2019-03-16 03:15:01
grant@Grant-Linux ~ $

Here's the output you requested

Code: [Select]
grant@Grant-Linux ~ $ glxinfo | grep "OpenGL version"
OpenGL version string: 3.1 Mesa 18.2.2
grant@Grant-Linux ~ $


Graeme


Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 18, 2019, 02:10:27 pm
Okay try this
Code: [Select]
sudo add-apt-repository ppa:ubuntu-x-swat/updates
then
Code: [Select]
sudo apt-get update
then
Code: [Select]
sudo apt-get upgrade
then REBOOT.

After rebooting:-

a) check if graphics are better

b) post the output from
Code: [Select]
inxi -Fz
and
Code: [Select]
glxinfo | grep "OpenGL version"
and
Code: [Select]
dpkg -l | grep mesa



If that worked, it may be a good idea to now disable the x-swat PPA ;)
Title: Re: AMD Vega series driver
Post by: emegra on March 18, 2019, 02:43:51 pm
Thanks for the help, the PC in question is in my work office so I wont be able to follow your instructions until the morning now but I'll try to do it first thing and get back to you



Many thanks

Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 18, 2019, 03:00:21 pm
Okay Graeme .. please do let me know though :)
Title: Re: AMD Vega series driver
Post by: emegra on March 19, 2019, 04:15:05 am
Ok Mark I followed your instructions unfortunately no difference to report :(

Here's the output you requested

Code: [Select]
grant@Grant-Linux ~ $ inxi -Fz
System:    Host: Grant-Linux Kernel: 4.18.0-16-generic x86_64 bits: 64 Desktop: N/A
           Distro: Peppermint Nine
Machine:   Device: desktop System: Gigabyte product: B450M DS3H serial: N/A
           Mobo: Gigabyte model: B450M DS3H-CF v: x.x serial: N/A
           UEFI [Legacy]: American Megatrends v: F3 date: 12/24/2018
CPU:       Quad core AMD Ryzen 5 2400G with Radeon Vega Graphics (-MT-MCP-)
           cache: 2048 KB
           clock speeds: max: 3600 MHz 1: 1414 MHz 2: 1355 MHz 3: 2968 MHz
           4: 2963 MHz 5: 1351 MHz 6: 1351 MHz 7: 1351 MHz 8: 1350 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
           Display Server: x11 (X.Org 1.20.1 )
           drivers: fbdev,ati (unloaded: modesetting,vesa,radeon)
           Resolution: 1920x1080@77.00hz
           OpenGL: renderer: llvmpipe (LLVM 7.0, 128 bits) version: 3.3 Mesa 18.3.3
Audio:     Card-1 Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
           driver: snd_hda_intel
           Card-2 Advanced Micro Devices [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.18.0-16-generic
Network:   Card: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 504.0GB (6.5% used)
           ID-1: /dev/nvme0n1 model: CT500P1SSD8 size: 500.1GB
           ID-2: USB /dev/sda model: DataTraveler_G3 size: 3.9GB
Partition: ID-1: / size: 182G used: 31G (18%) fs: ext4 dev: /dev/nvme0n1p5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 16.8C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 252 Uptime: 3 min Memory: 707.4/5970.7MB
           Client: Shell (bash) inxi: 2.3.56

Code: [Select]
grant@Grant-Linux ~ $ glxinfo | grep "OpenGL version"
OpenGL version string: 3.1 Mesa 18.3.3
grant@Grant-Linux ~ $

Code: [Select]
grant@Grant-Linux ~ $ dpkg -l | grep mesa
ii  libegl-mesa0:amd64                    18.3.3-1ubuntu1~18.04~ppa1                      amd64        free implementation of the EGL API -- Mesa vendor library
ii  libegl1-mesa:amd64                    18.3.3-1ubuntu1~18.04~ppa1                      amd64        transitional dummy package
ii  libgl1-mesa-dri:amd64                 18.3.3-1ubuntu1~18.04~ppa1                      amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-dri:i386                  18.3.3-1ubuntu1~18.04~ppa1                      i386         free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:amd64                 18.3.3-1ubuntu1~18.04~ppa1                      amd64        transitional dummy package
ii  libgl1-mesa-glx:i386                  18.3.3-1ubuntu1~18.04~ppa1                      i386         transitional dummy package
ii  libglapi-mesa:amd64                   18.3.3-1ubuntu1~18.04~ppa1                      amd64        free implementation of the GL API -- shared library
ii  libglapi-mesa:i386                    18.3.3-1ubuntu1~18.04~ppa1                      i386         free implementation of the GL API -- shared library
ii  libglu1-mesa:amd64                    9.0.0-2.1build1                                 amd64        Mesa OpenGL utility library (GLU)
ii  libglu1-mesa:i386                     9.0.0-2.1build1                                 i386         Mesa OpenGL utility library (GLU)
ii  libglx-mesa0:amd64                    18.3.3-1ubuntu1~18.04~ppa1                      amd64        free implementation of the OpenGL API -- GLX vendor library
ii  libglx-mesa0:i386                     18.3.3-1ubuntu1~18.04~ppa1                      i386         free implementation of the OpenGL API -- GLX vendor library
ii  libwayland-egl1-mesa:amd64            18.3.3-1ubuntu1~18.04~ppa1                      amd64        transitional dummy package
ii  mesa-utils                            8.4.0-1                                         amd64        Miscellaneous Mesa GL utilities
grant@Grant-Linux ~ $



Graeme


Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 19, 2019, 04:37:13 am
run:
Code: [Select]
dmesg > ~/Desktop/dmesg.txt
then look through the file that just appeared on your desktop called "dmesg.txt"

host it somewhere like:-
http://www.tinyupload.com/
and provide me a link to it.

Meanwhile I'll keep digging :)
Title: Re: AMD Vega series driver
Post by: emegra on March 19, 2019, 05:34:32 am


http://s000.tinyupload.com/?file_id=50713959014986196208 (http://s000.tinyupload.com/?file_id=50713959014986196208)

If it's any help I tried an mp4 and it works fine in SM Player, VLC & Media Player no visible problem,

The file I've been testing so far (the one I'm having problems with)  is a .MKV which works fine in my other PC's and which doesn't have nearly as much horse power as this thing.


Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 19, 2019, 05:44:40 am
Any chance you can download the 19.04 daily ISO and try it as a LiveUSB .. then install inxi in it
Code: [Select]
sudo apt-get update && sudo apt-get install inxi
then post the output from
Code: [Select]
inxi -Fz
from it.
Title: Re: AMD Vega series driver
Post by: emegra on March 19, 2019, 06:10:23 am
Where do I get the 19.04 build ?




Graeme
Title: Re: AMD Vega series driver
Post by: pin on March 19, 2019, 07:05:43 am
Here, http://cdimage.ubuntu.com/daily-live/current/
Title: Re: AMD Vega series driver
Post by: emegra on March 19, 2019, 07:08:35 am
Thanks pin I got it burning it now :)



Graeme
Title: Re: AMD Vega series driver
Post by: emegra on March 19, 2019, 07:21:43 am
I'm unable to install inxi unable to locate package

Code: [Select]
[code]ubuntu@ubuntu:~$ sudo apt-get update && sudo apt-get install inxi
Ign:1 cdrom://Ubuntu 19.04 _Disco Dingo_ - Alpha amd64 (20190318) disco InRelease
Hit:2 cdrom://Ubuntu 19.04 _Disco Dingo_ - Alpha amd64 (20190318) disco Release
Hit:3 http://archive.ubuntu.com/ubuntu disco InRelease
Hit:4 http://security.ubuntu.com/ubuntu disco-security InRelease
Hit:5 http://archive.ubuntu.com/ubuntu disco-updates InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package inxi

Graeme


Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 19, 2019, 08:15:39 am
Download it from here
http://cz.archive.ubuntu.com/ubuntu/pool/universe/i/inxi/inxi_3.0.32-1-1_all.deb

place that file in your home folder, then run
Code: [Select]
sudo apt-get install ~/inxi_3.0.32-1-1_all.deb
then
Code: [Select]
inxi -Fz
Title: Re: AMD Vega series driver
Post by: emegra on March 19, 2019, 08:21:33 am
Code: [Select]
ubuntu@ubuntu:~$ inxi -F
System:
  Host: ubuntu Kernel: 5.0.0-7-generic x86_64 bits: 64 Desktop: Gnome 3.32.0
  Distro: Ubuntu 19.04 (Disco Dingo)
Machine:
  Type: Desktop System: Gigabyte product: B450M DS3H v: N/A
  serial: <root required>
  Mobo: Gigabyte model: B450M DS3H-CF v: x.x serial: <root required>
  UEFI [Legacy]: American Megatrends v: F3 date: 12/24/2018
CPU:
  Topology: Quad Core model: AMD Ryzen 5 2400G with Radeon Vega Graphics
  bits: 64 type: MT MCP L2 cache: 2048 KiB
  Speed: 1523 MHz min/max: 1600/3600 MHz Core speeds (MHz): 1: 1463 2: 1420
  3: 1433 4: 1536 5: 1430 6: 1473 7: 1429 8: 1595
Graphics:
  Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
  driver: amdgpu v: kernel
  Display: x11 server: X.Org 1.20.4 driver: amdgpu,ati
  unloaded: fbdev,modesetting,vesa resolution: 1920x1080~50Hz
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: AMD driver: snd_hda_intel
  Device-2: AMD driver: snd_hda_intel
  Sound Server: ALSA v: k5.0.0-7-generic
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  driver: r8169
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: b4:2e:99:41:3c:91
Drives:
  Local Storage: total: 471.28 GiB used: 430.3 MiB (0.1%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT500P1SSD8 size: 465.76 GiB
  ID-2: /dev/sda type: USB vendor: Kingston model: DataTraveler 2.0
  size: 1.86 GiB
  ID-3: /dev/sdb type: USB vendor: Kingston model: DataTraveler G3
  size: 3.66 GiB
Partition:
  ID-1: / size: 2.91 GiB used: 430.3 MiB (14.4%) fs: overlay source: ERR-102
Sensors:
  Missing: Required tool sensors not installed. Check --recommends
Info:
  Processes: 272 Uptime: 55m Memory: 5.83 GiB used: 1.17 GiB (20.0%)
  Shell: bash inxi: 3.0.32
ubuntu@ubuntu:~$
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 19, 2019, 09:47:34 am
See that's what I was expecting .. amdgpu as the driver instead of the framebuffer driver you're currently getting in Peppermint.

I'll keep hunting, but are you up for testing the 5.0 kernel in Peppermint ?
Title: Re: AMD Vega series driver
Post by: emegra on March 19, 2019, 09:52:51 am
Quote
I'll keep hunting, but are you up for testing the 5.0 kernel in Peppermint ?

I had a feeling that's where you were going with this

Yeah I'm up for it :)

Just as a point of interest Ubuntu 19.04 booted and run no problem without nomodeset, unfortunately I can't test video playback as there seems to be no codecs installed


Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 19, 2019, 10:31:06 am
Okay then, in Peppermint run these commands in sequence:
Code: [Select]
mkdir ~/kernel-5.0.2
then
Code: [Select]
cd ~/kernel-5.0.2
then
Code: [Select]
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0.2/linux-headers-5.0.2-050002_5.0.2-050002.201903131832_all.deb
then
Code: [Select]
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0.2/linux-headers-5.0.2-050002-generic_5.0.2-050002.201903131832_amd64.deb
then
Code: [Select]
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0.2/linux-image-unsigned-5.0.2-050002-generic_5.0.2-050002.201903131832_amd64.deb
then
Code: [Select]
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0.2/linux-modules-5.0.2-050002-generic_5.0.2-050002.201903131832_amd64.deb
then
Code: [Select]
sudo dpkg -i *.deb
once finished, REBOOT (you may need to disable secureboot in your BIOS)

Once rebooted, post the output from
Code: [Select]
inxi -Fz



Remember, if it won't boot you should still be able to choose the 4.18 kernel from the GRUB menu.
Title: Re: AMD Vega series driver
Post by: emegra on March 19, 2019, 10:44:32 am
Output as requested
Code: [Select]
grant@Grant-Linux ~ $ inxi -Fz
System:    Host: Grant-Linux Kernel: 5.0.2-050002-generic x86_64 bits: 64
           Desktop: N/A Distro: Peppermint Nine
Machine:   Device: desktop System: Gigabyte product: B450M DS3H serial: N/A
           Mobo: Gigabyte model: B450M DS3H-CF v: x.x serial: N/A
           UEFI [Legacy]: American Megatrends v: F3 date: 12/24/2018
CPU:       Quad core AMD Ryzen 5 2400G with Radeon Vega Graphics (-MT-MCP-)
           cache: 2048 KB
           clock speeds: max: 3600 MHz 1: 1351 MHz 2: 1351 MHz 3: 1767 MHz
           4: 2012 MHz 5: 2972 MHz 6: 2970 MHz 7: 1364 MHz 8: 1408 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
           Display Server: x11 (X.Org 1.20.1 )
           drivers: fbdev,ati (unloaded: modesetting,vesa,radeon)
           Resolution: 1920x1080@77.00hz
           OpenGL: renderer: llvmpipe (LLVM 7.0, 128 bits) version: 3.3 Mesa 18.3.3
Audio:     Card-1 Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
           driver: snd_hda_intel
           Card-2 Advanced Micro Devices [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k5.0.2-050002-generic
Network:   Card: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 500.1GB (6.6% used)
           ID-1: /dev/nvme0n1 model: CT500P1SSD8 size: 500.1GB
Partition: ID-1: / size: 182G used: 31G (18%) fs: ext4 dev: /dev/nvme0n1p5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: No active sensors found. Have you configured your sensors yet? mobo: N/A
Info:      Processes: 248 Uptime: 2 min Memory: 704.9/5968.1MB
           Client: Shell (bash) inxi: 2.3.56
grant@Grant-Linux ~ $



Graeme

Title: Re: AMD Vega series driver
Post by: emegra on March 19, 2019, 11:40:50 am
Quote
Remember, if it won't boot you should still be able to choose the 4.18 kernel from the GRUB menu.

It booted up fine but it's made no perceivable difference to the video playback, but that said I can now boot without nomodeset



Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 19, 2019, 01:00:35 pm
Hmm, still on the fbdev driver and llvmpipe ???.. still looking.
Title: Re: AMD Vega series driver
Post by: emegra on March 19, 2019, 01:13:45 pm
Hope you don't nind if I throw a wobbler here but I've just noticed that running the 5 series kernel borks the Windows VM with this messageKernel driver not installed (rc=-1908)

Quote
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall virtualbox-dkms package and load the kernel module by executing

'modprobe vboxdrv'

as root.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

even booting back into 4.18 or 4.15 doesn't fix the problem I had to completely uninstall all Virtualbox packages then reinstall Virtualbox from scratch to get it working again is this likely to be an issue even if we get video playback working right ?



Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 19, 2019, 01:41:04 pm
What happens if you install the 19.04 firmware
http://cz.archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.178_all.deb
then reboot.

After doing so, can you post
Code: [Select]
inxi -Fz
again.



VM's **may** need to be rebuilt (or more likely vbox itself) .. but we'll get to that later, as I'm not even 100% sure we need to keep the 5.0 kernel yet.
Title: Re: AMD Vega series driver
Post by: emegra on March 19, 2019, 02:15:52 pm
As requested

Code: [Select]
grant@Grant-Linux ~ $ inxi -Fz
System:    Host: Grant-Linux Kernel: 5.0.2-050002-generic x86_64 bits: 64
           Desktop: N/A Distro: Peppermint Nine
Machine:   Device: desktop System: Gigabyte product: B450M DS3H serial: N/A
           Mobo: Gigabyte model: B450M DS3H-CF v: x.x serial: N/A
           UEFI [Legacy]: American Megatrends v: F3 date: 12/24/2018
CPU:       Quad core AMD Ryzen 5 2400G with Radeon Vega Graphics (-MT-MCP-)
           cache: 2048 KB
           clock speeds: max: 3600 MHz 1: 3825 MHz 2: 3810 MHz 3: 1528 MHz
           4: 1528 MHz 5: 2186 MHz 6: 2190 MHz 7: 1550 MHz 8: 1599 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
           Display Server: x11 (X.Org 1.20.1 )
           drivers: fbdev,ati (unloaded: modesetting,vesa,radeon)
           Resolution: 1920x1080@77.00hz
           OpenGL: renderer: llvmpipe (LLVM 7.0, 128 bits) version: 3.3 Mesa 18.3.3
Audio:     Card-1 Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
           driver: snd_hda_intel
           Card-2 Advanced Micro Devices [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k5.0.2-050002-generic
Network:   Card: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 500.1GB (8.0% used)
           ID-1: /dev/nvme0n1 model: CT500P1SSD8 size: 500.1GB
Partition: ID-1: / size: 182G used: 38G (22%) fs: ext4 dev: /dev/nvme0n1p5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: No active sensors found. Have you configured your sensors yet? mobo: N/A
Info:      Processes: 243 Uptime: 9 min Memory: 1277.3/5968.1MB
           Client: Shell (bash) inxi: 2.3.56
grant@Grant-Linux ~ $

Graeme
Title: Re: AMD Vega series driver
Post by: emegra on March 20, 2019, 06:37:09 am
Sorry Mark just realised I didn't fully answer you question on your last post

Quote
What happens if you install the 19.04 firmware

It made no perceivable difference, I've also realised I've got no sound output through HDMI,  Pulseaudio appears to be detecting it but there's no output, this PC is connected to a TV monitor so If I understand correctly I should be getting sound through the TV speakers, I've tried every setting possible in Pulseaudio but I'm getting nothing


Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 20, 2019, 06:45:02 am
That will also be down to its not using the amdgpu driver.

I'm looking for a way to 'force' amdgpu if we can't get it to switch automatically .. still looking.
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 20, 2019, 05:35:48 pm
Sorry Graeme, didn't get much of a chance to research this today .. I'll try get onto it tomorrow (hopefully).

I **really** want to find an answer to this, it might be a nice inclusion for PM10 if we can reliably backport it from 19.04.
Title: Re: AMD Vega series driver
Post by: emegra on March 20, 2019, 05:56:31 pm
Don't worry Mark I can hang on to it a bit longer the guy's not pushing me for it back, it would be nice if I can hand it over to him with everything working well and if it helps Peppermint all the better :)



Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 21, 2019, 12:22:18 pm
what's the output from
Code: [Select]
lspci -vnn | grep -i vga
Title: Re: AMD Vega series driver
Post by: emegra on March 21, 2019, 12:46:30 pm
Output as requested

Code: [Select]
grant@Grant-Linux ~ $ lspci -vnn | grep -i vga
07:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15dd] (rev c6) (prog-if 00 [VGA controller])
grant@Grant-Linux ~ $


Graeme

Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 21, 2019, 12:59:18 pm
What's the output from
Code: [Select]
dpkg -l | grep linux-firmware
and can you run:
Code: [Select]
cat /var/log/Xorg.0.log > ~/Desktop/Xorg.0.log
the host the Xorg.0.log file that appeared on your desktop online somewhere and provide a link to it
Title: Re: AMD Vega series driver
Post by: emegra on March 21, 2019, 01:11:54 pm
Hoping I did that paste right let me know :)

Code: [Select]
grant@Grant-Linux ~ $ dpkg -l | grep linux-firmware
ii  linux-firmware                            1.178                                           all          Firmware for Linux kernel drivers
grant@Grant-Linux ~ $


https://pastebin.com/YfrJTAuc (https://pastebin.com/YfrJTAuc)


Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 21, 2019, 01:24:35 pm
Have you still got nomodeset manually added as a kernel boot parameter ?
Title: Re: AMD Vega series driver
Post by: emegra on March 21, 2019, 01:34:27 pm
Quote
Have you still got nomodeset manually added as a kernel boot parameter ?

No I removed it




Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 21, 2019, 01:37:33 pm
When ? .. when did it become no longer necessary ?

Are you up for trying an 18.10 distro, such as Xubuntu 18.10 .. just as a LiveUSB so we can see the inxi output (after installing inxi of course) ?



If that works, and you have this PC for a day or two, I'm up for building you a custom ISO with the HWE pre-installed as a test (and possibly a solution).
Title: Re: AMD Vega series driver
Post by: emegra on March 21, 2019, 01:54:52 pm
Quote
Have you still got nomodeset manually added as a kernel boot parameter ?

I removed it after we installed the 5 series kernel and it boots fine in the 4.18 I've never tried it with the 4.15 kernel so far

Quote
Are you up for trying an 18.10 distro, such as Xubuntu 18.10 .. just as a LiveUSB so we can see the inxi output (after installing inxi of course)
?

Yeah we can do that I'll go set it up now


Graeme
Title: Re: AMD Vega series driver
Post by: emegra on March 21, 2019, 01:59:31 pm
I'm downloading xubuntu 18.04 now I'll be about 15 mins by the time I download & install then boot up




Graeme
Title: Re: AMD Vega series driver
Post by: emegra on March 21, 2019, 02:01:57 pm
Damn I've just noticed I'm downloading 18.04 will I change it to 18.10 ?


Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 21, 2019, 02:02:39 pm
Okey dokey :)

No real need to "install" it yet, just boot to a Live session, install inxi, and post the output.

Yeah .. needs to be 18.10
http://releases.ubuntu.com/18.10/ubuntu-18.10-desktop-amd64.iso
Title: Re: AMD Vega series driver
Post by: emegra on March 21, 2019, 02:03:53 pm
Ok I have 18.04 downloaded and 18.10 downloading do you want to wait for 18.10 or will I go with 18.04 ?


Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 21, 2019, 02:04:44 pm
NEEDS to be 18.10
http://releases.ubuntu.com/18.10/ubuntu-18.10-desktop-amd64.iso

Although it'd also be nice to test 18.04.2
(but must be the .2 or higher version)
because that also uses the 4.18 kernel from the HWE .. so it'd be good to see if that works if 18.10 does .. then if 18.04.2 doesn't but 18.10 does, I can try figure out what's different in a VM.

Did that make sense ?
Title: Re: AMD Vega series driver
Post by: emegra on March 21, 2019, 02:06:01 pm
Yeah I got it wont be long

More haste less speed :)


Graeme
Title: Re: AMD Vega series driver
Post by: emegra on March 21, 2019, 02:22:20 pm
inxi is already installed in 18.10 here's the output as requested
Code: [Select]
xubuntu@xubuntu:~/Desktop$ inxi -F
System:
  Host: xubuntu Kernel: 4.18.0-10-generic x86_64 bits: 64
  Desktop: Xfce 4.13.2 Distro: Ubuntu 18.10 (Cosmic Cuttlefish)
Machine:
  Type: Desktop System: Gigabyte product: B450M DS3H v: N/A
  serial: <root required>
  Mobo: Gigabyte model: B450M DS3H-CF v: x.x serial: <root required>
  UEFI [Legacy]: American Megatrends v: F3 date: 12/24/2018
CPU:
  Topology: Quad Core model: AMD Ryzen 5 2400G with Radeon Vega Graphics
  bits: 64 type: MT MCP L2 cache: 2048 KiB
  Speed: 1420 MHz min/max: 1600/3600 MHz Core speeds (MHz): 1: 1420 2: 1471
  3: 1437 4: 1424 5: 1420 6: 1423 7: 1420 8: 1420
Graphics:
  Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
  driver: amdgpu v: kernel
  Display: x11 server: X.Org 1.20.1 driver: amdgpu,ati
  unloaded: fbdev,modesetting,vesa resolution: 1920x1080~50Hz
  OpenGL: renderer: AMD RAVEN (DRM 3.26.0 4.18.0-10-generic LLVM 7.0.0)
  v: 4.5 Mesa 18.2.2
Audio:
  Device-1: AMD driver: snd_hda_intel
  Device-2: AMD driver: snd_hda_intel
  Sound Server: ALSA v: k4.18.0-10-generic
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  driver: r8169
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: b4:2e:99:41:3c:91
Drives:
  Local Storage: total: 469.42 GiB used: 1.40 GiB (0.3%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT500P1SSD8 size: 465.76 GiB
  ID-2: /dev/sda type: USB vendor: Kingston model: DataTraveler G3
  size: 3.66 GiB
Partition:
  ID-1: / size: 2.92 GiB used: 92.9 MiB (3.1%) fs: overlay dev: ERR-102
Sensors:
  System Temperatures: cpu: 37.9 C mobo: N/A gpu: amdgpu temp: 37 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 251 Uptime: 4m Memory: 5.83 GiB used: 871.0 MiB (14.6%)
  Shell: bash inxi: 3.0.24
xubuntu@xubuntu:~/Desktop$



Graeme
Title: Re: AMD Vega series driver
Post by: emegra on March 21, 2019, 02:26:58 pm
Don't know if you expect this but xubuntu uses Parole as it's media player and it's playing video perfectly and sound working :)



Graeme
Title: Re: AMD Vega series driver
Post by: emegra on March 21, 2019, 02:34:33 pm
Further to my last post VLC still crashes when I try to open a .mkv and gives the following error when I try to open a mp4

Quote
Your input can't be opened:
VLC is unable to open the MRL 'file:///media/xubuntu/597656ff-7c9c-427e-b55f-c464d6475e64/home/grant/Videos/we-will.mp4'. Check the log for details.

Parole reports a gstreamer backend error with the .mp4


Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 21, 2019, 04:16:12 pm
At least it's using amdgpu (the correct) graphics driver.

I wonder if amdgpu-pro would make any difference ? .. wanna try it (tomorrow, whilst I build the ISO) ?
Title: Re: AMD Vega series driver
Post by: emegra on March 21, 2019, 04:19:30 pm
Quote
I wonder if amdgpu-pro would make any difference ? .. wanna try it (tomorrow, whilst I build the ISO) ?

Yeah I'll try anything just tell me what you want me to do :)




Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 21, 2019, 04:21:08 pm
I'll post instructions later .. I'm currently reading is
https://www.reddit.com/r/Ubuntu/comments/85vav4/how_i_installed_ubuntu_1804_with_ryzen_2200g/

Seems there are a LOT of stability issues with these AMD Rave Ridge setups in Linux that I'm trying to get my head around .. but it's all pointless unless we can get the system to use amdgpu first (as that's the correct driver, and the only way to get things like HDMI, etc.).
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 21, 2019, 09:59:55 pm
Can you (from within Peppermint) post the output from
Code: [Select]
dpkg -l | grep linux-firmware
and any output from:
Code: [Select]
sudo update-initramfs -uk all
Title: Re: AMD Vega series driver
Post by: emegra on March 22, 2019, 04:16:30 am
System spec from 18.04-2 as requested
Code: [Select]
ubuntu@ubuntu:~$ inxi -Fz
System:
  Host: ubuntu Kernel: 4.18.0-15-generic x86_64 bits: 64
  Desktop: Gnome 3.28.3 Distro: Ubuntu 18.04.2 LTS (Bionic Beaver)
Machine:
  Type: Desktop System: Gigabyte product: B450M DS3H v: N/A serial: <filter>
  Mobo: Gigabyte model: B450M DS3H-CF v: x.x serial: <filter>
  UEFI [Legacy]: American Megatrends v: F3 date: 12/24/2018
CPU:
  Topology: Quad Core model: AMD Ryzen 5 2400G with Radeon Vega Graphics
  bits: 64 type: MT MCP L2 cache: 2048 KiB
  Speed: 1492 MHz min/max: 1600/3600 MHz Core speeds (MHz): 1: 1584 2: 1580
  3: 1460 4: 1591 5: 1502 6: 1495 7: 1575 8: 1591
Graphics:
  Device-1: AMD Vega [Radeon Vega 8 Mobile] driver: amdgpu v: kernel
  Display: x11 server: X.Org 1.20.1 driver: amdgpu,ati
  unloaded: fbdev,modesetting,vesa resolution: 1920x1080~50Hz
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: AMD driver: snd_hda_intel
  Device-2: AMD driver: snd_hda_intel
  Sound Server: ALSA v: k4.18.0-15-generic
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  driver: r8169
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 469.49 GiB used: 417.7 MiB (0.1%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT500P1SSD8 size: 465.76 GiB
  ID-2: /dev/sda type: USB vendor: HP model: c485w size: 3.73 GiB
Partition:
  ID-1: / size: 2.92 GiB used: 417.7 MiB (14.0%) fs: overlay source: ERR-102
Sensors:
  Missing: Required tool sensors not installed. Check --recommends
Info:
  Processes: 291 Uptime: 5m Memory: 5.83 GiB used: 1.15 GiB (19.7%)
  Shell: bash inxi: 3.0.32
ubuntu@ubuntu:~$



Graeme
Title: Re: AMD Vega series driver
Post by: emegra on March 22, 2019, 04:21:38 am
Quote
Can you (from within Peppermint) post the output from
Code: [Select]

dpkg -l | grep linux-firmware

and any output from:
Code: [Select]

sudo update-initramfs -uk all

Code: [Select]
grant@Grant-Linux ~ $ dpkg -l | grep linux-firmware
ii  linux-firmware                            1.178                                           all          Firmware for Linux kernel drivers

Code: [Select]
grant@Grant-Linux ~ $ sudo update-initramfs -uk all
[sudo] password for grant:
update-initramfs: Generating /boot/initrd.img-5.0.2-050002-generic
update-initramfs: Generating /boot/initrd.img-4.18.0-16-generic
update-initramfs: Generating /boot/initrd.img-4.15.0-46-generic
update-initramfs: Generating /boot/initrd.img-4.15.0-43-generic
grant@Grant-Linux ~ $


Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 22, 2019, 08:52:40 am
Okay I've PM'd you a link to download a new ISO from my ReadyNAS

Can you use it to create a LiveUSB, boot to it, then post me the output from:
Code: [Select]
inxi -Fz

DO NOT INSTALL IT YET.
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 22, 2019, 09:27:28 am
BTW, here's the checksums if you want them

Peppermint-9-20190322-amd64.iso
===============================

md5sum: 7e6732a6c7a0b8cca4087dba307b7f26

sha256sum: f041565251a20b07a28ebc6bdebe8457145acc5db7316f5f470d19767ed65239
Title: Re: AMD Vega series driver
Post by: emegra on March 22, 2019, 10:07:38 am
As requested

Code: [Select]
peppermint@peppermint ~ $ inxi -Fz
System:    Host: peppermint Kernel: 4.18.0-16-generic x86_64 bits: 64 Desktop: N/A
           Distro: Peppermint Nine
Machine:   Device: desktop System: Gigabyte product: B450M DS3H serial: N/A
           Mobo: Gigabyte model: B450M DS3H-CF v: x.x serial: N/A
           UEFI [Legacy]: American Megatrends v: F3 date: 12/24/2018
CPU:       Quad core AMD Ryzen 5 2400G with Radeon Vega Graphics (-MT-MCP-)
           cache: 2048 KB
           clock speeds: max: 3600 MHz 1: 1419 MHz 2: 1419 MHz 3: 1419 MHz
           4: 1427 MHz 5: 1432 MHz 6: 1576 MHz 7: 1446 MHz 8: 1481 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
           Display Server: x11 (X.Org 1.20.1 )
           drivers: ati,amdgpu (unloaded: modesetting,fbdev,vesa)
           Resolution: 1920x1080@50.00hz
           OpenGL: renderer: AMD RAVEN (DRM 3.26.0, 4.18.0-16-generic, LLVM 7.0.0)
           version: 4.5 Mesa 18.2.8
Audio:     Card-1 Advanced Micro Devices [AMD] Device 15e3 driver: snd_hda_intel
           Card-2 Advanced Micro Devices [AMD/ATI] Device 15depeppermint@peppermint ~ $ inxi -Fz
System:    Host: peppermint Kernel: 4.18.0-16-generic x86_64 bits: 64 Desktop: N/A
           Distro: Peppermint Nine
Machine:   Device: desktop System: Gigabyte product: B450M DS3H serial: N/A
           Mobo: Gigabyte model: B450M DS3H-CF v: x.x serial: N/A
           UEFI [Legacy]: American Megatrends v: F3 date: 12/24/2018
CPU:       Quad core AMD Ryzen 5 2400G with Radeon Vega Graphics (-MT-MCP-)
           cache: 2048 KB
           clock speeds: max: 3600 MHz 1: 1419 MHz 2: 1419 MHz 3: 1419 MHz
           4: 1427 MHz 5: 1432 MHz 6: 1576 MHz 7: 1446 MHz 8: 1481 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
           Display Server: x11 (X.Org 1.20.1 )
           drivers: ati,amdgpu (unloaded: modesetting,fbdev,vesa)
           Resolution: 1920x1080@50.00hz
           OpenGL: renderer: AMD RAVEN (DRM 3.26.0, 4.18.0-16-generic, LLVM 7.0.0)
           version: 4.5 Mesa 18.2.8
Audio:     Card-1 Advanced Micro Devices [AMD] Device 15e3 driver: snd_hda_intel
           Card-2 Advanced Micro Devices [AMD/ATI] Device 15de
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.18.0-16-generic
Network:   Card: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 504.0GB (0.6% used)
           ID-1: /dev/nvme0n1 model: CT500P1SSD8 size: 500.1GB
           ID-2: USB /dev/sda model: DataTraveler_G3 size: 3.9GB
Partition: ID-1: / size: 3.0G used: 72M (3%) fs: overlay dev: N/A
           ID-2: swap-1 size: 0.39GB used: 0.00GB (0%) fs: swap dev: /dev/zram0
           ID-3: swap-2 size: 0.39GB used: 0.00GB (0%) fs: swap dev: /dev/zram1
           ID-4: swap-3 size: 0.39GB used: 0.00GB (0%) fs: swap dev: /dev/zram2
           ID-5: swap-4 size: 0.39GB used: 0.00GB (0%) fs: swap dev: /dev/zram3
           ID-6: swap-5 size: 0.39GB used: 0.00GB (0%) fs: swap dev: /dev/zram4
           ID-7: swap-6 size: 0.39GB used: 0.00GB (0%) fs: swap dev: /dev/zram5
           ID-8: swap-7 size: 0.39GB used: 0.00GB (0%) fs: swap dev: /dev/zram6
           ID-9: swap-8 size: 0.39GB used: 0.00GB (0%) fs: swap dev: /dev/zram7
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 16.8C mobo: N/A gpu: 31.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 258 Uptime: 2 min Memory: 783.6/5970.7MB
           Client: Shell (bash) inxi: 2.3.56
peppermint@peppermint ~ $

           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.18.0-16-generic
Network:   Card: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 504.0GB (0.6% used)
           ID-1: /dev/nvme0n1 model: CT500P1SSD8 size: 500.1GB
           ID-2: USB /dev/sda model: DataTraveler_G3 size: 3.9GB
Partition: ID-1: / size: 3.0G used: 72M (3%) fs: overlay dev: N/A
           ID-2: swap-1 size: 0.39GB used: 0.00GB (0%) fs: swap dev: /dev/zram0
           ID-3: swap-2 size: 0.39GB used: 0.00GB (0%) fs: swap dev: /dev/zram1
           ID-4: swap-3 size: 0.39GB used: 0.00GB (0%) fs: swap dev: /dev/zram2
           ID-5: swap-4 size: 0.39GB used: 0.00GB (0%) fs: swap dev: /dev/zram3
           ID-6: swap-5 size: 0.39GB used: 0.00GB (0%) fs: swap dev: /dev/zram4
           ID-7: swap-6 size: 0.39GB used: 0.00GB (0%) fs: swap dev: /dev/zram5
           ID-8: swap-7 size: 0.39GB used: 0.00GB (0%) fs: swap dev: /dev/zram6
           ID-9: swap-8 size: 0.39GB used: 0.00GB (0%) fs: swap dev: /dev/zram7
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 16.8C mobo: N/A gpu: 31.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 258 Uptime: 2 min Memory: 783.6/5970.7MB
           Client: Shell (bash) inxi: 2.3.56
peppermint@peppermint ~ $

Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 22, 2019, 10:29:04 am
Okay it now seems as though we have amdgpu.

Up to you if you wanna reinstall with this ISO .. if you do, make SURE you boot to a Live Session and have an active internet connection before you click the "Install Peppermint" icon on the desktop.
(the reason is I haven't replaced the files in the /pool directory on the ISO yet .. so you'll need an active internet connection during the install if it needs to get GRUB)
Title: Re: AMD Vega series driver
Post by: emegra on March 22, 2019, 11:15:22 am
Ok Mark thanks

I still have a few issues I'd like to mention before I commit to install

There's no improvement to video playback in Media player if anything it's worse in as much as its stuttery in small screen as well as full screen where it was only stuttery in full screen before, but that said we have sound, The good news is it all seems to work perfectly in Parole for some reason, youtube videos play perfect.

Also my desktop is way oversize now and I can't see the Menu or panel but I'm sure we'll get over that

Many thanks


Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 22, 2019, 12:44:31 pm
Does HDMI work ?

What is the oversized desktop being displayed on .. a monitor, or an HDMI TV ?

Does Ubuntu 18.04.2 also do this ?

The jerky video MAY be because it's a live system.

[EDIT]

Also, have you installed the restricted-extras yet ?
Title: Re: AMD Vega series driver
Post by: emegra on March 22, 2019, 12:53:59 pm
Quote
Does HDMI work ?

Yeah it seems to work fine I'm basing that on the fact I'm getting audio through HDMI

Quote
What is the oversized desktop being displayed on .. a monitor, or an HDMI TV ?

HDMI TV

Quote
Does Ubuntu 18.04.2 also do this ?

Yes but it wasn't so big I was just able to see the panel at the bottom of the screen, I can see nothing this time, the original PM9 I installed at the beginning scaled fine

Quote
Does Ubuntu 18.04.2 also do this ?

Only on full screen in Media Player it played fine small screen, Parole played fine small screen & full screen , VLC wouldn't play at all and still doesn't

Quote
The jerky video MAY be because it's a live system.

Yeah that's possible



Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 22, 2019, 01:00:21 pm
So ya gonna give it a shot ?

[EDIT]

Also, had you installed the restricted-extras ?

[EDIT 2]

I guess another option might be to try AMDGPU-Pro in your already installed version ?
(phoronix suggests this is an option on Raven Ridge)
Title: Re: AMD Vega series driver
Post by: emegra on March 22, 2019, 01:15:24 pm
Quote
So ya gonna give it a shot ?

In a word yes :)

only one thing troubling me I've never worked with UEFI before and this PC has a Windows 10 installation that I have to keep is there anything I need to watch out for here when I delete the Peppermint partition .

This is how I plan to do it
in gparted delete the Peppermint partition, then reboot with the live USB and install on the unpartitioned space



Graeme
Title: Re: AMD Vega series driver
Post by: emegra on March 22, 2019, 01:16:13 pm
Quote
Also, had you installed the restricted-extras ?

No



Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 22, 2019, 01:18:56 pm
Your method sound right to me .. just make sure you don't delete the Windows partition, or the ESP partition and you should be fine.

Or

we could try AMDGPU-Pro before you delete the old installation .. Phoronix suggest it as an option on the Raven Ridge 2400G
https://www.phoronix.com/scan.php?page=article&item=ryzen5-2400g-vega11&num=1
Title: Re: AMD Vega series driver
Post by: emegra on March 22, 2019, 01:19:23 pm
Quote
I guess another option might be to try AMDGPU-Pro in your already installed version ?
(phoronix suggests this is an option on Raven Ridge)

That has to be worth a try if it isn't too much work, I've done a lot of work to the original install, I don't mind doing it over again but it would be nice if I didn't have to :)



Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 22, 2019, 01:21:47 pm
Okay, it may take me some time to research it, but I agree it's worth a shot first :)

Oh, and I've gotta do tea first .. so most likely tomorrow before any instructions ;)
Title: Re: AMD Vega series driver
Post by: emegra on March 22, 2019, 01:23:55 pm
 Ok just let me know when you're ready to roll. I'm off home now I have a 60th birthday party tonight but I'll be in work tomorrow if you're ready by then :)



Thanks for all your help


Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 23, 2019, 07:25:00 am
[EDIT]

IGNORE THIS FOR NOW .. it may work on a stock Peppermint 9, but it doesn't on one updated with the HWE .. looking for a solution

[END EDIT]

It looks like all you have to do is go here
https://www.amd.com/en/support/kb/release-notes/rn-rad-lin-18-50-unified
download from the link labelled "Radeon™ Software for Linux® version 18.50 for Ubuntu 18.04.1"

unpack it

cd into the unpacked directory

and run:
Code: [Select]
./amdgpu-pro-install -y --opencl=pal
here's where I got those instructions
https://amdgpu-install.readthedocs.io/en/latest/install-installing.html
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 23, 2019, 08:13:55 am
Okay it looks like there are 2 problems....

The first, which can be easily solved is the amdgpu-core package checks /etc/os-release looking for
VERSION_ID="18.04"
where we have
VERSION_ID="9"
this can be fixed by editing that line (then editing back post-install) .. the driver will then install, but then comes the second problem (for you).

the second problem is the dkms module will ONLY build against the 4.15 kernel (it will NOT build against the 4.18 or 5.0.2 kernels we updated that system to) .. so in short, we shouldn't have upgraded you to the HWE before trying this.

Now chances are you still have a 4.15 kernel installed (so we may still be able to test amdgpu-pro, and if it works remove the 5.0.2 kernel and the HWE) .. can you check you're able to boot into a 4.15 kernel from the GRUB menu ? .. boot into it and post the output from:
Code: [Select]
uname -a
Title: Re: AMD Vega series driver
Post by: emegra on March 23, 2019, 09:16:59 am
Ok just for clarity I'm now booted into 4.15 kernel and I've downloaded the Radeon software as per your link will I continue with your instructions ?


Graeme
Title: Re: AMD Vega series driver
Post by: emegra on March 23, 2019, 09:45:44 am
Sorry not reading your instructions again here's the output you requested

Code: [Select]
grant@Grant-Linux ~ $ uname -a
Linux Grant-Linux 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
grant@Grant-Linux ~ $



Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 23, 2019, 01:21:07 pm
Sorry Graeme, I'm out at a function at the moment so will reply when I get back.

You MUST be booted into 4.15, and you MUST have made that edit to /etc/OS-release BEFORE installing amdgpu-pro

Then once installed you must boot again into 4.15

If it doesn't work you may end up with an unbeatable system, though this can be fixed by dropping to a console and uninstalling the driver, but  I can't remember the exact command until I get home.

Sent from my SM-N960F using Tapatalk

Title: Re: AMD Vega series driver
Post by: emegra on March 23, 2019, 01:42:57 pm
Ok Mark before I left work this afternoon I set up an Anydesk connection with unattended access so I've made the edit to /etc/os-release & installed the driver as per your instructions remotely all seemed to go well, however I can't go any further at this point obviously because if I try to reboot I'll lose the connection.

Like you I'm going out to a function tonight (2nd one this weekend) but if I get a chance I'll nip down to the office tomorrow and check it out and let you know if it's worked


Enjoy your evening :)


Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 23, 2019, 04:31:20 pm
Remember, when you reboot you'll need to boot into the 4.15 kernel.

Any other kernel and you're likely to end up at a black screen with flashing cursor.

But if it works, we can remove the 5.0.2 kernel and undo the HWE.

[EDIT]

Oh, and don't forget to undo that edit to /etc/os-release
Title: Re: AMD Vega series driver
Post by: emegra on March 24, 2019, 06:07:41 am
Ok I rebooted into 4.15-46 kernel and tested and there was no difference, so I run the commands again just to be sure I didn't miss anything out and I noticed on the terminal output last line it said nomodeset detected so I checked /etc/default/grub file to make sure I removed nomodeset from that file and I had however i didn't update grub after doing that, so I ran update-grub from the terminal and rebooted and now it wont reboot at all in any kernel


Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 24, 2019, 08:08:26 am
How far does the boot go ? .. can you drop to a text console and log on in text mode by hitting Ctrl+Alt+F2 ?

If so, you can remove amdgpu-pro with:
Code: [Select]
amdgpu-pro-uninstall
if not, you may have somehow borked GRUB .. and we'll have to fix that.



nomodeset might have been why amdgpu wasn't loading in the first place.



[EDIT 2]

Or now might be the right time to just write it off and try the new ISO .. your call, I'm more than willing to help either way, I'm not trying to push you in that direction just offering it as an alternative.
Title: Re: AMD Vega series driver
Post by: emegra on March 24, 2019, 09:17:56 am
Quote
How far does the boot go ? .. can you drop to a text console and log on in text mode by hitting Ctrl+Alt+F2 ?

I get to the GRUB menu but after that it just goes blank so I should be able to boot into text mode
Quote
nomodeset might have been why amdgpu wasn't loading in the first place.

I know I realised that after I discovered I didn't update grub so I gotta apologise to you for that looks like I might have wasted a load of your time  :-[
Quote
Or now might be the right time to just write it off and try the new ISO .. your call, I'm more than willing to help either way, I'm not trying to push you in that direction just offering it as an alternative.

I was actually just gonna do that this morning the only thing that prevented me was I have .ova Windows 7 backup file for Virtualbox on the system and I couldn't get it off because I didn't have a drive big enough at my office, I tried copy & pasting it over to the Windows 10 partition but for some reason it wouldn't let me, I really want that file before I delete the Peppermint partition it has a load of Windows updates etc and it would save me hours of work if I get it off first, so I can take a big drive with me to the office tomorrow and then move it over befor I reinstall.


Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 24, 2019, 10:45:21 am
The benefits of LiveUSB's eh! :)
Title: Re: AMD Vega series driver
Post by: emegra on March 25, 2019, 07:20:35 am
Ok  latest update

I removed the amdgpu-pro driver and it still refused to boot so I went ahead and copied over the VM .ova file to a USB drive deleted the peppermint partition in gparted and reinstalled with the .iso you built for me, all went well, I got sound through HDMI straight away but xplayer couldn't handle the video so I swapped it out for Parole which works perfectly, so all's good there,

The disappointment for me is Virtualbox refuses to import the Windows 7 .ova with a can't create image error, so if you have any suggestions for how I might get the .ova to import it would be appreciated otherwise I'll have to reinstall the Windows VM from scratch if that'll work I don't know,


Many thanks

Graeme

Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 25, 2019, 11:19:09 am
I'm not even sure what an OVA file is, but (and I realise this may not be any use now), normally to copy Vbox VM's from one machine to another you just need to copy the directory that contains the VM's from one machine to the same place on the other.

I'm not at a machine with Vbox installed at the moment, but the directory is something like
"~/VirtualBox VMs"


What exactly did you back up ?
Title: Re: AMD Vega series driver
Post by: emegra on March 25, 2019, 11:52:05 am
Quote
What exactly did you back up ?

In Virtualbox under File there's an option to "Export Appliance" and "Import Appliance" Export will create a .OVA file that can be stored anywhere, that's the method I used, I've used it before and it's worked well.

Anyway it's not the end of the world it just means I'll have to reinstall Windows again from scratch and I don't need to tell you the pain that involves :)



Graeme

Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 25, 2019, 01:38:20 pm
Are you sure you're using the same version of Vbox that you backed up with ?

As I said, I've always just copied the entire folder .. and Vbox sometimes moans if the VM's were originally created with a newer version than I currently have on the new/target machine.
Title: Re: AMD Vega series driver
Post by: emegra on March 25, 2019, 02:39:21 pm
Quote
Are you sure you're using the same version of Vbox that you backed up with ?

I assume they're the same version because in each case I installed from the PM9 repos



Graeme

Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 25, 2019, 03:02:14 pm
I never install Vbox from the 'default' repos .. I always add their repo.
Title: Re: AMD Vega series driver
Post by: emegra on March 25, 2019, 05:23:31 pm
Quote
I never install Vbox from the 'default' repos .. I always add their repo.
Can I ask why ?

Anyway as it happens, I've reinstalled Windows 7 in a VM and i'm almost back to where I was just catching up on the updates so it's all working well we have sound & vision through HDMI and I have to say Peppermint is flying on this machine so it's almost ready to hand over

2 things
(1) As I mentioned on another thread I tried to install AVG on the Windows VM and it blue screened during the install and it wrecked Explorer even after recovery and I'm terrified to try it again have you any suggestions for a free replacement to AVG ?

(2) If I'm understanding correctly this version of PM9 has a custom kernel is any future Kernel updates likely to affect it ?

Many thanks for your help


Graeme
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 25, 2019, 06:00:08 pm
You always get the latest, and IIRC the version in the default Ubuntu repos doesn't work properly with USB passthrough.
Title: Re: AMD Vega series driver
Post by: PCNetSpec on March 25, 2019, 06:06:28 pm
1) Panda FREE is what I use in Windows now.

2) The only change I made in that ISO is I added the HWE, cleared out the old 4.15 kernel, and applied all updates to date .. so it's NOT a custom kernel, it's the 4.18 kernel from the HWE so will continue to receive updates as normal until 2023 :)

That system needs NO special treatment from here on .. just treat it as any other Peppermint 9