[SOLVED]Vega 8 Linux Mint Problems

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
Post Reply
olay1
Level 1
Level 1
Posts: 13
Joined: Sat Jul 07, 2018 6:35 pm

[SOLVED]Vega 8 Linux Mint Problems

Post by olay1 » Sat Jul 07, 2018 7:01 pm

Alright so I am running an Asrock ab350 pro4 with a Ryzen 3 2200g on 64 bit Linux mint. About half of the time, i get the code below and either a blank screen or the login screen but with messed-up boxes all over the left side of the screen (look below). It also occasionally boots without fail, only after being in recovery mode. The inix is also below.
I'm pretty sure it has something to do with the drivers, as i am only using the pre installed Vega 8 graphics chip. I am relatively new to Linux mint and Linux in general. I have attempted to use a fresh install of Linux mint, and same problem occurs. I have tried installing AMD-PRO and it worsened the problem (blank screen on startup). Any help is wanted, and thanks for those who respond. :D

CRASH ERROR

[PTOS] Namespace lookup failure, AE_NOT_FOUND (20170831/psargs-364) [ 0.000000] ACPI Error: [SMIC] Namespace lookup failure, AE_ALREADY_EXISTS (20170831/dswload-378)
[ 0.000000] ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20170831/psobject-252)
[ 0.000000] ACPI Exception: AE_ALREADY_EXISTS, (SSDT: AMD PT) while loading table (20170831/tbxfload-228)
[ 0.000000] ACPI Error: 1 table load failures, 7 successful (20170831/tbxfload-246)
Amd-Vi error. Unable to write to iommu perf

INIX

Kernel: 4.15.0-20-generic x86_64
bits: 64 gcc: 7.3.0
Desktop: Cinnamon 3.8.6 (Gtk 3.22.30-1ubuntu1)
Distro: Linux Mint 19 Tara
Machine: Device: desktop Mobo: ASRock model: AB350 Pro4 serial: N/A
UEFI [Legacy]: American Megatrends v: P4.60 date: 01/15/2018
CPU: Quad core AMD Ryzen 3 2200G with Radeon Vega Graphics (-MCP-)
arch: Zen rev.0 cache: 2048 KB

flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 29545
clock speeds: max: 3700 MHz 1: 3098 MHz 2: 3510 MHz 3: 3197 MHz
4: 3188 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Vega [Radeon Vega 8 Mobile]
bus-ID: 38:00.0
Display Server: x11 (X.Org 1.19.6 )
drivers: ati,amdgpu (unloaded: modesetting,fbdev,radeon,vesa)
Resolution: 1920x1080@60.00hz
OpenGL: renderer: AMD RAVEN (DRM 3.23.0 / 4.15.0-20-generic, LLVM 6.0.0)
version: 4.5 Mesa 18.0.0-rc5 Direct Render: Yes
Audio: Card-1 Advanced Micro Devices [AMD] Device 15e3
driver: snd_hda_intel bus-ID: 38:00.6
Card-2 Advanced Micro Devices [AMD/ATI] Device 15de
driver: snd_hda_intel bus-ID: 38:00.1
Sound: Advanced Linux Sound Architecture v: k4.15.0-20-generic
Network: Card-1: Intel Wireless 8260 driver: iwlwifi bus-ID: 1f:00.0
IF: wlp31s0 state: up mac: <filter>
Card-2: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 25:00.0
IF: enp37s0 state: down mac: <filter>
Drives: HDD Total Size: 255.7GB (15.4% used)
ID-1: /dev/sda model: SATA_SSD size: 240.1GB
ID-2: USB /dev/sdb model: Cruzer_Glide size: 15.6GB
Partition: ID-1: / size: 220G used: 34G (17%) fs: ext4 dev: /dev/sda1
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 29.0C mobo: N/A gpu: 0.0
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 253 Uptime: 5:08 Memory: 2794.0/6961.7MB
Init: systemd runlevel: 5 Gcc sys: 7.3.0
Client: Shell (bash 4.4.191) inxi: 2.3.56

