AMD Ryzen Raven Ridge
#46
ready to test Smile
here 
https://forum.kodi.tv/showthread.php?tid=332269
Reply
#47
Just pulled the trigger today on the components for a 2200g and was going the Linux route. I know there is a PPA for the updated mesa and kernel but what about Kodi? Do I use he nightly or unstable with Ubuntu 18.04?

I hope LibreELEC comes along in the future for these because I miss my old APU days.
HTPC(s): All running LibreELEC
  • AMD 2200G APU on Gigabyte AB350N-Gaming WIFI-CF
  • RPI3 x2 | RPI2 x2
NAS: FreeNAS (Latest Stable) | NFS/CIFS
Reply
#48
I am using the nightly
Reply
#49
Ok, i set up my hardware :
Code:
inxi -F
System:    Host: bibi-server Kernel: 4.16.13-1-ARCH x86_64 bits: 64 Console: tty 3 Distro: Arch Linux
Machine:   Type: Desktop Mobo: ASRock model: X470 Gaming-ITX/ac serial: <root required>
           UEFI: American Megatrends v: P1.10 date: 04/20/2018
CPU:       Topology: Quad Core model: AMD Ryzen 5 2400G with Radeon Vega Graphics bits: 64 type: MT MCP
           L2 cache: 2048 KiB
           Speed: 3742 MHz min/max: 1600/3600 MHz Core speeds (MHz): 1: 3737 2: 3736 3: 3719 4: 3719 5: 3746
           6: 3746 7: 3786 8: 3786
Graphics:  Card-1: AMD Raven Bridge [Radeon Vega Series / Radeon Vega Mobile Series] driver: amdgpu v: kernel
           Display: server: N/A driver: amdgpu unloaded: modesetting tty: 143x34
           Message: Advanced graphics data unavailable in console. Try -G --display
Audio:     Card-1: Advanced Micro Devices [AMD/ATI] driver: snd_hda_intel
           Card-2: Advanced Micro Devices [AMD] driver: snd_hda_intel
           Sound Server: ALSA v: k4.16.13-1-ARCH
Network:   Card-1: Intel Wireless-AC 9260 driver: iwlwifi
           IF: wlp36s0 state: down mac: 0c:54:15:a7:99:41
           Card-2: Intel I211 Gigabit Network Connection driver: igb
           IF: enp37s0 state: up speed: 100 Mbps duplex: full mac: 70:85:c2:83:63:f5
Drives:    HDD Total Size: 9.32 TiB used: 5.94 TiB (63.7%)
           ID-1: /dev/sda vendor: Crucial model: CT250MX500SSD1 size: 232.89 GiB
           ID-2: /dev/sdb vendor: Seagate model: ST4000VN008-2DR166 size: 3.64 TiB
           ID-3: /dev/sdc vendor: Seagate model: ST6000DM003-2CY186 size: 5.46 TiB
Partition: ID-1: / size: 48.97 GiB used: 18.40 GiB (37.6%) fs: ext4 dev: /dev/sda3
           ID-2: /home size: 177.93 GiB used: 6.08 GiB (3.4%) fs: ext4 dev: /dev/sda4
           ID-3: swap-1 size: 1024.0 MiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2
Sensors:   System Temperatures: cpu: 69.9 C mobo: 114.0 C gpu: amdgpu temp: 0 C
           Fan Speeds (RPM): cpu: 0 fan-2: 2184 fan-3: 0 fan-4: 0 fan-5: 0
Info:      Processes: 275 Uptime: 6h 02m Memory: 14.67 GiB used: 1.25 GiB (8.5%) Init: systemd Shell: bash
           inxi: 3.0.10

I have undervolt the CPU with 100mv offset, it seems stable (run stress-ng for 1 hour), will try a little more undervolting later.
The fan is prettyy silent, even at full speed.
My Memory (flare X 3200) works at expected speed.

Code:
vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: mesa gallium vaapi
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc

I'm compilling Kodi-git, will report later.
Reply
#50
I had some success this morning with the following setup:

Code:
root@den4khtpc:~/.kodi/userdata# inxi -F
System:    Host: den4khtpc Kernel: 4.17.0-041700rc7-generic x86_64 bits: 64 Console: tty 1
           Distro: Ubuntu 18.04 LTS
Machine:   Device: desktop System: Gigabyte product: AB350N-Gaming WIFI serial: N/A
           Mobo: Gigabyte model: AB350N-Gaming WIFI-CF v: x.x serial: N/A
           UEFI: American Megatrends v: F22 date: 03/15/2018
