2200u with Vega 3

Getting your soundcard to work, using Debian on non-i386 hardware, etc

2200u with Vega 3

Postby veggis » 2019-01-22 19:39

So I recently bought an Acer Aspire 3 2200u with Vega 3. Installed debian on it, and everything seemed to work fine, except the screen brightness controll. I've installed nonfree linux firmware. I've tried changing GRUB_CMDLINE_LINUX_DEFAULT parameters with different combinations of acpi_backlight and acpi_osi. I tried directly changing brightness from '/sys/class/backlight/acpi_video0' (there's no other directories), and that didn't do anything, either.

I tried upgrading to testing, but that wouldn't even boot. (It stopped at "acpi AMDI0010:01: already enumerated").
I'm a total linux noob, but I suspected it had something to do with graphic support.

Then I updated from kernel 4.9, to 4.19

At first it didn't boot, but after adding 'pci=noacpi' to grub (as discussed here https://bugzilla.kernel.org/show_bug.cgi?id=200087), it booted (also booted with 'ivrs_ioapic[4]=00:14.0 ivrs_ioapic[5]=00:00.2 spec_store_bypass_disable=on' but yield no different result). I installed firmware-amd-graphics, and it froze on boot again. Also i noticed alot of tearing before rebooting.

I also tried a live image from https://download.clearlinux.org/image (clear-x-live-desktop-beta.img.xz) but that froze on boot aswel.


Xrandr outputs:

Code: Select all
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 primary 1920x1080+0+0 0mm x 0mm

   1920x1080     77.00*


inxi -Fxz outputs:

Code: Select all
System:    Host: schau Kernel: 4.9.0-8-amd64 x86_64 (64 bit gcc: 6.3.0)

           Desktop: Gnome 3.22.3 (Gtk 3.22.11-1) Distro: Debian GNU/Linux 9 (stretch)

Machine:   Device: laptop System: Acer product: Aspire A315-41 v: V1.03

           Mobo: RR model: Metapod_RR v: V1.03 UEFI: Insyde v: V1.03 date: 03/29/2018

Battery    BAT1: charge: 30.0 Wh 100.0% condition: 30.0/32.5 Wh (93%)

           model: COMPAL 41433134423138 status: Full

CPU:       Dual core AMD Ryzen 3 2200U with Radeon Vega Mobile Gfx (-HT-MCP-) cache: 1024 KB

           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 9981

           clock speeds: max: 2500 MHz 1: 1600 MHz 2: 1600 MHz 3: 2500 MHz 4: 1600 MHz

Graphics:  Card: Advanced Micro Devices [AMD/ATI] Device 15dd bus-ID: 03:00.0

           Display Server: X.Org 1.19.2 drivers: fbdev,ati (unloaded: modesetting,vesa,radeon)

           Resolution: 1920x1080@77.00hz

           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits)

           GLX Version: 3.0 Mesa 13.0.6 Direct Rendering: Yes



Does anyone have any succesful experiences with Ryzen+Vega?
Suggestions are appriciated :)
veggis
 
Posts: 3
Joined: 2019-01-22 19:19

Re: 2200u with Vega 3

Postby stevepusser » 2019-01-22 19:42

Might need even more backports...can you try booting a Live USB of MX Linux, which is on a Stretch base with a load of backports already, to see if that works? I'm thinking you need the newer Mesa from backports.
Last edited by stevepusser on 2019-01-23 21:18, edited 1 time in total.
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.20.7 kernel, wine-staging 4.0.2, Strawberry 0.5.2, Calibre 3.39.1, Pale Moon 28.4.0
User avatar
stevepusser
 
Posts: 10535
Joined: 2009-10-06 05:53

Re: 2200u with Vega 3

Postby veggis » 2019-01-22 20:49

stevepusser wrote:Might need even more backports...can you try booting a Live USB of MX Linux, which is on a Stretch backports with a load of backports already, to see if that works? I'm thinking you need the newer Mesa from backports.


Ok! So i booted up with MX Linux from usb. It froze on boot at first, but i suspected adding pci=noacpi to grub would work. And it did!
After that, everything seem to work out of the box! I can adjust brightness and everything (even though i had to echo brightness in amdgpu_bl0).

Now.. How do I go from here?

Code: Select all
$ inxi
xCPU: Dual Core AMD Ryzen 3 2200U with Radeon Vega Mobile Gfx (-MT MCP-)
speed/min/max: 1415/1600/2500 MHz Kernel: 4.19.0-1-amd64 x86_64 Up: 2m
Mem: 553.4/6933.1 MiB (8.0%) Storage: 253.12 GiB (0.0% used) Procs: 196 Shell: bash 4.4.12
inxi: 3.0.25

Code: Select all
Graphics:  Device-1: AMD driver: amdgpu v: kernel bus ID: 03:00.0
           Display: x11 server: X.Org 1.19.2 driver: amdgpu,ati
           unloaded: fbdev,modesetting,radeon,vesa resolution: 1920x1080~60Hz
           OpenGL: renderer: AMD RAVEN (DRM 3.27.0 4.19.0-1-amd64 LLVM 7.0.0) v: 4.5 Mesa 18.2.6
           direct render: Yes
veggis
 
Posts: 3
Joined: 2019-01-22 19:19

Re: 2200u with Vega 3

Postby Head_on_a_Stick » 2019-01-23 05:45

veggis wrote:How do I go from here?

Either install MX or install Debian and use the same backported packages.

Find out exactly what the packages are with
Code: Select all
# apt install apt-show-versions
apt-show-versions | grep backports

Instructions here: https://backports.debian.org/Instructions/
User avatar
Head_on_a_Stick
 
Posts: 8900
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: 2200u with Vega 3

Postby veggis » 2019-01-23 16:13

After further inspection, I see there's still alot of problems. The machine does not shutdown properly (stays at a loading screen), hibernation makes the screen black and does not boot up again, reboot does the same thing, it shutsdown but screen goes black even though the machine is still on. This probably is because of ACPI.
veggis
 
Posts: 3
Joined: 2019-01-22 19:19

Re: 2200u with Vega 3

Postby stevepusser » 2019-01-23 21:49

Are there any BIOS updates for that machine? Ryzen support seems to be flaky in Linux with many earlier BIOS versions. We also added a bunch of Vega firmware to the non-free firmware in MX that Debian hadn't yet, though that's fixed now in Debian testing, the MX test repo, or my own OBS backports repo below...not yet in stretch-backports ATM: https://packages.debian.org/buster/firm ... d-graphics

And yes, all those problems in MX are due to to turning off acpi, so you need to have it enabled somehow. There are many other tweaks available at boot, such
Code: Select all
acpi_osi="!Windows 2015"
, so you may have to search the web to see if anyone with the same hardware has found a solution yet.

I do have the same hardware backports as MX Linux has in a separate OBS repository, which is a bit easier to use, since it doesn't have the low pinning that stretch-backports has, plus includes the non-free packages.

https://build.opensuse.org/project/show ... re-support
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.20.7 kernel, wine-staging 4.0.2, Strawberry 0.5.2, Calibre 3.39.1, Pale Moon 28.4.0
User avatar
stevepusser
 
Posts: 10535
Joined: 2009-10-06 05:53


Return to Hardware

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable