关于AMD显卡驱动的一点小心得和疑问

今年六月买的笔记本,发现之前用的好好的debian系统在这台机器上不能正常使用
配置是Ryzen 5 3500U 12G RAM 512G SN750 HGST 1T
安装Debian 10 Buster发现无法进入GUI只能命令行启动,x启动不起来。推测是vega 8的显卡驱动问题,找了半天也不行,目前的Firmware-amd-graphics装上也无法正常驱动。Debian9和ubuntu倒是可以正常用,但时常界面卡顿,系统识别不出显卡,也不能打开游戏会提示vulcan和opencl错误(大雾)。
最近Ubuntu更新了5.0的内核,vega8终于正常驱动了,也许和linux内核版本有关?
更最新的内核还是就用ubuntu呢,感觉前者略麻烦

你不妨试一下,在命令行里面,先nano /etc/apt/sources.list,把buster-backports源添加上去,保存好这个文件,更新一下软件源apt update,然后试着安装backports源里面新版的5.2版本的Linux内核:
apt install -t buster-backports linux-image-5.2.0-0.bpo.2-amd64

更新完后重启,应该就能认出这个显卡了。5.2的内核,在认不出就有点麻烦了。

另外ubuntu 19.10 和各大衍生版本lubuntu xubuntu kubuntu等等几天后就发布了,搭载5.3版本内核,不妨过几天试试看?

1赞

另外也可试试debian testing ISO,搭载的5.2内核。

谢谢,会尝试的。应该不用很新,现在ubuntu18.04.3lts刚刚更新到5.0内核已经可以正常识别了

感谢你的建议,试用了前几天的debian10每日构建镜像,linux内核是5.2.0.3的,但还是不行……

下面是我的错误报告:
[ 32.554]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[ 32.554] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
[ 32.554] Current Operating System: Linux debian-amd64 5.2.0-3-amd64 #1 SMP Debian 5.2.17-1 (2019-09-26) x86_64
[ 32.554] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.2.0-3-amd64 root=UUID=c2203e55-6492-45be-ab6c-f7a08603b2b9 ro quiet
[ 32.554] Build Date: 05 March 2019 08:11:12PM
[ 32.554] xorg-server 2:1.20.4-1 (https://www.debian.org/support)
[ 32.554] Current version of pixman: 0.36.0
[ 32.555] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 32.555] Markers: (–) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 32.555] (==) Log file: “/var/log/Xorg.0.log”, Time: Sun Oct 6 16:49:28 2019
[ 32.556] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 32.557] (==) No Layout section. Using the first Screen section.
[ 32.557] (==) No screen section available. Using defaults.
[ 32.557] (
) |–>Screen “Default Screen Section” (0)
[ 32.557] (**) | |–>Monitor “”
[ 32.558] (==) No monitor specified for screen “Default Screen Section”.
Using a default monitor configuration.
[ 32.558] (==) Automatically adding devices
[ 32.558] (==) Automatically enabling devices
[ 32.558] (==) Automatically adding GPU devices
[ 32.558] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 32.559] (WW) The directory “/usr/share/fonts/X11/cyrillic” does not exist.
[ 32.559] Entry deleted from font path.
[ 32.560] (==) 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
[ 32.560] (==) ModulePath set to “/usr/lib/xorg/modules”
[ 32.560] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 32.560] (II) Loader magic: 0x55d38abcee20
[ 32.560] (II) Module ABI versions:
[ 32.560] X.Org ANSI C Emulation: 0.4
[ 32.560] X.Org Video Driver: 24.0
[ 32.560] X.Org XInput driver : 24.1
[ 32.560] X.Org Server Extension : 10.0
[ 32.560] (++) using VT number 1

