Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] "(EE) no screens found" when running startx
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
buddy16755
n00b
n00b


Joined: 08 May 2022
Posts: 8

PostPosted: Sun May 08, 2022 3:59 am    Post subject: "(EE) no screens found" when running startx Reply with quote

I recently made the choice to join the Gentoo community and try out the operating system my friend talks about all the time. I got a compiled Kernel and every thing but when I'm trying to get a Window Manager I'm always greeted with the fatal error "(EE) no screens found". I have included different outputs I assume are needed.

Xorg.log.0
Code:

[   376.438]
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[   376.443] Current Operating System: Linux iGentoo 5.15.32-gentoo-r1 #5 SMP Fri May 6 07:07:30 EST 2022 x86_64
[   376.443] Kernel command line: BOOT_IMAGE=/vmlinuz-5.15.32-gentoo-r1 root=UUID=e7e64bc4-b1c5-4c29-8667-19d341dabf05 ro
[   376.446] 
[   376.448] Current version of pixman: 0.40.0
[   376.451]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   376.451] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   376.457] (==) Log file: "/var/log/Xorg.0.log", Time: Sat May  7 22:34:29 2022
[   376.459] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   376.459] (==) No Layout section.  Using the first Screen section.
[   376.459] (==) No screen section available. Using defaults.
[   376.459] (**) |-->Screen "Default Screen Section" (0)
[   376.459] (**) |   |-->Monitor "<default monitor>"
[   376.459] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[   376.459] (==) Automatically adding devices
[   376.459] (==) Automatically enabling devices
[   376.459] (==) Automatically adding GPU devices
[   376.459] (==) Automatically binding GPU devices
[   376.459] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   376.459] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   376.459]    Entry deleted from font path.
[   376.459] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[   376.459]    Entry deleted from font path.
[   376.459] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   376.459]    Entry deleted from font path.
[   376.459] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   376.459]    Entry deleted from font path.
[   376.459] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   376.459]    Entry deleted from font path.
[   376.459] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   376.459]    Entry deleted from font path.
[   376.459] (==) FontPath set to:
   
[   376.459] (==) ModulePath set to "/usr/lib64/xorg/modules"
[   376.459] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[   376.459] (II) Module ABI versions:
[   376.459]    X.Org ANSI C Emulation: 0.4
[   376.459]    X.Org Video Driver: 25.2
[   376.459]    X.Org XInput driver : 24.4
[   376.460]    X.Org Server Extension : 10.0
[   376.460] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory)
[   376.460] (--) using VT number 7

[   376.460] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   376.464] (--) PCI:*(1@0:0:0) 1002:94c8:106b:0084 rev 0, Mem @ 0xc0000000/268435456, 0xd0520000/65536, I/O @ 0x00006000/256, BIOS @ 0x????????/131072
[   376.464] (II) LoadModule: "glx"
[   376.464] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   376.465] (II) Module glx: vendor="X.Org Foundation"
[   376.465]    compiled for 1.21.1.3, module version = 1.0.0
[   376.465]    ABI class: X.Org Server Extension, version 10.0
[   376.465] (==) Matched ati as autoconfigured driver 0
[   376.465] (==) Matched modesetting as autoconfigured driver 1
[   376.465] (==) Matched fbdev as autoconfigured driver 2
[   376.465] (==) Matched vesa as autoconfigured driver 3
[   376.465] (==) Assigned the driver to the xf86ConfigLayout
[   376.465] (II) LoadModule: "ati"
[   376.466] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
[   376.466] (II) Module ati: vendor="X.Org Foundation"
[   376.466]    compiled for 1.21.1.3, module version = 19.1.0
[   376.466]    Module class: X.Org Video Driver
[   376.466]    ABI class: X.Org Video Driver, version 25.2
[   376.466] (II) LoadModule: "radeon"
[   376.466] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[   376.469] (II) Module radeon: vendor="X.Org Foundation"
[   376.469]    compiled for 1.21.1.3, module version = 19.1.0
[   376.469]    Module class: X.Org Video Driver
[   376.469]    ABI class: X.Org Video Driver, version 25.2
[   376.469] (II) LoadModule: "modesetting"
[   376.469] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[   376.469] (II) Module modesetting: vendor="X.Org Foundation"
[   376.469]    compiled for 1.21.1.3, module version = 1.21.1
[   376.469]    Module class: X.Org Video Driver
[   376.470]    ABI class: X.Org Video Driver, version 25.2
[   376.470] (II) LoadModule: "fbdev"
[   376.470] (WW) Warning, couldn't open module fbdev
[   376.470] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   376.470] (II) LoadModule: "vesa"
[   376.470] (WW) Warning, couldn't open module vesa
[   376.470] (EE) Failed to load module "vesa" (module does not exist, 0)
[   376.470] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
   ATI Radeon Mobility X600 (M24), ATI FireMV 2400,
   ATI Radeon Mobility X300 (M24), ATI FireGL M24 GL,
   ATI Radeon X600 (RV380), ATI FireGL V3200 (RV380),
   ATI Radeon IGP320 (A3), ATI Radeon IGP330/340/350 (A4),
   ATI Radeon 9500, ATI Radeon 9600TX, ATI FireGL Z1, ATI Radeon 9800SE,
   ATI Radeon 9800, ATI FireGL X2, ATI Radeon 9600, ATI Radeon 9600SE,
   ATI Radeon 9600XT, ATI FireGL T2, ATI Radeon 9650, ATI FireGL RV360,
   ATI Radeon 7000 IGP (A4+), ATI Radeon 8500 AIW,
   ATI Radeon IGP320M (U1), ATI Radeon IGP330M/340M/350M (U2),
   ATI Radeon Mobility 7000 IGP, ATI Radeon 9000/PRO, ATI Radeon 9000,
   ATI Radeon X800 (R420), ATI Radeon X800PRO (R420),
   ATI Radeon X800SE (R420), ATI FireGL X3 (R420),
   ATI Radeon Mobility 9800 (M18), ATI Radeon X800 SE (R420),
   ATI Radeon X800XT (R420), ATI Radeon X800 VE (R420),
   ATI Radeon X850 (R480), ATI Radeon X850 XT (R480),
   ATI Radeon X850 SE (R480), ATI Radeon X850 PRO (R480),
   ATI Radeon X850 XT PE (R480), ATI Radeon Mobility M7,
   ATI Mobility FireGL 7800 M7, ATI Radeon Mobility M6,
   ATI FireGL Mobility 9000 (M9), ATI Radeon Mobility 9000 (M9),
   ATI Radeon 9700 Pro, ATI Radeon 9700/9500Pro, ATI FireGL X1,
   ATI Radeon 9800PRO, ATI Radeon 9800XT,
   ATI Radeon Mobility 9600/9700 (M10/M11),
   ATI Radeon Mobility 9600 (M10), ATI Radeon Mobility 9600 (M11),
   ATI FireGL Mobility T2 (M10), ATI FireGL Mobility T2e (M11),
   ATI Radeon, ATI FireGL 8700/8800, ATI Radeon 8500, ATI Radeon 9100,
   ATI Radeon 7500, ATI Radeon VE/7000, ATI ES1000,
   ATI Radeon Mobility X300 (M22), ATI Radeon Mobility X600 SE (M24C),
   ATI FireGL M22 GL, ATI Radeon X800 (R423), ATI Radeon X800PRO (R423),
   ATI Radeon X800LE (R423), ATI Radeon X800SE (R423),
   ATI Radeon X800 XTP (R430), ATI Radeon X800 XL (R430),
   ATI Radeon X800 SE (R430), ATI Radeon X800 (R430),
   ATI FireGL V7100 (R423), ATI FireGL V5100 (R423),
   ATI FireGL unknown (R423), ATI Mobility FireGL V5000 (M26),
   ATI Mobility Radeon X700 XL (M26), ATI Mobility Radeon X700 (M26),
   ATI Radeon X550XTX, ATI Radeon 9100 IGP (A5),
   ATI Radeon Mobility 9100 IGP (U3), ATI Radeon XPRESS 200,
   ATI Radeon XPRESS 200M, ATI Radeon 9250, ATI Radeon 9200,
   ATI Radeon 9200SE, ATI FireMV 2200, ATI Radeon X300 (RV370),
   ATI Radeon X600 (RV370), ATI Radeon X550 (RV370),
   ATI FireGL V3100 (RV370), ATI FireMV 2200 PCIE (RV370),
   ATI Radeon Mobility 9200 (M9+), ATI Mobility Radeon X800 XT (M28),
   ATI Mobility FireGL V5100 (M28), ATI Mobility Radeon X800 (M28),
   ATI Radeon X850, ATI unknown Radeon / FireGL (R480),
   ATI Radeon X800XT (R423), ATI FireGL V5000 (RV410),
   ATI Radeon X700 XT (RV410), ATI Radeon X700 PRO (RV410),
   ATI Radeon X700 SE (RV410), ATI Radeon X700 (RV410),
   ATI Radeon X1800, ATI Mobility Radeon X1800 XT,
   ATI Mobility Radeon X1800, ATI Mobility FireGL V7200,
   ATI FireGL V7200, ATI FireGL V5300, ATI Mobility FireGL V7100,
   ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505,
   ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL,
   ATI Mobility Radeon X1400, ATI Radeon X1550 64-bit,
   ATI Mobility Radeon X1300, ATI Radeon X1300, ATI FireGL V3300,
   ATI FireGL V3350, ATI Mobility Radeon X1450,
   ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
   ATI FireMV 2250, ATI Radeon X1650, ATI Mobility FireGL V5200,
   ATI Mobility Radeon X1600, ATI Radeon X1300 XT/X1600 Pro,
   ATI FireGL V3400, ATI Mobility FireGL V5250,
   ATI Mobility Radeon X1700, ATI Mobility Radeon X1700 XT,
   ATI FireGL V5200, ATI Radeon X2300HD, ATI Mobility Radeon HD 2300,
   ATI Radeon X1950, ATI Radeon X1900, ATI AMD Stream Processor,
   ATI RV560, ATI Mobility Radeon X1900, ATI Radeon X1950 GT, ATI RV570,
   ATI FireGL V7400, ATI Radeon 9100 PRO IGP,
   ATI Radeon Mobility 9200 IGP, ATI Radeon X1200, ATI RS740,
   ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro,
   ATI Radeon HD 2900 GT, ATI FireGL V8650, ATI FireGL V8600,
   ATI FireGL V7600, ATI Radeon 4800 Series, ATI Radeon HD 4870 x2,
   ATI Radeon HD 4850 x2, ATI FirePro V8750 (FireGL),
   ATI FirePro V7760 (FireGL), ATI Mobility RADEON HD 4850,
   ATI Mobility RADEON HD 4850 X2, ATI FirePro RV770,
   AMD FireStream 9270, AMD FireStream 9250, ATI FirePro V8700 (FireGL),
   ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
   ATI FirePro M7750, ATI M98, ATI Mobility Radeon HD 4650,
   ATI Radeon RV730 (AGP), ATI Mobility Radeon HD 4670,
   ATI FirePro M5750, ATI RV730XT [Radeon HD 4670], ATI RADEON E4600,
   ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650],
   ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL),
   ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830,
   ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740,
   ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI RV610,
   ATI Radeon HD 2400 XT, ATI Radeon HD 2400 Pro,
   ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, ATI Radeon HD 2350,
   ATI Mobility Radeon HD 2400 XT, ATI Mobility Radeon HD 2400,
   ATI RADEON E2400, ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
   ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
   ATI Mobility Radeon HD 3850 X2, ATI Mobility Radeon HD 3870,
   ATI Mobility Radeon HD 3870 X2, ATI Radeon HD3870 X2,
   ATI FireGL V7700, ATI Radeon HD3690, AMD Firestream 9170,
   ATI Radeon HD 4550, ATI Radeon RV710, ATI Radeon HD 4350,
   ATI Mobility Radeon 4300 Series, ATI Mobility Radeon 4500 Series,
   ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630,
   ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT,
   ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP,
   ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630,
   ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600,
   ATI FireGL V3600, ATI Radeon HD 2600 LE,
   ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470,
   ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series,
   ATI Radeon HD 3450, ATI Radeon HD 3430, ATI FirePro V3700,
   ATI FireMV 2450, ATI Radeon HD 3600 Series, ATI Radeon HD 3650 AGP,
   ATI Radeon HD 3600 PRO, ATI Radeon HD 3600 XT,
   ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670,
   ATI Mobility FireGL V5700, ATI Mobility FireGL V5725,
   ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
   ATI Radeon HD 3300 Graphics, ATI Radeon 3000 Graphics, SUMO, SUMO2,
   ATI Radeon HD 4200, ATI Radeon 4100, ATI Mobility Radeon HD 4200,
   ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250,
   AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics,
   AMD Radeon HD 6300 Series Graphics,
   AMD Radeon HD 6200 Series Graphics, PALM, CYPRESS,
   ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
   AMD Firestream 9350, ATI Radeon HD 5800 Series,
   ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
   ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
   ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
   ATI Radeon HD 5670, ATI Radeon HD 5570, ATI Radeon HD 5500 Series,
   REDWOOD, ATI Mobility Radeon Graphics, CEDAR, ATI FirePro 2270,
   ATI Radeon HD 5450, CAYMAN, AMD Radeon HD 6900 Series,
   AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS,
   AMD Radeon HD 6800 Series, AMD Radeon HD 6700 Series, TURKS, CAICOS,
   ARUBA, TAHITI, PITCAIRN, VERDE, OLAND, HAINAN, BONAIRE, KABINI,
   MULLINS, KAVERI, HAWAII
[   376.473] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   376.478] (II) [KMS] drm report modesetting isn't supported.
[   376.478] (EE) open /dev/dri/card0: No such file or directory
[   376.478] (WW) Falling back to old probe method for modesetting
[   376.479] (EE) open /dev/dri/card0: No such file or directory
[   376.479] (EE) Screen 0 deleted because of no matching config section.
[   376.479] (II) UnloadModule: "radeon"
[   376.479] (EE) Screen 0 deleted because of no matching config section.
[   376.479] (II) UnloadModule: "modesetting"
[   376.479] (EE) Device(s) detected, but none match those in the config file.
[   376.479] (EE)
Fatal server error:
[   376.479] (EE) no screens found(EE)
[   376.479] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[   376.479] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   376.479] (EE)
[   376.488] (EE) Server terminated with error (1). Closing log file.


lspci -k output
Code:

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
   Subsystem: Apple Inc. Mobile PM965/GM965/GL960 Memory Controller Hub
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03)
   Kernel driver in use: pcieport
00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
   Kernel driver in use: uhci_hcd
00:1a.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
   Subsystem: Apple Inc. 82801H (ICH8 Family) USB UHCI Controller
   Kernel driver in use: uhci_hcd
00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
   Subsystem: Apple Inc. 82801H (ICH8 Family) USB2 EHCI Controller
   Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
   Subsystem: Apple Inc. 82801H (ICH8 Family) HD Audio Controller
   Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
   Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
   Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
   Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03)
   Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
   Subsystem: Apple Inc. 82801H (ICH8 Family) USB UHCI Controller
   Kernel driver in use: uhci_hcd
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
   Subsystem: Apple Inc. 82801H (ICH8 Family) USB UHCI Controller
   Kernel driver in use: uhci_hcd
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
   Subsystem: Apple Inc. 82801H (ICH8 Family) USB UHCI Controller
   Kernel driver in use: uhci_hcd
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
   Subsystem: Apple Inc. 82801H (ICH8 Family) USB2 EHCI Controller
   Kernel driver in use: ehci-pci
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HM (ICH8M) LPC Interface Controller (rev 03)
   Subsystem: Apple Inc. 82801HM (ICH8M) LPC Interface Controller
00:1f.1 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
   Subsystem: Apple Inc. 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller
   Kernel driver in use: ata_piix
00:1f.2 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 03)
   Subsystem: Apple Inc. 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode]
   Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
   Subsystem: Apple Inc. 82801H (ICH8 Family) SMBus Controller
   Kernel driver in use: i801_smbus
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV610/M74 [Mobility Radeon HD 2400 XT]
   Subsystem: Apple Inc. RV610/M74 [Mobility Radeon HD 2400 XT]
03:00.0 FireWire (IEEE 1394): LSI Corporation FW643 [TrueFire] PCIe 1394b Controller (rev 06)
   Subsystem: LSI Corporation FW643 [TrueFire] PCIe 1394b Controller
04:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4321 802.11a/b/g/n (rev 05)
   Subsystem: Apple Inc. AirPort Extreme
05:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8058 PCI-E Gigabit Ethernet Controller (rev 13)
   Subsystem: Marvell Technology Group Ltd. Imac 8,1 Wired Ethernet Adapter
   Kernel driver in use: sky2


Output of a "ls" at "/usr/share/X11/xorg.conf.d
Code:
10-radeon.conf


If anyone can help me with this I'd be super thankful, I've been at it all day


Last edited by buddy16755 on Sat May 14, 2022 12:24 am; edited 3 times in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 50507
Location: 56N 3W

PostPosted: Sun May 08, 2022 9:08 am    Post subject: Reply with quote

buddy16755,

Welcome to Gentoo

Code:
[   376.473] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   376.478] (II) [KMS] drm report modesetting isn't supported.
[   376.478] (EE) open /dev/dri/card0: No such file or directory


You have a bit missing from your kernel.

I think its DRM Support. The ati driver, which you need, needs /dev/dri/card0 to exist.
There is a Radeon Guide on the wiki.
You need the older Radeon driver, not amdgpu.

If that doesn't help, make friends with wgetpaste and share your kernel .config file.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
buddy16755
n00b
n00b


Joined: 08 May 2022
Posts: 8

PostPosted: Sun May 08, 2022 1:20 pm    Post subject: Reply with quote

Hi NeedySeagoon,
Thanks for responding!

When I setup the kernel and everything I followed that exact guide because I was aware of me having a Radeon card. I can share my confit but I’m not 100% how I do that if you can tell me I can share that!

Thanks!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 50507
Location: 56N 3W

PostPosted: Sun May 08, 2022 1:59 pm    Post subject: Reply with quote

buddy16755,


Quote:
... make friends with wgetpaste and share your kernel .config file


Code:
emerge wgetpaste
wgetpaste /usr/src/linux/.config


and post the URL that you get back.

If you followed that guide, check that you are using the kernel you think you are.
The date and time in
Code:
uname -a
is the build date/time of the running kernel.
Is it what you expect or do you have a newer kernel that you should be running?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
buddy16755
n00b
n00b


Joined: 08 May 2022
Posts: 8

PostPosted: Sun May 08, 2022 5:46 pm    Post subject: Reply with quote

NeddySeagon,

Here is the URL to my config
Quote:
https://dpaste.com/8V56TKLVF


My kernel is the most up to date one I've made

Thanks!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 50507
Location: 56N 3W

PostPosted: Sun May 08, 2022 7:10 pm    Post subject: Reply with quote

buddy16755,

You are very close.
Code:
CONFIG_EXTRA_FIRMWARE="radeon/R600_rlc.bin"


Code:
ls /lib/firmware/radeon/R600*
/lib/firmware/radeon/R600_me.bin   /lib/firmware/radeon/R600_rlc.bin
/lib/firmware/radeon/R600_pfp.bin  /lib/firmware/radeon/R600_uvd.bin

You need all those files. CONFIG_EXTRA_FIRMWARE is a space separated list.
The list changes (grows) as drivers develop and the Wiki is always out of date.

Your sound won't work as all the codecs are off
Code:
# CONFIG_SND_HDA_CODEC_REALTEK is not set
# CONFIG_SND_HDA_CODEC_ANALOG is not set
# CONFIG_SND_HDA_CODEC_SIGMATEL is not set
# CONFIG_SND_HDA_CODEC_VIA is not set
# CONFIG_SND_HDA_CODEC_HDMI is not set
# CONFIG_SND_HDA_CODEC_CIRRUS is not set
# CONFIG_SND_HDA_CODEC_CS8409 is not set
# CONFIG_SND_HDA_CODEC_CONEXANT is not set
# CONFIG_SND_HDA_CODEC_CA0110 is not set
# CONFIG_SND_HDA_CODEC_CA0132 is not set
# CONFIG_SND_HDA_CODEC_CMEDIA is not set
# CONFIG_SND_HDA_CODEC_SI3054 is not set


snd_hda_intel is correct for the PCI bus end. The codecs are the output end.
Enable them all until you discover which one you need.

That's all that stands out. I suspect that dmesg will tell you about one missing firmware file an sound not working.

Code:
04:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4321 802.11a/b/g/n (rev 05)
   Subsystem: Apple Inc. AirPort Extreme
is missing a driver.
It needs
Code:
CONFIG_SSB_B43_PCI_BRIDGE

That depends on CONFIG_SSB_PCIHOST See https://cateee.net/lkddb/web-lkddb/SSB_B43_PCI_BRIDGE.html
I suspect that its inside the
Code:
# CONFIG_SSB is not set
menu, or at least, its hidden by that option being off.
It doubtless needs firmware too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
buddy16755
n00b
n00b


Joined: 08 May 2022
Posts: 8

PostPosted: Sun May 08, 2022 7:35 pm    Post subject: Reply with quote

So when I run
Code:
ls /lib/firmware/radeon/R600*

my output is
Code:

/lib/firmware/radeon/R600_me.bin
/lib/firmware/radeon/R600_pfp.bin
/lib/firmware/radeon/R600_rlc.bin
/lib/firmware/radeon/R600_uvd.bin

Which if I'm understanding you is what it should output when i run that.

As for the network adapter I've been running it in wired mode and was going to fix that once I got done with the graphics problems.

Would the sound not being enabled cause the startx to fail?

Lastly where would i get the driver for, is that in the link you have attached?
Code:
CONFIG_SSB_B43_PCI_BRIDGE
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 50507
Location: 56N 3W

PostPosted: Sun May 08, 2022 9:33 pm    Post subject: Reply with quote

buddy16755,

Your kernel needs to have those four files listed in EXTRA_FIRMWARE.
Any one missing may be the cause of the missing /dev/dri/card0.
That file is required for startx to work.
None of the /dev entries are real files, they are the kernel exposing and interface to the outside world.

Sound, Wifi and Graphics are all unrelated problems and as you suggest, can be tackled individually.

CONFIG_SSB_B43_PCI_BRIDGE is a kernel configuration option.
See Configuring the kernel for how to search in menuconfig,
Including for hidden options.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
buddy16755
n00b
n00b


Joined: 08 May 2022
Posts: 8

PostPosted: Mon May 09, 2022 5:27 am    Post subject: Reply with quote

Hi NeddySeagoon,

I have added the radeon drivers to the firmware section in my kernel as can be seen here:
Code:
https://dpaste.com/7PDNXVDL9

I am still getting the no screens error, here is the log:
Code:

[    88.227]
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[    88.231] Current Operating System: Linux iGentoo 5.15.32-gentoo-r1 #10 SMP Sun May 8 22:41:31 EST 2022 x86_64
[    88.231] Kernel command line: BOOT_IMAGE=/vmlinuz-5.15.32-gentoo-r1 root=UUID=e7e64bc4-b1c5-4c29-8667-19d341dabf05 ro
[    88.234] 
[    88.236] Current version of pixman: 0.40.0
[    88.239]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[    88.239] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    88.246] (==) Log file: "/var/log/Xorg.0.log", Time: Sun May  8 23:08:02 2022
[    88.247] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    88.247] (==) No Layout section.  Using the first Screen section.
[    88.247] (==) No screen section available. Using defaults.
[    88.247] (**) |--&gt;Screen "Default Screen Section" (0)
[    88.247] (**) |   |--&gt;Monitor "&lt;default monitor&gt;"
[    88.248] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[    88.248] (==) Automatically adding devices
[    88.248] (==) Automatically enabling devices
[    88.248] (==) Automatically adding GPU devices
[    88.248] (==) Automatically binding GPU devices
[    88.248] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    88.248] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    88.248]    Entry deleted from font path.
[    88.248] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[    88.248]    Entry deleted from font path.
[    88.248] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    88.248]    Entry deleted from font path.
[    88.248] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    88.248]    Entry deleted from font path.
[    88.248] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    88.248]    Entry deleted from font path.
[    88.248] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    88.248]    Entry deleted from font path.
[    88.248] (==) FontPath set to:
   
[    88.248] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    88.248] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[    88.248] (II) Module ABI versions:
[    88.248]    X.Org ANSI C Emulation: 0.4
[    88.248]    X.Org Video Driver: 25.2
[    88.248]    X.Org XInput driver : 24.4
[    88.248]    X.Org Server Extension : 10.0
[    88.248] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory)
[    88.248] (--) using VT number 7

[    88.248] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    88.252] (--) PCI:*(1@0:0:0) 1002:94c8:106b:0084 rev 0, Mem @ 0xc0000000/268435456, 0xd0520000/65536, I/O @ 0x00006000/256, BIOS @ 0x????????/131072
[    88.252] (II) LoadModule: "glx"
[    88.252] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    88.254] (II) Module glx: vendor="X.Org Foundation"
[    88.254]    compiled for 1.21.1.3, module version = 1.0.0
[    88.254]    ABI class: X.Org Server Extension, version 10.0
[    88.254] (==) Matched ati as autoconfigured driver 0
[    88.254] (==) Matched modesetting as autoconfigured driver 1
[    88.254] (==) Matched fbdev as autoconfigured driver 2
[    88.254] (==) Matched vesa as autoconfigured driver 3
[    88.254] (==) Assigned the driver to the xf86ConfigLayout
[    88.254] (II) LoadModule: "ati"
[    88.254] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
[    88.254] (II) Module ati: vendor="X.Org Foundation"
[    88.254]    compiled for 1.21.1.3, module version = 19.1.0
[    88.254]    Module class: X.Org Video Driver
[    88.254]    ABI class: X.Org Video Driver, version 25.2
[    88.255] (II) LoadModule: "radeon"
[    88.255] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[    88.258] (II) Module radeon: vendor="X.Org Foundation"
[    88.258]    compiled for 1.21.1.3, module version = 19.1.0
[    88.258]    Module class: X.Org Video Driver
[    88.258]    ABI class: X.Org Video Driver, version 25.2
[    88.258] (II) LoadModule: "modesetting"
[    88.258] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    88.258] (II) Module modesetting: vendor="X.Org Foundation"
[    88.258]    compiled for 1.21.1.3, module version = 1.21.1
[    88.258]    Module class: X.Org Video Driver
[    88.258]    ABI class: X.Org Video Driver, version 25.2
[    88.258] (II) LoadModule: "fbdev"
[    88.258] (WW) Warning, couldn't open module fbdev
[    88.258] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    88.258] (II) LoadModule: "vesa"
[    88.258] (WW) Warning, couldn't open module vesa
[    88.258] (EE) Failed to load module "vesa" (module does not exist, 0)
[    88.258] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
   ATI Radeon Mobility X600 (M24), ATI FireMV 2400,
   ATI Radeon Mobility X300 (M24), ATI FireGL M24 GL,
   ATI Radeon X600 (RV380), ATI FireGL V3200 (RV380),
   ATI Radeon IGP320 (A3), ATI Radeon IGP330/340/350 (A4),
   ATI Radeon 9500, ATI Radeon 9600TX, ATI FireGL Z1, ATI Radeon 9800SE,
   ATI Radeon 9800, ATI FireGL X2, ATI Radeon 9600, ATI Radeon 9600SE,
   ATI Radeon 9600XT, ATI FireGL T2, ATI Radeon 9650, ATI FireGL RV360,
   ATI Radeon 7000 IGP (A4+), ATI Radeon 8500 AIW,
   ATI Radeon IGP320M (U1), ATI Radeon IGP330M/340M/350M (U2),
   ATI Radeon Mobility 7000 IGP, ATI Radeon 9000/PRO, ATI Radeon 9000,
   ATI Radeon X800 (R420), ATI Radeon X800PRO (R420),
   ATI Radeon X800SE (R420), ATI FireGL X3 (R420),
   ATI Radeon Mobility 9800 (M18), ATI Radeon X800 SE (R420),
   ATI Radeon X800XT (R420), ATI Radeon X800 VE (R420),
   ATI Radeon X850 (R480), ATI Radeon X850 XT (R480),
   ATI Radeon X850 SE (R480), ATI Radeon X850 PRO (R480),
   ATI Radeon X850 XT PE (R480), ATI Radeon Mobility M7,
   ATI Mobility FireGL 7800 M7, ATI Radeon Mobility M6,
   ATI FireGL Mobility 9000 (M9), ATI Radeon Mobility 9000 (M9),
   ATI Radeon 9700 Pro, ATI Radeon 9700/9500Pro, ATI FireGL X1,
   ATI Radeon 9800PRO, ATI Radeon 9800XT,
   ATI Radeon Mobility 9600/9700 (M10/M11),
   ATI Radeon Mobility 9600 (M10), ATI Radeon Mobility 9600 (M11),
   ATI FireGL Mobility T2 (M10), ATI FireGL Mobility T2e (M11),
   ATI Radeon, ATI FireGL 8700/8800, ATI Radeon 8500, ATI Radeon 9100,
   ATI Radeon 7500, ATI Radeon VE/7000, ATI ES1000,
   ATI Radeon Mobility X300 (M22), ATI Radeon Mobility X600 SE (M24C),
   ATI FireGL M22 GL, ATI Radeon X800 (R423), ATI Radeon X800PRO (R423),
   ATI Radeon X800LE (R423), ATI Radeon X800SE (R423),
   ATI Radeon X800 XTP (R430), ATI Radeon X800 XL (R430),
   ATI Radeon X800 SE (R430), ATI Radeon X800 (R430),
   ATI FireGL V7100 (R423), ATI FireGL V5100 (R423),
   ATI FireGL unknown (R423), ATI Mobility FireGL V5000 (M26),
   ATI Mobility Radeon X700 XL (M26), ATI Mobility Radeon X700 (M26),
   ATI Radeon X550XTX, ATI Radeon 9100 IGP (A5),
   ATI Radeon Mobility 9100 IGP (U3), ATI Radeon XPRESS 200,
   ATI Radeon XPRESS 200M, ATI Radeon 9250, ATI Radeon 9200,
   ATI Radeon 9200SE, ATI FireMV 2200, ATI Radeon X300 (RV370),
   ATI Radeon X600 (RV370), ATI Radeon X550 (RV370),
   ATI FireGL V3100 (RV370), ATI FireMV 2200 PCIE (RV370),
   ATI Radeon Mobility 9200 (M9+), ATI Mobility Radeon X800 XT (M28),
   ATI Mobility FireGL V5100 (M28), ATI Mobility Radeon X800 (M28),
   ATI Radeon X850, ATI unknown Radeon / FireGL (R480),
   ATI Radeon X800XT (R423), ATI FireGL V5000 (RV410),
   ATI Radeon X700 XT (RV410), ATI Radeon X700 PRO (RV410),
   ATI Radeon X700 SE (RV410), ATI Radeon X700 (RV410),
   ATI Radeon X1800, ATI Mobility Radeon X1800 XT,
   ATI Mobility Radeon X1800, ATI Mobility FireGL V7200,
   ATI FireGL V7200, ATI FireGL V5300, ATI Mobility FireGL V7100,
   ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505,
   ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL,
   ATI Mobility Radeon X1400, ATI Radeon X1550 64-bit,
   ATI Mobility Radeon X1300, ATI Radeon X1300, ATI FireGL V3300,
   ATI FireGL V3350, ATI Mobility Radeon X1450,
   ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
   ATI FireMV 2250, ATI Radeon X1650, ATI Mobility FireGL V5200,
   ATI Mobility Radeon X1600, ATI Radeon X1300 XT/X1600 Pro,
   ATI FireGL V3400, ATI Mobility FireGL V5250,
   ATI Mobility Radeon X1700, ATI Mobility Radeon X1700 XT,
   ATI FireGL V5200, ATI Radeon X2300HD, ATI Mobility Radeon HD 2300,
   ATI Radeon X1950, ATI Radeon X1900, ATI AMD Stream Processor,
   ATI RV560, ATI Mobility Radeon X1900, ATI Radeon X1950 GT, ATI RV570,
   ATI FireGL V7400, ATI Radeon 9100 PRO IGP,
   ATI Radeon Mobility 9200 IGP, ATI Radeon X1200, ATI RS740,
   ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro,
   ATI Radeon HD 2900 GT, ATI FireGL V8650, ATI FireGL V8600,
   ATI FireGL V7600, ATI Radeon 4800 Series, ATI Radeon HD 4870 x2,
   ATI Radeon HD 4850 x2, ATI FirePro V8750 (FireGL),
   ATI FirePro V7760 (FireGL), ATI Mobility RADEON HD 4850,
   ATI Mobility RADEON HD 4850 X2, ATI FirePro RV770,
   AMD FireStream 9270, AMD FireStream 9250, ATI FirePro V8700 (FireGL),
   ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
   ATI FirePro M7750, ATI M98, ATI Mobility Radeon HD 4650,
   ATI Radeon RV730 (AGP), ATI Mobility Radeon HD 4670,
   ATI FirePro M5750, ATI RV730XT [Radeon HD 4670], ATI RADEON E4600,
   ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650],
   ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL),
   ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830,
   ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740,
   ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI RV610,
   ATI Radeon HD 2400 XT, ATI Radeon HD 2400 Pro,
   ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, ATI Radeon HD 2350,
   ATI Mobility Radeon HD 2400 XT, ATI Mobility Radeon HD 2400,
   ATI RADEON E2400, ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
   ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
   ATI Mobility Radeon HD 3850 X2, ATI Mobility Radeon HD 3870,
   ATI Mobility Radeon HD 3870 X2, ATI Radeon HD3870 X2,
   ATI FireGL V7700, ATI Radeon HD3690, AMD Firestream 9170,
   ATI Radeon HD 4550, ATI Radeon RV710, ATI Radeon HD 4350,
   ATI Mobility Radeon 4300 Series, ATI Mobility Radeon 4500 Series,
   ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630,
   ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT,
   ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP,
   ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630,
   ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600,
   ATI FireGL V3600, ATI Radeon HD 2600 LE,
   ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470,
   ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series,
   ATI Radeon HD 3450, ATI Radeon HD 3430, ATI FirePro V3700,
   ATI FireMV 2450, ATI Radeon HD 3600 Series, ATI Radeon HD 3650 AGP,
   ATI Radeon HD 3600 PRO, ATI Radeon HD 3600 XT,
   ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670,
   ATI Mobility FireGL V5700, ATI Mobility FireGL V5725,
   ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
   ATI Radeon HD 3300 Graphics, ATI Radeon 3000 Graphics, SUMO, SUMO2,
   ATI Radeon HD 4200, ATI Radeon 4100, ATI Mobility Radeon HD 4200,
   ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250,
   AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics,
   AMD Radeon HD 6300 Series Graphics,
   AMD Radeon HD 6200 Series Graphics, PALM, CYPRESS,
   ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
   AMD Firestream 9350, ATI Radeon HD 5800 Series,
   ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
   ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
   ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
   ATI Radeon HD 5670, ATI Radeon HD 5570, ATI Radeon HD 5500 Series,
   REDWOOD, ATI Mobility Radeon Graphics, CEDAR, ATI FirePro 2270,
   ATI Radeon HD 5450, CAYMAN, AMD Radeon HD 6900 Series,
   AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS,
   AMD Radeon HD 6800 Series, AMD Radeon HD 6700 Series, TURKS, CAICOS,
   ARUBA, TAHITI, PITCAIRN, VERDE, OLAND, HAINAN, BONAIRE, KABINI,
   MULLINS, KAVERI, HAWAII
[    88.261] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    88.267] (II) [KMS] drm report modesetting isn't supported.
[    88.267] (EE) open /dev/dri/card0: No such file or directory
[    88.267] (WW) Falling back to old probe method for modesetting
[    88.267] (EE) open /dev/dri/card0: No such file or directory
[    88.267] (EE) Screen 0 deleted because of no matching config section.
[    88.267] (II) UnloadModule: "radeon"
[    88.267] (EE) Screen 0 deleted because of no matching config section.
[    88.267] (II) UnloadModule: "modesetting"
[    88.267] (EE) Device(s) detected, but none match those in the config file.
[    88.267] (EE)
Fatal server error:
[    88.267] (EE) no screens found(EE)
[    88.267] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[    88.267] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    88.267] (EE)
[    88.276] (EE) Server terminated with error (1). Closing log file.


It seems to still not be able to find this directory, when i run
Code:
uname -a
the output is
Code:
Linux iGentoo 5.15.32-gentoo-r1 #10 SMP Sun May 8 22:41:31 EST 2022 x86_64 Intel(R) Core(TM)2 Duo CPU E8135 @ 2.40GHz GenuineIntel GNU/Linux
so the kernel is up to date since the changes were made.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 50507
Location: 56N 3W

PostPosted: Mon May 09, 2022 9:31 pm    Post subject: Reply with quote

buddy16755,

Code:
CONFIG_FB_RADEON=y
CONFIG_FB_RADEON_I2C=y
CONFIG_FB_RADEON_BACKLIGHT=y
if that was there in the earlier config file I missed it.
Those options must be off.

The only safe framebuffer hardware divers today are:
Code:
# CONFIG_FB_VESA is not set
CONFIG_FB_EFI=y
# CONFIG_FB_SIMPLE is not set

as they do not attempt to take ownership of the hardware. All the others, including CONFIG_FB_RADEON, must be off.
The Direct Render Manager driver will own the hardware but it can't if another driver has already claimed it.
The old hardware specific framebuffer drivers are for turn of the millennium hardware.

I suspect being Apple, CONFIG_FB_EFI is correct for you but adding in the other two is harmless.

If you like the Tux logo on the framebuffer boot console, its inside the
Code:
# CONFIG_LOGO is not set
menu.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
buddy16755
n00b
n00b


Joined: 08 May 2022
Posts: 8

PostPosted: Thu May 12, 2022 10:42 pm    Post subject: Reply with quote

Hi NeddySeagoon,

Sorry it took me a few days, I changed the framebuffer settings and messed up the kernel and had to redo the system from scratch. Anyway even after doing the rebuild, following the wiki on radeon and this thread I am still getting the same error as shown.
Code:

[  1297.125]
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[  1297.125] Current Operating System: Linux iGentoo 5.15.32-gentoo-r1 #1 SMP Thu May 12 19:17:31 EDT 2022 x86_64
[  1297.125] Kernel command line: BOOT_IMAGE=/vmlinuz-5.15.32-gentoo-r1 root=UUID=68734022-237a-4012-93de-0eda8f6a0f42 ro
[  1297.125] 
[  1297.125] Current version of pixman: 0.40.0
[  1297.125]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[  1297.125] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1297.126] (==) Log file: "/var/log/Xorg.0.log", Time: Thu May 12 18:37:34 2022
[  1297.126] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1297.126] (==) No Layout section.  Using the first Screen section.
[  1297.126] (==) No screen section available. Using defaults.
[  1297.126] (**) |--&gt;Screen "Default Screen Section" (0)
[  1297.126] (**) |   |--&gt;Monitor "&lt;default monitor&gt;"
[  1297.126] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[  1297.126] (==) Automatically adding devices
[  1297.126] (==) Automatically enabling devices
[  1297.126] (==) Automatically adding GPU devices
[  1297.126] (==) Automatically binding GPU devices
[  1297.126] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1297.126] (WW) The directory "/usr/share/fonts/misc" does not exist.
[  1297.126]    Entry deleted from font path.
[  1297.126] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[  1297.126]    Entry deleted from font path.
[  1297.126] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  1297.126]    Entry deleted from font path.
[  1297.126] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  1297.126]    Entry deleted from font path.
[  1297.126] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[  1297.126]    Entry deleted from font path.
[  1297.126] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[  1297.126]    Entry deleted from font path.
[  1297.126] (==) FontPath set to:
   
[  1297.126] (==) ModulePath set to "/usr/lib64/xorg/modules"
[  1297.126] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1297.126] (II) Module ABI versions:
[  1297.126]    X.Org ANSI C Emulation: 0.4
[  1297.126]    X.Org Video Driver: 25.2
[  1297.126]    X.Org XInput driver : 24.4
[  1297.126]    X.Org Server Extension : 10.0
[  1297.127] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory)
[  1297.127] (--) using VT number 7

[  1297.127] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  1297.131] (--) PCI:*(1@0:0:0) 1002:94c8:106b:0084 rev 0, Mem @ 0xc0000000/268435456, 0xd0520000/65536, I/O @ 0x00006000/256, BIOS @ 0x????????/131072
[  1297.131] (II) LoadModule: "glx"
[  1297.131] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  1297.133] (II) Module glx: vendor="X.Org Foundation"
[  1297.133]    compiled for 1.21.1.3, module version = 1.0.0
[  1297.133]    ABI class: X.Org Server Extension, version 10.0
[  1297.133] (==) Matched ati as autoconfigured driver 0
[  1297.133] (==) Matched modesetting as autoconfigured driver 1
[  1297.133] (==) Matched fbdev as autoconfigured driver 2
[  1297.133] (==) Matched vesa as autoconfigured driver 3
[  1297.133] (==) Assigned the driver to the xf86ConfigLayout
[  1297.133] (II) LoadModule: "ati"
[  1297.133] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
[  1297.133] (II) Module ati: vendor="X.Org Foundation"
[  1297.133]    compiled for 1.21.1.3, module version = 19.1.0
[  1297.133]    Module class: X.Org Video Driver
[  1297.133]    ABI class: X.Org Video Driver, version 25.2
[  1297.134] (II) LoadModule: "radeon"
[  1297.134] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[  1297.137] (II) Module radeon: vendor="X.Org Foundation"
[  1297.137]    compiled for 1.21.1.3, module version = 19.1.0
[  1297.137]    Module class: X.Org Video Driver
[  1297.137]    ABI class: X.Org Video Driver, version 25.2
[  1297.137] (II) LoadModule: "modesetting"
[  1297.137] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[  1297.137] (II) Module modesetting: vendor="X.Org Foundation"
[  1297.137]    compiled for 1.21.1.3, module version = 1.21.1
[  1297.137]    Module class: X.Org Video Driver
[  1297.137]    ABI class: X.Org Video Driver, version 25.2
[  1297.137] (II) LoadModule: "fbdev"
[  1297.137] (WW) Warning, couldn't open module fbdev
[  1297.137] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  1297.137] (II) LoadModule: "vesa"
[  1297.137] (WW) Warning, couldn't open module vesa
[  1297.137] (EE) Failed to load module "vesa" (module does not exist, 0)
[  1297.137] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
   ATI Radeon Mobility X600 (M24), ATI FireMV 2400,
   ATI Radeon Mobility X300 (M24), ATI FireGL M24 GL,
   ATI Radeon X600 (RV380), ATI FireGL V3200 (RV380),
   ATI Radeon IGP320 (A3), ATI Radeon IGP330/340/350 (A4),
   ATI Radeon 9500, ATI Radeon 9600TX, ATI FireGL Z1, ATI Radeon 9800SE,
   ATI Radeon 9800, ATI FireGL X2, ATI Radeon 9600, ATI Radeon 9600SE,
   ATI Radeon 9600XT, ATI FireGL T2, ATI Radeon 9650, ATI FireGL RV360,
   ATI Radeon 7000 IGP (A4+), ATI Radeon 8500 AIW,
   ATI Radeon IGP320M (U1), ATI Radeon IGP330M/340M/350M (U2),
   ATI Radeon Mobility 7000 IGP, ATI Radeon 9000/PRO, ATI Radeon 9000,
   ATI Radeon X800 (R420), ATI Radeon X800PRO (R420),
   ATI Radeon X800SE (R420), ATI FireGL X3 (R420),
   ATI Radeon Mobility 9800 (M18), ATI Radeon X800 SE (R420),
   ATI Radeon X800XT (R420), ATI Radeon X800 VE (R420),
   ATI Radeon X850 (R480), ATI Radeon X850 XT (R480),
   ATI Radeon X850 SE (R480), ATI Radeon X850 PRO (R480),
   ATI Radeon X850 XT PE (R480), ATI Radeon Mobility M7,
   ATI Mobility FireGL 7800 M7, ATI Radeon Mobility M6,
   ATI FireGL Mobility 9000 (M9), ATI Radeon Mobility 9000 (M9),
   ATI Radeon 9700 Pro, ATI Radeon 9700/9500Pro, ATI FireGL X1,
   ATI Radeon 9800PRO, ATI Radeon 9800XT,
   ATI Radeon Mobility 9600/9700 (M10/M11),
   ATI Radeon Mobility 9600 (M10), ATI Radeon Mobility 9600 (M11),
   ATI FireGL Mobility T2 (M10), ATI FireGL Mobility T2e (M11),
   ATI Radeon, ATI FireGL 8700/8800, ATI Radeon 8500, ATI Radeon 9100,
   ATI Radeon 7500, ATI Radeon VE/7000, ATI ES1000,
   ATI Radeon Mobility X300 (M22), ATI Radeon Mobility X600 SE (M24C),
   ATI FireGL M22 GL, ATI Radeon X800 (R423), ATI Radeon X800PRO (R423),
   ATI Radeon X800LE (R423), ATI Radeon X800SE (R423),
   ATI Radeon X800 XTP (R430), ATI Radeon X800 XL (R430),
   ATI Radeon X800 SE (R430), ATI Radeon X800 (R430),
   ATI FireGL V7100 (R423), ATI FireGL V5100 (R423),
   ATI FireGL unknown (R423), ATI Mobility FireGL V5000 (M26),
   ATI Mobility Radeon X700 XL (M26), ATI Mobility Radeon X700 (M26),
   ATI Radeon X550XTX, ATI Radeon 9100 IGP (A5),
   ATI Radeon Mobility 9100 IGP (U3), ATI Radeon XPRESS 200,
   ATI Radeon XPRESS 200M, ATI Radeon 9250, ATI Radeon 9200,
   ATI Radeon 9200SE, ATI FireMV 2200, ATI Radeon X300 (RV370),
   ATI Radeon X600 (RV370), ATI Radeon X550 (RV370),
   ATI FireGL V3100 (RV370), ATI FireMV 2200 PCIE (RV370),
   ATI Radeon Mobility 9200 (M9+), ATI Mobility Radeon X800 XT (M28),
   ATI Mobility FireGL V5100 (M28), ATI Mobility Radeon X800 (M28),
   ATI Radeon X850, ATI unknown Radeon / FireGL (R480),
   ATI Radeon X800XT (R423), ATI FireGL V5000 (RV410),
   ATI Radeon X700 XT (RV410), ATI Radeon X700 PRO (RV410),
   ATI Radeon X700 SE (RV410), ATI Radeon X700 (RV410),
   ATI Radeon X1800, ATI Mobility Radeon X1800 XT,
   ATI Mobility Radeon X1800, ATI Mobility FireGL V7200,
   ATI FireGL V7200, ATI FireGL V5300, ATI Mobility FireGL V7100,
   ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505,
   ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL,
   ATI Mobility Radeon X1400, ATI Radeon X1550 64-bit,
   ATI Mobility Radeon X1300, ATI Radeon X1300, ATI FireGL V3300,
   ATI FireGL V3350, ATI Mobility Radeon X1450,
   ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
   ATI FireMV 2250, ATI Radeon X1650, ATI Mobility FireGL V5200,
   ATI Mobility Radeon X1600, ATI Radeon X1300 XT/X1600 Pro,
   ATI FireGL V3400, ATI Mobility FireGL V5250,
   ATI Mobility Radeon X1700, ATI Mobility Radeon X1700 XT,
   ATI FireGL V5200, ATI Radeon X2300HD, ATI Mobility Radeon HD 2300,
   ATI Radeon X1950, ATI Radeon X1900, ATI AMD Stream Processor,
   ATI RV560, ATI Mobility Radeon X1900, ATI Radeon X1950 GT, ATI RV570,
   ATI FireGL V7400, ATI Radeon 9100 PRO IGP,
   ATI Radeon Mobility 9200 IGP, ATI Radeon X1200, ATI RS740,
   ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro,
   ATI Radeon HD 2900 GT, ATI FireGL V8650, ATI FireGL V8600,
   ATI FireGL V7600, ATI Radeon 4800 Series, ATI Radeon HD 4870 x2,
   ATI Radeon HD 4850 x2, ATI FirePro V8750 (FireGL),
   ATI FirePro V7760 (FireGL), ATI Mobility RADEON HD 4850,
   ATI Mobility RADEON HD 4850 X2, ATI FirePro RV770,
   AMD FireStream 9270, AMD FireStream 9250, ATI FirePro V8700 (FireGL),
   ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
   ATI FirePro M7750, ATI M98, ATI Mobility Radeon HD 4650,
   ATI Radeon RV730 (AGP), ATI Mobility Radeon HD 4670,
   ATI FirePro M5750, ATI RV730XT [Radeon HD 4670], ATI RADEON E4600,
   ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650],
   ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL),
   ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830,
   ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740,
   ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI RV610,
   ATI Radeon HD 2400 XT, ATI Radeon HD 2400 Pro,
   ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, ATI Radeon HD 2350,
   ATI Mobility Radeon HD 2400 XT, ATI Mobility Radeon HD 2400,
   ATI RADEON E2400, ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
   ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
   ATI Mobility Radeon HD 3850 X2, ATI Mobility Radeon HD 3870,
   ATI Mobility Radeon HD 3870 X2, ATI Radeon HD3870 X2,
   ATI FireGL V7700, ATI Radeon HD3690, AMD Firestream 9170,
   ATI Radeon HD 4550, ATI Radeon RV710, ATI Radeon HD 4350,
   ATI Mobility Radeon 4300 Series, ATI Mobility Radeon 4500 Series,
   ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630,
   ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT,
   ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP,
   ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630,
   ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600,
   ATI FireGL V3600, ATI Radeon HD 2600 LE,
   ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470,
   ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series,
   ATI Radeon HD 3450, ATI Radeon HD 3430, ATI FirePro V3700,
   ATI FireMV 2450, ATI Radeon HD 3600 Series, ATI Radeon HD 3650 AGP,
   ATI Radeon HD 3600 PRO, ATI Radeon HD 3600 XT,
   ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670,
   ATI Mobility FireGL V5700, ATI Mobility FireGL V5725,
   ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
   ATI Radeon HD 3300 Graphics, ATI Radeon 3000 Graphics, SUMO, SUMO2,
   ATI Radeon HD 4200, ATI Radeon 4100, ATI Mobility Radeon HD 4200,
   ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250,
   AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics,
   AMD Radeon HD 6300 Series Graphics,
   AMD Radeon HD 6200 Series Graphics, PALM, CYPRESS,
   ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
   AMD Firestream 9350, ATI Radeon HD 5800 Series,
   ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
   ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
   ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
   ATI Radeon HD 5670, ATI Radeon HD 5570, ATI Radeon HD 5500 Series,
   REDWOOD, ATI Mobility Radeon Graphics, CEDAR, ATI FirePro 2270,
   ATI Radeon HD 5450, CAYMAN, AMD Radeon HD 6900 Series,
   AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS,
   AMD Radeon HD 6800 Series, AMD Radeon HD 6700 Series, TURKS, CAICOS,
   ARUBA, TAHITI, PITCAIRN, VERDE, OLAND, HAINAN, BONAIRE, KABINI,
   MULLINS, KAVERI, HAWAII