PICTURES
https://imgur.com/a/dRKxX4u

Update- btw I forgot to mention I am using Linux cinnamon


Update 2 - I have updated the bios to it's latest ASRock versoin (4.70) and updated the kernel to 4.17.5. It is the same problem as before, but without the acpi errors. Should I just try kernel 18 ?

Update 3 - IT WORKS. Alright so thanks to silvatech "I" fixed it, or at least somewhat. (BTW, I was running on linux mint 19 with 4.18 rc3 kernel version and the latest BIOS update
I ran (in recovery mode)
<code>sudo nano /etc/default/grub</code>
then put changed the line
<code>GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"</code>
to
<code>#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"</code>
(add the hashtag)
then i reboot. It popped up with a lot of code and then froze. I let it sit like that for 3 hours (i wasnt home so i cant tell you how long it took) and it went to the login page. Then I rebooted it again and it went through the codes again and gave me a black screen. I pressed ctrl+alt+f1, logged in, pressed enter a few times, and lo and behold, it worked!

Thanks to everyone who responded!
Last edited by olay1 on Tue Jul 10, 2018 7:31 pm, edited 4 times in total.

Citizen229
Level 5
Level 5
Posts: 817
Joined: Fri Nov 04, 2016 12:09 pm
Location: NW Ohio

Re: Vega 8 Linux Mint Problems

Post by Citizen229 » Sun Jul 08, 2018 4:08 pm

As far as i know Mobile and APU, do not have drivers.(Media centers? i know right. stupid AMD!) And only have open source as a driver set. I do not own a raven ridge yet, so i cannot say what path to go down.
Folding@home Project
Team Linux Mint-76140
PM for info on how you can help. Or visit viewtopic.php?f=58&t=243792
Seeking GPU's, i5/7/9's , Ryzens.

whm1974
Level 4
Level 4
Posts: 232
Joined: Fri Jan 19, 2018 11:07 pm

Re: Vega 8 Linux Mint Problems

Post by whm1974 » Sun Jul 08, 2018 4:15 pm

You may have to install a PPA to update the kernel to something newer then 4.15.x. A poster managed to get this working perfectly by using the the 4.18.x-RC3 kernel and updating Mesa to a more recent version.

Edit: Update your BIOS.
Last edited by whm1974 on Sun Jul 08, 2018 4:17 pm, edited 1 time in total.

olay1
Level 1
Level 1
Posts: 13
Joined: Sat Jul 07, 2018 6:35 pm

Re: Vega 8 Linux Mint Problems

Post by olay1 » Sun Jul 08, 2018 4:16 pm

Citizen229 wrote:
Sun Jul 08, 2018 4:08 pm
As far as i know Mobile and APU, do not have drivers.(Media centers? i know right. stupid AMD!) And only have open source as a driver set. I do not own a raven ridge yet, so i cannot say what path to go down.
Ummmmm, I was looking at the Linux 4.16 driver, and apparently it supports Raven Ridge. Do you think that would work?

User avatar
thx-1138
Level 6
Level 6
Posts: 1053
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Vega 8 Linux Mint Problems

Post by thx-1138 » Mon Jul 09, 2018 2:17 am

...as whm1974 said: upgrade your BIOS first.
And quite likely you might have to upgrade to a more recent kernel also (4.16 & above).

olay1
Level 1
Level 1
Posts: 13
Joined: Sat Jul 07, 2018 6:35 pm

Re: Vega 8 Linux Mint Problems

Post by olay1 » Mon Jul 09, 2018 9:47 am

thx-1138 wrote:
Mon Jul 09, 2018 2:17 am
...as whm1974 said: upgrade your BIOS first.
And quite likely you might have to upgrade to a more recent kernel also (4.16 & above).
Alright I'll go try those. Thanks! If anything happens, I'll update the post.

olay1
Level 1
Level 1
Posts: 13
Joined: Sat Jul 07, 2018 6:35 pm

Re: Vega 8 Linux Mint Problems

Post by olay1 » Mon Jul 09, 2018 6:06 pm

whm1974 wrote:
Sun Jul 08, 2018 4:15 pm
You may have to install a PPA to update the kernel to something newer then 4.15.x. A poster managed to get this working perfectly by using the the 4.18.x-RC3 kernel and updating Mesa to a more recent version.

Edit: Update your BIOS.
Would 4.18 rc4 work? And this might be a dumb question but what is mesa?

whm1974
Level 4
Level 4
Posts: 232
Joined: Fri Jan 19, 2018 11:07 pm

Re: Vega 8 Linux Mint Problems

Post by whm1974 » Mon Jul 09, 2018 6:18 pm

olay1 wrote:
Mon Jul 09, 2018 6:06 pm
whm1974 wrote:
Sun Jul 08, 2018 4:15 pm
You may have to install a PPA to update the kernel to something newer then 4.15.x. A poster managed to get this working perfectly by using the the 4.18.x-RC3 kernel and updating Mesa to a more recent version.

Edit: Update your BIOS.
Would 4.18 rc4 work? And this might be a dumb question but what is mesa?
It probably will.

This will explain what Mesa is.
https://en.wikipedia.org/wiki/Mesa_(computer_graphics)

olay1
Level 1
Level 1
Posts: 13
Joined: Sat Jul 07, 2018 6:35 pm

Re: Vega 8 Linux Mint Problems

Post by olay1 » Mon Jul 09, 2018 6:27 pm

whm1974 wrote:
Mon Jul 09, 2018 6:18 pm
olay1 wrote:
Mon Jul 09, 2018 6:06 pm
whm1974 wrote:
Sun Jul 08, 2018 4:15 pm
You may have to install a PPA to update the kernel to something newer then 4.15.x. A poster managed to get this working perfectly by using the the 4.18.x-RC3 kernel and updating Mesa to a more recent version.

Edit: Update your BIOS.
Would 4.18 rc4 work? And this might be a dumb question but what is mesa?
It probably will.

This will explain what Mesa is.
https://en.wikipedia.org/wiki/Mesa_(computer_graphics)
How do you update mesa?

whm1974
Level 4
Level 4
Posts: 232
Joined: Fri Jan 19, 2018 11:07 pm

Re: Vega 8 Linux Mint Problems

Post by whm1974 » Mon Jul 09, 2018 6:33 pm

To be clear and upfront, I just recently put Linux Mint on my laptop for testing after not using it for some time now. I'm relearning things I have long forgotten.

You can update Mesa the same way you install a newer kernel then Mint provides, by using a PPA.

olay1
Level 1
Level 1
Posts: 13
Joined: Sat Jul 07, 2018 6:35 pm

Re: Vega 8 Linux Mint Problems

Post by olay1 » Mon Jul 09, 2018 7:14 pm

I tried updating to 4.18-rc3, but when I boot, it shows the linux mint icon, then a black screen. I have NOT messed with mesa yet.

olay1
Level 1
Level 1
Posts: 13
Joined: Sat Jul 07, 2018 6:35 pm

Re: Vega 8 Linux Mint Problems

Post by olay1 » Mon Jul 09, 2018 7:24 pm

whm1974 wrote:
Sun Jul 08, 2018 4:15 pm
You may have to install a PPA to update the kernel to something newer then 4.15.x. A poster managed to get this working perfectly by using the the 4.18.x-RC3 kernel and updating Mesa to a more recent version.

Edit: Update your BIOS.
Btw, who was the poster?

whm1974
Level 4
Level 4
Posts: 232
Joined: Fri Jan 19, 2018 11:07 pm

Re: Vega 8 Linux Mint Problems

Post by whm1974 » Mon Jul 09, 2018 8:29 pm

olay1 wrote:
Mon Jul 09, 2018 7:24 pm
whm1974 wrote:
Sun Jul 08, 2018 4:15 pm
You may have to install a PPA to update the kernel to something newer then 4.15.x. A poster managed to get this working perfectly by using the the 4.18.x-RC3 kernel and updating Mesa to a more recent version.

Edit: Update your BIOS.
Btw, who was the poster?
Don't recall, look for other Ryzen threads.

User avatar
thx-1138
Level 6
Level 6
Posts: 1053
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Vega 8 Linux Mint Problems

Post by thx-1138 » Tue Jul 10, 2018 2:52 am

...olay1, since you're new to Linux - one step at each time.

The ACPI errors means certain power-management features aren't implemented in the firmware.
A BIOS update might or might not 'get rid' of them, same way a different kernel might eliminate (hide) them or not.
The AMD-Vi error: enabling / disabling it in the BIOS might get rid of such.
As you saw yourself, in this case, updating the BIOS solved such, which is pretty good in itself.

You still do need to keep an eye every now & then for newer BIOS releases: Ryzen had various problems from it's release date,
however, most of them appear to be solved by now with newer firmware releases.

Read both here & here.
Having a look at the very first pages of each article should be enough (no real need for the detailed benchmarks later on):
as you see from the above, you're not the only one who experienced display problems at start-up with 2200g.

Mesa is currently 18.0.0~rc5 in your system. Soon enough it will be upgraded to 18.0.5.
Should be good enough for video decoding, some light gaming & such.
I would not really recommend messing with either mesa or proprietary graphics drivers for the time being:
if you start mixing such without knowing how to revert changes, things will get messed up / become unpredictable pretty soon.

4.15 is a minimum requirement (as you can read from the articles above). 4.16 and / or 4.17 will quite likely give you better results.
4.18 is a bit of an...overkill to say at least. Do not assume the 'newer is the better',
that's not necessary how kernel versions / revisions work.
Until things get sorted eventually upstream, use the revision that appears to give you less headaches.

Last but not least, your system is installed in UEFI [Legacy]. I'm not entirely sure if that would affect it.
However (furthermore considering Ryzen's troubled history in the past year),
i'm pretty sure that most testing / bug-fixing will be done under UEFI nowadays...

olay1
Level 1
Level 1
Posts: 13
Joined: Sat Jul 07, 2018 6:35 pm

Re: Vega 8 Linux Mint Problems

Post by olay1 » Tue Jul 10, 2018 8:17 am

Honestly, at this point, I think it's best to stay in recovery mode until they release a stable version and use another computer for gaming.

whm1974
Level 4
Level 4
Posts: 232
Joined: Fri Jan 19, 2018 11:07 pm

Re: Vega 8 Linux Mint Problems

Post by whm1974 » Tue Jul 10, 2018 1:12 pm

olay1 wrote:
Tue Jul 10, 2018 8:17 am
Honestly, at this point, I think it's best to stay in recovery mode until they release a stable version and use another computer for gaming.
You probably could get Mint 19 to work on the 2200G APU but this will require you to learn more about Linux and put in some effort. It is also likely you will need to update the BIOS several times as they are rolled out.

Citizen229
Level 5
Level 5
Posts: 817
Joined: Fri Nov 04, 2016 12:09 pm
Location: NW Ohio

Re: Vega 8 Linux Mint Problems

Post by Citizen229 » Tue Jul 10, 2018 2:55 pm

For testing purposes:

You could DL and install the latest Ubuntu(18.04). If it works properly with kernal 4.15 and up( you will have to try several). Then the issue is with mint at that point.

OR try all the different kernals( in Mint) 4.15 and up to find the best. 4.18 might not be the best and still buggy.

OR try 18.3 install and upgrade the kernal to 4.15 or higher. This would be my choice. 18.3 is in general, more stable.

There are few to none of the vega based APU's. Any leg work you can do having the hardware, COULD lead to resolution to the issue for yourself, as well as others. Since your bios is updated, the hard part is done.
Folding@home Project
Team Linux Mint-76140
PM for info on how you can help. Or visit viewtopic.php?f=58&t=243792
Seeking GPU's, i5/7/9's , Ryzens.

Post Reply

Return to “Graphics Cards & Monitors”