CPU:       Quad core AMD Ryzen 3 2200G with Radeon Vega Graphics (-MCP-) cache: 2048 KB
           clock speeds: max: 3500 MHz 1: 1477 MHz 2: 1477 MHz 3: 3615 MHz 4: 1476 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Vega [Radeon Vega 8 Mobile]
           Display Server: X.org 1.19.6 drivers: ati,amdgpu (unloaded: modesetting,fbdev,vesa,radeon)
           tty size: 162x41 Advanced Data: N/A for root out of X
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.17.0-041700rc7-generic
Network:   Card-1: Intel Wireless 3165 driver: iwlwifi
           IF: wlp6s0 state: down mac: 0c:54:15:69:72:74
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
           IF: enp8s0 state: up speed: 1000 Mbps duplex: full mac: e0:d5:5e:a3:cb:bd
Drives:    HDD Total Size: 250.1GB (3.4% used)
           ID-1: /dev/sda model: Samsung_SSD_860 size: 250.1GB
Partition: ID-1: / size: 228G used: 7.9G (4%) fs: ext4 dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 38.9C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 208 Uptime: 1:53 Memory: 741.6/6975.6MB Init: systemd runlevel: 5
           Client: Shell (bash) inxi: 2.3.56 
root@den4khtpc:~/.kodi/userdata# vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Mesa Gallium driver 18.1.1 - padoka PPA for AMD RAVEN (DRM 3.25.0, 4.17.0-041700rc7-generic, LLVM 6.0.0)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
root@den4khtpc:~/.kodi/userdata# 

Playing some HDR 4K movies I don't see the TV shift to HDR mode so not sure if anyone has any recommendations. I have an LG B7 TV.
HTPC(s): All running LibreELEC
  • AMD 2200G APU on Gigabyte AB350N-Gaming WIFI-CF
  • RPI3 x2 | RPI2 x2
NAS: FreeNAS (Latest Stable) | NFS/CIFS
Reply
#51
I dont think that hdr works on linux AMD...
Reply
#52
An update so far from my side:

Gigabyte GA-B350 Gaming Wifi MB
AMD Ryzen 2400G
Ubuntu 18.04 with Kernel 4.18RC2 and Mesa3D-devel (today‘s build)

- Using VAAPI with todays Mesa build will currently freeze my box within a few minutes to a few hours of watching anything like YT, LiveTV or the like
- Not using VAAPI will „fix“ this issue and no more freezes will happen
- Boot freezes have been reduced greatly with the latest kernel release, but they still do exist.
- Playing games via Steam works ok, unless the game is crap for Mesa drivers (i.e. Divine Divinty). Still get crashes from time to time.
- Emus like WinUAE and Dolphin (devel) work well when using OGL though I get crashes in Dolphinevery few hours or once a day. Though I suspect the emu is the culprit and not Ryzen.

Result so far:
This hardware build is still very much an experiment and cannot be deemed stable at all. Though the progress that is being done is evident in regards to kernel and mesa3d. But it is clearly not there yet.
AMD Ryzen 5 2700 | Asus ROG Strix B350 ITX | Geforce RTX 2060 
Ubuntu 22.04 LTS | Kernel 6.1 | Nvidia blob drivers | Kodi v20
Reply
#53
(2018-06-26, 20:45)Juppstein Wrote: An update so far from my side:

Gigabyte GA-B350 Gaming Wifi MB
AMD Ryzen 2400G
Ubuntu 18.04 with Kernel 4.18RC2 and Mesa3D-devel (today‘s build)

- Using VAAPI with todays Mesa build will currently freeze my box within a few minutes to a few hours of watching anything like YT, LiveTV or the like
- Not using VAAPI will „fix“ this issue and no more freezes will happen
- Boot freezes have been reduced greatly with the latest kernel release, but they still do exist.
- Playing games via Steam works ok, unless the game is crap for Mesa drivers (i.e. Divine Divinty). Still get crashes from time to time.
- Emus like WinUAE and Dolphin (devel) work well when using OGL though I get crashes in Dolphinevery few hours or once a day. Though I suspect the emu is the culprit and not Ryzen.

Result so far:
This hardware build is still very much an experiment and cannot be deemed stable at all. Though the progress that is being done is evident in regards to kernel and mesa3d. But it is clearly not there yet.


Try Libreelec 9 builds, latest support this gear pretty well with no major show stoppers for me yet.
HTPC(s): All running LibreELEC
  • AMD 2200G APU on Gigabyte AB350N-Gaming WIFI-CF
  • RPI3 x2 | RPI2 x2
