これまでやってきたことは次の通りです。
今回これで満足できずに再挑戦しました。
このページでは、まただめだったというところまでを書いています。buster-backportsについては次回に解説します。
今回のDebian10(buster)もネットワークインストールですんなり使えるようになりました。デフォルトのデスクトップ環境はGNOME3です。問題はひとつだけ。サスペンドすると戻れなくなること。自動サスペンドをオフにしておけば問題ありません。操作がない時に画面を暗くするブランクスクリーンは活かしておいて構いません。
ここで、サスペンドすると戻れなくなることをなんとかできないかということで、non-freeにあるfirmwareを追加すると、GRUBメニューまでは出ますが、その後起動しなくなりました。さらにパッケージにないものをダウンロードして適用したり深みにハマりましたがうまくいきませんでした。
その中で、grubでnomodesetを加えて起動すると元通り使えることがわかりました。これを/etc/default/grubに書いて、update-grubすれば起動のたびに操作する必要もなくなります。しかし肝心のサスペンドすると戻れなくなる現象はそのままなので、諦めて再インストールしてnon-freeのfirmwareなしで使うことにしたのでした。
ちなみに、/etc/default/grubに書く内容は、次の行にnomodesetを追加。
GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset" GRUB_CMDLINE_LINUX=""
忘れずに
# update-grub
落ち着いてきて、本格的にメインのシステムにしようというときには、二台のディスプレイを付けたくなります。多くのマザーボードは2台程度であればすぐに使えます。今回のボードでもできるはずなのですが、以下のように1台しか認識しません。DVI,D-subでも一台だけつなぐときにはそれが使えます。両方つなぐとD-subしか活きません。
ディスプレイの認識状態を調べるために設定の画面をみると次のようになっています。
DVIが使えないかと言うとそうではありません。
Debian 9 (stretch)の時も、firmwareを追加してデュアルディスプレイにしていましたから、nomodesetを設定することになっても、firmwareを追加してみます。アップグレードなどもされているので、直っているかもしれません。
いままで、よく使っているのが、firmware-linux-nonfree、今回注目しているのが firmware-amd-graphics なのですが、依存関係からどちらも同じ。さらにいうと、firmware-linuxでも同様だとわかります。
adachi@fumita:~$ apt depends firmware-linux firmware-linux 依存: firmware-linux-free 依存: firmware-linux-nonfree (= 20190114-2) 推奨: intel-microcode 推奨: amd64-microcode adachi@fumita:~$ apt depends firmware-linux-free firmware-linux-free 提案: initramfs-tools adachi@fumita:~$ apt depends firmware-linux-nonfree firmware-linux-nonfree 依存: firmware-misc-nonfree (= 20190114-2) 依存: firmware-amd-graphics (= 20190114-2) 推奨: intel-microcode 推奨: amd64-microcode adachi@fumita:~$ apt depends firmware-misc-nonfree firmware-misc-nonfree 破壊: firmware-adi (<< 20151018-1~) 破壊: firmware-ivtv (<< 0.38~) 破壊: firmware-linux (<< 0.19) 破壊: firmware-linux-nonfree (<< 20151018-1~) 破壊: firmware-ralink (<< 20151018-1~) 提案: initramfs-tools 置換: firmware-adi (<< 20151018-1~) 置換: firmware-ivtv (<< 0.38~) 置換: firmware-linux (<< 0.19) 置換: firmware-linux-nonfree (<< 20151018-1~) 置換: firmware-ralink (<< 20151018-1~) adachi@fumita:~$ apt depends firmware-amd-graphics firmware-amd-graphics 破壊: firmware-linux-nonfree (<< 20151018-1~) 提案: initramfs-tools 置換: firmware-linux-nonfree (<< 20151018-1~)
最後の方は再帰的な関係で理解し難くなっていますが、最初のfirmware-linuxで入れてみます。
synapticsを使いましたが、インストールされたものは次のとおり。
root@fumita:~# less /var/log/apt/history.log Start-Date: 2020-02-25 14:01:59 Commandline: /usr/sbin/synaptic Requested-By: adachi (1000) Install: intel-microcode:amd64 (3.20191115.2~deb10u1, automatic), iucode-tool:amd64 (2.3.1-1, automatic), firmware-amd-graphics:amd64 (20190114-2), amd64-microcode:amd64 (3.20181128.1), firmware-linux-nonfree:amd64 (20190114-2, automatic), firmware-misc-nonfree:amd64 (20190114-2, automatic), firmware-linux:amd64 (20190114-2) End-Date: 2020-02-25 14:02:14
automatic(依存関係で入る)かどうかがわかりやすいかと思ったが、よけいに理解に苦しむ。
grubまでは正常。起動を開始すると初期の解像度が切り替わるあたりで表示が消えます。
nomodesetを書けばログイン画面になり、GUIデスクトップになります。この状態ではディスプレイは1台しか認識しません。
dmesgを調べると、
[ 0.000000] You have booted with nomodeset. This means your GPU drivers are DISABLED [ 0.000000] Any video related functionality will be severely degraded, and you may not even be able to suspend the system properly [ 0.000000] Unless you actually understand what nomodeset does, you should reboot without enabling it
まあ、おっしゃるとおりです。
そこで、nomodesetを書かずにdmesgを調べます。これを調査できるのはsshでログインできるからです。gdm3も起動している(psに出てくる)ので、ウインドウシステムは動いていて表示だけできないということのようです。二台のディスプレイを接続しての調査です。
①:二台認識...と思ったのですが、1台しか接続しなくてもこれは出ます。
②:カーネルのバグ、放置で問題ないという話。
③:④: 不明。
[ 1.059710] ACPI: Power Button [PWRF] [ 1.067619] ACPI: Video Device [VGA1] (multi-head: yes rom: no post: no) ① [ 1.067806] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.GP17.VGA.LCD._BCM.AFN7], AE_NOT_FOUND (20180810/psargs-330) ② [ 1.068101] ACPI Error: Method parse/execution failed \_SB.PCI0.GP17.VGA.LCD._BCM, AE_NOT_FOUND (20180810/psparse-516) [ 1.068364] ACPI Error: Evaluating _BCM failed (20180810/video-370) .... [ 1.492828] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service for connector index:2! type 0 expected 3 ③ [ 1.495704] [drm] Display Core initialized with v3.1.59! [ 1.518310] ata9: SATA link down (SStatus 0 SControl 300) [ 1.532048] BUG: unable to handle kernel NULL pointer dereference at 0000000000000018 ④ [ 1.532234] PGD 0 P4D 0 [ 1.532351] Oops: 0000 [#1] SMP NOPTI [ 1.532483] CPU: 0 PID: 110 Comm: systemd-udevd Not tainted 4.19.0-8-amd64 #1 Debian 4.19.98-1 [ 1.532678] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./B450M Pro4, BIOS P3.60 07/31/2019 [ 1.532937] RIP: 0010:dc_link_aux_transfer+0x8c/0x160 [amdgpu] [ 1.533029] Code: 48 c7 44 24 10 00 00 00 00 48 c7 44 24 08 00 00 00 00 48 8b 16 48 8b 00 8b 52 14 48 8b 80 38 01 00 00 48 8b 9c d0 b0 01 00 00 <48> 8b 43 18 48 89 df 48 8b 40 48 e8 14 5e ff d3 8b 44 24 78 48 89 [ 1.533207] RSP: 0018:ffffa61981e936b0 EFLAGS: 00010246 [ 1.533291] RAX: ffff96c742627c00 RBX: 0000000000000000 RCX: ffffa61981e937f8 [ 1.533387] RDX: 0000000000000003 RSI: ffff96c742cb1360 RDI: ffff96c742625c00 [ 1.533484] RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 [ 1.533580] R10: ffff96c743b12840 R11: 0000000000000001 R12: ffffa61981e937f8 [ 1.533676] R13: ffffa61981e9374d R14: 0000000000000000 R15: 0000000000000000 [ 1.533777] FS: 00007f2af1c72d40(0000) GS:ffff96c750600000(0000) knlGS:0000000000000000 [ 1.533891] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.533982] CR2: 0000000000000018 CR3: 000000040bb86000 CR4: 00000000003406f0 [ 1.534083] Call Trace: [ 1.534222] dm_dp_aux_transfer+0x55/0x120 [amdgpu] [ 1.534322] drm_dp_dpcd_access+0x79/0x110 [drm_kms_helper] [ 1.534410] drm_dp_dpcd_read+0x2e/0xc0 [drm_kms_helper] [ 1.534552] dm_helpers_dp_read_dpcd+0x27/0x40 [amdgpu] [ 1.534695] core_link_read_dpcd+0x1f/0x30 [amdgpu] [ 1.534836] retrieve_link_cap+0x55/0x490 [amdgpu] [ 1.534977] dc_link_detect+0x811/0xaf0 [amdgpu] [ 1.535114] amdgpu_dm_initialize_drm_device+0xa6d/0xb83 [amdgpu] [ 1.535261] ? setup_x_points_distribution+0x6f/0x140 [amdgpu] [ 1.535402] dm_hw_init.cold.74+0x8c/0x116 [amdgpu] [ 1.535541] amdgpu_device_init.cold.28+0x1104/0x129e [amdgpu] [ 1.535679] amdgpu_driver_load_kms+0x52/0x210 [amdgpu] [ 1.535774] drm_dev_register+0x109/0x140 [drm] [ 1.535900] amdgpu_pci_probe+0x1d7/0x2d0 [amdgpu] [ 1.535984] local_pci_probe+0x41/0x90 [ 1.536056] pci_device_probe+0xff/0x1b0 [ 1.536130] really_probe+0x23e/0x390 [ 1.536202] driver_probe_device+0xb3/0xf0 [ 1.536276] __driver_attach+0xea/0x110 [ 1.536348] ? driver_probe_device+0xf0/0xf0 [ 1.536422] bus_for_each_dev+0x77/0xc0 [ 1.536495] ? klist_add_tail+0x3b/0x70 [ 1.536567] bus_add_driver+0x152/0x230 [ 1.536640] ? 0xffffffffc09c2000 [ 1.536709] driver_register+0x6b/0xb0 [ 1.536780] ? 0xffffffffc09c2000 [ 1.536850] do_one_initcall+0x46/0x1c3 [ 1.536923] ? _cond_resched+0x15/0x30 [ 1.536996] ? kmem_cache_alloc_trace+0x169/0x1d0 [ 1.537073] do_init_module+0x5a/0x210 [ 1.537145] load_module+0x214c/0x23c0 [ 1.537218] ? __do_sys_finit_module+0xad/0x110 [ 1.537293] __do_sys_finit_module+0xad/0x110 [ 1.537369] do_syscall_64+0x53/0x110 [ 1.537440] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 1.537519] RIP: 0033:0x7f2af245cf59 [ 1.537588] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48 [ 1.537750] RSP: 002b:00007ffce7bff8d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 1.537847] RAX: ffffffffffffffda RBX: 000055af5def4980 RCX: 00007f2af245cf59 [ 1.537935] RDX: 0000000000000000 RSI: 00007f2af2361cad RDI: 0000000000000012 [ 1.538024] RBP: 00007f2af2361cad R08: 0000000000000000 R09: 0000000000000000 [ 1.538112] R10: 0000000000000012 R11: 0000000000000246 R12: 0000000000000000 [ 1.538201] R13: 000055af5dede520 R14: 0000000000020000 R15: 000055af5def4980 [ 1.538290] Modules linked in: amdkfd amdgpu(+) crc32c_intel ahci libahci chash gpu_sched i2c_algo_bit ttm aesni_intel xhci_pci drm_kms_helper xhci_hcd aes_x86_64 crypto_simd cryptd glue_helper r8169 realtek drm libata i2c_piix4 libphy usbcore scsi_mod mfd_core usb_common wmi video gpio_amdpt gpio_generic button [ 1.538516] CR2: 0000000000000018 [ 1.538584] ---[ end trace 9bf254a0a1ae5a9a ]--- [ 1.538709] RIP: 0010:dc_link_aux_transfer+0x8c/0x160 [amdgpu] [ 1.538795] Code: 48 c7 44 24 10 00 00 00 00 48 c7 44 24 08 00 00 00 00 48 8b 16 48 8b 00 8b 52 14 48 8b 80 38 01 00 00 48 8b 9c d0 b0 01 00 00 <48> 8b 43 18 48 89 df 48 8b 40 48 e8 14 5e ff d3 8b 44 24 78 48 89 [ 1.538958] RSP: 0018:ffffa61981e936b0 EFLAGS: 00010246 [ 1.539036] RAX: ffff96c742627c00 RBX: 0000000000000000 RCX: ffffa61981e937f8 [ 1.539124] RDX: 0000000000000003 RSI: ffff96c742cb1360 RDI: ffff96c742625c00 [ 1.539212] RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 [ 1.539301] R10: ffff96c743b12840 R11: 0000000000000001 R12: ffffa61981e937f8 [ 1.539389] R13: ffffa61981e9374d R14: 0000000000000000 R15: 0000000000000000 [ 1.539477] FS: 00007f2af1c72d40(0000) GS:ffff96c750600000(0000) knlGS:0000000000000000 [ 1.539576] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.539656] CR2: 0000000000000018 CR3: 000000040bb86000 CR4: 00000000003406f0 [ 1.588023] usb 1-5: new full-speed USB device number 2 using xhci_hcd
②の放置で問題ないという話は、次の所で読んだ。
Linux起動時にACPIのエラーが発生する(普段使いのArch Linux)
ACPIのエラーが発生するようになった原因は、Linuxカーネルの4.9へのアップデート。ちなみに、アップデートで現在使用しているカーネルのバージョンは、4.10だが同様にACPIのエラーは発生する。
Fedora 25など、Arch Linux以外のディストリビューションでも同様の症状が出ているが、結局これはカーネルのバグで、今の所、修正は実施されそうにない。
・Bug 1413342 – Linux 4.9.3: ACPI Error: [_OSI] Namespace lookup failure, AE_NOT_FOUND (20160831/psargs-359)
・193531 – ACPI Namespace lookup failure
特に、問題はなさそうなので、このまま放置して様子を見る。
③、④については検索でめぼしいものは出てきませんでした。
解決策はないかと検索する中で、ハードウェア情報を得る方法をたくさん見かけましたので、記録します。
lspciはよく使っていました。
root@fumita:~# lspci|grep VGA 06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev cb)
RavenとVegaのどちらがキーワードになるかがいまいちわかりません。動いてくれれば気にしないのですけど。
root@fumita:~# lspci -v ... 06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev cb) (prog-if 00 [VGA controller]) Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] Flags: bus master, fast devsel, latency 0, IRQ 52 Memory at e0000000 (64-bit, prefetchable) [size=256M] Memory at f0000000 (64-bit, prefetchable) [size=2M] I/O ports at e000 [size=256] Memory at fcc00000 (32-bit, non-prefetchable) [size=512K] [virtual] Expansion ROM at 000c0000 [disabled] [size=128K] Capabilities: [48] Vendor Specific Information: Len=08 > Capabilities: [50] Power Management version 3 Capabilities: [64] Express Legacy Endpoint, MSI 00 Capabilities: [a0] MSI: Enable+ Count=1/4 Maskable- 64bit+ Capabilities: [c0] MSI-X: Enable- Count=3 Masked- Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 > Capabilities: [200] #15 Capabilities: [270] #19 Capabilities: [2a0] Access Control Services Capabilities: [2b0] Address Translation Service (ATS) Capabilities: [2c0] Page Request Interface (PRI) Capabilities: [2d0] Process Address Space ID (PASID) Capabilities: [320] Latency Tolerance Reporting Kernel driver in use: amdgpu Kernel modules: amdgpu
Kernel driver がわかるのは嬉しい。
デバイスについて[1002:15dd]などとベンダ ID とデバイス IDを出してくれる。
root@fumita:~# lspci -nn 00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex [1022:15d0] 00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452] 00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0] [1022:15d3] 00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452] 00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A [1022:15db] 00:08.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus B [1022:15dc] 00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61) 00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51) 00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0 [1022:15e8] 00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1 [1022:15e9] 00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2 [1022:15ea] 00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3 [1022:15eb] 00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4 [1022:15ec] 00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5 [1022:15ed] 00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6 [1022:15ee] 00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7 [1022:15ef] 01:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset USB 3.1 XHCI Controller [1022:43d5] (rev 01) 01:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller [1022:43c8] (rev 01) 01:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Bridge [1022:43c6] (rev 01) 02:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01) 02:01.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01) 02:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01) 04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15) 06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15dd] (rev cb) 06:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller [1002:15de] 06:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor [1022:15df] 06:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1 [1022:15e0] 06:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1 [1022:15e1] 06:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller [1022:15e3] 07:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 61)
unameは基本ですが、-a以外のオプションを使う例があったので、--helpでオプションを調べました。kernel version が#1から始まっているというのは意外です。
root@fumita:~# uname -s #カーネル名 Linux root@fumita:~# uname -n #ホスト名 fumita root@fumita:~# uname -r #カーネルリリース番号 4.19.0-8-amd64 root@fumita:~# uname -v #kernel version #1 SMP Debian 4.19.98-1 (2020-01-26) root@fumita:~# uname -m #machine hardware name x86_64 root@fumita:~# uname -p #processor type unknown root@fumita:~# uname -i #hardware platform unknown root@fumita:~# uname -o #operating system GNU/Linux root@fumita:~# uname -a #all Linux fumita 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux
質問に答えるサイトでよく要求されていたもの。CPUとmodesettingを一度に知りたいということでしょうか。
root@fumita:~# journalctl -b | egrep 'smpboot.*AMD|modesetting' 2月 27 09:33:14 fumita kernel: smpboot: CPU0: AMD Athlon 200GE with Radeon Vega Graphics (family: 0x17, model: 0x11, stepping: 0x0) 2月 27 09:33:15 fumita kernel: [drm] amdgpu kernel modesetting enabled. 2月 27 09:33:15 fumita kernel: [drm] initializing kernel modesetting (RAVEN 0x1002:0x15DD 0x1002:0x15DD 0xCB).
パッケージを追加しないとデフォルトのインストールでは使えません。そう重くないし便利です。いろいろなコマンド出力から状況をまとめているようです。これひとつ覚えておけば済みそうです。
adachi@fumita:~$ inxi --graphics Graphics: Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] driver: amdgpu v: kernel Display: tty server: X.org 1.20.4 driver: ati,vesa unloaded: fbdev,modesetting,radeon tty: 128x33 Message: Advanced graphics data unavailable in console. Try -G --display root@fumita:~# inxi --display CPU: Dual Core AMD Athlon 200GE with Radeon Vega Graphics (-MT MCP-) speed/min/max: 1595/1600/3200 MHz Kernel: 4.19.0-8-amd64 x86_64 Up: 8h 08m Mem: 301.6/13950.7 MiB (2.2%) Storage: 232.89 GiB (2.8% used) Procs: 143 Shell: bash 5.0.3 inxi: 3.0.32
で、全部の時は
adachi@fumita:~$ inxi -F System: Host: fumita Kernel: 4.19.0-8-amd64 x86_64 bits: 64 Console: tty 0 Distro: Debian GNU/Linux 10 (buster) Machine: Type: Desktop Mobo: ASRock model: B450M Pro4 serial: <root required> UEFI [Legacy]: American Megatrends v: P3.60 date: 07/31/2019 CPU: Topology: Dual Core model: AMD Athlon 200GE with Radeon Vega Graphics bits: 64 type: MT MCP L2 cache: 1024 KiB Speed: 1597 MHz min/max: 1600/3200 MHz Core speeds (MHz): 1: 1592 2: 1599 3: 1595 4: 1597 Graphics: Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] driver: amdgpu v: kernel Display: tty server: X.org 1.20.4 driver: ati,vesa unloaded: fbdev,modesetting,radeon tty: 128x33 Message: Advanced graphics data unavailable in console. Try -G --display Audio: Device-1: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio driver: snd_hda_intel Sound Server: ALSA v: k4.19.0-8-amd64 Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: 70:85:c2:f2:89:c7 Drives: Local Storage: total: 232.89 GiB used: 6.55 GiB (2.8%) ID-1: /dev/sda vendor: HP model: SSD S700 250GB size: 232.89 GiB Partition: ID-1: / size: 27.37 GiB used: 6.31 GiB (23.0%) fs: ext4 dev: /dev/sda1 ID-2: /home size: 187.02 GiB used: 255.0 MiB (0.1%) fs: ext4 dev: /dev/sda6 ID-3: swap-1 size: 13.93 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda5 Sensors: System Temperatures: cpu: 26.9 C mobo: N/A Fan Speeds (RPM): N/A Info: Processes: 139 Uptime: 11h 55m Memory: 13.62 GiB used: 324.3 MiB (2.3%) Init: systemd Shell: bash inxi: 3.0.32 adachi@fumita:~$
B450M Pro4 のBIOS更新。3.60(2019/8/6)から3.90(2019/12/16)へ。ASRockサイトの説明をみて、そのとおりに行う。
"ASRock do NOT recommend updating this BIOS if Pinnacle, Raven, Summit or Bristol Ridge CPU is being used on your system." と書いてあって、うちのCPUはRaven Ridgeなのだけど、そもそも現在のBIOSが3.6で、そのバージョンにも同じ文章が書いてあるので、ダメ元でやってみる。
ファイルはzipから解凍した B45MP4_3.90 。
このあと、load UEFI Default(F9)してから、Save Changes and Exit(F10)で起動します。
例によって起動はするが、画面は黒いまま。sshで入って、inxiをすると、バージョン番号は替わっているが、他は変わらない。
root@fumita:~# inxi --graphics Graphics: Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] driver: amdgpu v: kernel Display: server: X.org 1.20.4 driver: ati,vesa unloaded: fbdev,modesetting,radeon tty: 128x33 Message: Advanced graphics data unavailable in console for root. root@fumita:~# inxi -F System: Host: fumita Kernel: 4.19.0-8-amd64 x86_64 bits: 64 Console: tty 0 Distro: Debian GNU/Linux 10 (buster) Machine: Type: Desktop Mobo: ASRock model: B450M Pro4 serial: M80-C8002301577 UEFI [Legacy]: American Megatrends v: P3.90 date: 12/09/2019 CPU: Topology: Dual Core model: AMD Athlon 200GE with Radeon Vega Graphics bits: 64 type: MT MCP L2 cache: 1024 KiB Speed: 1595 MHz min/max: 1600/3200 MHz Core speeds (MHz): 1: 1487 2: 1508 3: 1495 4: 1576 Graphics: Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] driver: amdgpu v: kernel Display: server: X.org 1.20.4 driver: ati,vesa unloaded: fbdev,modesetting,radeon tty: 128x33 Message: Advanced graphics data unavailable in console for root. Audio: Device-1: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio driver: snd_hda_intel Sound Server: ALSA v: k4.19.0-8-amd64 Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: 70:85:c2:f2:89:c7 Drives: Local Storage: total: 232.89 GiB used: 6.56 GiB (2.8%) ID-1: /dev/sda vendor: HP model: SSD S700 250GB size: 232.89 GiB Partition: ID-1: / size: 27.37 GiB used: 6.31 GiB (23.0%) fs: ext4 dev: /dev/sda1 ID-2: /home size: 187.02 GiB used: 255.0 MiB (0.1%) fs: ext4 dev: /dev/sda6 ID-3: swap-1 size: 13.93 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda5 Sensors: System Temperatures: cpu: 27.0 C mobo: N/A Fan Speeds (RPM): N/A Info: Processes: 197 Uptime: 2m Memory: 13.62 GiB used: 312.5 MiB (2.2%) Init: systemd Shell: bash inxi: 3.0.32
rootではダメだと言うので、一般ユーザーで
Graphics: Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] driver: amdgpu v: kernel Display: tty server: X.org 1.20.4 driver: ati,vesa unloaded: fbdev,modesetting,radeon tty: 128x33 Message: Advanced graphics data unavailable in console. Try -G --display
やっぱりダメ。rootだからではなくてWindowがないからだろう。
表示できているDebianではinxiで解像度などが表示される
adachi@debian64:~/Downloads/dabiyonelog$ inxi -F System: Host: debian64 Kernel: 4.9.0-12-amd64 x86_64 (64 bit) Desktop: Gnome 3.22.3 Distro: Debian GNU/Linux 9 (stretch) Machine: Device: desktop Mobo: ASUSTeK model: M3A78-EM v: Rev X.0x BIOS: American Megatrends v: 1805 date: 05/19/2009 CPU: Dual core AMD Athlon 64 X2 5600+ (-MCP-) cache: 1024 KB clock speeds: max: 2900 MHz 1: 1800 MHz 2: 1800 MHz Graphics: Card: Advanced Micro Devices [AMD/ATI] RS780 [Radeon HD 3200] Display Server: X.Org 1.19.2 drivers: ati,vesa (unloaded: modesetting,fbdev,radeon) Resolution: 1280x1024@60.02hz, 1920x1200@59.95hz GLX Renderer: Gallium 0.4 on AMD RS780 (DRM 2.49.0 / 4.9.0-12-amd64, LLVM 3.9.1) GLX Version: 3.0 Mesa 13.0.6 Audio: Card-1 Advanced Micro Devices [AMD/ATI] RS780 HDMI Audio [Radeon 3000/3100 / HD 3200/3300] driver: snd_hda_intel Card-2 Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA) driver: snd_hda_intel Sound: Advanced Linux Sound Architecture v: k4.9.0-12-amd64 Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169 IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: 00:24:8c:63:24:f6 Drives: HDD Total Size: 3000.6GB (20.2% used) ID-1: /dev/sda model: WDC_WD20EFRX size: 2000.4GB ID-2: USB /dev/sdc model: External_USB_3.0 size: 1000.2GB Partition: ID-1: / size: 28G used: 15G (55%) fs: ext4 dev: /dev/sda1 ID-2: /home size: 1.8T used: 68G (5%) fs: ext4 dev: /dev/sda6 ID-3: swap-1 size: 32.60GB used: 0.00GB (0%) fs: swap dev: /dev/sda5 Sensors: System Temperatures: cpu: 40.0C mobo: 39.0C Fan Speeds (in rpm): cpu: 2755 psu: 1928 sys-1: 0 Info: Processes: 241 Uptime: 16 days Memory: 4571.0/7735.6MB Client: Shell (bash) inxi: 2.3.5
こちらも、rootではこうなる。
Graphics: Card: Advanced Micro Devices [AMD/ATI] RS780 [Radeon HD 3200] Display Server: X.org 1.19.2 drivers: ati,vesa (unloaded: modesetting,fbdev,radeon) tty size: 80x24 Advanced Data: N/A for root
AMD Athlon 200GEプロセッサ搭載時におけるマザーボードの映像出力端子について(株式会社アスク)に、販売しているASRockマザーボードに、AMD Athlon 200GEプロセッサを搭載した時に映像出力端子が一部使用不可となる場合があるとの情報が。
2018.09.27との日付。
製品名 BIOSバージョン 使用不可となるポート B450 Gaming-ITX/ac ALL なし B450 Gaming K4 ALL VGA B450 Pro4 ALL VGA B450M Pro4 ALL VGA B450M-HDV ALL DVI
しかし、
VGAだけ接続 | 表示なし | sshログイン可 |
DVIだけ接続 | 表示なし | sshログイン不可 |
両方接続 | 表示なし | sshログイン可 |
nonFreeのfirmwareを入れる前にはVGAにもデスクトップが表示されていた。
ASRockのページにはないので古い情報かもしれない。
これは、次のページ buster-backportsで解決 で解決しています。