[ 32.564] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 32.569] (–) PCI:*(4@0:0:0) 1002:15d8:17aa:3802 rev 194, Mem @ 0xb0000000/268435456, 0xc0000000/2097152, 0xc0800000/524288, I/O @ 0x00001000/256
[ 32.569] (II) LoadModule: “glx”
[ 32.570] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 32.575] (II) Module glx: vendor=“X.Org Foundation”
[ 32.575] compiled for 1.20.4, module version = 1.0.0
[ 32.575] ABI class: X.Org Server Extension, version 10.0
[ 32.575] (==) Matched ati as autoconfigured driver 0
[ 32.575] (==) Matched modesetting as autoconfigured driver 1
[ 32.575] (==) Matched fbdev as autoconfigured driver 2
[ 32.575] (==) Matched vesa as autoconfigured driver 3
[ 32.575] (==) Assigned the driver to the xf86ConfigLayout
[ 32.575] (II) LoadModule: “ati”
[ 32.575] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[ 32.575] (II) Module ati: vendor=“X.Org Foundation”
[ 32.575] compiled for 1.20.4, module version = 19.0.1
[ 32.575] Module class: X.Org Video Driver
[ 32.575] ABI class: X.Org Video Driver, version 24.0
[ 32.635] (II) LoadModule: “radeon”
[ 32.635] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[ 32.638] (II) Module radeon: vendor=“X.Org Foundation”
[ 32.638] compiled for 1.20.4, module version = 19.0.1
[ 32.638] Module class: X.Org Video Driver
[ 32.638] ABI class: X.Org Video Driver, version 24.0
[ 32.638] (II) LoadModule: “modesetting”
[ 32.638] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 32.639] (II) Module modesetting: vendor=“X.Org Foundation”
[ 32.639] compiled for 1.20.4, module version = 1.20.4
[ 32.639] Module class: X.Org Video Driver
[ 32.639] ABI class: X.Org Video Driver, version 24.0
[ 32.639] (II) LoadModule: “fbdev”
[ 32.639] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 32.639] (II) Module fbdev: vendor=“X.Org Foundation”
[ 32.639] compiled for 1.20.0, module version = 0.5.0
[ 32.639] Module class: X.Org Video Driver
[ 32.639] ABI class: X.Org Video Driver, version 24.0
[ 32.639] (II) LoadModule: “vesa”
[ 32.639] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 32.640] (II) Module vesa: vendor=“X.Org Foundation”
[ 32.640] compiled for 1.20.4, module version = 2.4.0
[ 32.640] Module class: X.Org Video Driver
[ 32.640] ABI class: X.Org Video Driver, version 24.0
[ 32.640] (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
[ 32.643] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 32.643] (II) FBDEV: driver for framebuffer: fbdev
[ 32.643] (II) VESA: driver for VESA chipsets: vesa
[ 32.643] (EE) open /dev/dri/card0: No such file or directory
[ 32.643] (WW) Falling back to old probe method for modesetting
[ 32.643] (EE) open /dev/dri/card0: No such file or directory
[ 32.643] (II) Loading sub module “fbdevhw”
[ 32.643] (II) LoadModule: “fbdevhw”
[ 32.643] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 32.643] (II) Module fbdevhw: vendor=“X.Org Foundation”
[ 32.643] compiled for 1.20.4, module version = 0.0.2
[ 32.643] ABI class: X.Org Video Driver, version 24.0
[ 32.643] (EE) Unable to find a valid framebuffer device
[ 32.643] (WW) Falling back to old probe method for fbdev
[ 32.644] (II) Loading sub module “fbdevhw”
[ 32.644] (II) LoadModule: “fbdevhw”
[ 32.644] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 32.644] (II) Module fbdevhw: vendor=“X.Org Foundation”
[ 32.644] compiled for 1.20.4, module version = 0.0.2
[ 32.644] ABI class: X.Org Video Driver, version 24.0
[ 32.644] (II) FBDEV(2): using default device
[ 32.644] (EE) Screen 0 deleted because of no matching config section.
[ 32.644] (II) UnloadModule: “modesetting”
[ 32.644] (EE) Screen 0 deleted because of no matching config section.
[ 32.644] (II) UnloadModule: “fbdev”
[ 32.644] (II) UnloadSubModule: “fbdevhw”
[ 32.644] (EE)
Fatal server error:
[ 32.644] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
[ 32.644] (EE)
[ 32.644] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 32.644] (EE) Please also check the log file at “/var/log/Xorg.0.log” for additional information.
[ 32.644] (EE)
[ 32.654] (EE) Server terminated with error (1). Closing log file.

现在笔记本装了Manjaro,感觉相当不错:stuck_out_tongue_winking_eye:

这种驱动问题折腾起来的确略麻烦