LinuxQuestions.org
Weather apps tell you it'll rain. Wyndo tells you when to go.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 05-03-2025, 07:27 AM   #1
miev
LQ Newbie
 
Registered: Nov 2016
Location: Finland
Distribution: debian, slackware64
Posts: 6

Rep: Reputation: Disabled
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.
 
Old 05-04-2025, 01:11 AM   #2
Pentium4User
Member
 
Registered: Jan 2018
Distribution: Debian, Slackware, FreeBSD, Fedora
Posts: 265

Rep: Reputation: 57
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.
 
Old 05-04-2025, 05:19 AM   #3
miev
LQ Newbie
 
Registered: Nov 2016
Location: Finland
Distribution: debian, slackware64
Posts: 6

Original Poster
Rep: Reputation: Disabled
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)

Last edited by miev; 05-04-2025 at 06:08 AM.
 
Old 05-04-2025, 07:31 AM   #4
miev
LQ Newbie
 
Registered: Nov 2016
Location: Finland
Distribution: debian, slackware64
Posts: 6

Original Poster
Rep: Reputation: Disabled
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.
 
Old 05-04-2025, 01:41 PM   #5
henca
Senior Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 2,079

Rep: Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564
Quote:
Originally Posted by miev View Post
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
 
Old 05-10-2025, 07:09 AM   #6
j12i
Member
 
Registered: Nov 2013
Location: UTC+1
Distribution: Slackware64-current & -15.0
Posts: 465

Rep: Reputation: 220Reputation: 220Reputation: 220
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.

Last edited by j12i; 05-10-2025 at 07:11 AM. Reason: add post scriptum
 
Old 05-12-2025, 12:20 PM   #7
PurpleSquirrel
Member
 
Registered: Aug 2021
Location: Here
Distribution: Slackware 2.3 to post-15.0 current
Posts: 70

Rep: Reputation: 33
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
 
Old 06-19-2025, 01:54 PM   #8
lazardo
Member
 
Registered: Feb 2010
Location: SD Bay Area
Posts: 439

Rep: Reputation: Disabled
Quote:
Originally Posted by miev View Post
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

Last edited by lazardo; 06-19-2025 at 01:56 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: AMD Announces Ryzen 9 9950X3D & Ryzen AI Max, Previews AMD RDNA 4 Graphics LXer Syndicated Linux News 0 01-07-2025 10:51 AM
is AMD Ryzen 7 5800H fully supported by amdgpu driver? masavini Linux - Hardware 1 08-09-2022 01:27 PM
[SOLVED] AMD Ryzen Vega 11 tearing issue (amdgpu)? kukibl Slackware 2 08-02-2020 06:36 AM
AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx - *ERROR* amdgpu requires firmware installed angelsen Linux - Hardware 1 07-11-2018 05:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

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

Contact Us - Advertising Info - Rules - Privacy - Donations - Contributing Member - LQ Sitemap - "Weather apps tell you it'll rain. Wyndo tells you when to go."
Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions