
#解決済み ハードウェアの問題でした。マザーボードが壊れていました。これで修正されました。
#問題
ノート PC に Nvidia ドライバーをインストールする方法がわかりません。(Linux ユーザーになってまだ 4 ~ 5 日ですが、十分に努力していると思います。)
paraduxos@ASUSDOGE:/$ neofetch
_,met$$$$$gg. paraduxos@ASUSDOGE
,g$$$$$$$$$$$$$$$P. ------------------
,g$$P" """Y$$.". OS: Debian GNU/Linux 10 (buster) x86_64
,$$P' `$$$. Host: ROG Strix G531GT_G531GT 1.0
',$$P ,ggs. `$$b: Kernel: 4.19.0-8-amd64
`d$$' ,$P"' . $$$ Uptime: 1 hour, 42 mins
$$P d$' , $$P Packages: 2256 (dpkg)
$$: $$. - ,d$$' Shell: bash 5.0.3
$$; Y$b._ _,d$P' Resolution: 1920x1080
Y$$. `.`"Y$$$$P"' DE: Xfce
`$$b "-.__ WM: Xfwm4
`Y$$ WM Theme: Default
`Y$$. Theme: Xfce [GTK2], Adwaita [GTK3]
`$$b. Icons: Tango [GTK2], Adwaita [GTK3]
`Y$$b. Terminal: xfce4-terminal
`"Y$b._ Terminal Font: Monospace 12
`""" CPU: Intel i7-9750H (12) @ 4.500GHz
GPU: Intel UHD Graphics 630
Memory: 1434MiB / 7828MiB
使用しているノートパソコン: ASUS ROG STRIX G 531GT (GPU: NVIDIA GeForce GTX 1650、Intel オンボード)
paraduxos@ASUSDOGE:/$ lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 07)
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:14.3 Network controller: Intel Corporation Wireless-AC 9560 [Jefferson Peak] (rev 10)
00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller (rev 10)
00:15.1 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake Mobile PCH SATA AHCI Controller (rev 10)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port (rev f0)
00:1d.6 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a30d (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
01:00.0 Non-Volatile memory controller: Intel Corporation Device f1a8 (rev 03)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
初め私のラップトップはNVIDIA GPUを見つけることができません
paraduxos@ASUSDOGE:/$ nvidia-detect
No NVIDIA GPU detected.
- また、lspci (上記参照)、lshw (これも
sudo
) でも試しましたが、NVIDIA は見つかりません。
少し調べた後(google.comなど)
- grep で lspci を使用する何か-> まだ見つかりません
- Nvidia ドライバーをインストール -> まだ見つからない (問題が発生している)
- マルハナバチには(linuxquestions.org)
- BIOSの問題だと言う人もいます(フォーラム): BIOS セットアップ (F2) に移動しようとしましたが、NVIDIA も表示されません (キャプチャできます。必要な場合はお知らせください。)
BIOS の設定方法がわからないので、nvidia-driver と bumblebee の選択肢を使用します。
Debian wiki から、私の問題に関係があるかもしれない 3 つの wiki を見つけました:
https://wiki.debian.org/NvidiaGraphicsDrivers:
インストールされているビデオ カードの NVIDIA グラフィックス プロセッシング ユニット (GPU) シリーズ/コード名は、通常、lspci コマンドを使用して識別できます。
注意:このlspciコマンドが1行以上の出力を返す場合、Optimus(ハイブリッド)グラフィックチップセットを使用しており、このページの説明はあなたには適用されません。代わりに NVIDIA Optimus ページを確認してください。
まあ、出力は 0 でした。しかし、Optimus を採用してこの wiki を廃止することにしました。(多分、私は正しいと思います)
(実際、後でこれに戻ってインストールし、Version 440.59 (via buster-backports)
再起動しても何も起こりませんでした。)
で構成部分私は試していません。
ただし、以下に説明する構成は Nvidia Optimus システムには適用しないでください。
それで私は2番目のウィキに来ました
https://wiki.debian.org/NvidiaGraphicsDrivers/Optimus
$ lspci | grep 3D (No output)
このウィキには2つの方法があると書いてありました。
まず: ダイナミック グラフィックスの無効化 - xrandr とディスプレイ マネージャー スクリプト
- この方法では lspci からの BusID が必要です。そのため、この方法は使用できません。
2番目: バンブルビーのダイナミックなグラフィック
paraduxos@ASUSDOGE:/$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.6
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.3.6
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
ハイブリッド GPU がない??。出力がよくわからないので、Bumblebee のインストールを続けます。
https://wiki.debian.org/バンブルビー
私は Debian 10 (Buster) を使用しているので、wiki に従いましたが、問題が見つかりました。
paraduxos@ASUSDOGE:/$ sudo apt install bumblebee-nvidia primus libgl1-nvidia-tesla-glx
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgl1-nvidia-tesla-glx
グーグルで調べてみたのですが、私の質問に答えてくれる人はいませんでした。
paraduxos@ASUSDOGE:/$ sudo dpkg --add-architecture i386 && sudo apt update && sudo apt install bumblebee-nvidia primus libgl1-nvidia-glx primus-libs:i386 libgl1-nvidia-glx:i386
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
primus-libs:i386 is already the newest version (0~20150328-7).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libgl1-nvidia-glx : Depends: libnvidia-glcore (= 418.74-1) but it is not going to be installed
Recommends: nvidia-driver-libs-nonglvnd (= 418.74-1) but it is not going to be installed
Recommends: nvidia-kernel-dkms (= 418.74-1) but it is not going to be installed or
nvidia-kernel-418.74
E: Unable to correct problems, you have held broken packages.
次に何をすればいいのか分かりません。助けてください。
アップデート:
sudo apt install bumblebee-nvidia primus libgl1-nvidia-tesla-glx
戻ってきてからE: Unable to locate package libgl1-nvidia-tesla-glx
それを削除して実行するsudo apt install bumblebee-nvidia primus
sudo dpkg --add-architecture i386 && sudo apt update && sudo apt install bumblebee-nvidia primus libgl1-nvidia-glx primus-libs:i386
私は変更も同様に行いますsudo dpkg --add-architecture i386 && sudo apt update && sudo apt install bumblebee-nvidia primus primus-libs:i386
バンブルビーを実行すると、
paraduxos@ASUSDOGE:~$ optirun glxgears -info
[ 1097.543100] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ 1097.543133] [ERROR]Could not connect to bumblebee daemon - is it running?
これはDebian 10を再インストールした後の2回目の試みです
(ライブインストール非フリー (XFCE)Debian 非フリー)
これは私のsources.list
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free
deb http://deb.debian.org/debian buster-updates main contrib non-free
deb-src http://deb.debian.org/debian buster-updates main contrib non-free
deb http://security.debian.org/debian-security/ buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security/ buster/updates main contrib non-free
# buster-backports
# deb http://deb.debian.org/debian buster-backports main contrib non-free
# deb-src http://deb.debian.org/debian buster-backports main contrib non-free
バックポート セクションのコメントを切り替えて実行してみましたsudo apt update
が、結果は同じでした。
Xorg、.xinit などについては何もしていません。
(関連する質問も読みましたが、ここで質問した方が良いと思います。)
答え1
nVidiaを検索すると、バージョン435.21が最低限必要なようです。debianはnvidia-driverのバージョンを提供したパッケージですが、執筆時点ではbuster-backportsにより440.59を使用することができます。リポジトリにバックポートを追加し、そこからnvidia-driverを強制する。
ご挨拶申し上げます。
-編集- 全部は読んでいません!
バックポートを試しましたが、apt update
十分ではありません。シグナルを送る必要がありますAPTバックポート版が欲しいこのパッケージの。
apt -t buster-backports install nvidia-driver
答え2
1 週間にわたって何度も再インストールした後、諦めることにしました。それらのドライバーをアンインストールし、ラップトップの他の部分をカスタマイズして、構成を変更し、grub と電源管理を編集しました。
そして驚いたことに、どこからともなく私は走り出すneofetch
paraduxos@ASUSDOGE:~$ neofetch
_,met$$$$$gg. paraduxos@ASUSDOGE
,g$$$$$$$$$$$$$$$P. ------------------
,g$$P" """Y$$.". OS: Debian GNU/Linux 10 (buster) x86_64
,$$P' `$$$. Host: ROG Strix G531GT_G531GT 1.0
',$$P ,ggs. `$$b: Kernel: 4.19.0-8-amd64
`d$$' ,$P"' . $$$ Uptime: 5 mins
$$P d$' , $$P Packages: 2404 (dpkg)
$$: $$. - ,d$$' Shell: bash 5.0.3
$$; Y$b._ _,d$P' Resolution: 1920x1080
Y$$. `.`"Y$$$$P"' WM: i3
`$$b "-.__ Theme: Adwaita [GTK3]
`Y$$ Icons: Adwaita [GTK3]
`Y$$. Terminal: xfce4-terminal
`$$b. Terminal Font: DejaVuSansMono Nerd Font Mono 12
`Y$$b. CPU: Intel i7-9750H (12) @ 4.500GHz
`"Y$b._ GPU: NVIDIA NVIDIA Corporation Device 1f91
`""" GPU: Intel UHD Graphics 630
Memory: 983MiB / 7828MiB
paraduxos@ASUSDOGE:~$ nvidia-detect
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1f91] (rev a1)
Checking card: NVIDIA Corporation Device 1f91 (rev a1)
Your card is supported by the default drivers.
It is recommended to install the
nvidia-driver
package.
何が起こったのかはよく分かりません。しかし、当時と今の違いは次の通りです。
sudoedit /etc/default/grub
# This line
GRUB_CMDLINE_LINUX_DEFAULT="acpi_osi=Linux quiet splash"
# quit and run
sudo update-grub
# then reboot
- i3-barの代わりにpolybarに切り替えます
- thermald、tlp tlp-rdw、powertopをインストールします(アンインストール)
- どれがどれか分からない設定。
たぶん、それが原因だと思うけど、証明GRUB
はしたくない。(笑)これを見つけた人は、acpi_osi=Linux
GRUB
答え3
私にとって効果があったのは上記のuser4089の回答GTX 1650s以上debian buster
またはスーパーの場合
`/etc/apt/sources.list/ に追加
# Backports repository
deb http://deb.debian.org/debian buster-backports main contrib non-free # available after buster release
それから
sudo apt-get -t buster-backports install firmware-misc-nonfree
再起動して動作しました!
答え4
Windows 10 に切り替えましたが、まだ検出されません。そこで、ラップトップを ASUS ストアに切り替えました。
結局、ハードウェアの問題でした。マザーボードが壊れていました。
さあ仕事だ。