You are not logged in.

#1 2016-08-18 07:54:51

NeoZelux
Member
Registered: 2012-10-28
Posts: 45

2s screen black-out when starting xRandR applications (nvidia-304xx)

Hello folks.
    So the title might be confusing, I'll explain.
    For the last couple of months, whenever I run any of the following ...
   

    $ xrandr
    $ compton --active-opacity 0.85 &
    $ ./sfml_test
        #include <stdint.h>
        #include <cstdio>
        #include <cmath>
        #include <SFML/Graphics.hpp>

        int main() {
            sf::RenderWindow window                              ;
            window.create (sf::VideoMode(640, 480), "My window") ;
            while (time_in_ms() < 3000) {
                //while (window.pollEvent(event)) ;
                window.clear  ()                  ;
                window.display()                 ;
            }
            return 0 ;
        }
    

    the whole screen goes black for 2 seconds (both of my two monitors identically)
    It's not like, 2 seconds before a program launches, It's 2 seconds at the start of runtime.
    eg.
   

    $ time ./sfml_test

        real    0m3.051s
        user    0m0.703s
        sys     0m2.050s
    

    This happens w/ only some programs.
    This doesn't happen when launching xterm, qutebrowser, or gvim.
    What they share in common is they all depend on libxrandr (sfml too).
    Now I've seen tidbits in the arch wiki somewhere mentioning something about Xinerama
    not working well w/ nvidia/xrandr/compositing etc but I'm not even sure how
    my computer is achieving dual display this moment. Maybe this is normal but the dual display
    works even before I start Xorg (w/ startx). So I'm not sure if it's still using
    Xinerama let alone if that is even my problem in the first place.
    another quirk which could be related, is that xrandr does not report the HDMI port
    that my computer clearly has.
   

    $ xrandr
        Screen 0: minimum 8 x 8, current 1280 x 1024, maximum 4096 x 4096
        DVI-I-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 340mm x 270mm
           1280x1024     60.02*+  75.02  
           1024x768      75.03    70.07    60.00  
           800x600       75.00    72.19    60.32  
           640x480       75.00    72.81    59.94  
        VGA-0 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
           1024x768      75.03 +  70.07    60.00  
           1600x1200     65.00    60.00  
           1400x1050     74.76    59.98  
           1280x1024     75.02    60.02* 
           1280x960      60.00  
           1152x864      75.00  
           832x624       74.55  
           800x600       65.00    60.00    75.00    72.19    60.32    56.25  
           640x512       75.02    60.02  
           640x480       60.00    75.00    72.81    59.94  
           576x432       75.00  
           512x384       75.03    70.07    60.00  
           416x312       74.66  
           400x300       75.12    72.19    60.32    56.34  
           320x240       75.00    72.81    60.05  
        TV-0 disconnected (normal left inverted right x axis y axis)
        DVI-I-1 disconnected (normal left inverted right x axis y axis)
    

    here is the current state of my xorg.conf files
   

    $ cat /etc/X11/xorg.conf
        # nvidia-xconfig: X configuration file generated by nvidia-xconfig
        # nvidia-xconfig:  version 304.131  (buildmeister@swio-display-x64-rhel04-16)  Sun Nov  8 22:48:17 PST 2015

        #Section "Extensions"
        #	Option "Composite" "Enable"
        #	Option "RENDER" "Enable"
        #EndSection

        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 "Monitor"
            Identifier     "Monitor0"
            VendorName     "Unknown"
            ModelName      "Unknown"
            HorizSync       28.0 - 33.0
            VertRefresh     43.0 - 72.0
            Option         "DPMS"
        EndSection

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

        Section "Screen"
            Identifier     "Screen0"
            Device         "Device0"
            Monitor        "Monitor0"
            DefaultDepth    24
            Option         "UseEDID" "true"
            Option         "TwinView" "1"
            SubSection     "Display"
                Depth       24
            EndSubSection
        EndSection
    $ cat /etc/X11/xorg.conf.d/10-monitor.conf
        # nvidia-settings: X configuration file generated by nvidia-settings
        # nvidia-settings:  version 304.88  (buildmeister@swio-display-x86-rhel47-06)  Wed Mar 27 15:32:47 PDT 2013


        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 "Monitor"

            # HorizSync source: edid, VertRefresh source: edid
            Identifier     "Monitor0"
            VendorName     "Unknown"
            ModelName      "CRT-1"
            HorizSync       31.0 - 81.0
            VertRefresh     56.0 - 75.0
            Option         "DPMS"
        EndSection

        Section "Device"
            Identifier     "Device0"
            Driver         "nvidia"
            VendorName     "NVIDIA Corporation"
            BoardName      "GeForce 6800"
        EndSection

        Section "Screen"

        # Removed Option "metamodes" "CRT-1: nvidia-auto-select +1280+0, CRT-0: nvidia-auto-select +0+0"
        # Removed Option "nvidiaXineramaInfoOrder" "CRT-1"
        # Removed Option "nvidiaXineramaInfoOrder" "CRT-0"
        # Removed Option "metamodes" "CRT-1: nvidia-auto-select +0+0, CRT-0: nvidia-auto-select +0+0"
        # Removed Option "metamodes" "CRT-1: 1280x1024 +0+0, CRT-0: nvidia-auto-select +0+0"
        # Removed Option "metamodes" "CRT-1: 1280x1024 +0+0, CRT-0: 1280x1024 +0+0"
            Identifier     "Screen0"
            Device         "Device0"
            Monitor        "Monitor0"
            DefaultDepth    24
            Option         "Stereo" "0"
            Option         "nvidiaXineramaInfoOrder" "CRT-1"
            Option         "metamodes" "CRT-1: 1280x1024_60 +0+0, CRT-0: nvidia-auto-select +0+0"
            SubSection     "Display"
                Depth       24
            EndSubSection
        EndSection
    

    contents of Xorg.0.log
   

    $ cat /var/log/Xorg.0.log
        [   544.291] 
        X.Org X Server 1.18.4
        Release Date: 2016-07-19
        [   544.291] X Protocol Version 11, Revision 0
        [   544.291] Build Operating System: Linux 4.5.4-1-ARCH x86_64 
        [   544.291] Current Operating System: Linux NeoZelux 4.7.0-1-ARCH #1 SMP PREEMPT Mon Aug 8 22:05:58 CEST 2016 x86_64
        [   544.291] Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda3 rw initrd=../initramfs-linux.img
        [   544.291] Build Date: 19 July 2016  05:54:24PM
        [   544.291]  
        [   544.291] Current version of pixman: 0.34.0
        [   544.292] 	Before reporting problems, check http://wiki.x.org
            to make sure that you have the latest version.
        [   544.292] Markers: (--) probed, (**) from config file, (==) default setting,
            (++) from command line, (!!) notice, (II) informational,
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
        [   544.292] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 18 00:21:55 2016
        [   544.329] (==) Using config file: "/etc/X11/xorg.conf"
        [   544.329] (==) Using config directory: "/etc/X11/xorg.conf.d"
        [   544.330] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
        [   544.367] (==) ServerLayout "Layout0"
        [   544.367] (**) |-->Screen "Screen0" (0)
        [   544.367] (**) |   |-->Monitor "Monitor0"
        [   544.367] (**) |   |-->Device "Device0"
        [   544.367] (**) |   |-->GPUDevice "Device0"
        [   544.367] (**) |-->Input Device "Keyboard0"
        [   544.367] (**) |-->Input Device "Mouse0"
        [   544.367] (**) Option "Xinerama" "0"
        [   544.367] (==) Automatically adding devices
        [   544.367] (==) Automatically enabling devices
        [   544.367] (==) Automatically adding GPU devices
        [   544.367] (==) Max clients allowed: 256, resource mask: 0x1fffff
        [   544.448] (==) FontPath set to:
            /usr/share/fonts/misc/,
            /usr/share/fonts/TTF/,
            /usr/share/fonts/OTF/,
            /usr/share/fonts/Type1/,
            /usr/share/fonts/100dpi/,
            /usr/share/fonts/75dpi/
        [   544.448] (==) ModulePath set to "/usr/lib/xorg/modules"
        [   544.448] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
        [   544.448] (WW) Disabling Keyboard0
        [   544.448] (WW) Disabling Mouse0
        [   544.448] (II) Loader magic: 0x821d40
        [   544.448] (II) Module ABI versions:
        [   544.448] 	X.Org ANSI C Emulation: 0.4
        [   544.449] 	X.Org Video Driver: 20.0
        [   544.449] 	X.Org XInput driver : 22.1
        [   544.449] 	X.Org Server Extension : 9.0
        [   544.449] (++) using VT number 1

        [   544.449] (--) controlling tty is VT number 1, auto-enabling KeepTty
        [   544.454] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
        [   544.455] (II) xfree86: Adding drm device (/dev/dri/card0)
        [   544.455] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
        [   544.456] (--) PCI:*(0:1:0:0) 10de:00c1:10de:0245 rev 162, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf5000000/16777216, BIOS @ 0x????????/131072
        [   544.456] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
        [   544.456] (II) LoadModule: "glx"
        [   544.551] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
        [   545.009] (II) Module glx: vendor="NVIDIA Corporation"
        [   545.009] 	compiled for 4.0.2, module version = 1.0.0
        [   545.009] 	Module class: X.Org Server Extension
        [   545.009] (II) NVIDIA GLX Module  304.131  Sun Nov  8 22:03:20 PST 2015
        [   545.009] (II) LoadModule: "nvidia"
        [   545.009] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
        [   545.083] (II) Module nvidia: vendor="NVIDIA Corporation"
        [   545.083] 	compiled for 4.0.2, module version = 1.0.0
        [   545.083] 	Module class: X.Org Video Driver
        [   545.094] (II) NVIDIA dlloader X Driver  304.131  Sun Nov  8 21:45:02 PST 2015
        [   545.094] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
        [   545.095] (II) Loading sub module "fb"
        [   545.095] (II) LoadModule: "fb"
        [   545.114] (II) Loading /usr/lib/xorg/modules/libfb.so
        [   545.121] (II) Module fb: vendor="X.Org Foundation"
        [   545.121] 	compiled for 1.18.4, module version = 1.0.0
        [   545.121] 	ABI class: X.Org ANSI C Emulation, version 0.4
        [   545.121] (II) Loading sub module "wfb"
        [   545.121] (II) LoadModule: "wfb"
        [   545.121] (II) Loading /usr/lib/xorg/modules/libwfb.so
        [   545.127] (II) Module wfb: vendor="X.Org Foundation"
        [   545.127] 	compiled for 1.18.4, module version = 1.0.0
        [   545.127] 	ABI class: X.Org ANSI C Emulation, version 0.4
        [   545.127] (II) Loading sub module "ramdac"
        [   545.127] (II) LoadModule: "ramdac"
        [   545.127] (II) Module "ramdac" already built-in
        [   545.129] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
        [   545.129] (==) NVIDIA(0): RGB weight 888
        [   545.129] (==) NVIDIA(0): Default visual is TrueColor
        [   545.129] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
        [   545.129] (**) NVIDIA(0): Option "Stereo" "0"
        [   545.129] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "CRT-1"
        [   545.129] (**) NVIDIA(0): Stereo disabled by request
        [   545.129] (**) NVIDIA(0): Option "MetaModes" "CRT-1: 1280x1024_60 +0+0, CRT-0: nvidia-auto-select +0+0"
        [   545.129] (**) NVIDIA(0): Enabling 2D acceleration
        [   546.028] (II) NVIDIA(GPU-0): Display (HP vs17 (CRT-0)) does not support NVIDIA 3D Vision
        [   546.028] (II) NVIDIA(GPU-0):     stereo.
        [   546.029] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-1
        [   546.036] (II) NVIDIA(0): NVIDIA GPU GeForce 6800 (NV41) at PCI:1:0:0 (GPU-0)
        [   546.036] (--) NVIDIA(0): Memory: 262144 kBytes
        [   546.036] (--) NVIDIA(0): VideoBIOS: 05.41.02.34.15
        [   546.036] (II) NVIDIA(0): Detected PCI Express Link width: 16X
        [   546.036] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
        [   546.036] (--) NVIDIA(0): Valid display device(s) on GeForce 6800 at PCI:1:0:0
        [   546.036] (--) NVIDIA(0):     HP vs17 (CRT-0) (connected)
        [   546.036] (--) NVIDIA(0):     CRT-1 (connected)
        [   546.036] (--) NVIDIA(0):     TV-0
        [   546.036] (--) NVIDIA(0):     DFP-0
        [   546.036] (--) NVIDIA(0): HP vs17 (CRT-0): 400.0 MHz maximum pixel clock
        [   546.036] (--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
        [   546.036] (--) NVIDIA(0): TV-0: 400.0 MHz maximum pixel clock
        [   546.036] (--) NVIDIA(0): TV encoder: Unknown
        [   546.036] (--) NVIDIA(0): DFP-0: 155.0 MHz maximum pixel clock
        [   546.036] (--) NVIDIA(0): DFP-0: Internal Single Link TMDS
        [   546.036] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
        [   546.036] (**) NVIDIA(0):     device HP vs17 (CRT-0) (Using EDID frequencies has been
        [   546.036] (**) NVIDIA(0):     enabled on all display devices.)
        [   546.036] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
        [   546.036] (**) NVIDIA(0):     device CRT-1 (Using EDID frequencies has been enabled on
        [   546.036] (**) NVIDIA(0):     all display devices.)
        [   546.037] (II) NVIDIA(0): Validated MetaModes:
        [   546.037] (II) NVIDIA(0):     "CRT-1:1280x1024_60+0+0,CRT-0:nvidia-auto-select+0+0"
        [   546.037] (II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
        [   546.037] (WW) NVIDIA(0): Unable to support custom viewPortOut 1280 x 720 +0 +152
        [   546.037] (--) NVIDIA(0): DPI set to (95, 96); computed from "UseEdidDpi" X config
        [   546.037] (--) NVIDIA(0):     option
        [   546.037] (--) Depth 24 pixmap format is 32 bpp
        [   546.048] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
        [   546.048] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
        [   546.048] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
        [   546.048] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
        [   546.048] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
        [   546.048] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
        [   546.048] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
        [   546.048] (II) NVIDIA(0):     Config Options in the README.
        [   546.048] (II) NVIDIA(0): Setting mode "CRT-1:1280x1024_60+0+0,CRT-0:nvidia-auto-select+0+0"
        [   546.288] (==) NVIDIA(0): Disabling shared memory pixmaps
        [   546.288] (==) NVIDIA(0): Backing store enabled
        [   546.288] (==) NVIDIA(0): Silken mouse enabled
        [   546.290] (**) NVIDIA(0): DPMS enabled
        [   546.290] (II) Loading sub module "dri2"
        [   546.290] (II) LoadModule: "dri2"
        [   546.290] (II) Module "dri2" already built-in
        [   546.290] (II) NVIDIA(0): [DRI2] Setup complete
        [   546.290] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
        [   546.290] (--) RandR disabled
        [   546.294] (II) Initializing extension GLX
        [   546.294] (II) Indirect GLX disabled.(II) config/udev: Adding input device Power Button (/dev/input/event6)
        [   546.708] (**) Power Button: Applying InputClass "evdev keyboard catchall"
        [   546.708] (II) LoadModule: "evdev"
        [   546.708] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
        [   546.739] (II) Module evdev: vendor="X.Org Foundation"
        [   546.739] 	compiled for 1.18.3, module version = 2.10.3
        [   546.739] 	Module class: X.Org XInput Driver
        [   546.739] 	ABI class: X.Org XInput driver, version 22.1
        [   546.739] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 28 paused 0
        [   546.740] (II) Using input driver 'evdev' for 'Power Button'
        [   546.740] (**) Power Button: always reports core events
        [   546.740] (**) evdev: Power Button: Device: "/dev/input/event6"
        [   546.740] (--) evdev: Power Button: Vendor 0 Product 0x1
        [   546.740] (--) evdev: Power Button: Found keys
        [   546.740] (II) evdev: Power Button: Configuring as keyboard
        [   546.740] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input8/event6"
        [   546.740] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
        [   546.740] (**) Option "xkb_rules" "evdev"
        [   546.740] (II) config/udev: Adding input device Power Button (/dev/input/event5)
        [   546.740] (**) Power Button: Applying InputClass "evdev keyboard catchall"
        [   546.741] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 29 paused 0
        [   546.741] (II) Using input driver 'evdev' for 'Power Button'
        [   546.741] (**) Power Button: always reports core events
        [   546.741] (**) evdev: Power Button: Device: "/dev/input/event5"
        [   546.741] (--) evdev: Power Button: Vendor 0 Product 0x1
        [   546.741] (--) evdev: Power Button: Found keys
        [   546.741] (II) evdev: Power Button: Configuring as keyboard
        [   546.741] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input7/event5"
        [   546.741] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
        [   546.741] (**) Option "xkb_rules" "evdev"
        [   546.741] (II) config/udev: Adding input device HDA Intel MID Front Mic (/dev/input/event8)
        [   546.741] (II) No input driver specified, ignoring this device.
        [   546.741] (II) This device may have been added with another device file.
        [   546.742] (II) config/udev: Adding input device HDA Intel MID Rear Mic (/dev/input/event9)
        [   546.742] (II) No input driver specified, ignoring this device.
        [   546.742] (II) This device may have been added with another device file.
        [   546.742] (II) config/udev: Adding input device HDA Intel MID Line (/dev/input/event10)
        [   546.742] (II) No input driver specified, ignoring this device.
        [   546.742] (II) This device may have been added with another device file.
        [   546.742] (II) config/udev: Adding input device HDA Intel MID Line Out (/dev/input/event11)
        [   546.742] (II) No input driver specified, ignoring this device.
        [   546.742] (II) This device may have been added with another device file.
        [   546.742] (II) config/udev: Adding input device HDA Intel MID Front Headphone (/dev/input/event12)
        [   546.742] (II) No input driver specified, ignoring this device.
        [   546.742] (II) This device may have been added with another device file.
        [   546.743] (II) config/udev: Adding input device HID 04d9:1400 (/dev/input/event2)
        [   546.743] (**) HID 04d9:1400: Applying InputClass "evdev keyboard catchall"
        [   546.744] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 30 paused 0
        [   546.744] (II) Using input driver 'evdev' for 'HID 04d9:1400'
        [   546.744] (**) HID 04d9:1400: always reports core events
        [   546.744] (**) evdev: HID 04d9:1400: Device: "/dev/input/event2"
        [   546.744] (--) evdev: HID 04d9:1400: Vendor 0x4d9 Product 0x1400
        [   546.744] (--) evdev: HID 04d9:1400: Found keys
        [   546.744] (II) evdev: HID 04d9:1400: Configuring as keyboard
        [   546.744] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.1/2-1.1.1.1/2-1.1.1.1:1.0/0003:04D9:1400.0003/input/input4/event2"
        [   546.744] (II) XINPUT: Adding extended input device "HID 04d9:1400" (type: KEYBOARD, id 8)
        [   546.744] (**) Option "xkb_rules" "evdev"
        [   546.744] (II) config/udev: Adding input device HID 04d9:1400 (/dev/input/event3)
        [   546.744] (**) HID 04d9:1400: Applying InputClass "evdev pointer catchall"
        [   546.744] (**) HID 04d9:1400: Applying InputClass "evdev keyboard catchall"
        [   546.745] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 31 paused 0
        [   546.745] (II) Using input driver 'evdev' for 'HID 04d9:1400'
        [   546.745] (**) HID 04d9:1400: always reports core events
        [   546.745] (**) evdev: HID 04d9:1400: Device: "/dev/input/event3"
        [   546.745] (--) evdev: HID 04d9:1400: Vendor 0x4d9 Product 0x1400
        [   546.745] (--) evdev: HID 04d9:1400: Found 9 mouse buttons
        [   546.745] (--) evdev: HID 04d9:1400: Found scroll wheel(s)
        [   546.745] (--) evdev: HID 04d9:1400: Found relative axes
        [   546.745] (--) evdev: HID 04d9:1400: Found x and y relative axes
        [   546.745] (--) evdev: HID 04d9:1400: Found keys
        [   546.745] (II) evdev: HID 04d9:1400: Configuring as mouse
        [   546.745] (II) evdev: HID 04d9:1400: Configuring as keyboard
        [   546.745] (II) evdev: HID 04d9:1400: Adding scrollwheel support
        [   546.745] (**) evdev: HID 04d9:1400: YAxisMapping: buttons 4 and 5
        [   546.745] (**) evdev: HID 04d9:1400: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
        [   546.745] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.1/2-1.1.1.1/2-1.1.1.1:1.1/0003:04D9:1400.0004/input/input5/event3"
        [   546.745] (II) XINPUT: Adding extended input device "HID 04d9:1400" (type: KEYBOARD, id 9)
        [   546.745] (**) Option "xkb_rules" "evdev"
        [   546.746] (II) evdev: HID 04d9:1400: initialized for relative axes.
        [   546.746] (**) HID 04d9:1400: (accel) keeping acceleration scheme 1
        [   546.746] (**) HID 04d9:1400: (accel) acceleration profile 0
        [   546.746] (**) HID 04d9:1400: (accel) acceleration factor: 2.000
        [   546.746] (**) HID 04d9:1400: (accel) acceleration threshold: 4
        [   546.746] (II) config/udev: Adding input device HID 04d9:1400 (/dev/input/mouse0)
        [   546.746] (II) No input driver specified, ignoring this device.
        [   546.746] (II) This device may have been added with another device file.
        [   546.746] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/event4)
        [   546.746] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass "evdev pointer catchall"
        [   546.800] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 32 paused 0
        [   546.800] (II) Using input driver 'evdev' for 'Logitech USB-PS/2 Optical Mouse'
        [   546.800] (**) Logitech USB-PS/2 Optical Mouse: always reports core events
        [   546.800] (**) evdev: Logitech USB-PS/2 Optical Mouse: Device: "/dev/input/event4"
        [   546.800] (--) evdev: Logitech USB-PS/2 Optical Mouse: Vendor 0x46d Product 0xc01e
        [   546.800] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found 12 mouse buttons
        [   546.800] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found scroll wheel(s)
        [   546.800] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found relative axes
        [   546.800] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found x and y relative axes
        [   546.800] (II) evdev: Logitech USB-PS/2 Optical Mouse: Configuring as mouse
        [   546.800] (II) evdev: Logitech USB-PS/2 Optical Mouse: Adding scrollwheel support
        [   546.800] (**) evdev: Logitech USB-PS/2 Optical Mouse: YAxisMapping: buttons 4 and 5
        [   546.800] (**) evdev: Logitech USB-PS/2 Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
        [   546.800] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.1/2-1.1.1.4/2-1.1.1.4:1.0/0003:046D:C01E.0005/input/input6/event4"
        [   546.800] (II) XINPUT: Adding extended input device "Logitech USB-PS/2 Optical Mouse" (type: MOUSE, id 10)
        [   546.800] (II) evdev: Logitech USB-PS/2 Optical Mouse: initialized for relative axes.
        [   546.800] (**) Logitech USB-PS/2 Optical Mouse: (accel) keeping acceleration scheme 1
        [   546.800] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration profile 0
        [   546.800] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration factor: 2.000
        [   546.800] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration threshold: 4
        [   546.801] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/mouse1)
        [   546.801] (II) No input driver specified, ignoring this device.
        [   546.801] (II) This device may have been added with another device file.
        [   546.802] (II) config/udev: Adding input device HID 0b38:0010 (/dev/input/event0)
        [   546.802] (**) HID 0b38:0010: Applying InputClass "evdev keyboard catchall"
        [   546.802] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 33 paused 0
        [   546.802] (II) Using input driver 'evdev' for 'HID 0b38:0010'
        [   546.802] (**) HID 0b38:0010: always reports core events
        [   546.802] (**) evdev: HID 0b38:0010: Device: "/dev/input/event0"
        [   546.803] (--) evdev: HID 0b38:0010: Vendor 0xb38 Product 0x10
        [   546.803] (--) evdev: HID 0b38:0010: Found keys
        [   546.803] (II) evdev: HID 0b38:0010: Configuring as keyboard
        [   546.803] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.0/0003:0B38:0010.0001/input/input2/event0"
        [   546.803] (II) XINPUT: Adding extended input device "HID 0b38:0010" (type: KEYBOARD, id 11)
        [   546.803] (**) Option "xkb_rules" "evdev"
        [   546.804] (II) config/udev: Adding input device HID 0b38:0010 (/dev/input/event1)
        [   546.804] (**) HID 0b38:0010: Applying InputClass "evdev keyboard catchall"
        [   546.805] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 34 paused 0
        [   546.805] (II) Using input driver 'evdev' for 'HID 0b38:0010'
        [   546.805] (**) HID 0b38:0010: always reports core events
        [   546.805] (**) evdev: HID 0b38:0010: Device: "/dev/input/event1"
        [   546.805] (--) evdev: HID 0b38:0010: Vendor 0xb38 Product 0x10
        [   546.805] (--) evdev: HID 0b38:0010: Found 1 mouse buttons
        [   546.805] (--) evdev: HID 0b38:0010: Found scroll wheel(s)
        [   546.805] (--) evdev: HID 0b38:0010: Found relative axes
        [   546.805] (II) evdev: HID 0b38:0010: Forcing relative x/y axes to exist.
        [   546.805] (--) evdev: HID 0b38:0010: Found absolute axes
        [   546.805] (II) evdev: HID 0b38:0010: Forcing absolute x/y axes to exist.
        [   546.805] (--) evdev: HID 0b38:0010: Found keys
        [   546.805] (II) evdev: HID 0b38:0010: Configuring as mouse
        [   546.805] (II) evdev: HID 0b38:0010: Configuring as keyboard
        [   546.805] (II) evdev: HID 0b38:0010: Adding scrollwheel support
        [   546.805] (**) evdev: HID 0b38:0010: YAxisMapping: buttons 4 and 5
        [   546.805] (**) evdev: HID 0b38:0010: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
        [   546.805] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.1/0003:0B38:0010.0002/input/input3/event1"
        [   546.805] (II) XINPUT: Adding extended input device "HID 0b38:0010" (type: KEYBOARD, id 12)
        [   546.805] (**) Option "xkb_rules" "evdev"
        [   546.805] (II) evdev: HID 0b38:0010: initialized for relative axes.
        [   546.805] (WW) evdev: HID 0b38:0010: ignoring absolute axes.
        [   546.805] (**) HID 0b38:0010: (accel) keeping acceleration scheme 1
        [   546.805] (**) HID 0b38:0010: (accel) acceleration profile 0
        [   546.805] (**) HID 0b38:0010: (accel) acceleration factor: 2.000
        [   546.805] (**) HID 0b38:0010: (accel) acceleration threshold: 4
        [   546.806] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
        [   546.806] (II) No input driver specified, ignoring this device.
        [   546.806] (II) This device may have been added with another device file.
        [   547.987] (II) NVIDIA(GPU-0): Display (HP vs17 (CRT-0)) does not support NVIDIA 3D Vision
        [   547.987] (II) NVIDIA(GPU-0):     stereo.
        [   547.987] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
        [   547.987] (**) NVIDIA(0):     device HP vs17 (CRT-0) (Using EDID frequencies has been
        [   547.987] (**) NVIDIA(0):     enabled on all display devices.)
        [   547.988] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-1
        [   547.988] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
        [   547.988] (**) NVIDIA(0):     device CRT-1 (Using EDID frequencies has been enabled on
        [   547.988] (**) NVIDIA(0):     all display devices.)
        [   548.288] (II) NVIDIA(GPU-0): Display (HP vs17 (CRT-0)) does not support NVIDIA 3D Vision
        [   548.288] (II) NVIDIA(GPU-0):     stereo.
        [   548.288] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
        [   548.288] (**) NVIDIA(0):     device HP vs17 (CRT-0) (Using EDID frequencies has been
        [   548.288] (**) NVIDIA(0):     enabled on all display devices.)
        [   548.289] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-1
        [   548.289] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
        [   548.289] (**) NVIDIA(0):     device CRT-1 (Using EDID frequencies has been enabled on
        [   548.289] (**) NVIDIA(0):     all display devices.)
        [   552.598] (II) NVIDIA(GPU-0): Display (HP vs17 (CRT-0)) does not support NVIDIA 3D Vision
        [   552.598] (II) NVIDIA(GPU-0):     stereo.
        [   552.598] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
        [   552.598] (**) NVIDIA(0):     device HP vs17 (CRT-0) (Using EDID frequencies has been
        [   552.598] (**) NVIDIA(0):     enabled on all display devices.)
        [   552.600] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-1
        [   552.600] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
        [   552.600] (**) NVIDIA(0):     device CRT-1 (Using EDID frequencies has been enabled on
        [   552.600] (**) NVIDIA(0):     all display devices.)
    

    here is my video card
   

    $ lshw -C display
          *-display
               description: VGA compatible controller
               product: NV41 [GeForce 6800]
               vendor: NVIDIA Corporation
               physical id: 0
               bus info: pci@0000:01:00.0
               version: a2
               width: 64 bits
               clock: 33MHz
               capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
               configuration: driver=nvidia latency=0
               resources: irq:16 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f5000000-f5ffffff memory:c0000-dffff
    

    so my installed driver +associated libs is
   

    $ pacman -Qs nvidia
        local/lib32-nvidia-304xx-libgl 304.131-1
            NVIDIA drivers libraries symlinks (32-bit)
        local/lib32-nvidia-304xx-utils 304.131-1
            NVIDIA drivers utilities (32-bit)
        local/libvdpau 1.1.1-2
            Nvidia VDPAU library
        local/nvidia-304xx 304.131-15
            NVIDIA drivers for linux, 304xx legacy branch
        local/nvidia-304xx-libgl 304.131-1
            NVIDIA drivers libraries symlinks, 304xx legacy branch
        local/nvidia-304xx-lts 304.131-9
            NVIDIA drivers for linux-lts, 304xx legacy branch
        local/nvidia-304xx-utils 304.131-1
            NVIDIA drivers utilities and libraries, 304xx legacy branch
        local/xf86-video-nouveau 1.0.12-2 (xorg-drivers xorg)
            Open Source 2D acceleration driver for nVidia cards
    

    also here is my cpu & window manager
   

    $ lshw -C cpu
          *-cpu
               description: CPU
               product: Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz
               vendor: Intel Corp.
               physical id: 4
               bus info: cpu@0
               version: Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz
               serial: To Be Filled By O.E.M.
               slot: LGA1156
               size: 2400MHz
               capacity: 3800MHz
               width: 64 bits
               clock: 133MHz
               capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm tpr_shadow vnmi flexpriority ept vpid dtherm ida cpufreq
               configuration: cores=4 enabledcores=4 threads=8
    $ pacman -Q awesome
        awesome 3.5.9-1
    

   
    I recall that other people have had problems with this graphics driver prior to months ago.
    take a look at this page: https://bugs.archlinux.org/task/47092
    It was an issue w/ new kernel sometime around this january, I had to use archlinux-lts for
    a while before they eventually fixed it.

    edit: btw I tried booting into archlinux-lts to see if that would work but it didn't change anything.
   
    I don't know if it has anything to do w/ my using two monitors. In the past I haven't had this problem
    & I was still using 2 back then.

    I have a feeling this has something to do with nvidia-304xx, considering the bugs from january.
    Or maybe it's Xinerama & somehow I'm still using it even though it "seems" to be disabled ?
    But I'm posting here in case I've missed something more simple
    like maybe I only need to add something to xorg.conf to fix my problem.
   
    If you can't help me I still want to thank you at least for viewing this post, thank you, cheers & Godspeed !

Last edited by NeoZelux (2016-08-19 16:27:37)

Offline

Board footer

Powered by FluxBB