Xorg 无法在 Debina 10 上使用 amd rx 5700 xt 启动

Xorg 无法在 Debina 10 上使用 amd rx 5700 xt 启动

我目前正在努力使用新的 AMD Radeon RX 5700 XT。我正在运行 Debina 10 ...出于某种原因启动 Xorg 失败并显示:

(EE) Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices 

Xorg 日志返回
/var/log/Xorg.0.log

[   862.173] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[   862.178] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
[   862.178] Current Operating System: Linux mmannigel 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64
[   862.178] Kernel command line: BOOT_IMAGE=/vmlinuz-4.19.0-6-amd64 root=/dev/mapper/mmannigel--vg-root ro quiet
[   862.180] Build Date: 05 March 2019  08:11:12PM
[   862.180] xorg-server 2:1.20.4-1 (https://www.debian.org/support) 
[   862.181] Current version of pixman: 0.36.0
[   862.182]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   862.182] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   862.185] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 11 19:32:58 2020
[   862.186] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   862.186] (==) No Layout section.  Using the first Screen section.
[   862.186] (==) No screen section available. Using defaults.
[   862.186] (**) |-->Screen "Default Screen Section" (0)
[   862.186] (**) |   |-->Monitor "<default monitor>"
[   862.186] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[   862.186] (==) Automatically adding devices
[   862.186] (==) Automatically enabling devices
[   862.186] (==) Automatically adding GPU devices
[   862.186] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   862.186] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   862.186]    Entry deleted from font path.
[   862.186] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/75dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    /usr/share/fonts/X11/75dpi,
    built-ins
[   862.186] (==) ModulePath set to "/usr/lib/xorg/modules"
[   862.186] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[   862.186] (II) Loader magic: 0x5638ca087e20
[   862.186] (II) Module ABI versions:
[   862.186]    X.Org ANSI C Emulation: 0.4
[   862.186]    X.Org Video Driver: 24.0
[   862.186]    X.Org XInput driver : 24.1
[   862.186]    X.Org Server Extension : 10.0
[   862.187] (--) using VT number 1

[   862.187] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   862.199] (--) PCI:*(5@0:0:0) 1002:731f:1458:2313 rev 193, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfbc00000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[   862.199] (II) LoadModule: "glx"
[   862.199] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   862.201] (II) Module glx: vendor="X.Org Foundation"
[   862.201]    compiled for 1.20.4, module version = 1.0.0
[   862.201]    ABI class: X.Org Server Extension, version 10.0
[   862.201] (==) Matched ati as autoconfigured driver 0
[   862.201] (==) Matched modesetting as autoconfigured driver 1
[   862.201] (==) Matched fbdev as autoconfigured driver 2
[   862.201] (==) Matched vesa as autoconfigured driver 3
[   862.201] (==) Assigned the driver to the xf86ConfigLayout
[   862.201] (II) LoadModule: "ati"
[   862.201] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[   862.201] (II) Module ati: vendor="X.Org Foundation"
[   862.201]    compiled for 1.20.4, module version = 19.0.1
[   862.201]    Module class: X.Org Video Driver
[   862.201]    ABI class: X.Org Video Driver, version 24.0
[   862.267] (II) LoadModule: "radeon"
[   862.267] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[   862.267] (II) Module radeon: vendor="X.Org Foundation"
[   862.267]    compiled for 1.20.4, module version = 19.0.1
[   862.267]    Module class: X.Org Video Driver
[   862.267]    ABI class: X.Org Video Driver, version 24.0
[   862.267] (II) LoadModule: "modesetting"
[   862.268] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   862.268] (II) Module modesetting: vendor="X.Org Foundation"
[   862.268]    compiled for 1.20.4, module version = 1.20.4
[   862.268]    Module class: X.Org Video Driver
[   862.268]    ABI class: X.Org Video Driver, version 24.0
[   862.268] (II) LoadModule: "fbdev"
[   862.268] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[   862.268] (II) Module fbdev: vendor="X.Org Foundation"
[   862.268]    compiled for 1.20.0, module version = 0.5.0
[   862.268]    Module class: X.Org Video Driver
[   862.268]    ABI class: X.Org Video Driver, version 24.0
[   862.268] (II) LoadModule: "vesa"
[   862.268] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   862.268] (II) Module vesa: vendor="X.Org Foundation"
[   862.268]    compiled for 1.20.1, module version = 2.4.0
[   862.268]    Module class: X.Org Video Driver
[   862.268]    ABI class: X.Org Video Driver, version 24.0
[   862.268] (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
[   862.272] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   862.272] (II) FBDEV: driver for framebuffer: fbdev
[   862.272] (II) VESA: driver for VESA chipsets: vesa
[   862.276] (EE) open /dev/dri/card0: No such file or directory
[   862.276] (WW) Falling back to old probe method for modesetting
[   862.276] (EE) open /dev/dri/card0: No such file or directory
[   862.276] (II) Loading sub module "fbdevhw"
[   862.276] (II) LoadModule: "fbdevhw"
[   862.276] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   862.277] (II) Module fbdevhw: vendor="X.Org Foundation"
[   862.277]    compiled for 1.20.4, module version = 0.0.2
[   862.277]    ABI class: X.Org Video Driver, version 24.0
[   862.277] (EE) Unable to find a valid framebuffer device
[   862.277] (WW) Falling back to old probe method for fbdev
[   862.277] (II) Loading sub module "fbdevhw"
[   862.277] (II) LoadModule: "fbdevhw"
[   862.277] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   862.277] (II) Module fbdevhw: vendor="X.Org Foundation"
[   862.277]    compiled for 1.20.4, module version = 0.0.2
[   862.277]    ABI class: X.Org Video Driver, version 24.0
[   862.277] (II) FBDEV(2): using default device
[   862.277] (EE) Screen 0 deleted because of no matching config section.
[   862.277] (II) UnloadModule: "modesetting"
[   862.277] (EE) Screen 0 deleted because of no matching config section.
[   862.277] (II) UnloadModule: "fbdev"
[   862.277] (II) UnloadSubModule: "fbdevhw"
[   862.278] (EE) 
Fatal server error:
[   862.278] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[   862.278] (EE) 
[   862.278] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[   862.278] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   862.278] (EE) 
[   862.285] (EE) Server terminated with error (1). Closing log file.

当查看 dmesg -w --level =err,warn 的输出时,似乎没有任何与 GPU 相关的错误...

我完全意识到 GPU 可能需要内核 5.3 或更高版本...所以我构建了我自己的内核版本 5.4.3。 (我不知道这是否会改变任何东西,但我确实保留了默认值......:)

我还将 navi 10 中的固件插入到 /lib/firmware/amdgpu

navi10_asd.bin、navi10_ce.bin、navi10_gpu_info.bin、navi10_me.bin、navi10_mec2.bin、navi10_gpu_mec.bin navi10_pfp.bin、navi10_gpu_rlc.bin、navi10_sdma1.bin、navi10_sdma.bin、navi10_sdmc.bin、 avi10_smc.bin、navi10_sos.bin , navi10_vcn

我确实有德布http://deb.debian.org/debian在我的 /etc/apt/sources.list 中,buster 主要贡献是非免费的。

我已经安装了firmware-linux、firmware-linux-nonfree、libgl1-mesa-dri、xserver-xorg-video-ati、xserver-xorg-video-radeon、xserver-xorg-video-amdgpu、libdrm-amdgpu1

尽管我尝试遵循多个指南...但他们似乎都没有解决手头的问题...任何帮助将不胜感激。否则我将尝试看看重建内核是否可以修复系统。

PS 抱歉我的拼写错误>.<

答案1

您可以安装linux-image来自buster向后移植而不是编译包含 RX 5700 XT 驱动程序的 > 5.3 内核版本。

sudo apt install -t buster-backports linux-image-amd64

firmware-linux-nonfree从向后移植安装:

sudo apt install -t buster-backports firmware-linux-nonfree firmware-amd-graphics

相关内容