perubahan xorg.conf dari pengaturan nvidia tidak berpengaruh setelah reboot


14

Saya telah meningkatkan dari 13,04 menjadi 13,10 hari ini dan semuanya berfungsi dengan baik terlepas dari satu hal. Saya memiliki pengaturan dual monitor dan setiap kali reboot layar telah berpindah tempat (layar kiri pada monitor kanan dan sebaliknya). Saya telah membuat xorg.conf dengan benar yang ditunjukkan di bawah ini.

Saya telah mencoba semua solusi yang disarankan dalam tesis ini dua posting:

nvidia-pengaturan hilang setelah reboot

Driver Nvidia tampaknya mengabaikan xorg.conf kustom di 13.10? Bagaimana cara mengkonfigurasi?

termasuk memeriksa ~/.config/monitor.xmlyang tidak saya miliki. Memuat pengaturan nvidia saat menggunakan runtime nvidia-settings -lyang tidak melakukan apa-apa. Tapi itu agak masuk akal bagi saya karena .nvidia-setting-rctidak benar-benar memiliki info tentang posisi layar. Dan karena saya menjalankan LXDE sebagai lingkungan desktop saya "Preferences-> Monitor Settings" hanya berkaitan dengan resolusi layar, bukan posisi layar.

Sekarang di sini adalah hal yang aneh: Ketika lightdm memuat layar pada awalnya dalam urutan yang benar (seperti yang ditentukan dalam xorg.conf) dan kemudian beralih pesanan setelah beberapa kali.

Di Xorg.0.log saya, saya menemukan baris berikut

[    11.806] (II) NVIDIA(0): Setting mode "DVI-I-0: nvidia-auto-select @1680x1050 +0+0, DVI-D-0: nvidia-auto-select @1680x1050 +1680+0"

yang saya percaya bisa menjadi pelakunya. Sepertinya driver nvidia mengesampingkan pengaturan di xorg.conf setelah fakta meskipun saya tidak memulai pengaturan nvidia saat startup sejauh yang saya tahu.

EDIT:

Saya baru saja memutakhirkan dari nvidia-304 ke nvidia-319 dan sekarang kecurigaan saya dikonfirmasi karena boot log x-server sekarang sedikit lebih jelas. Baris yang relevan adalah:

[     6.460] (**) NVIDIA(0): Option "MetaModes" "CRT: nvidia-auto-select +1680+0, DFP: nvidia-auto-select +0+0"

Opsi dibaca dengan benar dari xorg.conf

[     6.908] (II) NVIDIA(0): Setting mode "CRT:nvidia-auto-select+1680+0,DFP:nvidia-auto-select+0+0"

dan diatur dengan benar

[    11.197] (II) NVIDIA(0): Setting mode "DVI-I-0: nvidia-auto-select @1680x1050 +0+0 {ViewPortIn=1680x1050, ViewPortOut=1680x1050+0+0}, DVI-D-0: nvidia-auto-select @1680x1050 +0+0 {ViewPortIn=1680x1050, ViewPortOut=1680x1050+0+0}"
[    11.222] (II) NVIDIA(0): Setting mode "DVI-I-0: nvidia-auto-select @1680x1050 +0+0 {ViewPortIn=1680x1050, ViewPortOut=1680x1050+0+0}, DVI-D-0: nvidia-auto-select @1680x1050 +1680+0 {ViewPortIn=1680x1050, ViewPortOut=1680x1050+0+0}"

dan kemudian ditimpa oleh pengemudi nvidia tanpa alasan.

Ada ide?

Bantuan apa pun akan sangat dihargai.

xorg.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 304.88  (buildd@panlong)  Thu Jul 11 10:40:14 UTC 2013

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
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 "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 650 Ti"
    Option         "nvidiaXineramaInfoOrder" "DFP-1, CRT-0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1, CRT-0"
    Option         "metamodes" "CRT-0: nvidia-auto-select +1680+0, DFP-1: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

EDIT 2:

Apa yang saya temukan adalah bahwa pesan log yang menandakan override pengaturan xorg.conf adalah salah satu yang disebabkan oleh panggilan ke xrandr (karena saya melakukan ini sendiri dari commandline untuk mengatur layar dalam urutan yang benar).

Di bawah ini Anda akan menemukan file log x-server saya. Perlu diketahui bahwa dua entri terakhir di sekitar. 31,5 detik disebabkan oleh saya memanggil xrandr dari commandline dengan pengaturan yang benar.


