Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

[Solved] Old system, Granite Ridge video

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
tkzv
Tux's lil' helper
Tux's lil' helper
Posts: 121
Joined: Fri Aug 22, 2014 6:56 pm

[Solved] Old system, Granite Ridge video

  • Quote

Post by tkzv » Tue Dec 02, 2025 5:00 am

I connected an old HDD to a new motherboard, and cannot get video to work in X Window.

Code: Select all

$ lspci | grep VGA
0d:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Granite Ridge [Radeon Graphics] (rev c9)
I recompiled the kernel with radeon and amdgpu drivers and rebuilt world with VIDEO_CARDS="radeon r600 amdgpu radeonsi nouveau nvk zink nvidia". X Window refused to load, with the error that no cards supported by "radeon" driver were found. I changed it to VIDEO_CARDS="amdgpu nouveau nvk zink nvidia", in /etc/X11/xorg.conf replaced "radeon" with "amdgpu". After that Xorg.0.log says:

Code: Select all

[  1929.450] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[  1929.451] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1929.451] (II) Platform probe for /sys/devices/pci0000:00/0000:00:08.1/0000:0d:00.0/drm/card0
[  1929.451] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[  1929.453] (--) PCI:*(13@0:0:0) 1002:13c0:1462:7e56 rev 201, Mem @ 0xfcf0000000/268435456, 0xf6200000/2097152, 0xf6700000/524288, I/O @ 0x0000e000/256
[  1929.453] (II) "glx" will be loaded by default.
[  1929.453] (II) LoadModule: "glx"
[  1929.453] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  1929.453] (II) Module glx: vendor="X.Org Foundation"
[  1929.453]    compiled for 1.21.1.20, module version = 1.0.0
[  1929.453]    ABI class: X.Org Server Extension, version 10.0
[  1929.453] (II) LoadModule: "amdgpu"
[  1929.453] (II) Loading /usr/lib64/xorg/modules/drivers/amdgpu_drv.so
[  1929.477] (II) Module amdgpu: vendor="X.Org Foundation"
[  1929.477]    compiled for 1.21.1.20, module version = 23.0.0
[  1929.477]    Module class: X.Org Video Driver
[  1929.477]    ABI class: X.Org Video Driver, version 25.2
[  1929.477] (II) AMDGPU: Driver for AMD Radeon:
        All GPUs supported by the amdgpu kernel driver
[  1929.478] (EE) No devices detected.
[  1929.478] (EE) 
Fatal server error:
[  1929.478] (EE) no screens found(EE) 
What's wrong? Which driver do I need?


emerge --info: https://pastebin.com/YxuwKrYy
lspci -kk: https://pastebin.com/3M5H0fTv
Last edited by tkzv on Thu Dec 04, 2025 1:03 pm, edited 2 times in total.
Top
Banana
Moderator
Moderator
User avatar
Posts: 2374
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Tue Dec 02, 2025 6:39 am

Please also provide the output of emerge --info and lspci -kk
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56077
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Dec 02, 2025 12:20 pm

tkzv,

Your GPU is a 1002:13c0 by its PCI Vendor and Device ID.
That will need amdgpu and radennsi in VIDEO_CARDS so it looks good.

Support was added to the 5.16 kernel, so you need a newer kernel than that.

Code: Select all

[  1929.478] (EE) No devices detected. 
suggests that something else is grabbing the GPU.

Your entire dmesg, xorg log, kernel .config and any xorg.conf snippets will be helpful.

Make friends with wgetpaste to put things onto a pastebin site. Post the links, so we can find them.
You may need to play with the -s and -S options as some of that is too big for some sites.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
tkzv
Tux's lil' helper
Tux's lil' helper
Posts: 121
Joined: Fri Aug 22, 2014 6:56 pm

  • Quote

Post by tkzv » Wed Dec 03, 2025 3:43 pm

NeddySeagoon wrote: Your GPU is a 1002:13c0 by its PCI Vendor and Device ID.
That will need amdgpu and radennsi in VIDEO_CARDS so it looks good.
Thanks.
I recompiled the kernel with SI enabled. The new .configure: https://pastebin.com/t9yp9W6j

Now I get "xf86OpenConsole: VT_ACTIVATE failed: Operation not permitted"

Somehow, every time I reboot, the /etc/X11/xorg.conf file is reverted to this:

Code: Select all

Section "ServerLayout"
        Identifier     "aticonfig Layout"
        Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]-0"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Device"

        Identifier  "aticonfig-Device[0]-0"
        Driver "radeon"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]-0"
        Device     "aticonfig-Device[0]-0"
        Monitor    "aticonfig-Monitor[0]-0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
I tried replacing «Driver "radeon"» with «Driver "amdgpu"» or removing /etc/X11/xorg.conf. In all cases I get errors in the log:

Code: Select all

(WW) xf86OpenConsole: VT_ACTIVATE failed: Operation not permitted
(EE) xf86OpenConsole: Switching VT failed
radeon: https://pastebin.com/mrhp1UKT
amdgpu: https://pastebin.com/MQSbey9R
no /etc/X11/xorg.conf: https://pastebin.com/0sYmK5Br

dmesg: https://pastebin.com/T5j9b9e0
Top
tkzv
Tux's lil' helper
Tux's lil' helper
Posts: 121
Joined: Fri Aug 22, 2014 6:56 pm

  • Quote

Post by tkzv » Thu Dec 04, 2025 1:03 pm

Somehow, it all started working, after I tried many things suggested elsewhere. There were at least 2 problems that may have contributed:

1. There was a file /etc/X11/xorg.conf.radeon-0, which was copied over /etc/X11/xorg.conf at every reboot. After I disabled an old script in /etc/local.d/, it is no longer copied. But the configuration from xorg.conf.radeon-0 resulted in a different error.

2. For unprivileged user “rc-service elogind status” gave an access error for deleting '/sys/fs/cgroup/openrc.elogind'. After I ran it as root, the error no longer appears.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy