You are not logged in.

#1 2022-12-10 02:53:56

ReaperOne
Member
Registered: 2022-12-08
Posts: 13

No radeon in Kernel Modules

Hello, i want to ask, how to add radeon in kernel modules ?..I checked with

lscpi -k

and it shows the kernel modules only have amdgpu

03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 550 640SP / RX 560/560X] (rev ef)
        Subsystem: ASUSTeK Computer Inc. Device 1ca0
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

It is posible to change amdgpu to radeon in kernel driver in use ? Because I wanna use AMD VCE which is not supported by amdgpu.
Thanks and stay healthy..

Last edited by ReaperOne (2022-12-10 16:17:39)

Offline

#2 2022-12-10 03:43:06

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,171

Re: No radeon in Kernel Modules


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2022-12-10 04:16:36

ReaperOne
Member
Registered: 2022-12-08
Posts: 13

Re: No radeon in Kernel Modules

Okay, I checked my laptop graphics card (Radeon RX560) is GCN 4 (Polaris 21) Family which I searched, they listed on Xorg AMDGPU for open source driver and AMDGPU PRO for proprietary driver

Offline

#4 2022-12-10 04:34:03

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,171

Re: No radeon in Kernel Modules

ReaperOne wrote:

Okay, I checked my laptop graphics card (Radeon RX560) is GCN 4 (Polaris 21) Family which I searched, they listed on Xorg AMDGPU for open source driver and AMDGPU PRO for proprietary driver

Which is probably why the kernel loads amdgpu.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#5 2022-12-10 04:56:33

ReaperOne
Member
Registered: 2022-12-08
Posts: 13

Re: No radeon in Kernel Modules

cfr wrote:
ReaperOne wrote:

Okay, I checked my laptop graphics card (Radeon RX560) is GCN 4 (Polaris 21) Family which I searched, they listed on Xorg AMDGPU for open source driver and AMDGPU PRO for proprietary driver

Which is probably why the kernel loads amdgpu.

So basicly, my laptop can't use radeon kernel module ?

Offline

#6 2022-12-10 05:10:09

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,171

Re: No radeon in Kernel Modules

ReaperOne wrote:

So basicly, my laptop can't use radeon kernel module ?

It might be able to - I don't know - but it probably isn't going to work very satisfactorily. As I understand it, it is there to support legacy hardware which AMD has washed its hands of. If your card is well-supported by the newer driver, that's probably the one you want to use. It's like using the intel driver if you have intel graphics which isn't more than a decade old: the intel driver will work, but you can expect glitches and weird problems on moderately recent hardware.

You can also, apparently, switch between amd drivers (a bit like hybrid graphics but with only one card), but that's obviously only relevant if there are two drivers which work.

Last edited by cfr (2022-12-10 05:10:54)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#7 2022-12-10 05:24:58

ReaperOne
Member
Registered: 2022-12-08
Posts: 13

Re: No radeon in Kernel Modules

cfr wrote:
ReaperOne wrote:

So basicly, my laptop can't use radeon kernel module ?

It might be able to - I don't know - but it probably isn't going to work very satisfactorily. As I understand it, it is there to support legacy hardware which AMD has washed its hands of. If your card is well-supported by the newer driver, that's probably the one you want to use. It's like using the intel driver if you have intel graphics which isn't more than a decade old: the intel driver will work, but you can expect glitches and weird problems on moderately recent hardware.

You can also, apparently, switch between amd drivers (a bit like hybrid graphics but with only one card), but that's obviously only relevant if there are two drivers which work.


Ok thanks for the explanatory, i hope amdgpu kernel support AMD VCE in next time..Anyway, thank you very much....

Offline

#8 2022-12-10 11:06:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,206

Re: No radeon in Kernel Modules

By what logic are you thinking that this isn't supported by amdgpu? Are you confused by the fact that the "pro driver package" from AMD is called "Radeon™ Software for Linux" which has no relation or meaning towards the kernel module?  What I'm suspecting you actually want is install AMF which does work on amdgpu https://wiki.archlinux.org/title/Hardwa … on#ATI/AMD

Last edited by V1del (2022-12-10 11:09:04)

Offline

#9 2022-12-10 13:26:01

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,048

Re: No radeon in Kernel Modules

With my Rx 580 (polaris 10)

$ sudo dmesg | grep -i vce
[    4.977062] [drm] add ip block number 8 <vce_v3_0>
[    4.977101] [drm] VCE enabled in VM mode
[    5.019791] [drm] Found VCE firmware Version: 53.26 Binary ID: 3
[    5.421798] [drm] VCE initialized successfully.
$ 

looks like the amdgpu kernel module does support VCE .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#10 2022-12-10 16:15:51

ReaperOne
Member
Registered: 2022-12-08
Posts: 13

Re: No radeon in Kernel Modules

V1del wrote:

By what logic are you thinking that this isn't supported by amdgpu? Are you confused by the fact that the "pro driver package" from AMD is called "Radeon™ Software for Linux" which has no relation or meaning towards the kernel module?  What I'm suspecting you actually want is install AMF which does work on amdgpu https://wiki.archlinux.org/title/Hardwa … on#ATI/AMD

Sorry, you right.. I'm still confused of this amdgpu and radeon kernel module...The reason why i want to use AMD VCE is because Handbrake supported it, and when I'm installing Handbrake, there is no AMD VCE in Video Codec.

Offline

#11 2022-12-10 16:17:21

ReaperOne
Member
Registered: 2022-12-08
Posts: 13

Re: No radeon in Kernel Modules

Lone_Wolf wrote:

With my Rx 580 (polaris 10)

$ sudo dmesg | grep -i vce
[    4.977062] [drm] add ip block number 8 <vce_v3_0>
[    4.977101] [drm] VCE enabled in VM mode
[    5.019791] [drm] Found VCE firmware Version: 53.26 Binary ID: 3
[    5.421798] [drm] VCE initialized successfully.
$ 

looks like the amdgpu kernel module does support VCE .


Wow...I want ask, have you try installed Handbrake, and there is AMD VCE on Video Codec ?

Offline

#12 2022-12-11 10:58:40

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,048

Re: No radeon in Kernel Modules

Nope, the video codec list shows

H264 (x264)
H264 10-bit (x264)
H265 (x265)
H265 10-bit (x265)
H265 12-bit (x265)
MPEG-4
MPEG-2

VP-8 , VP-9 & theora are greyed out.

In the presets under hardware there are VCN options listed , but no VCE .


Check https://handbrake.fr/docs/en/1.5.0/tech … o-vce.html

AMD VCE
Supported Hardware and Configurations

    AMD Radeon RX5000 (RDNA) and RX6000 (RDNA2) series GPU or better

According to https://en.wikipedia.org/wiki/Video_Cod … em_support Handbrake only started to add VCE support in 2018 .
It does seem possible applications using gstreamer or openmax may have better support for AMD VCE .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB