LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   AMD integrated graphics not working with amdgpu driver in X, AMD Ryzen 9 7900x (https://www.linuxquestions.org/questions/slackware-installation-40/amd-integrated-graphics-not-working-with-amdgpu-driver-in-x-amd-ryzen-9-7900x-4175750254/)

miev 05-03-2025 07:27 AM

AMD integrated graphics not working with amdgpu driver in X, AMD Ryzen 9 7900x
 
Do AMD integrated graphics work in Slackware? I have AMD Ryzen 9 7900x with integrated graphics. Xorg only works with framebuffer video driver max 1024x768 resolution.

Pentium4User 05-04-2025 01:11 AM

Do you run 15.0?
If so, you have an old-ass kernel that will probably not support this rather new GPU.

Try Slackware current.

miev 05-04-2025 05:19 AM

Yes, 15.0. I quess it is that. Upgraded to newest, tried different configurations. It just don't load the module and there is no screen for X. Other machines with intel chip, it works just fine.

Maybe I'll try current but I would like to stay stable with this. So I might use something else.

Btw. In Debian install it says that there is possible missing firware for module amdgpu. I have not not yet figured does it find firmware or why it find screen and works. Newer kernel I quess? (6.1.129-1)

miev 05-04-2025 07:31 AM

Maybe I try to build a new kernel for 15.0. Never done that. Any suggestions / best practices. How to start? At least some hint which one to choose from kernel.org.

henca 05-04-2025 01:41 PM

Quote:

Originally Posted by miev (Post 6569886)
Maybe I try to build a new kernel for 15.0. Never done that. Any suggestions / best practices. How to start? At least some hint which one to choose from kernel.org.

A good start would be the configuration file of the Slackware 15.0 kernel which you can get with a command like:

Code:

cat /proc/config.gz | gzip -d - > .config
Put that .config file in the top level directory of your new linux kernel source tree and start by running:

Code:

make oldconfig
An alternative start for you .config file might be the kernel configuration files from Slackware current.

After that, you can apply any patches if you want to and make your own customizations to the kernel configuration with:

Code:

make menuconfig
or

Code:

make xconfig
if you are running X (preferably as a normal user)

Once you have the kernel that configuration as you want it it is time to build the kernel:

Code:

make bzImage
...and the kernel modules:

Code:

make modules
Install the new modules with:

Code:

make modules_install
and install the newly built bzImage in your bootloader. You might need some extra steps to update an initrd if you start with the generic kernel configuration rather than the huge kernel configuration.

This method allows your newly built kernel to live side by side with the stock kernel if you configure your bootloader to choose between them. You can also study the build scripts in http://ftp.slackware.com/pub/slackwa...15.0/source/k/ (or your favorite mirror) if you prefer to build Slackware packages with your custom kernel.

If I wanted to update the kernel on my Slackware 15.0 system I would probably go for the latest 6.12.26 longterm version. But your choice of kernel version completely depends upon your reason for trying a newer kernel.

regards Henrik

j12i 05-10-2025 07:09 AM

I was in a similar spot: see switching from an intel to an amd system without reinstall?

The difference is that my APU (=CPU with integrated graphics) is even one generation newer still than yours. So you might have better luck than me. But for me, I needed to upgrade mesa too to support the hardware, not just the kernel. And I failed at that. It's documented in the thread starting from post #7.

PS: I think your thread would have better been posted in the regular Slackware forum, not its Installation subforum.

PurpleSquirrel 05-12-2025 12:20 PM

I documented a quick and dirty test here which told me what hardware was compatible with two different kernels. As far as I checked, it was accurate even though it was QnD.

HTH

lazardo 06-19-2025 01:54 PM

Quote:

Originally Posted by miev (Post 6569763)
Do AMD integrated graphics work in Slackware? I have AMD Ryzen 9 7900x with integrated graphics. Xorg only works with framebuffer video driver max 1024x768 resolution.

Yes.
Probably need to be on a 6.x kernel however. The system is a OLED laptop circa 2022 running flicker-free at 1920x1080.
Code:

$ dmesg | grep -e amdgpu -e Linux\ ver -e smpboot
[    0.000000] Linux version 6.12.31v1 (gcc (GCC) 11.2.0, GNU ld version 2.37-slack15) #54 SMP PREEMPT Wed Jun 18 16:29:02 PDT 2025
[    0.178934] smpboot: CPU0: AMD Ryzen 9 5900HX with Radeon Graphics (family: 0x19, model: 0x50, stepping: 0x0)
[    0.179395] smpboot: x86: Booting SMP configuration:
[    0.196829] smpboot: Total of 16 processors activated (105407.45 BogoMIPS)
[    3.378432] [drm] amdgpu kernel modesetting enabled.
[    3.384729] amdgpu: Virtual CRAT table created for CPU
[    3.384744] amdgpu: Topology: Add CPU node
[    3.384871] amdgpu 0000:05:00.0: enabling device (0006 -> 0007)
[    3.388432] amdgpu 0000:05:00.0: amdgpu: Fetched VBIOS from VFCT
[    3.388435] amdgpu: ATOM BIOS: 113-CEZANNE-021
[    3.388477] amdgpu 0000:05:00.0: vgaarb: deactivate vga console
[    3.388480] amdgpu 0000:05:00.0: amdgpu: Trusted Memory Zone (TMZ) feature enabled
[    3.388484] amdgpu 0000:05:00.0: amdgpu: MODE2 reset
[    3.389189] amdgpu 0000:05:00.0: amdgpu: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
[    3.389193] amdgpu 0000:05:00.0: amdgpu: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
[    3.389319] [drm] amdgpu: 512M of VRAM memory ready
[    3.389322] [drm] amdgpu: 7703M of GTT memory ready.
[    4.153589] amdgpu 0000:05:00.0: amdgpu: reserve 0x400000 from 0xf41f800000 for PSP TMR
[    4.249714] amdgpu 0000:05:00.0: amdgpu: RAS: optional ras ta ucode is not available
[    4.261715] amdgpu 0000:05:00.0: amdgpu: RAP: optional rap ta ucode is not available
[    4.261719] amdgpu 0000:05:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[    4.261939] amdgpu 0000:05:00.0: amdgpu: SMU is initialized successfully!
[    4.294823] snd_hda_intel 0000:05:00.1: bound 0000:05:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    4.422172] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
[    4.422190] kfd kfd: amdgpu: Total number of KFD nodes to be created: 1
[    4.422321] amdgpu: Virtual CRAT table created for GPU
[    4.422386] amdgpu: Topology: Add dGPU node [0x1638:0x1002]
[    4.422390] kfd kfd: amdgpu: added device 1002:1638
[    4.422401] amdgpu 0000:05:00.0: amdgpu: SE 1, SH per SE 1, CU per SH 8, active_cu_number 8
[    4.422407] amdgpu 0000:05:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
[    4.422410] amdgpu 0000:05:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[    4.422412] amdgpu 0000:05:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[    4.422414] amdgpu 0000:05:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[    4.422416] amdgpu 0000:05:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[    4.422418] amdgpu 0000:05:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[    4.422420] amdgpu 0000:05:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[    4.422423] amdgpu 0000:05:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[    4.422425] amdgpu 0000:05:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[    4.422427] amdgpu 0000:05:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 11 on hub 0
[    4.422429] amdgpu 0000:05:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 8
[    4.422431] amdgpu 0000:05:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 8
[    4.422433] amdgpu 0000:05:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 8
[    4.422435] amdgpu 0000:05:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 8
[    4.422437] amdgpu 0000:05:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 8
[    4.424455] amdgpu 0000:05:00.0: amdgpu: Runtime PM not available
[    4.424821] [drm] Initialized amdgpu 3.61.0 for 0000:05:00.0 on minor 0
[    4.428793] fbcon: amdgpudrmfb (fb0) is primary device
[    4.813962] amdgpu 0000:05:00.0: [drm] *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
[    5.695617] amdgpu 0000:05:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[ 6766.897426] amdgpu 0000:05:00.0: amdgpu: SMU is resuming...
[ 6766.897552] amdgpu 0000:05:00.0: amdgpu: dpm has been disabled
[ 6766.898951] amdgpu 0000:05:00.0: amdgpu: SMU is resumed successfully!
[ 6767.176612] amdgpu 0000:05:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
[ 6767.176620] amdgpu 0000:05:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[ 6767.176623] amdgpu 0000:05:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[ 6767.176625] amdgpu 0000:05:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[ 6767.176627] amdgpu 0000:05:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[ 6767.176628] amdgpu 0000:05:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[ 6767.176630] amdgpu 0000:05:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[ 6767.176631] amdgpu 0000:05:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[ 6767.176632] amdgpu 0000:05:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[ 6767.176634] amdgpu 0000:05:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 11 on hub 0
[ 6767.176636] amdgpu 0000:05:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 8
[ 6767.176638] amdgpu 0000:05:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 8
[ 6767.176639] amdgpu 0000:05:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 8
[ 6767.176640] amdgpu 0000:05:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 8
[ 6767.176642] amdgpu 0000:05:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 8



All times are GMT -5. The time now is 06:16 PM.