[  1297.140] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  1297.146] (II) [KMS] drm report modesetting isn't supported.
[  1297.146] (EE) open /dev/dri/card0: No such file or directory
[  1297.146] (WW) Falling back to old probe method for modesetting
[  1297.146] (EE) open /dev/dri/card0: No such file or directory
[  1297.146] (EE) Screen 0 deleted because of no matching config section.
[  1297.146] (II) UnloadModule: "radeon"
[  1297.146] (EE) Screen 0 deleted because of no matching config section.
[  1297.146] (II) UnloadModule: "modesetting"
[  1297.146] (EE) Device(s) detected, but none match those in the config file.
[  1297.146] (EE)
Fatal server error:
[  1297.146] (EE) no screens found(EE)
[  1297.146] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[  1297.146] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1297.146] (EE)
[  1297.155] (EE) Server terminated with error (1). Closing log file.



My new Kernel config is here
Code:
https://dpaste.com/D66LVLXM7


The output of running
Quote:
ls /usr/share/X11/xorg.conf.d

Yields the following output:
Code:
10-quirks.conf    10-radeon.conf    40-libinput.conf


Here is my make file as well while I am at it:
Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
#
# Compiler Flags
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

# Make OPTS for a 4GiB system
MAKEOPTS="-j2"

# Mirrors for Gentoo, current location: Ohio
GENTOO_MIRRORS="https://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/"

# Graphics Card Variable
VIDEO_CARDS="radeon r600"

# Configuration for ACCEPT_LICENSE variable
ACCEPT_LICENSE="-* @FREE"

# GRUB2 for UEFI
GRUB_PLATFORMS="efi-64"


Here is the output of dmesg as well:
Code:
https://dpaste.com/57XXADR56


If there is any other files you might need to see I can get them on here pretty quickly
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 50507
Location: 56N 3W

PostPosted: Fri May 13, 2022 5:42 pm    Post subject: Reply with quote

buddy16755,

Code:
[    0.650541] [drm] radeon kernel modesetting enabled.
[    0.650599] radeon 0000:01:00.0: vgaarb: deactivate vga console
[    0.650796] [drm] initializing kernel modesetting (RV610 0x1002:0x94C8 0x106B:0x0084 0x00).
[    0.650846] radeon 0000:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xd52a
[    0.787616] random: fast init done
[    0.790371] ATOM BIOS: 113
[    0.790398] radeon 0000:01:00.0: VRAM: 128M 0x0000000000000000 - 0x0000000007FFFFFF (128M used)
[    0.790405] radeon 0000:01:00.0: GTT: 512M 0x0000000008000000 - 0x0000000027FFFFFF
[    0.790413] [drm] Detected VRAM RAM=128M, BAR=256M
[    0.790416] [drm] RAM width 64bits DDR
[    0.790451] [drm] radeon: 128M of VRAM memory ready
[    0.790455] [drm] radeon: 512M of GTT memory ready.
[    0.790465] [drm] Loading RV610 Microcode
[    0.790469] Loading firmware: radeon/RV610_pfp.bin
[    0.790491] radeon 0000:01:00.0: Direct firmware load for radeon/RV610_pfp.bin failed with error -2
[    0.790497] r600_cp: Failed to load firmware "radeon/RV610_pfp.bin"
[    0.790500] [drm:r600_init] *ERROR* Failed to load firmware!
...
[    2.864208] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
...

That was looking good until firmware loading failed.
As firmware loading happens before root is mounted, the needed firmware must be included in the kernel binary.
Alternatively, configure the Radeon driver as a module.
You may need several firmware files, radeon/RV610_pfp.bin, is the first one that failed to load. The kernel does not check for any further radeon related firmware.
There are two
Code:
$ ls /lib/firmware/radeon/RV61*
/lib/firmware/radeon/RV610_me.bin /lib/firmware/radeon/RV610_pfp.bin


Code:
CONFIG_EXTRA_FIRMWARE="radeon/R600_rlc.bin radeon/R600_uvd.bin radeon/R600_me.bin radeon/R600_pfp.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"

You may need that firmware but the driver is looking for other files too.

After radeon fails to start, your system continues using
Code:
[    0.829300] efifb: dmi detected iMac8,1 - framebuffer at 0xc0010000 (1680x1050, stride 6912)
[    0.829324] efifb: probing for efifb
[    0.829345] efifb: framebuffer at 0xc0010000, using 7104k, total 7104k
[    0.829349] efifb: mode is 1680x1050x32, linelength=6912, pages=1
[    0.829353] efifb: scrolling: redraw
[    0.829355] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    0.833763] Console: switching to colour frame buffer device 210x65

which is the EFI Framebuffer console.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
buddy16755
n00b
n00b


Joined: 08 May 2022
Posts: 8

PostPosted: Fri May 13, 2022 10:40 pm    Post subject: Reply with quote

Hi,

So i think we are getting closer!! I'm still getting the error but when checking the dmesg, which I've learned is super helpful!! It shows this:
Code:
[    0.654185] [drm] radeon kernel modesetting enabled.
[    0.654234] radeon 0000:01:00.0: vgaarb: deactivate vga console
[    0.654424] [drm] initializing kernel modesetting (RV610 0x1002:0x94C8 0x106B:0x0084 0x00).
[    0.654469] radeon 0000:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xd52a
[    0.790878] random: fast init done
[    0.793935] ATOM BIOS: 113
[    0.793962] radeon 0000:01:00.0: VRAM: 128M 0x0000000000000000 - 0x0000000007FFFFFF (128M used)
[    0.793969] radeon 0000:01:00.0: GTT: 512M 0x0000000008000000 - 0x0000000027FFFFFF
[    0.793977] [drm] Detected VRAM RAM=128M, BAR=256M
[    0.793980] [drm] RAM width 64bits DDR
[    0.794013] [drm] radeon: 128M of VRAM memory ready
[    0.794017] [drm] radeon: 512M of GTT memory ready.
[    0.794030] [drm] Loading RV610 Microcode
[    0.794035] Loading firmware: radeon/RV610_pfp.bin
[    0.794038] Loading firmware: radeon/RV610_me.bin
[    0.794041] Loading firmware: radeon/R600_rlc.bin
[    0.794062] radeon 0000:01:00.0: Direct firmware load for radeon/R600_rlc.bin failed with error -2
[    0.794068] r600_cp: Failed to load firmware "radeon/R600_rlc.bin"
[    0.794072] [drm:r600_init] *ERROR* Failed to load firmware!
[    0.794080] radeon 0000:01:00.0: Fatal error during GPU init
[    0.794084] [drm] radeon: finishing device.
[    0.801140] [drm] radeon: ttm finalized
[    0.801314] radeon: probe of 0000:01:00.0 failed with error -2
[    0.803094] loop: module loaded


But I have verified in my kernel through firmware loading i see all of them are there??
Code:
#
# Firmware loader
#
CONFIG_FW_LOADER=y
CONFIG_EXTRA_FIRMWARE="radeon/RV610_pfp.bin radeon/RV610_me.bin radeon/R600_rlc.bin radeon/R600_uvd.bin radeon/R600_pfp.bin radeon/R600_me.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
# CONFIG_FW_LOADER_USER_HELPER is not set
# CONFIG_FW_LOADER_COMPRESS is not set
CONFIG_FW_CACHE=y
# end of Firmware loader

I find this a little confusing, I ran
Code:
ls /lib/firmware/radeon/R*
just to verify all of those files are correct, and the output of that is:
Code:

/lib/firmware/radeon/R100_cp.bin
/lib/firmware/radeon/R200_cp.bin
/lib/firmware/radeon/R300_cp.bin
/lib/firmware/radeon/R420_cp.bin
/lib/firmware/radeon/R520_cp.bin
/lib/firmware/radeon/R600_me.bin
/lib/firmware/radeon/R600_pfp.bin
/lib/firmware/radeon/R600_rlc.bin
/lib/firmware/radeon/R600_uvd.bin
/lib/firmware/radeon/R700_rlc.bin
/lib/firmware/radeon/REDWOOD_me.bin
/lib/firmware/radeon/REDWOOD_pfp.bin
/lib/firmware/radeon/REDWOOD_rlc.bin
/lib/firmware/radeon/REDWOOD_smc.bin
/lib/firmware/radeon/RS600_cp.bin
/lib/firmware/radeon/RS690_cp.bin
/lib/firmware/radeon/RS780_me.bin
/lib/firmware/radeon/RS780_pfp.bin
/lib/firmware/radeon/RS780_uvd.bin
/lib/firmware/radeon/RV610_me.bin
/lib/firmware/radeon/RV610_pfp.bin
/lib/firmware/radeon/RV620_me.bin
/lib/firmware/radeon/RV620_pfp.bin
/lib/firmware/radeon/RV630_me.bin
/lib/firmware/radeon/RV630_pfp.bin
/lib/firmware/radeon/RV635_me.bin
/lib/firmware/radeon/RV635_pfp.bin
/lib/firmware/radeon/RV670_me.bin
/lib/firmware/radeon/RV670_pfp.bin
/lib/firmware/radeon/RV710_me.bin
/lib/firmware/radeon/RV710_pfp.bin
/lib/firmware/radeon/RV710_smc.bin
/lib/firmware/radeon/RV710_uvd.bin
/lib/firmware/radeon/RV730_me.bin
/lib/firmware/radeon/RV730_pfp.bin
/lib/firmware/radeon/RV730_smc.bin
/lib/firmware/radeon/RV740_smc.bin
/lib/firmware/radeon/RV770_me.bin
/lib/firmware/radeon/RV770_pfp.bin
/lib/firmware/radeon/RV770_smc.bin
/lib/firmware/radeon/RV770_uvd.bin

so the files for sure exist and are being told to load but the kernel seems to error when doing so? Any idea what could be causing it not to properly load?

Here is the Kernel:
Code:
https://dpaste.com/HAXLXKYZJ
Back to top
View user's profile Send private message
buddy16755
n00b
n00b


Joined: 08 May 2022
Posts: 8

PostPosted: Sat May 14, 2022 12:23 am    Post subject: Reply with quote

OMG I FIGURED IT OUT!!!!

looking closer i noticed
Code:
CONFIG_EXTRA_FIRMWARE="radeon/RV610_pfp.bin radeon/RV610_me.bin radeon/R600_rlc.bin radeon/R600_uvd.bin radeon/R600_pfp.bin radeon/R600_me.bin"
contains 2 files with a "_me.bin" and "_pfp.bin" extension, I removed the ones the kernel doesn't ask for aka
Code:
radeon/R600_pfp.bin radeon/R600_me.bin
i recompiled and launched the system, once done it flashed and rerendered on the frambuffer. I ran
Code:
lspci -k
and read the graphics output and it said
Code:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV610/M74 [Mobility Radeon HD 2400 XT]
    Subsystem: Apple Inc. RV610/M74 [Mobility Radeon HD 2400 XT]
    Kernel driver in use: radeon
the amount of serotonin i got seeing the kernel loaded a driver was insane. I ran startx and it actually launched!!! thank you for the help, I'll mark this as solved!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 50507
Location: 56N 3W

PostPosted: Sat May 14, 2022 2:18 pm    Post subject: Reply with quote

buddy16755,

There is nothing like following the method and getting the detail right for yourself.
Well done!
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum