You are not logged in.

#1 2022-08-21 16:49:51

mohammadsm
Member
Registered: 2022-08-21
Posts: 7

amdgpu driver

my amdgpu driver  is loaded on kernel but not used

my laptop is hp8560p

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series]
    DeviceName: 0
    Subsystem: Hewlett-Packard Company Radeon HD 6470M
    Kernel driver in use: radeon
    Kernel modules: radeon, amdgpu

GPU: AMD ATI Radeon HD 6400M/7400M Series

</etc/modprobe.d/amdgpu.conf>
options amdgpu si_support=1
options amdgpu cik_support=1

</etc/modprobe.d/radeon.conf>
options radeon si_support=0
options radeon cik_support=0

</etc/mkinitcpio.conf>
MODULES=(amdgpu radeon)

and
xf86-video-amdgpu , mesa ,vulkan-radeon is installed

but gpu dirver not working and i can not play game

Offline

#2 2022-08-21 17:50:13

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: amdgpu driver

Did you remember to add modconf to the HOOKS array in /etc/mkinitcpio.conf and regenerate the initramfs?


Jin, Jîyan, Azadî

Offline

#3 2022-08-21 20:58:55

mohammadsm
Member
Registered: 2022-08-21
Posts: 7

Re: amdgpu driver

yse
HOOKS=(modconf base udev autodetect block filesystems keyboard fsck)
and then run
sudo mkinitcpio -P
and reboot system
but kernel dont use amdgpu

Last edited by mohammadsm (2022-08-21 21:53:23)

Offline

#4 2022-08-22 11:31:56

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

Re: amdgpu driver

HOOKS=(modconf base udev autodetect block filesystems keyboard fsck)

The order of hooks is important, try putting modconf between autodetect & block as shown in the example in /etc/mkinitcpio.conf
(if that doesn't help, try after filesystems)


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

#5 2022-08-22 12:05:59

mohammadsm
Member
Registered: 2022-08-21
Posts: 7

Re: amdgpu driver

Lone_Wolf wrote:
HOOKS=(modconf base udev autodetect block filesystems keyboard fsck)

The order of hooks is important, try putting modconf between autodetect & block as shown in the example in /etc/mkinitcpio.conf
(if that doesn't help, try after filesystems)

i do this
and run
mkinitcpio -P

but  amdgpu dosent work

i dont active amd gpu in xorg
beacuse kernel dont use amdgpu kernel use radeon

is it a driver bug?

i didnt use guided installer for installing arch

Last edited by mohammadsm (2022-08-22 12:08:24)

Offline

#6 2022-08-22 12:19:23

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

Re: amdgpu driver

remove radeon from the MODULES= line in mkinitcpio.conf , regenerate and reboot.

If that doesn't help, post dmesg and/or journal from last boot (run both with root-rights).

See https://wiki.archlinux.org/title/List_o … n_services for methods to upload large text files.


Welcome to archlinux forums.

Last edited by Lone_Wolf (2022-08-22 12:19:49)


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

#7 2022-08-22 12:36:07

mohammadsm
Member
Registered: 2022-08-21
Posts: 7

Re: amdgpu driver

i remove radon from moduls but use radeon agian

https://pastebin.ubuntu.com/p/DPFxW5WWxq/
dmesg text is in this pastebin link

Last edited by mohammadsm (2022-08-22 12:38:10)

Offline

#8 2022-08-22 12:47:46

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

Re: amdgpu driver

[    4.870252] [drm] amdgpu kernel modesetting enabled.
[    4.870732] amdgpu: CRAT table not found
[    4.870745] amdgpu: Virtual CRAT table created for CPU
[    4.870784] amdgpu: Topology: Add CPU node

[   18.156991] [drm] radeon kernel modesetting enabled.
[   18.157261] Console: switching to colour dummy device 80x25
[   18.157293] radeon 0000:01:00.0: vgaarb: deactivate vga console
[   18.157783] input: PC Speaker as /devices/platform/pcspkr/input/input11
[   18.160120] [drm] initializing kernel modesetting (CAICOS 0x1002:0x6760 0x103C:0x161A 0x00).
[   18.160203] ATOM BIOS: HP
[   18.160658] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[   18.160662] radeon 0000:01:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
[   18.160666] [drm] Detected VRAM RAM=1024M, BAR=256M
[   18.160667] [drm] RAM width 64bits DDR
[   18.160691] [drm] radeon: 1024M of VRAM memory ready
[   18.160693] [drm] radeon: 1024M of GTT memory ready.
[   18.160700] [drm] Loading CAICOS Microcode

the amdgpu kernel module is loaded, but it seems the parameters are still not used.

Let's pass them directly to the kernel : append amdgpu.si_support=1 amdgpu.cik_support=1 to your boot command line, reboot.


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

#9 2022-08-22 13:03:25

mohammadsm
Member
Registered: 2022-08-21
Posts: 7

Re: amdgpu driver

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series]
    DeviceName: 0
    Subsystem: Hewlett-Packard Company Radeon HD 6470M
    Kernel driver in use: radeon
    Kernel modules: radeon, amdgpu


didnt fix
my </etc/default/grub>
https://pastebin.ubuntu.com/p/v7Qk3xHNdq/

Offline

#10 2022-08-22 17:34:06

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: amdgpu driver

This will show if the parameters are applied:

cat /sys/module/amdgpu/parameters/{si,cik}_support

And I think you should only enable either Southern Islands ("si") or Sea Islands ("cik") amdgpu support for the card, not both — dmesg may indicate which is appropriate, otherwise consult the interweb.


Jin, Jîyan, Azadî

Offline

#11 2022-08-22 17:57:56

marvinia
Member
Registered: 2018-06-05
Posts: 12

Re: amdgpu driver

[Radeon HD 6400M/7400M Series]
When reading the hd 7000 series articles on wikipedia in english and german I get the impression that this gpu is pre-GCN.

If true:
- amdgpu does not support this card, so loading it leeds to nothing
- the si an cik related parameters won't help
- the radeon module is likely the right choice
- https://wiki.archlinux.org/title/ATI

Best regards

Offline

#12 2022-08-22 19:53:33

mohammadsm
Member
Registered: 2022-08-21
Posts: 7

Re: amdgpu driver

Head_on_a_Stick wrote:

This will show if the parameters are applied:

cat /sys/module/amdgpu/parameters/{si,cik}_support

And I think you should only enable either Southern Islands ("si") or Sea Islands ("cik") amdgpu support for the card, not both — dmesg may indicate which is appropriate, otherwise consult the interweb.

{
% cat /sys/module/amdgpu/parameters/{si,cik}_support
1
1
}
this is output
suport to items
what should i do
use one of them or use both

Offline

#13 2022-08-22 19:55:31

mohammadsm
Member
Registered: 2022-08-21
Posts: 7

Re: amdgpu driver

marvinia wrote:

[Radeon HD 6400M/7400M Series]
When reading the hd 7000 series articles on wikipedia in english and german I get the impression that this gpu is pre-GCN.

If true:
- amdgpu does not support this card, so loading it leeds to nothing
- the si an cik related parameters won't help
- the radeon module is likely the right choice
- https://wiki.archlinux.org/title/ATI

Best regards

i search in the google my grafic should be suport
in windows this gpu suported and i instaled gpu dirver and i can play but in linux i have this problem

Last edited by mohammadsm (2022-08-22 20:09:58)

Offline

#14 2022-08-22 21:06:59

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

Re: amdgpu driver

To me this reads like pre-GCN but for some reason sharing a vid/pid with something newer which does lead to amdgpu being loaded while it doesn't actually support it.

What the windows driver does is irrelevant, you do have the radeon driver here which is apparently working correctly. You can "play" with that as well but it will lack Vulkan which is probably what you are looking for, and likely not going to get.

Last edited by V1del (2022-08-22 21:07:52)

Offline

#15 2022-08-24 12:48:57

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

Re: amdgpu driver

[    0.536899] pci 0000:01:00.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.536934] pci 0000:01:00.0: supports D1 D2
[    0.537052] pci 0000:01:00.1: [1002:aa98] type 00 class 0x040300

1022:aa98 corresponds to
Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM / R5 230/235/235X OEM]  on https://pci-ids.ucw.cz/

the firmware loaded is indeed for caicos which does confirm this is a terascale 2 chipset that can't work with amdgpu.

I think V1del is right.


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