グラフィックカードドライバを削除しますか?

グラフィックカードドライバを削除しますか?

まあ、たくさんのスレッドとスレッドを見ましたが、まだ解決策が見つかりませんでした。だから私はx64 Debianを実行しています。 .runファイルを実行してNvidiaのWebサイトからNvidiaドライバをインストールしました。さて、スチームを設置しようとして試してみました。

Sudo apt install steam 

他の名前があるかどうかを確認するために[TAB]を押してみましたが、見つかりませんでした。それで、ホームページから.debファイルをダウンロードして実行してみました。

Sudo dpkg -i steam_latest.deb

しかし、インストールしてエラーが発生します。

Failed to parse arguments: Option "--disable-factory" is no longer supported in this version of gnome-terminal.
Package libgl1-mesa-dri:i386 needs to be installed
Package libgl1-mesa-glx:i386 needs to be installed
Running Steam on debian 9 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Error: You are missing the following 32-bit libraries, and Steam may not run:
libGL.so.1
Installing breakpad exception handler for appid(steam)/version(1509425745)
Installing breakpad exception handler for appid(steam)/version(1509425745)   
Installing breakpad exception handler for appid(steam)/version(1509425745)
Failed to load steamui.so - dlerror(): libGL.so.1: wrong ELF class: ELFCLASS64
Installing breakpad exception handler for appid(steam)/version(1509425745)
Installing breakpad exception handler for appid(steam)/version(1509425745)
[2017-11-15 10:42:19] Startup - updater built Oct 30 2017 19:09:32
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2017-11-15 10:42:19] Checking for update on startup
[2017-11-15 10:42:19] Checking for available updates...
[2017-11-15 10:42:19] Download skipped: /client/steam_client_ubuntu12 version 1509425745, installed version 1509425745
[2017-11-15 10:42:19] Nothing to do
[2017-11-15 10:42:19] Verifying installation...
[2017-11-15 10:42:19] Performing checksum verification of executable files
[2017-11-15 10:42:19] Verification complete
[2017-11-15 10:42:22] Shutdown

だから実行されません。やはりi836アプリケーションで動作するTeamViewerをインストールしたため、これがMultiarchの問題ではないようです。 Redditに尋ねたら、1人がグラフィックカードドライバのバグかもしれないと言って試してみました。

sudo apt install nvidia-driver 

どちらが見つかりましたが、このエラーが発生しました。

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 

もちろん、「sudo dpkg --configure -a」を試しましたが、理解しています。

Setting up nvidia-installer-cleanup (20151021+4) ...

WARNING: The '--no-runlevel-check' option is deprecated:  nvidia-installer will
     ignore this option.


Welcome to the NVIDIA Software Installer for Unix/Linux

Detected 8 CPUs online; setting concurrency level to 8.

If you plan to no longer use the NVIDIA driver, you should make sure that no X
screens are configured to use the NVIDIA X driver in your X configuration file.
If you used nvidia-xconfig to configure X, it may have created a backup of your
original configuration. Would you like to run `nvidia-xconfig
--restore-original-backup` to attempt restoration of the original X
configuration file?
  [default: (N)o]: 

その後、yと入力してEnterを押して停止しました。 1時間が経っても終わらずに浮かぶ進行バーも動かないですね。私のグラフィックですか? OSを再インストールせずにグラフィックカードドライバだけで起動するには、すべてを完全にアンインストールして再インストールするにはどうすればよいですか?

これは「glxinfo | grep render」の出力です。

direct rendering: Yes
OpenGL renderer string: GeForce GTX 1060/PCIe/SSE2
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_NVX_conditional_render, GL_NVX_gpu_memory_info, 
    GL_NVX_nvenc_interop, 
    GL_NV_compute_program5, GL_NV_conditional_render, 
    GL_NV_parameter_buffer_object2, GL_NV_path_rendering, 
    GL_NV_path_rendering_shared_edge, GL_NV_pixel_data_range, 
    GL_NV_shader_thread_shuffle, GL_NV_stereo_view_rendering, 
    GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted, 
    GL_NVX_conditional_render, GL_NVX_gpu_memory_info, GL_NVX_nvenc_interop, 
    GL_NV_compute_program5, GL_NV_conditional_render, 
    GL_NV_parameter_buffer_object2, GL_NV_path_rendering, 
    GL_NV_path_rendering_shared_edge, GL_NV_pixel_data_range, 
    GL_NV_shader_thread_shuffle, GL_NV_stereo_view_rendering, 
    GL_EXT_raster_multisample, GL_EXT_render_snorm, GL_EXT_robustness, 
    GL_NV_conditional_render, GL_NV_conservative_raster, 
    GL_NV_packed_float_linear, GL_NV_path_rendering, 
    GL_NV_path_rendering_shared_edge, GL_NV_pixel_buffer_object, 
    GL_NV_stereo_view_rendering, GL_NV_texture_array, GL_NV_texture_barrier, 
    GL_OES_fbo_render_mipmap, GL_OES_geometry_point_size, 

ベストアンサー1

まず、私が知っている限り、何が起こっているのかを説明しようとします;-).次に、Debian ユーザーのためのいくつかのユーザーフレンドリーなヒントをご覧ください。

初期コマンドが機能しないのはなぜですか?

Sudo apt install Steam 

パッケージは実際には「steam」(すべて小文字)と呼ばれ、i386パッケージなので、インストールするには次のコマンドを実行します。

sudo apt-get install steam:i386

理論的には、すべての依存関係を抽出し、すべてが正常でなければなりません。

Steamがインストールされていないかどうかはどうすればわかりますか? Google;-)

Debian でパッケージを見つけるには、次の Google 検索が最も簡単でユーザーフレンドリーであることがわかりました。

<package> site:packages.debian.org

この場合:

Steam site:packages.debian.org

結果は次のとおりです。 」https://packages.debian.org/stretch/steam「上部では、そのリポジトリがどのリポジトリにあるか(無料ではない)を確認でき、ページの下部では利用可能なアーキテクチャ(例:「i386」のみ)を確認できます。

Package libgl1-mesa-dri:i386 needs to be installed 
Package libgl1-mesa-glx:i386 needs to be installed 
Running Steam on debian 9
64-bit STEAM_RUNTIME is enabled automatically Pins up-to-date! Error:
You are missing the following 32-bit libraries, and Steam may not run:
libGL.so.1

ここでaptはSteamに必要なものを教えてくれlibgl1-mesa-dri:i386libgl1-mesa-glx:i386正確にどのライブラリが必要かを教えてくれます。

libGL.so.1

繰り返しますが、このライブラリをインストールする方法を簡単に見つけることができますか? Googleはまたあなたの友達になりました。

libGL.so.1 site:packages.debian.org

いずれかの結果をクリックすると、libGL.so.1次に提供した結果が表示されます。

libgl1-mesa-glx:i386

実際(パッケージ名で)それがlibGL.so.1であることがわかったのでグーグルをする必要はありませんでしたがlibgl1、それはちょっとした運でした。

今aptはスマートです。これはまさにaptが欠落していると文句を言うパッケージです;-)。

OSを再インストールせずにグラフィックカードドライバだけで起動するには、すべてを完全にアンインストールして再インストールするにはどうすればよいですか?

まずコンソールを使用するので、実行したいコマンドを含むテキストファイルを準備する必要があります。

次の内容をテキストファイルに配置し、ホームディレクトリに次の名前のファイルとして保存しますmycommands.txt

sudo apt-get remove steam
sudo service gdm3 stop
sudo nvidia-uninstall
sudo apt-get install nvidia-driver
sudo apt-get install steam
echo done

クリックするCtrl+Alt+F2と tty2 になります。ユーザー名とパスワードを入力してください。次に、sourceコマンドを実行するためのテキストファイルです(sudoパスワードの入力を求められます)。

. mycommands.txt

参考にしてください(重要)。たとえば、ファイルをデスクトップに配置する場合は、以下を実行する必要があります。

. ~/Desktop/mycommands.txt

Steamライセンスに同意し、すべてがうまくいくことを願っています。

おすすめ記事