[     6.376] 
X.Org X Server 1.14.5
Release Date: 2013-12-12
[     6.376] X Protocol Version 11, Revision 0
[     6.376] Build Operating System: Linux 3.2.0-37-generic x86_64 Ubuntu
[     6.376] Current Operating System: Linux xyz 3.11.0-15-generic #25-Ubuntu SMP Thu Jan 30 17:22:01 UTC 2014 x86_64
[     6.376] Kernel command line: BOOT_IMAGE=/vmlinuz-3.11.0-15-generic root=xyz ro splash quiet
[     6.376] Build Date: 17 December 2013  10:06:15AM
[     6.376] xorg-server 2:1.14.5-1ubuntu2~saucy1 (For technical support please see http://www.ubuntu.com/support) 
[     6.376] Current version of pixman: 0.30.2
[     6.376]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[     6.376] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     6.376] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Feb 22 09:14:56 2014
[     6.376] (==) Using config file: "/etc/X11/xorg.conf"
[     6.376] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     6.376] (==) ServerLayout "Layout0"
[     6.377] (**) |-->Screen "Screen0" (0)
[     6.377] (**) |   |-->Monitor "Monitor0"
[     6.377] (**) |   |-->Device "Device0"
[     6.377] (**) |-->Input Device "Keyboard0"
[     6.377] (**) |-->Input Device "Mouse0"
[     6.377] (**) Option "Xinerama" "0"
[     6.377] (==) Automatically adding devices
[     6.377] (==) Automatically enabling devices
[     6.377] (==) Automatically adding GPU devices
[     6.377] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[     6.377]    Entry deleted from font path.
[     6.377] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[     6.377]    Entry deleted from font path.
[     6.377] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[     6.377]    Entry deleted from font path.
[     6.377] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    built-ins
[     6.377] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[     6.377] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[     6.377] (WW) Disabling Keyboard0
[     6.377] (WW) Disabling Mouse0
[     6.377] (II) Loader magic: 0x7f752fd38d20
[     6.377] (II) Module ABI versions:
[     6.377]    X.Org ANSI C Emulation: 0.4
[     6.377]    X.Org Video Driver: 14.1
[     6.377]    X.Org XInput driver : 19.1
[     6.377]    X.Org Server Extension : 7.0
[     6.377] (II) xfree86: Adding drm device (/dev/dri/card0)
[     6.378] (--) PCI:*(0:1:0:0) 10de:11c6:10b0:11c6 rev 161, Mem @ 0xf6000000/16777216, 0xe8000000/134217728, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[     6.378] (II) Open ACPI successful (/var/run/acpid.socket)
[     6.378] Initializing built-in extension Generic Event Extension
[     6.378] Initializing built-in extension SHAPE
[     6.378] Initializing built-in extension MIT-SHM
[     6.378] Initializing built-in extension XInputExtension
[     6.378] Initializing built-in extension XTEST
[     6.378] Initializing built-in extension BIG-REQUESTS
[     6.378] Initializing built-in extension SYNC
[     6.378] Initializing built-in extension XKEYBOARD
[     6.378] Initializing built-in extension XC-MISC
[     6.378] Initializing built-in extension SECURITY
[     6.378] Initializing built-in extension XINERAMA
[     6.378] Initializing built-in extension XFIXES
[     6.378] Initializing built-in extension RENDER
[     6.378] Initializing built-in extension RANDR
[     6.378] Initializing built-in extension COMPOSITE
[     6.378] Initializing built-in extension DAMAGE
[     6.378] Initializing built-in extension MIT-SCREEN-SAVER
[     6.378] Initializing built-in extension DOUBLE-BUFFER
[     6.378] Initializing built-in extension RECORD
[     6.378] Initializing built-in extension DPMS
[     6.378] Initializing built-in extension X-Resource
[     6.378] Initializing built-in extension XVideo
[     6.378] Initializing built-in extension XVideo-MotionCompensation
[     6.378] Initializing built-in extension SELinux
[     6.378] Initializing built-in extension XFree86-VidModeExtension
[     6.378] Initializing built-in extension XFree86-DGA
[     6.378] Initializing built-in extension XFree86-DRI
[     6.378] Initializing built-in extension DRI2
[     6.378] (II) "glx" will be loaded by default.
[     6.378] (WW) "xmir" is not to be loaded by default. Skipping.
[     6.378] (II) LoadModule: "dri2"
[     6.378] (II) Module "dri2" already built-in
[     6.378] (II) LoadModule: "glamoregl"
[     6.378] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[     6.494] (II) Module glamoregl: vendor="X.Org Foundation"
[     6.494]    compiled for 1.14.3, module version = 0.5.1
[     6.494]    ABI class: X.Org ANSI C Emulation, version 0.4
[     6.494] (II) LoadModule: "glx"
[     6.494] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
[     6.533] (II) Module glx: vendor="NVIDIA Corporation"
[     6.534]    compiled for 4.0.2, module version = 1.0.0
[     6.534]    Module class: X.Org Server Extension
[     6.534] (II) NVIDIA GLX Module  319.32  Wed Jun 19 14:55:38 PDT 2013
[     6.534] Loading extension GLX
[     6.534] (II) LoadModule: "nvidia"
[     6.534] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[     6.539] (II) Module nvidia: vendor="NVIDIA Corporation"
[     6.539]    compiled for 4.0.2, module version = 1.0.0
[     6.539]    Module class: X.Org Video Driver
[     6.541] (II) NVIDIA dlloader X Driver  319.32  Wed Jun 19 14:34:12 PDT 2013
[     6.541] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     6.541] (++) using VT number 7

