편집하다:

편집하다:

GRUB를 사용하여 Windows 10에서 Ubuntu를 실행하는 2개의 GPU(Intel HD4600, Nvidia GTX850M)가 있는 노트북이 있습니다(문제 없음).

설치했지만 nvidia-355나쁜 경험으로 인한 것은 아닙니다 bumblebee(작동하지 못했거나 설치가 중단되었습니다).

질문:

그래픽 부하가 높을 때 디스플레이/그래픽 관련 충돌이 발생하고 다시 로그인 화면으로 이동하기 전에 시작 메시지의 일부가 잠깐 깜박이는 것을 볼 수 있습니다.

두 개의 GPU에 대한 lscpi 출력 나열

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 850M] (rev a2)

dmesg 출력

[ 3266.232929] NVRM: GPU at PCI:0000:01:00: GPU-d1657723-9e43-04db-5cdc-6df0c522eb41
[ 3266.232946] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception on GPC 0: 3D-C MEMLAYOUT Violation. Coordinates: (0xe0, 0x0)
[ 3266.232954] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ESR 0x500420=0x80000400 0x500434=0xe0 0x500438=0x3d00 0x50043c=0x310000

이 작업은 백 번 반복되었습니다.

이번 주말에 엉망이 되었는데 xorg.conf, 예전에는 다음과 같았습니다.

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Device"
    Identifier "intel"
    Driver "intel"
    BusID "PCI:0@0:2:0"
    Option "AccelMethod" "SNA"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1@0:0:0"
    Option "ConstrainCursor" "off"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "on"
    Option "IgnoreDisplayDevices" "CRT"
EndSection

변경하려는 모든 내용은 다음 부팅이나 그래픽 로그인 시 덮어쓰여집니다. 이것을 부팅 옵션에
추가 하고 Nvidia X 서버 설정에서 이 구성을 생성하도록 했습니다.nogpumanager

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 361.18  (buildd@lcy01-23)  Thu Jan 14 12:00:04 UTC 2016

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
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 "Device"
    Identifier     "Device0"
    Driver         "nouveau"
#edit, i had to change ^ nvidia to nouveau in order for gui to start
    BusID          "PCI:1@0:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    DefaultDepth    24
    Option         "UseDisplayDevice" "none"
    SubSection     "Display"
        Virtual     1920 1080
        Depth       24
    EndSubSection
EndSection

어떻게 든 시작시 덮어 쓰지 않았습니다.

내 경험이 원활하지 않게 된 이유는 무엇입니까? 어떻게 해결할 수 있나요?

그래픽 드라이버, 드라이버 구성 및 GUI로 부팅하는 것을 방해할 수 있는 요소는 내 장점이 아니므로 문제가 발생하는 경우 복구할 수 있는 방법만 시도하려고 합니다.

알아요:

  • 이 플래그 없이 시작하면 nogpumanagerxorg.conf가 기본값으로 되돌아갑니다.
  • nouveau 대신 nvidia 드라이버를 사용하면 GUI로 부팅되지 않습니다.

편집하다:

문제를 재현하려고 시도했지만 다른 문제가 발생했습니다. 몇 가지 프로그램을 연 후 Alt-탭에서 GUI가 멈추고 검게 변합니다. 프로그램의 어떤 소리도 멈추지 않고 TTY에 액세스할 수 있습니다. GUI로 돌아가려면 lightdm을 다시 시작해야 합니다.

~/.xsession-errors (전체 출력, 두 줄만):

openConnection: connect: No such file or directory
cannot connect to brltty at :0

/var/log/Xorg.0.log.old (검은색 화면에서):

NVIDIA(0): Setting mode "NULL"gui(tty7)에서 tty2로 전환했기 때문에 from 부분이 reuse xkmfile /var/lib/xkb/server-7A...있습니다.

[  1485.990] (II) NVIDIA(0): Setting mode "NULL"
[  1485.990] (II) intel(G0): switch to mode [email protected] on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[  1486.072] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[  1486.128] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1486.137] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1486.144] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1486.148] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1486.159] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1486.168] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1486.176] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1486.182] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1523.369] (II) NVIDIA(0): Setting mode "NULL"
[  1523.370] (II) intel(G0): switch to mode [email protected] on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[  1523.460] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[  1523.511] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1523.518] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1523.523] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1523.533] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1523.542] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1523.551] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1523.559] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1523.567] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1533.636] (II) NVIDIA(0): Setting mode "NULL"
[  1533.636] (II) intel(G0): switch to mode [email protected] on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[  1533.724] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[  1533.775] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1533.782] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1533.791] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1533.797] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1533.807] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1533.815] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1533.821] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1533.830] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1592.439] (II) NVIDIA(0): Setting mode "NULL"
[  1592.440] (II) intel(G0): switch to mode [email protected] on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[  1592.520] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[  1592.576] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1592.582] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1592.592] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1592.599] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1592.607] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1592.615] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1592.622] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1592.632] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1614.636] (II) NVIDIA(0): Setting mode "NULL"
[  1614.636] (II) intel(G0): switch to mode [email protected] on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[  1614.932] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[  1615.010] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1615.018] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1615.028] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1615.034] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1615.044] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1615.053] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1615.061] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1615.068] (II) XKB: reuse xkmfile /var/lib/xkb/server-7A62FE502E17CBF754B0622983D8729CAFBF8366.xkm
[  1625.398] (EE) 
[  1625.398] (EE) Backtrace:
[  1625.399] (EE) 0: /usr/bin/X (xorg_backtrace+0x56) [0x563c7bd7f5a6]
[  1625.399] (EE) 1: /usr/bin/X (0x563c7bbcc000+0x1b7709) [0x563c7bd83709]
[  1625.399] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7fa6e5f94000+0x352f0) [0x7fa6e5fc92f0]
[  1625.399] (EE) 3: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7fa6e1663000+0xb4d6e) [0x7fa6e1717d6e]
[  1625.399] (EE) 4: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7fa6e1663000+0x594ad) [0x7fa6e16bc4ad]
[  1625.399] (EE) 5: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7fa6e1663000+0x8d8ea) [0x7fa6e16f08ea]
[  1625.399] (EE) 6: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7fa6e1663000+0x5c3e16) [0x7fa6e1c26e16]
[  1625.399] (EE) 
[  1625.399] (EE) Segmentation fault at address 0x28
[  1625.399] (EE) 
Fatal server error:
[  1625.399] (EE) Caught signal 11 (Segmentation fault). Server aborting
[  1625.399] (EE) 
[  1625.399] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[  1625.399] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1625.399] (EE) 
[  1625.399] (EE) Server terminated with error (1). Closing log file.

관련 정보