Lenovo LEGION 5 Pro(Nvidia RTX 3050)でマルチモニタを設定する方法

Lenovo LEGION 5 Pro(Nvidia RTX 3050)でマルチモニタを設定する方法

Nvidia RTX 3050を使用する新しいLenovo LEGION 5i ProにDebian 11(bullseye)をインストールしました。

インストール後Nvidiaドライバ:

sudo apt-get install nvidia-driver firmware-misc-nonfree

HDMIポートを使用して外部モニタを接続しましたが、認識されず表示されません監視装置設定。

この問題を検索したところ、同様の問題を解決した人が見つかりましたxrandr

~$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x4a cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 7 associated providers: 0 name:modesetting
Provider 1: id: 0x2af cap: 0x2, Sink Output crtcs: 4 outputs: 6 associated providers: 0 name:NVIDIA-G0

このコマンドで問題は解決しましたが、正直なところ、その機能が何であるかわかりません。

xrandr --setprovideroutputsource 1 0

しかし、問題は、これらの変更は再起動後も持続せず、遅延が多く発生し、Xorg使用量に示されているようにCPUの約30〜40%を使用することですtop。だからドライバをアンインストールして再起動しました。

/etc/X11/xorg.conf次に、ファイル生成を使用してファイルを生成しようとしましたが、次の内容nvidia-xconfigのファイルが生成されました。

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 460.32.03

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

良い点は、外部モニターが認識され、使用を開始すると「ディスプレイ」設定に出てくるのに内蔵モニターが使用できず、外部モニターなしでノートパソコンを使用しようとすると空白の画面が出て、内蔵/etc/X11/xorg.confモニターを使用するにはファイルを削除して再起動する必要がありました。

内部モニタと外部モニタの両方を使用するようにシステムを設定するにはどうすればよいですか?

修正する:

$ nvidia-xconfig --query-gpu-info
Number of GPUs: 1

GPU #0:
  Name      : GeForce RTX 3050 Laptop GPU
  UUID      : GPU-5f21a5b3-2add-7b3d-aa6b-1cfe5dd7085e
  PCI BusID : PCI:1:0:0

  Number of Display Devices: 1

  Display Device 0 (TV-4):
      EDID Name             : LG Electronics 24MP56
      Minimum HorizSync     : 30.000 kHz
      Maximum HorizSync     : 83.000 kHz
      Minimum VertRefresh   : 56 Hz
      Maximum VertRefresh   : 61 Hz
      Maximum PixelClock    : 150.000 MHz
      Maximum Width         : 1920 pixels
      Maximum Height        : 1080 pixels
      Preferred Width       : 1920 pixels
      Preferred Height      : 1080 pixels
      Preferred VertRefresh : 60 Hz
      Physical Width        : 510 mm
      Physical Height       : 290 mm

モニターを一覧表示するには、次のコマンドを使用しますxrandr

$ xrandr --listmonitors
Monitors: 1
 0: +*eDP-1 1920/345x1200/215+0+0  eDP-1

このコマンドを使用した後は、xrandr --setprovideroutputsource 1 0次のような出力を取得します。

$ xrandr --listmonitors
Monitors: 2
 0: +*eDP-1 2560/345x1600/215+0+0  eDP-1
 1: +HDMI-1-0 1920/510x1080/290+2560+0  HDMI-1-0

ところが問題は、該当プロセスのCPU使用量が非常に高いということXorg(30~40%)だ。

ベストアンサー1

個別の個別グラフィックスと統合グラフィックスを備えたノートパソコンは、バッテリ寿命を向上させるために最善を尽くしてバランスをとります。 BIOS設定を確認してnvidia-settings、使用するオプションを指定するオプションがあることを確認してください。

おすすめ記事