[     6.546] (II) Loading sub module "fb"
[     6.546] (II) LoadModule: "fb"
[     6.547] (II) Loading /usr/lib/xorg/modules/libfb.so
[     6.547] (II) Module fb: vendor="X.Org Foundation"
[     6.547]    compiled for 1.14.5, module version = 1.0.0
[     6.547]    ABI class: X.Org ANSI C Emulation, version 0.4
[     6.547] (WW) Unresolved symbol: fbGetGCPrivateKey
[     6.547] (II) Loading sub module "wfb"
[     6.547] (II) LoadModule: "wfb"
[     6.548] (II) Loading /usr/lib/xorg/modules/libwfb.so
[     6.548] (II) Module wfb: vendor="X.Org Foundation"
[     6.548]    compiled for 1.14.5, module version = 1.0.0
[     6.548]    ABI class: X.Org ANSI C Emulation, version 0.4
[     6.548] (II) Loading sub module "shadow"
[     6.548] (II) LoadModule: "shadow"
[     6.548] (II) Loading /usr/lib/xorg/modules/libshadow.so
[     6.549] (II) Module shadow: vendor="X.Org Foundation"
[     6.549]    compiled for 1.14.5, module version = 1.1.0
[     6.549]    ABI class: X.Org ANSI C Emulation, version 0.4
[     6.550] (II) Loading sub module "ramdac"
[     6.550] (II) LoadModule: "ramdac"
[     6.550] (II) Module "ramdac" already built-in
[     6.550] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[     6.550] (==) NVIDIA(0): RGB weight 888
[     6.550] (==) NVIDIA(0): Default visual is TrueColor
[     6.550] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[     6.550] (**) NVIDIA(0): Option "Stereo" "0"
[     6.550] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "DFP"
[     6.550] (**) NVIDIA(0): Stereo disabled by request
[     6.550] (**) NVIDIA(0): Option "MetaModes" "CRT: nvidia-auto-select +1680+0, DFP: nvidia-auto-select +0+0"
[     6.550] (**) NVIDIA(0): Enabling 2D acceleration
[     6.972] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (CRT-0)) does not support NVIDIA
[     6.972] (II) NVIDIA(GPU-0):     3D Vision stereo.
[     6.979] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 650 Ti (GK106) at PCI:1:0:0 (GPU-0)
[     6.979] (--) NVIDIA(0): Memory: 2097152 kBytes
[     6.979] (--) NVIDIA(0): VideoBIOS: 80.06.21.00.18
[     6.979] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[     6.980] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 650 Ti at PCI:1:0:0
[     6.980] (--) NVIDIA(0):     Samsung SyncMaster (CRT-0) (boot, connected)
[     6.980] (--) NVIDIA(0):     DFP-0
[     6.981] (--) NVIDIA(0):     Samsung SyncMaster (DFP-1) (connected)
[     6.981] (--) NVIDIA(0): Samsung SyncMaster (CRT-0): 480.0 MHz maximum pixel clock
[     6.981] (--) NVIDIA(0): DFP-0: 165.0 MHz maximum pixel clock
[     6.981] (--) NVIDIA(0): DFP-0: Internal Single Link TMDS
[     6.981] (--) NVIDIA(0): Samsung SyncMaster (DFP-1): 330.0 MHz maximum pixel clock
[     6.981] (--) NVIDIA(0): Samsung SyncMaster (DFP-1): Internal Dual Link TMDS
[     6.981] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[     6.981] (**) NVIDIA(0):     device Samsung SyncMaster (CRT-0) (Using EDID frequencies
[     6.981] (**) NVIDIA(0):     has been enabled on all display devices.)
[     6.981] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[     6.981] (**) NVIDIA(0):     device Samsung SyncMaster (DFP-1) (Using EDID frequencies
[     6.981] (**) NVIDIA(0):     has been enabled on all display devices.)
[     6.982] (II) NVIDIA(0): Validated MetaModes:
[     6.982] (II) NVIDIA(0):    
[     6.982] (II) NVIDIA(0):     "CRT:nvidia-auto-select+1680+0,DFP:nvidia-auto-select+0+0"
[     6.982] (II) NVIDIA(0): Virtual screen size determined to be 3360 x 1050
[     7.003] (--) NVIDIA(0): DPI set to (90, 88); computed from "UseEdidDpi" X config
[     7.003] (--) NVIDIA(0):     option
[     7.003] (--) Depth 24 pixmap format is 32 bpp
[     7.003] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[     7.003] (II) NVIDIA:     access.
[     7.007] (II) NVIDIA(0): Setting mode "CRT:nvidia-auto-select+1680+0,DFP:nvidia-auto-select+0+0"
[     7.110] Loading extension NV-GLX
[     7.165] (==) NVIDIA(0): Disabling shared memory pixmaps
[     7.165] (==) NVIDIA(0): Backing store disabled
[     7.165] (==) NVIDIA(0): Silken mouse enabled
[     7.165] (**) NVIDIA(0): DPMS enabled
[     7.165] Loading extension NV-CONTROL
[     7.166] Loading extension XINERAMA
[     7.166] (II) Loading sub module "dri2"
[     7.166] (II) LoadModule: "dri2"
[     7.166] (II) Module "dri2" already built-in
[     7.166] (II) NVIDIA(0): [DRI2] Setup complete
[     7.166] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[     7.166] (--) RandR disabled
[     7.168] (II) SELinux: Disabled on system
[     7.169] (II) Initializing extension GLX
[     7.182] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
[     7.183] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[     7.183] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[     7.183] (II) LoadModule: "evdev"
[     7.183] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[     7.184] (II) Module evdev: vendor="X.Org Foundation"
[     7.184]    compiled for 1.14.1, module version = 2.7.3
[     7.184]    Module class: X.Org XInput Driver
[     7.184]    ABI class: X.Org XInput driver, version 19.1
[     7.184] (II) Using input driver 'evdev' for 'Power Button'
[     7.184] (**) Power Button: always reports core events
[     7.184] (**) evdev: Power Button: Device: "/dev/input/event1"
[     7.184] (--) evdev: Power Button: Vendor 0 Product 0x1
[     7.184] (--) evdev: Power Button: Found keys
[     7.184] (II) evdev: Power Button: Configuring as keyboard
[     7.184] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[     7.184] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[     7.184] (**) Option "xkb_rules" "evdev"
[     7.184] (**) Option "xkb_model" "pc105"
[     7.184] (**) Option "xkb_layout" "us"
[     7.185] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[     7.185] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[     7.185] (II) Using input driver 'evdev' for 'Power Button'
[     7.185] (**) Power Button: always reports core events
[     7.185] (**) evdev: Power Button: Device: "/dev/input/event0"
[     7.185] (--) evdev: Power Button: Vendor 0 Product 0x1
[     7.185] (--) evdev: Power Button: Found keys
[     7.185] (II) evdev: Power Button: Configuring as keyboard
[     7.185] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0/event0"
[     7.185] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[     7.185] (**) Option "xkb_rules" "evdev"
[     7.185] (**) Option "xkb_model" "pc105"
[     7.185] (**) Option "xkb_layout" "us"
[     7.185] (II) config/udev: Adding drm device (/dev/dri/card0)
[     7.185] (II) config/udev: Ignoring already known drm device (/dev/dri/card0)
[     7.185] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event10)
[     7.185] (II) No input driver specified, ignoring this device.
[     7.185] (II) This device may have been added with another device file.
[     7.185] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event11)
[     7.185] (II) No input driver specified, ignoring this device.
[     7.185] (II) This device may have been added with another device file.
[     7.185] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event12)
[     7.185] (II) No input driver specified, ignoring this device.
[     7.185] (II) This device may have been added with another device file.
[     7.185] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event13)
[     7.185] (II) No input driver specified, ignoring this device.
[     7.185] (II) This device may have been added with another device file.
[     7.185] (II) config/udev: Adding input device Logitech Unifying Device. Wireless PID:4002 (/dev/input/event3)
[     7.185] (**) Logitech Unifying Device. Wireless PID:4002: Applying InputClass "evdev keyboard catchall"
[     7.185] (II) Using input driver 'evdev' for 'Logitech Unifying Device. Wireless PID:4002'
[     7.185] (**) Logitech Unifying Device. Wireless PID:4002: always reports core events
[     7.185] (**) evdev: Logitech Unifying Device. Wireless PID:4002: Device: "/dev/input/event3"
[     7.185] (--) evdev: Logitech Unifying Device. Wireless PID:4002: Vendor 0x46d Product 0xc52b
[     7.185] (--) evdev: Logitech Unifying Device. Wireless PID:4002: Found 1 mouse buttons
[     7.185] (--) evdev: Logitech Unifying Device. Wireless PID:4002: Found scroll wheel(s)
[     7.185] (--) evdev: Logitech Unifying Device. Wireless PID:4002: Found relative axes
[     7.185] (II) evdev: Logitech Unifying Device. Wireless PID:4002: Forcing relative x/y axes to exist.
[     7.185] (--) evdev: Logitech Unifying Device. Wireless PID:4002: Found absolute axes
[     7.185] (II) evdev: Logitech Unifying Device. Wireless PID:4002: Forcing absolute x/y axes to exist.
[     7.186] (--) evdev: Logitech Unifying Device. Wireless PID:4002: Found keys
[     7.186] (II) evdev: Logitech Unifying Device. Wireless PID:4002: Configuring as mouse
[     7.186] (II) evdev: Logitech Unifying Device. Wireless PID:4002: Configuring as keyboard
[     7.186] (II) evdev: Logitech Unifying Device. Wireless PID:4002: Adding scrollwheel support
[     7.186] (**) evdev: Logitech Unifying Device. Wireless PID:4002: YAxisMapping: buttons 4 and 5
[     7.186] (**) evdev: Logitech Unifying Device. Wireless PID:4002: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[     7.186] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.2/0003:046D:C52B.0003/input/input3/event3"
[     7.186] (II) XINPUT: Adding extended input device "Logitech Unifying Device. Wireless PID:4002" (type: KEYBOARD, id 8)
[     7.186] (**) Option "xkb_rules" "evdev"
[     7.186] (**) Option "xkb_model" "pc105"
[     7.186] (**) Option "xkb_layout" "us"
[     7.186] (II) evdev: Logitech Unifying Device. Wireless PID:4002: initialized for relative axes.
[     7.186] (WW) evdev: Logitech Unifying Device. Wireless PID:4002: ignoring absolute axes.
[     7.186] (**) Logitech Unifying Device. Wireless PID:4002: (accel) keeping acceleration scheme 1
[     7.186] (**) Logitech Unifying Device. Wireless PID:4002: (accel) acceleration profile 0
[     7.186] (**) Logitech Unifying Device. Wireless PID:4002: (accel) acceleration factor: 2.000
[     7.186] (**) Logitech Unifying Device. Wireless PID:4002: (accel) acceleration threshold: 4
[     7.186] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event4)
[     7.186] (II) No input driver specified, ignoring this device.
[     7.186] (II) This device may have been added with another device file.
[     7.186] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event5)
[     7.186] (II) No input driver specified, ignoring this device.
[     7.186] (II) This device may have been added with another device file.
[     7.186] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event6)
[     7.186] (II) No input driver specified, ignoring this device.
[     7.186] (II) This device may have been added with another device file.
[     7.186] (II) config/udev: Adding input device HDA Intel PCH Front Mic (/dev/input/event7)
[     7.186] (II) No input driver specified, ignoring this device.
[     7.186] (II) This device may have been added with another device file.
[     7.186] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event8)
[     7.186] (II) No input driver specified, ignoring this device.
[     7.186] (II) This device may have been added with another device file.
[     7.186] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/event2)
[     7.186] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass "evdev pointer catchall"
[     7.186] (II) Using input driver 'evdev' for 'Logitech USB-PS/2 Optical Mouse'
[     7.186] (**) Logitech USB-PS/2 Optical Mouse: always reports core events
[     7.186] (**) evdev: Logitech USB-PS/2 Optical Mouse: Device: "/dev/input/event2"
[     7.186] (--) evdev: Logitech USB-PS/2 Optical Mouse: Vendor 0x46d Product 0xc00e
[     7.186] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found 3 mouse buttons
[     7.186] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found scroll wheel(s)
[     7.186] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found relative axes
[     7.186] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found x and y relative axes
[     7.186] (II) evdev: Logitech USB-PS/2 Optical Mouse: Configuring as mouse
[     7.186] (II) evdev: Logitech USB-PS/2 Optical Mouse: Adding scrollwheel support
[     7.187] (**) evdev: Logitech USB-PS/2 Optical Mouse: YAxisMapping: buttons 4 and 5
[     7.187] (**) evdev: Logitech USB-PS/2 Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[     7.187] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/input/input2/event2"
[     7.187] (II) XINPUT: Adding extended input device "Logitech USB-PS/2 Optical Mouse" (type: MOUSE, id 9)
[     7.187] (II) evdev: Logitech USB-PS/2 Optical Mouse: initialized for relative axes.
[     7.187] (**) Logitech USB-PS/2 Optical Mouse: (accel) keeping acceleration scheme 1
[     7.187] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration profile 0
[     7.187] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration factor: 2.000
[     7.187] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration threshold: 4
[     7.187] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/mouse0)
[     7.187] (II) No input driver specified, ignoring this device.
[     7.187] (II) This device may have been added with another device file.
[     7.187] (II) config/udev: Adding input device Eee PC WMI hotkeys (/dev/input/event9)
[     7.187] (**) Eee PC WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[     7.187] (II) Using input driver 'evdev' for 'Eee PC WMI hotkeys'
[     7.187] (**) Eee PC WMI hotkeys: always reports core events
[     7.187] (**) evdev: Eee PC WMI hotkeys: Device: "/dev/input/event9"
[     7.187] (--) evdev: Eee PC WMI hotkeys: Vendor 0 Product 0
[     7.187] (--) evdev: Eee PC WMI hotkeys: Found keys
[     7.187] (II) evdev: Eee PC WMI hotkeys: Configuring as keyboard
[     7.187] (**) Option "config_info" "udev:/sys/devices/platform/eeepc-wmi/input/input9/event9"
[     7.187] (II) XINPUT: Adding extended input device "Eee PC WMI hotkeys" (type: KEYBOARD, id 10)
[     7.187] (**) Option "xkb_rules" "evdev"
[     7.187] (**) Option "xkb_model" "pc105"
[     7.187] (**) Option "xkb_layout" "us"
[     7.423] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (CRT-0)) does not support NVIDIA
[     7.423] (II) NVIDIA(GPU-0):     3D Vision stereo.
[     7.423] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[     7.423] (**) NVIDIA(0):     device Samsung SyncMaster (CRT-0) (Using EDID frequencies
[     7.423] (**) NVIDIA(0):     has been enabled on all display devices.)
[     7.429] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[     7.429] (**) NVIDIA(0):     device Samsung SyncMaster (DFP-1) (Using EDID frequencies
[     7.429] (**) NVIDIA(0):     has been enabled on all display devices.)
[     7.739] (II) NVIDIA(0): Setting mode "DVI-I-0: nvidia-auto-select @1680x1050 +0+0 {ViewPortIn=1680x1050, ViewPortOut=1680x1050+0+0}, DVI-D-0: nvidia-auto-select @1680x1050 +0+0 {ViewPortIn=1680x1050, ViewPortOut=1680x1050+0+0}"
[     7.764] (II) NVIDIA(0): Setting mode "DVI-I-0: nvidia-auto-select @1680x1050 +0+0 {ViewPortIn=1680x1050, ViewPortOut=1680x1050+0+0}, DVI-D-0: nvidia-auto-select @1680x1050 +1680+0 {ViewPortIn=1680x1050, ViewPortOut=1680x1050+0+0}"
[     7.818] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (CRT-0)) does not support NVIDIA
[     7.818] (II) NVIDIA(GPU-0):     3D Vision stereo.
[     7.818] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[     7.818] (**) NVIDIA(0):     device Samsung SyncMaster (CRT-0) (Using EDID frequencies
[     7.818] (**) NVIDIA(0):     has been enabled on all display devices.)
[     7.824] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[     7.824] (**) NVIDIA(0):     device Samsung SyncMaster (DFP-1) (Using EDID frequencies
[     7.824] (**) NVIDIA(0):     has been enabled on all display devices.)
[    31.488] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (CRT-0)) does not support NVIDIA
[    31.488] (II) NVIDIA(GPU-0):     3D Vision stereo.
[    31.488] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    31.488] (**) NVIDIA(0):     device Samsung SyncMaster (CRT-0) (Using EDID frequencies
[    31.488] (**) NVIDIA(0):     has been enabled on all display devices.)
[    31.497] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    31.497] (**) NVIDIA(0):     device Samsung SyncMaster (DFP-1) (Using EDID frequencies
[    31.497] (**) NVIDIA(0):     has been enabled on all display devices.)
[    31.507] (II) NVIDIA(0): Setting mode "DVI-I-0: nvidia-auto-select @1680x1050 +1680+0 {ViewPortIn=1680x1050, ViewPortOut=1680x1050+0+0}, DVI-D-0: nvidia-auto-select @1680x1050 +1680+0 {ViewPortIn=1680x1050, ViewPortOut=1680x1050+0+0}"
[    31.555] (II) NVIDIA(0): Setting mode "DVI-I-0: nvidia-auto-select @1680x1050 +1680+0 {ViewPortIn=1680x1050, ViewPortOut=1680x1050+0+0}, DVI-D-0: nvidia-auto-select @1680x1050 +0+0 {ViewPortIn=1680x1050, ViewPortOut=1680x1050+0+0}"

