LinHES Forums
http://forum.linhes.org/

AMD Ryzen APUs
http://forum.linhes.org/viewtopic.php?f=23&t=24830
Page 1 of 1

Author:  jniffen [ Tue Apr 02, 2019 5:27 pm ]
Post subject:  AMD Ryzen APUs

It's been about a year since the AMD Ryzen 5 2400G APUs have arrived, along with the Ryzen 3 2200G series.

I am wondering if it is still too soon to plan to purchase/build a system to use with LinHES.
I see the ASRock DeskMini A300 Series might even be a good back-end or front-end.

I would plan to stick with the HD HomeRun tuners.

I know there are reports Linux 4 19 or newer seem to have things stable for these APUs.

Any input, thoughts would be appreciated.

Thanks

Author:  jniffen [ Thu Jul 11, 2019 7:36 pm ]
Post subject:  Re: AMD Ryzen APUs

With all the sales on the AMD Ryzen products, I did purchase the following:

AMD Ryzen 5 2400G
Gigabyte B450I Aorus Pro WiFi mini-iTX
(2) 8GB Ballistix Sport LT DDR4-3200 RAM

Would like to see if it can run on LinHES 8.6.1,

I am trying to determine if it will work with the current linux kernel version on LinHES 8.6.1
At least I hope it will be a fun experiment.
I am getting Video but no audio from the HDMI port

dmesg |grep -i VGA reports:

Code:
[    0.000000] Console: colour VGA+ 80x25
[    1.062716] vgaarb: setting as boot device: PCI:0000:09:00.0
[    1.062718] vgaarb: device added: PCI:0000:09:00.0,decodes=io+mem,owns=io+mem,locks=none
[    1.062719] vgaarb: loaded
[    1.062719] vgaarb: bridge control possible 0000:09:00.0
[    4.422295] fb0: VESA VGA frame buffer device
[    7.009488] ACPI: Video Device [VGA1] (multi-head: yes  rom: no  post: no)
[    7.722506] snd_hda_intel 0000:09:00.1: Handle vga_switcheroo audio client


dmesg |grep -i amd
Code:
[    0.000000] RAMDISK: [mem 0x37102000-0x37878fff]
[    0.000000] ACPI: IVRS 0x000000005BBB9EE0 0000D0 (v02 ALASKA A M I    00000001 AMD  00000000)
[    0.000000] ACPI: SSDT 0x000000005BBB9FB0 00119C (v01 ALASKA A M I    00000001 AMD  00000001)
[    0.000000] ACPI: CRAT 0x000000005BBBB150 000810 (v01 ALASKA A M I    00000001 AMD  00000001)
[    0.000000] ACPI: CDIT 0x000000005BBBB960 000029 (v01 ALASKA A M I    00000001 AMD  00000001)
[    0.011671] Spectre V2 : Mitigation: Full AMD retpoline
[    0.829683] smpboot: CPU0: AMD Ryzen 5 2400G with Radeon Vega Graphics (family: 0x17, model: 0x11, stepping: 0x0                      )
[    0.829688] Performance Events: Fam17h core perfctr, AMD PMU driver.
[    1.161893] AMD-Vi: Unable to write to IOMMU perf counter.
[    1.164546] AMD-Vi: Found IOMMU at 0000:00:00.2 cap 0x40
[    1.164546] AMD-Vi: Extended features (0x4f77ef22294ada):
[    1.164549] AMD-Vi: Interrupt remapping enabled
[    1.164549] AMD-Vi: virtual APIC enabled
[    1.164980] AMD-Vi: Lazy IO/TLB flushing enabled
[    1.165639] perf: AMD NB counters detected
[    1.165649] perf: AMD L2I counters detected
[    4.202843] OEM: AMD ATOMBIOS,


confirmed the libva mesa was installed

pacman -Qe |grep -i mesa
Code:
libva-mesa-driver 18.3.4-1



I reviewed the ArchLinux installation guide, which only provide installing Arch, but not configuring video.

lspci reports:
Code:
 
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15d0
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 15d1
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15db
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e8
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e9
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ea
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15eb
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ec
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ed
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ee
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ef
01:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43d5 (rev 01)
01:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] Device 43c8 (rev 01)
01:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c6 (rev 01)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c7 (rev 01)
02:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c7 (rev 01)
02:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c7 (rev 01)
02:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c7 (rev 01)
02:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c7 (rev 01)
02:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c7 (rev 01)
06:00.0 Network controller: Intel Corporation Device 2526 (rev 29)
08:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 15dd (rev c6)
09:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de
09:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 15df
09:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e0
09:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e1
09:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Device 15e3


I do see
/lib/modules/4.9.159-1-ARCH/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu

But I am not finding the
xf86-video-amdgpu

Running:
pacman -Ss xf86-video
Code:
core/xf86-video-ati 1:18.0.1-1 (xorg-drivers)
    X.org ati video driver
core/xf86-video-intel 1:2.99.917+860+g3a2dec17-1 (xorg-drivers)
    X.org Intel i810/i830/i915/945G/G965+ video drivers
core/xf86-video-vesa 2.4.0-1 (xorg-drivers xorg) [installed]
    X.org vesa video driver
core/xf86-video-vmware 13.2.1-2 (xorg-drivers)
    X.org vmware video driver


So i've been spinning myself around in trying to determine if:
1. I have a slight chance of getting this to work.
2. If so, do I need to get the xf86-video-amdgpu even though I found
/lib/modules/4.9.159-1-ARCH/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu

Any input will be appreciated.

Author:  knappster [ Sat Jul 13, 2019 9:54 am ]
Post subject:  Re: AMD Ryzen APUs

I don't have a solid answer for you, but I believe with an nvidia card, I had to follow instructions here to get sound to work outside of mythtv:
https://wiki.archlinux.org/index.php/Ad ... s_not_work

You can use aplay -l to figure out what audio devices alsa thinks you have and check whether you can force any audio from the command line. If so, I would think it is just a mythtv frontend configuration issue. If not, then I suspect it would be more likely a driver/support issue.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/