AMD hardware support in Manjaro

amd
amdgpu
manjaro
graphics
radeon

#126

So that makes for the system crashing, in turn likely having to do with the kernel.
Easier than easy, it should just be about installing linux-amd-staging-drm-next-git from AUR


#127

That will take me back down to a 4.14 kernel and will get rid of HDMI sound which was introduced in 4.15 which I am running now.


#128

Version there is just a [stupid] number.


#129

the staging kernel does not get any security fixes. its a pure development kernel, that in this case already contains amdgpu.dc. For the last 1 or 2 years, it was possible to use HDMI audio when using this staging kernel.


#130

Staging kernel gets just about anything that passes under Deucher’s eye - and nonetheless is still rebased after latest kernel versions.

In this case, I guess it’s funny that I revived what people wanted to start to forget - but it seems a quite good idea.


#131

I have a GCN 1.0 card with radeon driver and 4.15 kernel but I don’t get hdmi sound (when I choose hdmi device from gnome-center).
So, kernel 4.15 includes hdmi support for radeon or I need to add a kernel-parameter?

inxi -Gx

Summary
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Oland [Radeon HD 8570 / R7 240/340 OEM]
           bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 ) driver: (unloaded: radeon)
           Resolution: 1920x1080@71.91hz
           OpenGL: renderer: AMD OLAND (DRM 2.50.0 / 4.15.0-1-MANJARO, LLVM 5.0.1)
           version: 4.5 Mesa 17.3.2 Direct Render: Yes

xrandr

Summary
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 521mm x 293mm
   1920x1080     60.00 +  71.91*   50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     60.02  
   1440x900      59.90  
   1280x800      59.91  
   1280x720      60.00    50.00    59.94  
   1024x768      70.07    60.00  
   800x600       72.19    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       72.81    66.67    60.00    59.94  
   720x400       70.08  
DVI-0 disconnected (normal left inverted right x axis y axis)
VGA-0 disconnected (normal left inverted right x axis y axis)

aplay -l

Summary
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


#132

as far as I know, amdgpu.dc only works with amdgpu, not with radeon.

When you install amdgpu, you will definitely need the experimental package to enable DC (default is only active on vega chips)

You can of course try that: AMD hardware support in Manjaro
and check if sound then works on radeon.


#133

Thanks a lot @BS86

I tried with video-amdgpu-experimental from manjaro-settings-manager (booted up normally) but it messed up my screen resolution. Hdmi sound did not work.

I tried it but it did not work either.

I will stay with radeon at the moment and maybe something will happen in the future. :slight_smile:

EDIT: Now I just read in the archwiki that GCN1 / SI cards (like my own) are not supported:
https://wiki.archlinux.org/index.php/AMDGPU#Enable_AMD_DC_on_pre-Vega_cards


#134

HDMI audio should be possible for all Radeon supported chips with the default radeon driver. No DC required.


#136

is there a way to get openCL (1.1) support on my GPU

Card-2: Advanced Micro Devices [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / R7 M520]

#137

Putting aside 1.1 should even be achievable with the opencl-mesa, if you want performance and even 1.1: https://aur.archlinux.org/packages/opencl-amd/


#138

is there a way to check if i have openCL support enabled (not sure if it is the program or something else)


#139

you can run

clinfo

#141

and R600 is almost on OpenGL 4.5:
https://www.phoronix.com/scan.php?page=news_item&px=R600g-Almost-At-OpenGL-4.5


#142

Let’s say numbers don’t really mean *much* at this point.
I mean, Dave is pushing more for getting at least the shade of a “basic foundation”, than anything.
Aside of usable performance, my educate guess (I still have to try) would be that piglit tests are going craze after the recent code landings.

But with this said, good. He and that vmware guy are doing wonders.
Once GL_KHR_robustness lands (and there’s no other priority in the TODO list in front of speed and conformance), I guess like it’ll be a pleasure to start to nag them.


#143

And another step forward to better mainline OpenCL/ROCm:

https://www.phoronix.com/scan.php?page=news_item&px=AMDKFD-dGPU-GPUVM

Long story short, it’s looking like all the pieces are falling into place where with the Linux 4.17 kernel cycle in a few months, the ROCm/OpenCL user-space could finally be playing nicely on the mainline kernel! That is with the discrete GPUs where as up until recently they were more focused on getting all the APU bits upstreamed first. It’s been a long time coming and I can’t wait for this milestone so the open-source ROCm code can be more widely deployed and easier to use with no longer needing out-of-tree kernel modules.


#144

I’m still wondering if all the additional hardware requirements ROCm brings in, are actually making for at least theoretically some performance payoff (trivia: some months ago it was actually slower)

I mean, I guess like few software is actually targeting it (and its hcc compiler) directly, and passing through the additional opencl middle-step might add complexity and bugs… But computing doesn’t work like in games where there exist an “enough” spot.


#145

With DC enables, and hdmi sounds working, there is a lot “cracking” via HDMI/DP audio on linux only. Is there something I can do about?


#146

You might want to update this neat table.

In other news, seems like that the majority of the clover improvement talked about last year, never actually landed.


#147
~ Kernel Version Kernel Driver XOrg Driver Mesa Version OpenCL Support
HD 1xxx - 7xxx all Radeon xf86-video-ati all catalyst
GCN1.0 4.x, 4.13+ Radeon, amdgpu (experimental) xf86-video-ati, xf86-video-amdgpu 10.3+ catalyst, opencl-amd
GCN1.1 4.x, 4.13+ Radeon, amdgpu (experimental) xf86-video-ati, xf86-video-amdgpu 10.3+ catalyst, opencl-amd
GCN1.2 4.9+ amdgpu xf86-video-amdgpu 11+ opencl-amd
GCN4 (Polaris 10+11+12) 4.10+ amdgpu xf86-video-amdgpu 17+ opencl-amd
GCNX (Vega) 4.15 amdgpu xf86-video-amdgpu 17+ no