Tebakan saja, tetapi apakah hal yang sama terjadi jika Anda masuk dengangdm
Amith KK

dapatkah Anda mengubah semua "DFP-1" menjadi "DFP" dan semua "CRT-0" menjadi "CRT"? nanti lebih umum.
t4lwh

@AmithKK Saya tidak melihat bagaimana manajer login dapat menentukan urutan layar. Itu jatuh ke dalam tanggung jawab x-server.
Cornelius

@timl Saya mencobanya tetapi tidak ada perubahan. Tetapi seperti dikatakan, sepertinya xorg.conf dibaca dan memerintahkan layar dalam urutan yang benar, tetapi setelah itu driver nvidia menendang dan menimpa pengaturan xorg dengan standarnya sendiri.
Cornelius

maksud Anda setelah Anda mengubahnya, nvidia akan menimpa xorg.conf lagi? perubahan dimaksudkan untuk memutuskan urutan seperti 'semua DFP terlebih dahulu, lalu CRT'. karena 'DFP-1, CRT-0' masih dapat menjadi 'DFP-1 pertama, CRT-0 detik, DFP lain lagi, lalu CRT lainnya'. tebakan liar untuk 'mengapa layar ditukar';)
t4lwh

Jawaban:


6

Saya baru saja menginstal 14,04, dan menemukan masalah yang sama persis. Saya mencoba mengatur layar kiri dan kanan di nvidia-settingsmanajer tetapi ketika saya reboot atau restart X mereka akan beralih kembali.

Mencari banyak secara online, tetapi tidak dapat menemukan solusi, maka saya hanya pergi ke opsi Display di Pengaturan Sistem Ubuntu atau unity-control-center, atur semuanya di sana, dan voila, masalah terpecahkan.

Jadi hal yang paling mudah untuk dilakukan adalah abaikan nvidia-settingsdan gunakan opsi tampilan dalam pengaturan Ubuntu. Paling tidak di Ubuntu 14.04.


2
Ini sepertinya telah melakukan trik bagiku, cheers bud.
RobertPitt

1
bekerja juga untuk saya di Ubuntu 18.04.1 LTS (Xubuntu)
Grégory

4

Saya memiliki masalah yang sama di Ubuntu 14.04. Ternyata yang xorg.confditimpa oleh unity-control-centermenampilkan pengaturan yang disimpan di ~/.config/monitors.xml.

Memasukkan pengaturan yang diinginkan ke dalam monitors.xmlmemecahkan masalah bagi saya.

  • <primary>no</primary> atau <primary>yes</primary>
  • <x>0</x>berarti layar kiri, layar <x>1280</x>kanan di mana 1280lebar layar di sebelah kiri.

Apa "pengaturan yang diinginkan"?
Kaz Wolfe

1
Atau, seperti yang saya ~/.config/monitors.xml
ketahui

Lebih jauh lagi, menambahkan jawaban ini dan komentar Giorgos, sesuai dengan laporan bug ini, answer.launchpad.net/ubuntu/+source/xorg/+question/254081 jika bug itu masih ada di sini, yang saya pikir memang benar, sambil menonton my ~ /.config/monitors.xml dan /etc/X11/xorg.conf saya menyadari bahwa nvidia mencoba memuat laju penyegaran frekuensi layar yang berbeda dari pengaturan gnome. Jadi sekarang pilihan terbaik adalah menghapus pengaturan itu di monitor.xml sehingga tidak menimpa pengaturan nvidia. Temuan bagus. Sekarang saya tidak perlu membuat skrip untuk menjalankan pengaturan nvidia nanti setelah boot.
Pavlos Theodorou

2

Masalahnya tampaknya, lightdm mengatur ulang layar ke urutan yang dianggapnya sesuai setelah xorg.conf telah dimuat. (Saya tidak tahu mengapa atau bagaimana menekannya dan akan sangat membantu jika beberapa orang dapat menjelaskannya.)

Jadi untuk mengatasi masalah ini, solusinya sederhana adalah mengubah pengelola tampilan. Lihat di sini

Solusi yang lebih rumit jika Anda ingin tetap lightdm adalah menginstal arandr. Menjalankannya. Atur layar Anda seperti yang Anda inginkan dan simpan konfigurasi. Ini akan menyimpan skrip shell yang mengatur konfigurasi Anda setiap kali dijalankan. Jadi sekarang Anda harus menambahkan baris berikut ke/etc/lightdm/lightdm.conf

