インテルビデオ:異なるTTYで別のxorgを実行した後にクラッシュする

インテルビデオ:異なるTTYで別のxorgを実行した後にクラッシュする

Debian 10x64

Linux PC 名 4.19.0-11-amd64 #1 SMP Debian 4.19.146-1 (2020-09-17) x86_64 GNU/Linux

インテルCore i5-6200U

インテルHDグラフィックス520

  1. startxTTY1でxorgを実行できない後に追加されました/usr/share/X11/xorg.conf.d/20-intel.conf
Section "Device"
        Identifier "Configured Video Device"
        Driver "intel"
EndSection
  1. GUIを持つuser1を使用してデフォルトのTTY7にログインします(lightdmとsddmに対してKDE5を試行)。

  2. user2でTTY1にログインし、startxCinnamonを実行すると正常に動作します。

  3. TTY7に戻すと黒い画面が表示され、入力カーソルが点滅します。 lightdm システムが停止している場合。 TTY1に戻すことはできず、REISUBのみが役立ちます。 sddmを使用している場合は、TTY1間を循環します。

Intel Core i3-3120M(Debian 8および10)も同様です。

変更せずに設定uxaとオプションを試してください。bltNVIDIAグラフィックスを搭載したPCでは、Debian 8と10ですべてがうまく機能します。

システムログ(この文字列が私の問題と直接関連しているかどうかわからない):

Oct  7 21:04:25 pcname systemd[1]: systemd-hostnamed.service: Succeeded.
Oct  7 21:04:25 pcname systemd[1]: session-c1.scope: Killing process 1073 (lightdm) with signal SIGTERM.
Oct  7 21:04:25 pcname systemd[1]: Stopping Session c1 of user lightdm.
Oct  7 21:04:25 pcname systemd[1]: session-c1.scope: Succeeded.
Oct  7 21:04:25 pcname systemd[1]: Stopped Session c1 of user lightdm.
Oct  7 21:04:26 pcname systemd[1]: systemd-fsckd.service: Succeeded.
Oct  7 21:04:28 pcname systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Oct  7 21:04:28 pcname systemd[1]: lightdm.service: Failed with result 'exit-code'.
Oct  7 21:04:28 pcname systemd[1]: lightdm.service: Service RestartSec=100ms expired, scheduling restart.
Oct  7 21:04:28 pcname systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 1.
Oct  7 21:04:28 pcname systemd[1]: Stopped Light Display Manager.
Oct  7 21:04:28 pcname systemd[1]: Starting Light Display Manager...
Oct  7 21:04:28 pcname systemd[1]: Started Light Display Manager.
Oct  7 21:04:30 pcname systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Oct  7 21:04:30 pcname systemd[1]: lightdm.service: Failed with result 'exit-code'.
Oct  7 21:04:30 pcname systemd[1]: lightdm.service: Service RestartSec=100ms expired, scheduling restart.
Oct  7 21:04:30 pcname systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 2.
Oct  7 21:04:30 pcname systemd[1]: Stopped Light Display Manager.
Oct  7 21:04:30 pcname systemd[1]: Starting Light Display Manager...
Oct  7 21:04:30 pcname systemd[1]: Started Light Display Manager.
Oct  7 21:04:33 pcname systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Oct  7 21:04:33 pcname systemd[1]: lightdm.service: Failed with result 'exit-code'.
Oct  7 21:04:33 pcname systemd[1]: lightdm.service: Service RestartSec=100ms expired, scheduling restart.
Oct  7 21:04:33 pcname systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 3.

異なるTTYで異なるxorgを実行して切り替える方法は?

ベストアンサー1

/etc/X11/xorg.conf.d/20-intel.conf私が作成して定義した安定したIntelドライバを入手するには:

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "AccelMethod" "sna"
   Option      "TearFree"    "true"
EndSection

ハードウェアによっては、加速方法が「uxa」かもしれませんが、疑わしいです。 (以前のGPUのみ)このオプションを設定する前に、LightDMでクラッシュが続く問題がありました。

/etc/lightdm/lightdm.confでグリーティングを設定しました。

[Seat:*]
greeter-session=lightdm-gtk-greeter
greeter-hide-users=false
session-wrapper=/etc/lightdm/Xsession

lightdm-gtk-greeter.confファイルは同じディレクトリになければなりません。以下を含める必要があります:(または他のトピック)

[greeter]
theme-name = Adwaita-dark
icon-theme-name = Adwaita

おすすめ記事