NAS: FreeNAS (Latest Stable) | NFS/CIFS
Reply
#54
What kind of hardware acceleration do you have active In Kodi? Also which kernels and/or Mesa version do you have in place? Just trying to see the differences between your build and mine.
AMD Ryzen 5 2700 | Asus ROG Strix B350 ITX | Geforce RTX 2060 
Ubuntu 22.04 LTS | Kernel 6.1 | Nvidia blob drivers | Kodi v20
Reply
#55
(2018-06-30, 20:29)Juppstein Wrote: What kind of hardware acceleration do you have active In Kodi? Also which kernels and/or Mesa version do you have in place? Just trying to see the differences between your build and mine.
 Check out the following screenshots for your information. I have to say LibreELEC 9 is very stable in day to day usage.

Image Image
HTPC(s): All running LibreELEC
  • AMD 2200G APU on Gigabyte AB350N-Gaming WIFI-CF
  • RPI3 x2 | RPI2 x2
NAS: FreeNAS (Latest Stable) | NFS/CIFS
Reply
#56
Question: I followed @fritsch guide for Ubuntu 18.04 and use the Padoka MESA PPA with Kodi nightly and all I get is SW decoding only. I even tried mainline 4.17.X kernels along with the firmware files for vega but can get HW decoding. Any thoughts on where to check or what to tweak?
HTPC(s): All running LibreELEC
  • AMD 2200G APU on Gigabyte AB350N-Gaming WIFI-CF
  • RPI3 x2 | RPI2 x2
NAS: FreeNAS (Latest Stable) | NFS/CIFS
Reply
#57
(2018-07-09, 15:53)pyrodex Wrote: Question: I followed @fritsch guide for Ubuntu 18.04 and use the Padoka MESA PPA with Kodi nightly and all I get is SW decoding only. I even tried mainline 4.17.X kernels along with the firmware files for vega but can get HW decoding. Any thoughts on where to check or what to tweak?
 Too old :-) Use 4.18-rc3 all others did not have vega patches - if it still does not work -> post the links @fritsch wants to have.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#58
(2018-07-09, 19:53)fritsch Wrote:
(2018-07-09, 15:53)pyrodex Wrote: Question: I followed @fritsch guide for Ubuntu 18.04 and use the Padoka MESA PPA with Kodi nightly and all I get is SW decoding only. I even tried mainline 4.17.X kernels along with the firmware files for vega but can get HW decoding. Any thoughts on where to check or what to tweak?
 Too old :-) Use 4.18-rc3 all others did not have vega patches - if it still does not work -> post the links @fritsch wants to have. 
Thanks! I will try RC3 and RC4 from the mainline kernels. Do I still need the firmwares or those in the kernel?
HTPC(s): All running LibreELEC
  • AMD 2200G APU on Gigabyte AB350N-Gaming WIFI-CF
  • RPI3 x2 | RPI2 x2
NAS: FreeNAS (Latest Stable) | NFS/CIFS
Reply
#59
(2018-07-09, 19:53)fritsch Wrote:
(2018-07-09, 15:53)pyrodex Wrote: Question: I followed @fritsch guide for Ubuntu 18.04 and use the Padoka MESA PPA with Kodi nightly and all I get is SW decoding only. I even tried mainline 4.17.X kernels along with the firmware files for vega but can get HW decoding. Any thoughts on where to check or what to tweak?
 Too old :-) Use 4.18-rc3 all others did not have vega patches - if it still does not work -> post the links @fritsch wants to have. 
@fritsch 

Here you go, just tried today with rc4 and no luck.

dpkg -l |grep mesa | pastebinit - http://paste.ubuntu.com/p/5bXPXdQwDP/

For some reason vainfo is acting up:
kodi@den4khtpc:~$ DISPLAY=:0 vainfo | pastebinit
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
You are trying to send an empty document, exiting.

cat ~/.kodi/temp/kodi.log | pastebinit -b pastebin.com - https://pastebin.com/TDK1jFkQ
dmesg | pastebinit -b pastebin.com - https://pastebin.com/qnTHzhDn
id | pastebinit - http://paste.ubuntu.com/p/qTJ2pq7dxc/
amixer | pastebinit - http://paste.ubuntu.com/p/qFK5txRSkw/
cat /var/log/Xorg.0.log | pastebinit -b pastebin.com - https://pastebin.com/EMZ7k4gr
HTPC(s): All running LibreELEC
  • AMD 2200G APU on Gigabyte AB350N-Gaming WIFI-CF
  • RPI3 x2 | RPI2 x2
NAS: FreeNAS (Latest Stable) | NFS/CIFS
Reply
#60
Is it possible to install full blown distro with 2200g? I tried with Ubuntu but I think it needs newer kernel.
Reply

Logout Mark Read Team Forum Stats Members Help
AMD Ryzen Raven Ridge0