session-setup-script=<location of the script you saved with arandr>

Ini akan memberi Anda pengaturan monitor yang benar segera setelah Anda memasuki sesi Anda.


2

Punya masalah yang sama pada 13.10 dengan Nvidia NVS 510 dan 4 monitor. Meskipun nvidia-settingsdikonfigurasikan dengan benar dan disimpan ke xorg.confsetelah opsi rotasi reboot tidak diingat.

Solusinya adalah membuka Pengaturan SistemMenampilkan dan mengonfigurasi monitor lagi dalam konfigurasi yang tepat. Kemudian klik Terapkan. Saya kira inilah yang menulis ~/.config/monitors.xml.

Setelah itu semuanya bekerja dengan baik dan bertahan setelah reboot.


2

Sebenarnya ada cara yang lebih mudah untuk menyelesaikan ini.

Di profil pengguna Anda, atur tampilan persis seperti yang Anda inginkan. Kemudian

copy ~/.config/monitors.xml to /var/lib/lightdm/.config

Ini akan memaksa lightdm untuk menggunakan pengaturan yang sama persis dengan profil pengguna Anda.


Ini tidak berhasil untuk saya. Ubuntu 16.04. Saya dapat melihat setelah lightdm restart bahwa secara singkat itu benar, tetapi dalam sepersekian detik layar berkedip dan monitor diganti lagi.
omikron

1

Saya memiliki masalah serupa - bukan multi-monitor, tetapi pengaturan saya semakin diabaikan seperti milik Anda. Apa yang saya lakukan untuk mengatasinya adalah mengganti nvidia-auto-selectopsi dengan resolusi aktual yang saya inginkan, yaitu 1280x1024_75 +0+0.

Jadi, Anda dapat mencoba sesuatu seperti ini:

Option         "metamodes" "CRT-0: 1680x1050_75 +1680+0, DFP-1: 1680x1050_75 +0+0"

Selain itu, saya perhatikan bahwa pada baris di atas, monitor berada dalam urutan "CRT-0, DFP-1", sedangkan sebelumnya dalam file konfigurasi Anda mereka diperintahkan "DFP-1, CRT-0". Saya tidak tahu apakah itu penting, tetapi sandal jepit ini juga dapat menyebabkan masalah Anda, jadi coba atur semuanya dalam urutan yang sama.

Apa yang saya pikir sedang terjadi pada saya adalah bahwa nvidia x-server akan memuat pengaturan yang diinginkan, kemudian akan ditimpa oleh manajer pengaturan. Dengan menghapus pilihan-otomatis (dan opsi resolusi lain yang tersedia di /etc/X11/xorg.conf) saya pikir itu melarang penggunaan pengaturan resolusi lainnya.


Terima kasih atas idenya, tetapi yang penting adalah offset resolusi layar (yaitu + 1680 + 0) dan mereka tetapi CRT di sebelah kiri DFP. Saya juga yakin sekarang masalahnya bukan pada xorg.conf tetapi ada sesuatu yang mengeluarkan panggilan ke xrandr setelah xorg.conf telah dimuat (lihat EDIT2).
Cornelius

Debian 8, pengaturan nvidia 340.46, xfce 4.10, beberapa monitor dan masalah yang sama.
Emilien

1

Saya menghabiskan terlalu banyak waktu dengan masalah yang sama persis: X memuat pengaturan yang benar, kemudian, ketika saya masuk, pengaturan ditimpa.

Karena saya menggunakan mesin pengguna tunggal yang sepenuhnya terenkripsi (dan karena itu tidak peduli tentang login), opsi saya adalah menginstal

nodm

yang menggantikan lightdm atau manajer tampilan lainnya. Itu harus diaktifkan dan dikonfigurasi dalam

/etc/default/nodm

untuk memuat saat startup dan untuk autologin di pengguna saya. Solusi sempurna dengan window-manager yang mengagumkan



0

Untuk pengguna xfce4, sepertinya file tersebut ~/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xmldapat dimodifikasi karena beberapa alasan. Menghapusnya memecahkan masalah saya. Ini tidak dibuat lagi saat keluar / masuk jadi saya tidak tahu persis apa yang harus dilakukan. Saya juga menemukan bahwa dengan lingkungan desktop lain ada ~/.config/monitors.xmlfile (?) Yang mirip yang mungkin Anda coba hapus / ubah namanya.

Sumber


0

Saya punya masalah dengan driver Ubuntu 19.04 dan Nvidia. 19.04 sekarang menggunakan GDM3 sebagai ganti LightDM secara default.

Solusinya adalah:

  1. Gunakan pengaturan Ubuntu untuk mengonfigurasi layar.

  2. sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config/

  3. sudo chown gdm:gdm /var/lib/gdm3/.config/monitors.xml

Dengan menggunakan situs kami, Anda mengakui telah membaca dan memahami Kebijakan Cookie dan Kebijakan Privasi kami.
Licensed under cc by-sa 3.0 with attribution required.