Antix video problem

My Antix 23.2 hard install with the screen in 800 x 600 mode
I made sure the amdgpu module was loaded , then

root@trinity:/home/nevj# lshw -c video
  *-display UNCLAIMED       
       description: VGA compatible controller
       product: Navi 24 [Radeon RX 6400/6500 XT/6500M]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:03:00.0
       version: c7
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:c0000000-cfffffff memory:d0000000-d01fffff ioport:e000(size=256) memory:fb600000-fb6fffff memory:c0000-dffff
  *-graphics
       product: EFI VGA
       physical id: 3
       logical name: /dev/fb0
       capabilities: fb
       configuration: depth=32 resolution=800,600
root@trinity:/home/nevj# lsmod | grep amd
amdgpu               5967872  0
gpu_sched              32768  1 amdgpu
ttm                   110592  1 amdgpu
drm_kms_helper        270336  1 amdgpu
drm                   647168  4 gpu_sched,drm_kms_helper,amdgpu,ttm
i2c_algo_bit           16384  1 amdgpu

So it is recognising the Navi24 (rx6400) video card, and the driver is loaded in the kernel, the firmware package firmware-amd--graphics is installed,
but
it is not using the amdgpu driver ( it should be listed by lshw)

What else can I do to make it use the driver?

Here is what lshw should say

  *-display                 
       description: VGA compatible controller
       product: Navi 24 [Radeon RX 6400/6500 XT/6500M]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: /dev/fb0
       version: c7
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=amdgpu latency=0 resolution=1920,1080
       resources: irq:82 memory:c0000000-cfffffff memory:d0000000-d01fffff ioport:e000(size=256) memory:fb600000-fb6fffff memory:c0000-dffff

That was MX. Both Antix and MX are Debian 12 based… their package versions should be the same

I dont understand how the driver can be loaded in Antix but not be used?

2 Likes

Another Maybe
ROCm issue?? dealing with Antix based on Debian 12
edited:
After reading more- Not what you are dealing with. -sorry

discussion about AMD on Antix

1 Like

Yeah, I am reading too.
I am getting the impression that Debian 12 does not fully support amdgpu, and that distros like MX and Devuan and Ubuntu have added things to make it work, but Antix is probably raw Debian 12.
but
there are other messages too, like needing kernels above 5.14, and needing more firmware like amd-firmware and linux-firmware.
I also have in my mind that I previously installed Antix 23.1/runit and it worked… so it may be a fault in the Antix 23.2 / sysVinit iso.
I need to look around

EDIT
I think it is simpler than ROCm

2 Likes

Can you try it with a different kernel?
(One step older, maybe one step newer?)

3 Likes

It defaults to the 5.10 antix kernel. I am starting to suspect that.
I tried all the things in the Arch Wiki

https://wiki.archlinux.org/title/AMDGPU

The kernel is not using the loaded amdgpu driver.

2 Likes

That is the solution, thank you Laszlo

I installed kernel 6.1.0-28-amd64
I did update-grub in Antix, and update-grub in MX ( which controls grub)… then I can see 6.1.0-28 kernel in grub menu.
Whan I boot it, it hangs with a blinking cursor… until I do a Ctrl-C… then it boots and it now uses the amdgpu driver and I have the correct resolution

You can see in the terminal that driver=amdgpu now, and the resolution is normal.(1920 x 1080)

I looked at dmesg to try and see why the boot needs CtrlC,
The only thing I could find was

[    0.024588] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-28-amd64 root=UUID=4dc
3ac78-3877-4c47-81b6-a9a7452d75ff ro quiet selinux=0
[    0.024649] Unknown kernel command line parameters "BOOT_IMAGE=/boot/vmlinuz-6.1.0-28-
amd64 selinux=0", will be passed to user space.

I dont think that is it.?

I found that the parameters recommended in the Arch Wiki,
si-support=1 and cik-support=1 were not needed.
I dont need them for any other linux distro either?

It would seem kernels prior to somewhere in the 5.x’s do not support amdgpu driver.

At least now I have a working install of Antix.

5 Likes