Choose style:

Author Topic: AMD Vega series driver  (Read 2727 times)

0 Members and 1 Guest are viewing this topic.

Offline emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1885
  • Karma: 410
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
AMD Vega series driver
« 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



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

If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25510
  • Karma: 2810
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: AMD Vega series driver
« Reply #1 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.
« Last Edit: March 18, 2019, 01:09:27 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1885
  • Karma: 410
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: AMD Vega series driver
« Reply #2 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






   
If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25510
  • Karma: 2810
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: AMD Vega series driver
« Reply #3 on: March 18, 2019, 01:37:24 pm »
does running
Code: [Select]
sudo update-pciids
then rebooting make any difference ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25510
  • Karma: 2810
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: AMD Vega series driver
« Reply #4 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 )
« Last Edit: March 18, 2019, 01:55:56 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1885
  • Karma: 410
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: AMD Vega series driver
« Reply #5 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


If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25510
  • Karma: 2810
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: AMD Vega series driver
« Reply #6 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 ;)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1885
  • Karma: 410
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: AMD Vega series driver
« Reply #7 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
If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25510
  • Karma: 2810
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: AMD Vega series driver
« Reply #8 on: March 18, 2019, 03:00:21 pm »
Okay Graeme .. please do let me know though :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1885
  • Karma: 410
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: AMD Vega series driver
« Reply #9 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


If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25510
  • Karma: 2810
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: AMD Vega series driver
« Reply #10 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 :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1885
  • Karma: 410
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: AMD Vega series driver
« Reply #11 on: March 19, 2019, 05:34:32 am »


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
If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25510
  • Karma: 2810
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: AMD Vega series driver
« Reply #12 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.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1885
  • Karma: 410
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: AMD Vega series driver
« Reply #13 on: March 19, 2019, 06:10:23 am »
Where do I get the 19.04 build ?




Graeme
If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1825
  • Karma: 254
    • View Profile
Re: AMD Vega series driver
« Reply #14 on: March 19, 2019, 07:05:43 am »