Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-25-2017, 06:14 PM
|
#1
|
Member
Registered: Jul 2011
Location: Harrisburg, PA
Posts: 127
Rep: 
|
Debian - after changes x works for root but not for user (nvidia, i3)
After making system changes, my desktop x-windows immediately hangs when loading as a regular user, but works (mostly) if I invoke it as root. Everything else seems to work, though there are several errors in dmesg regarding the video setup. The changes I made include: getting rid of systemd, then upgrade then dist-upgrade. I did the same changes on a laptop with no problems.
I'm using a dual monitor system with the NVIDIA Corporation GM107 [GeForce GTX 750 Ti].
I'm using Debian with the i3wm (the i3 window manager). I have always had this machine set to boot to the command line and invoke the gui with "startx". I do not use any Xorg.conf file anywhere, though I can't say why, there just isn't any on the system. I don't understand how these various pieces work together! So I could use some advice on how to proceed in analyzing this problem.
I've tried to make the root account and the user account the same by renaming the user specific files (.Xsession, and i3 config stuff).
So what files are making the gui hang when my regular user account tries to load it but allows my root account to run it?
nvidia-settings won't run, gives errors:
Code:
root@ada:~# nvidia-settings
X11 connection rejected because of wrong authentication.
Unable to init server: Could not connect: Connection refused
ERROR: The control display is undefined; please run `nvidia-settings --help` for
usage information.
Here are some sections from dmesg:
Code:
64655-[ 61.680383] NVRM: Your system is not currently configured to drive a VGA console
64739:[ 61.768912] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
64820-[ 61.847874] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
64886-[ 61.924083] NVRM: requires the use of a text-mode VGA console. Use of other console
64973-[ 62.015705] NVRM: drivers including, but not limited to, vesafb, may result in
65055-[ 62.102120] NVRM: corruption and stability problems, and is not supported.
65133:[ 62.187212] nvidia-modeset: Allocated GPU:0 (GPU-643266a5-5e0d-7f62-3c74-c541024686f9) @ PCI:0000:01:00.0
For testing, I rm'd the /var/log/Xorg.0.log. Then when logging on as my regular user account and invoking startx (which immediately hangs) I see that a new /var/log/Xorg.o.log file was not created.
I then exit, and re-login as root and invoke startx. Here is the /var/log/Xorg.0.log that is then created:
Code:
root@ada:~# cat /var/log/Xorg.0.log
[ 94632.165]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[ 94632.165] X Protocol Version 11, Revision 0
[ 94632.166] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[ 94632.167] Current Operating System: Linux ada 4.9.0-2-amd64 #1 SMP Debian 4.9.13-1 (2017-02-27) x86_64
[ 94632.167] Kernel command line: BOOT_IMAGE=/vmlinuz-4.9.0-2-amd64 root=UUID=a4ee2002-944a-4073-984e-65e0a01a7d43 ro init=/lib/sysvinit/init console=hvc0 console=ttyS0
[ 94632.169] Build Date: 03 March 2017 03:14:41PM
[ 94632.169] xorg-server 2:1.19.2-1 (https://www.debian.org/support)
[ 94632.170] Current version of pixman: 0.34.0
[ 94632.171] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 94632.171] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 94632.173] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 25 18:42:49 2017
[ 94632.174] (==) Using config file: "/etc/X11/xorg.conf"
[ 94632.175] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 94632.175] (==) ServerLayout "X.org Configured"
[ 94632.175] (**) |-->Screen "Screen0" (0)
[ 94632.175] (**) | |-->Monitor "Monitor0"
[ 94632.175] (**) | |-->Device "Device0"
[ 94632.175] (**) | |-->GPUDevice "Device0"
[ 94632.175] (**) |-->Input Device "Mouse0"
[ 94632.175] (**) |-->Input Device "Keyboard0"
[ 94632.175] (**) Option "Xinerama" "0"
[ 94632.175] (==) Automatically adding devices
[ 94632.175] (==) Automatically enabling devices
[ 94632.175] (==) Automatically adding GPU devices
[ 94632.175] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (**) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins,
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 94632.175] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 94632.175] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 94632.175] (WW) Disabling Mouse0
[ 94632.175] (WW) Disabling Keyboard0
[ 94632.175] (II) Loader magic: 0x55c4faaeae00
[ 94632.175] (II) Module ABI versions:
[ 94632.175] X.Org ANSI C Emulation: 0.4
[ 94632.175] X.Org Video Driver: 23.0
[ 94632.175] X.Org XInput driver : 24.1
[ 94632.175] X.Org Server Extension : 10.0
[ 94632.176] (++) using VT number 1
[ 94632.177] (EE) systemd-logind: failed to get session: The name org.freedesktop.login1 was not provided by any .service files
[ 94632.177] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 94632.179] (--) PCI:*(0:1:0:0) 10de:1380:ffff:ffff rev 162, Mem @ 0xee000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[ 94632.179] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 94632.179] (II) LoadModule: "glx"
[ 94632.179] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[ 94632.183] (II) Module glx: vendor="NVIDIA Corporation"
[ 94632.183] compiled for 4.0.2, module version = 1.0.0
[ 94632.183] Module class: X.Org Server Extension
[ 94632.183] (II) NVIDIA GLX Module 375.39 Tue Jan 31 19:37:12 PST 2017
[ 94632.183] (II) LoadModule: "nvidia"
[ 94632.183] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 94632.183] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 94632.183] compiled for 4.0.2, module version = 1.0.0
[ 94632.183] Module class: X.Org Video Driver
[ 94632.183] (II) NVIDIA dlloader X Driver 375.39 Tue Jan 31 19:13:22 PST 2017
[ 94632.183] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 94632.183] (II) Loading sub module "fb"
[ 94632.183] (II) LoadModule: "fb"
[ 94632.184] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 94632.184] (II) Module fb: vendor="X.Org Foundation"
[ 94632.184] compiled for 1.19.2, module version = 1.0.0
[ 94632.184] ABI class: X.Org ANSI C Emulation, version 0.4
[ 94632.184] (II) Loading sub module "wfb"
[ 94632.184] (II) LoadModule: "wfb"
[ 94632.184] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 94632.184] (II) Module wfb: vendor="X.Org Foundation"
[ 94632.184] compiled for 1.19.2, module version = 1.0.0
[ 94632.184] ABI class: X.Org ANSI C Emulation, version 0.4
[ 94632.184] (II) Loading sub module "ramdac"
[ 94632.184] (II) LoadModule: "ramdac"
[ 94632.184] (II) Module "ramdac" already built-in
[ 94632.185] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 94632.185] (==) NVIDIA(0): RGB weight 888
[ 94632.185] (==) NVIDIA(0): Default visual is TrueColor
[ 94632.185] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 94632.185] (**) NVIDIA(0): Option "Stereo" "0"
[ 94632.185] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "DFP-0"
[ 94632.185] (**) NVIDIA(0): Option "SLI" "Off"
[ 94632.185] (**) NVIDIA(0): Option "MultiGPU" "Off"
[ 94632.185] (**) NVIDIA(0): Option "BaseMosaic" "off"
[ 94632.185] (**) NVIDIA(0): Stereo disabled by request
[ 94632.185] (**) NVIDIA(0): NVIDIA SLI disabled.
[ 94632.185] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[ 94632.185] (**) NVIDIA(0): Option "MetaModes" "DVI-I-1: nvidia-auto-select +1280+0, HDMI-0: nvidia-auto-select +0+0"
[ 94632.185] (**) NVIDIA(0): Enabling 2D acceleration
[ 94632.748] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[ 94632.748] (--) NVIDIA(0): CRT-0
[ 94632.748] (--) NVIDIA(0): DFP-0 (boot)
[ 94632.748] (--) NVIDIA(0): DFP-1 (boot)
[ 94632.748] (--) NVIDIA(0): DFP-2
[ 94632.748] (--) NVIDIA(0): DFP-3
[ 94632.750] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 750 Ti (GM107-A) at PCI:1:0:0 (GPU-0)
[ 94632.750] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 94632.750] (--) NVIDIA(0): VideoBIOS: 82.07.55.00.34
[ 94632.750] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 94632.757] (--) NVIDIA(GPU-0): CRT-0: disconnected
[ 94632.757] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[ 94632.757] (--) NVIDIA(GPU-0):
[ 94632.770] (--) NVIDIA(GPU-0): NEC LCD1990SXp (DFP-0): connected
[ 94632.770] (--) NVIDIA(GPU-0): NEC LCD1990SXp (DFP-0): Internal TMDS
[ 94632.770] (--) NVIDIA(GPU-0): NEC LCD1990SXp (DFP-0): 330.0 MHz maximum pixel clock
[ 94632.770] (--) NVIDIA(GPU-0):
[ 94632.777] (--) NVIDIA(GPU-0): Acer AL1916 (DFP-1): connected
[ 94632.777] (--) NVIDIA(GPU-0): Acer AL1916 (DFP-1): Internal TMDS
[ 94632.777] (--) NVIDIA(GPU-0): Acer AL1916 (DFP-1): 165.0 MHz maximum pixel clock
[ 94632.777] (--) NVIDIA(GPU-0):
[ 94632.777] (--) NVIDIA(GPU-0): DFP-2: disconnected
[ 94632.777] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[ 94632.777] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[ 94632.777] (--) NVIDIA(GPU-0):
[ 94632.777] (--) NVIDIA(GPU-0): DFP-3: disconnected
[ 94632.777] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[ 94632.777] (--) NVIDIA(GPU-0): DFP-3: 960.0 MHz maximum pixel clock
[ 94632.777] (--) NVIDIA(GPU-0):
[ 94632.782] (II) NVIDIA(0): Validated MetaModes:
[ 94632.782] (II) NVIDIA(0):
[ 94632.782] (II) NVIDIA(0): "DVI-I-1:nvidia-auto-select+1280+0,HDMI-0:nvidia-auto-select+0+0"
[ 94632.782] (II) NVIDIA(0): Virtual screen size determined to be 2560 x 1024
[ 94632.788] (--) NVIDIA(0): DPI set to (85, 86); computed from "UseEdidDpi" X config
[ 94632.788] (--) NVIDIA(0): option
[ 94632.788] (--) Depth 24 pixmap format is 32 bpp
[ 94632.789] (II) NVIDIA: Using 12288.00 MB of virtual memory for indirect memory
[ 94632.789] (II) NVIDIA: access.
[ 94632.832] (II) NVIDIA(0): Setting mode "DVI-I-1:nvidia-auto-select+1280+0,HDMI-0:nvidia-auto-select+0+0"
[ 94632.885] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 94632.885] (==) NVIDIA(0): Backing store enabled
[ 94632.885] (==) NVIDIA(0): Silken mouse enabled
[ 94632.885] (==) NVIDIA(0): DPMS enabled
[ 94632.885] (II) Loading sub module "dri2"
[ 94632.885] (II) LoadModule: "dri2"
[ 94632.885] (II) Module "dri2" already built-in
[ 94632.885] (II) NVIDIA(0): [DRI2] Setup complete
[ 94632.885] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 94632.885] (--) RandR disabled
[ 94632.887] (II) SELinux: Disabled on system
[ 94632.888] (II) Initializing extension GLX
[ 94632.888] (II) Indirect GLX disabled.
[ 94632.923] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 94632.923] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 94632.923] (II) LoadModule: "evdev"
[ 94632.923] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 94632.923] (II) Module evdev: vendor="X.Org Foundation"
[ 94632.923] compiled for 1.19.1, module version = 2.10.5
[ 94632.923] Module class: X.Org XInput Driver
[ 94632.923] ABI class: X.Org XInput driver, version 24.1
[ 94632.923] (II) Using input driver 'evdev' for 'Power Button'
[ 94632.923] (**) Power Button: always reports core events
[ 94632.923] (**) evdev: Power Button: Device: "/dev/input/event3"
[ 94632.923] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 94632.923] (--) evdev: Power Button: Found keys
[ 94632.923] (II) evdev: Power Button: Configuring as keyboard
[ 94632.923] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5/event3"
[ 94632.923] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 94632.923] (**) Option "xkb_rules" "evdev"
[ 94632.923] (**) Option "xkb_model" "pc105"
[ 94632.923] (**) Option "xkb_layout" "us"
[ 94632.923] (**) Option "xkb_variant" "altgr-intl"
[ 94632.923] (**) Option "xkb_options" "lv3:ralt_switch,terminate:ctrl_alt_bksp"
[ 94632.937] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 94632.937] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 94632.937] (II) Using input driver 'evdev' for 'Power Button'
[ 94632.937] (**) Power Button: always reports core events
[ 94632.937] (**) evdev: Power Button: Device: "/dev/input/event2"
[ 94632.937] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 94632.937] (--) evdev: Power Button: Found keys
[ 94632.937] (II) evdev: Power Button: Configuring as keyboard
[ 94632.937] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input4/event2"
[ 94632.937] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[ 94632.937] (**) Option "xkb_rules" "evdev"
[ 94632.937] (**) Option "xkb_model" "pc105"
[ 94632.937] (**) Option "xkb_layout" "us"
[ 94632.937] (**) Option "xkb_variant" "altgr-intl"
[ 94632.937] (**) Option "xkb_options" "lv3:ralt_switch,terminate:ctrl_alt_bksp"
[ 94632.937] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event7)
[ 94632.937] (II) No input driver specified, ignoring this device.
[ 94632.937] (II) This device may have been added with another device file.
[ 94632.937] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event8)
[ 94632.937] (II) No input driver specified, ignoring this device.
[ 94632.937] (II) This device may have been added with another device file.
[ 94632.937] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event6)
[ 94632.937] (II) No input driver specified, ignoring this device.
[ 94632.937] (II) This device may have been added with another device file.
[ 94632.938] (II) config/udev: Adding input device HD Pro Webcam C920 (/dev/input/event5)
[ 94632.938] (**) HD Pro Webcam C920: Applying InputClass "evdev keyboard catchall"
[ 94632.938] (II) Using input driver 'evdev' for 'HD Pro Webcam C920'
[ 94632.938] (**) HD Pro Webcam C920: always reports core events
[ 94632.938] (**) evdev: HD Pro Webcam C920: Device: "/dev/input/event5"
[ 94632.938] (--) evdev: HD Pro Webcam C920: Vendor 0x46d Product 0x82d
[ 94632.938] (--) evdev: HD Pro Webcam C920: Found keys
[ 94632.938] (II) evdev: HD Pro Webcam C920: Configuring as keyboard
[ 94632.938] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input8/event5"
[ 94632.938] (II) XINPUT: Adding extended input device "HD Pro Webcam C920" (type: KEYBOARD, id 8)
[ 94632.938] (**) Option "xkb_rules" "evdev"
[ 94632.938] (**) Option "xkb_model" "pc105"
[ 94632.938] (**) Option "xkb_layout" "us"
[ 94632.938] (**) Option "xkb_variant" "altgr-intl"
[ 94632.938] (**) Option "xkb_options" "lv3:ralt_switch,terminate:ctrl_alt_bksp"
[ 94632.938] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event0)
[ 94632.938] (**) Logitech USB Receiver: Applying InputClass "evdev keyboard catchall"
[ 94632.938] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[ 94632.938] (**) Logitech USB Receiver: always reports core events
[ 94632.938] (**) evdev: Logitech USB Receiver: Device: "/dev/input/event0"
[ 94632.938] (--) evdev: Logitech USB Receiver: Vendor 0x46d Product 0xc517
[ 94632.938] (--) evdev: Logitech USB Receiver: Found keys
[ 94632.938] (II) evdev: Logitech USB Receiver: Configuring as keyboard
[ 94632.938] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:046D:C517.0001/input/input2/event0"
[ 94632.938] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 9)
[ 94632.938] (**) Option "xkb_rules" "evdev"
[ 94632.938] (**) Option "xkb_model" "pc105"
[ 94632.938] (**) Option "xkb_layout" "us"
[ 94632.938] (**) Option "xkb_variant" "altgr-intl"
[ 94632.938] (**) Option "xkb_options" "lv3:ralt_switch,terminate:ctrl_alt_bksp"
[ 94632.939] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event1)
[ 94632.939] (**) Logitech USB Receiver: Applying InputClass "evdev pointer catchall"
[ 94632.939] (**) Logitech USB Receiver: Applying InputClass "evdev keyboard catchall"
[ 94632.939] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[ 94632.939] (**) Logitech USB Receiver: always reports core events
[ 94632.939] (**) evdev: Logitech USB Receiver: Device: "/dev/input/event1"
[ 94632.939] (--) evdev: Logitech USB Receiver: Vendor 0x46d Product 0xc517
[ 94632.939] (--) evdev: Logitech USB Receiver: Found 12 mouse buttons
[ 94632.939] (--) evdev: Logitech USB Receiver: Found scroll wheel(s)
[ 94632.939] (--) evdev: Logitech USB Receiver: Found relative axes
[ 94632.939] (--) evdev: Logitech USB Receiver: Found x and y relative axes
[ 94632.939] (--) evdev: Logitech USB Receiver: Found absolute axes
[ 94632.939] (II) evdev: Logitech USB Receiver: Forcing absolute x/y axes to exist.
[ 94632.939] (--) evdev: Logitech USB Receiver: Found keys
[ 94632.939] (II) evdev: Logitech USB Receiver: Configuring as mouse
[ 94632.939] (II) evdev: Logitech USB Receiver: Configuring as keyboard
[ 94632.939] (II) evdev: Logitech USB Receiver: Adding scrollwheel support
[ 94632.939] (**) evdev: Logitech USB Receiver: YAxisMapping: buttons 4 and 5
[ 94632.939] (**) evdev: Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 94632.939] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:046D:C517.0002/input/input3/event1"
[ 94632.939] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 10)
[ 94632.939] (**) Option "xkb_rules" "evdev"
[ 94632.939] (**) Option "xkb_model" "pc105"
[ 94632.939] (**) Option "xkb_layout" "us"
[ 94632.939] (**) Option "xkb_variant" "altgr-intl"
[ 94632.939] (**) Option "xkb_options" "lv3:ralt_switch,terminate:ctrl_alt_bksp"
[ 94632.939] (II) evdev: Logitech USB Receiver: initialized for relative axes.
[ 94632.939] (WW) evdev: Logitech USB Receiver: ignoring absolute axes.
[ 94632.939] (**) Logitech USB Receiver: (accel) keeping acceleration scheme 1
[ 94632.939] (**) Logitech USB Receiver: (accel) acceleration profile 0
[ 94632.939] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
[ 94632.939] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
[ 94632.939] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/mouse0)
[ 94632.939] (II) No input driver specified, ignoring this device.
[ 94632.939] (II) This device may have been added with another device file.
[ 94632.939] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event9)
[ 94632.939] (II) No input driver specified, ignoring this device.
[ 94632.939] (II) This device may have been added with another device file.
[ 94632.940] (II) config/udev: Adding input device HDA Intel PCH Front Mic (/dev/input/event10)
[ 94632.940] (II) No input driver specified, ignoring this device.
[ 94632.940] (II) This device may have been added with another device file.
[ 94632.940] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event11)
[ 94632.940] (II) No input driver specified, ignoring this device.
[ 94632.940] (II) This device may have been added with another device file.
[ 94632.940] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event12)
[ 94632.940] (II) No input driver specified, ignoring this device.
[ 94632.940] (II) This device may have been added with another device file.
[ 94632.940] (II) config/udev: Adding input device HDA Intel PCH Line Out Front (/dev/input/event13)
[ 94632.940] (II) No input driver specified, ignoring this device.
[ 94632.940] (II) This device may have been added with another device file.
[ 94632.940] (II) config/udev: Adding input device HDA Intel PCH Line Out Surround (/dev/input/event14)
[ 94632.940] (II) No input driver specified, ignoring this device.
[ 94632.940] (II) This device may have been added with another device file.
[ 94632.940] (II) config/udev: Adding input device HDA Intel PCH Line Out CLFE (/dev/input/event15)
[ 94632.940] (II) No input driver specified, ignoring this device.
[ 94632.940] (II) This device may have been added with another device file.
[ 94632.940] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event16)
[ 94632.940] (II) No input driver specified, ignoring this device.
[ 94632.940] (II) This device may have been added with another device file.
[ 94632.940] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
[ 94632.940] (II) No input driver specified, ignoring this device.
[ 94632.940] (II) This device may have been added with another device file.
Here are other system configuration snippets:
Code:
root@ada:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.0 (stretch)
Release: 9.0
Codename: stretch
Code:
root@ada:~# lspci -vnn | grep -i VGA
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] [10de:1380] (rev a2) (prog-if 00 [VGA controller])
root@ada:~# lshw -C display
*-display
description: VGA compatible controller
product: GM107 [GeForce GTX 750 Ti]
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:ee000000-eeffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:c0000-dffff
Code:
root@ada:~# lspci -k|grep -iEA5 'vga|3d'
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)
Kernel driver in use: nvidia
Kernel modules: nvidia
01:00.1 Audio device: NVIDIA Corporation Device 0fbc (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 84dd
Kernel driver in use: snd_hda_intel
Code:
keith@ada:~$ uname -a
Linux ada 4.9.0-2-amd64 #1 SMP Debian 4.9.13-1 (2017-02-27) x86_64 GNU/Linux
Code:
when x hangs under user:
keith@ada:~$ ps aux |grep x
root 246 0.0 0.0 0 0 ? S< Mar24 0:00 [ext4-rsv-conver]
root 1131 0.0 0.0 0 0 ? S< Mar24 0:00 [ext4-rsv-conver]
root 1145 0.0 0.0 0 0 ? S< Mar24 0:00 [ext4-rsv-conver]
root 1155 0.0 0.0 0 0 ? S< Mar24 0:00 [ext4-rsv-conver]
root 1496 0.0 0.0 0 0 ? S< Mar24 0:00 [xprtiod]
keith 2264 0.0 0.0 4288 1484 tty1 S+ 18:07 0:00 /bin/sh /usr/bin/startx
keith 2286 0.0 0.0 22312 1120 tty1 S+ 18:07 0:00 xinit /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -keeptty -auth /tmp/serverauth.23OzRbhqZU
keith 2287 5.6 0.2 240124 46300 tty1 Sl 18:07 0:02 /usr/lib/xorg/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.23OzRbhqZU
keith 2295 0.0 0.0 58464 2508 tty1 S 18:07 0:00 /usr/bin/ck-launch-session /usr/bin/im-launch x-window-manager
keith 2345 0.0 0.0 47992 408 tty1 S 18:07 0:00 /usr/bin/dbus-launch --exit-with-session --sh-syntax
keith 2371 0.0 0.0 11084 332 ? Ss 18:07 0:00 /usr/bin/ssh-agent /usr/bin/ck-launch-session /usr/bin/im-launch x-window-manager
keith 2380 0.0 0.0 125020 11204 tty1 S 18:07 0:00 x-window-manager
keith 2412 0.0 0.0 4288 780 ? S 18:07 0:00 /bin/sh -c i3bar --bar_id=bar-0 --socket="/tmp/i3-keith.M7xDS1/ipc-socket.2380"
keith 2414 0.0 0.0 106156 9464 ? S 18:07 0:00 i3bar --bar_id=bar-0 --socket=/tmp/i3-keith.M7xDS1/ipc-socket.2380
keith 2418 0.0 0.0 14688 1700 tty1 S 18:07 0:00 /usr/lib/x86_64-linux-gnu/uim/uim-helper-server
keith 2489 0.0 0.0 38300 3336 pts/0 R+ 18:07 0:00 ps aux
keith 2490 0.0 0.0 12784 972 pts/0 S+ 18:07 0:00 grep x
|
|
|
03-26-2017, 10:54 AM
|
#2
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
Check if your user is in video group, add if necessary. User needs access to /dev/dri/card0.
|
|
|
03-26-2017, 12:43 PM
|
#3
|
Member
Registered: Jul 2011
Location: Harrisburg, PA
Posts: 127
Original Poster
Rep: 
|
Quote:
Originally Posted by Emerson
Check if your user is in video group, add if necessary. User needs access to /dev/dri/card0.
|
Thanks for the suggestion Emerson.
My user account was a member of video group.
The /dev/dri/card0 was not readable for world, so I chmod 777 but it made no difference. It is now:
Code:
keith@ada:~$ ls -ahl /dev/dri/card0
crwxrw-rwx+ 1 root video 226, 0 Mar 24 16:26 /dev/dri/card0
This is my personal home desktop which no one else uses, ever.
|
|
|
03-26-2017, 06:02 PM
|
#4
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
root:video seems about right. With the user in the video group. Remember to log in again to change the groups if that was a change. You might check $HOME/.Xauthority, if it is owned:grouped by someone other than the owner of $HOME, that could be an issue. Deleting it before starting X should help in that case. Depending on distro anyway, but that's a typical usage for .deb based ones.
Not that you should, but the user who started X can:
$ xhost local:
And any user should have access to X. Not that one should do that when starting X as root. Note that you might have to manually set $DISPLAY to use X as the user who didn't start X. Plus various don't do that as root scenarios. In the days of OLD you also needed a "SECTION "DRI"" in the xorg.conf with group and mode settings. But most distros are good about having that as a default these days.
|
|
|
03-26-2017, 06:38 PM
|
#5
|
Member
Registered: Jul 2011
Location: Harrisburg, PA
Posts: 127
Original Poster
Rep: 
|
Hi Shadow 7-
Thanks, I removed all restrictions from my user .Xauthority, and that made no change, so I tried simply deleting it and that mad eno change either.
As a user, when I host local: I get this:
Code:
keith@ada:~$ xhost local:
xhost unable to open display ""
I then tried:
and it returned nothing.. a blank line. Actually, both my user account and the root user got those same results.
Yes, I had exited and re-logged in to make sure the groups were set.
Here's more detail:
Code:
keith@ada:~$ sudo dpkg -l nvidia* | grep ii
ii nvidia-alternative 375.39-1 amd64 allows the selection of NVIDIA as GLX provider
ii nvidia-driver 375.39-1 amd64 NVIDIA metapackage
ii nvidia-driver-bin 375.39-1 amd64 NVIDIA driver support binaries
ii nvidia-driver-libs:amd64 375.39-1 amd64 NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
ii nvidia-driver-libs:i386 375.39-1 i386 NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
ii nvidia-driver-libs-i386:i386 375.39-1 i386 NVIDIA metapackage (OpenGL/GLX/EGL/GLES 32-bit libraries)
ii nvidia-egl-common 375.39-1 amd64 NVIDIA binary EGL driver - common files
ii nvidia-egl-icd:amd64 375.39-1 amd64 NVIDIA EGL installable client driver (ICD)
ii nvidia-egl-icd:i386 375.39-1 i386 NVIDIA EGL installable client driver (ICD)
ii nvidia-installer-cleanup:i386 20151021+4 i386 cleanup after driver installation with the nvidia-installer
ii nvidia-kernel-common 20151021+4 amd64 NVIDIA binary kernel module support files
ii nvidia-kernel-dkms 375.39-1 amd64 NVIDIA binary kernel module DKMS source
ii nvidia-kernel-support 375.39-1 amd64 NVIDIA binary kernel module support files
ii nvidia-legacy-check:i386 375.39-1 i386 check for NVIDIA GPUs requiring a legacy driver
ii nvidia-modprobe 375.26-1 amd64 utility to load NVIDIA kernel modules and create device nodes
ii nvidia-persistenced 375.26-2 amd64 daemon to maintain persistent software state in the NVIDIA driver
ii nvidia-settings 375.26-3 amd64 tool for configuring the NVIDIA graphics driver
ii nvidia-support 20151021+4 amd64 NVIDIA binary graphics driver support files
ii nvidia-vdpau-driver:amd64 375.39-1 amd64 Video Decode and Presentation API for Unix - NVIDIA driver
ii nvidia-vulkan-common 375.39-1 amd64 NVIDIA Vulkan driver - common files
ii nvidia-vulkan-icd:amd64 375.39-1 amd64 NVIDIA Vulkan installable client driver (ICD)
ii nvidia-vulkan-icd:i386 375.39-1 i386 NVIDIA Vulkan installable client driver (ICD)
ii nvidia-xconfig 375.26-1 amd64 deprecated X configuration tool for non-free NVIDIA drivers
and my /etc/X11/xorg.conf file:
Code:
keith@ada:~$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 375.26 (buildd@debian) Fri Jan 13 02:38:29 UTC 2017
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 340.93 (buildd@debian)
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "0"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "built-ins"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "NEC LCD1990SXp"
HorizSync 31.0 - 82.0
VertRefresh 48.0 - 85.0
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "Accel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "ColorTiling" # [<bool>]
#Option "ColorTiling2D" # [<bool>]
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "AccelMethod" # <str>
#Option "EXAVSync" # [<bool>]
#Option "EXAPixmaps" # [<bool>]
#Option "ZaphodHeads" # <str>
#Option "EnablePageFlip" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
Identifier "Card0"
Driver "nvidia"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 750 Ti"
EndSection
Section "Screen"
# Removed Option "metamodes" "GPU-643266a5-5e0d-7f62-3c74-c541024686f9.DVI-I-1: nvidia-auto-select +0+0, GPU-643266a5-5e0d-7f62-3c74-c541024686f9.HDMI-0: nvidia-auto-select +1280+0"
# Removed Option "SLI" "off"
# Removed Option "BaseMosaic" "on"
# Removed Option "nvidiaXineramaInfoOrder" "DFP-0"
# Removed Option "nvidiaXineramaInfoOrder" "DFP-1"
# Removed Option "metamodes" "DVI-I-1: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +1280+0"
# Removed Option "SLI" "Off"
# Removed Option "BaseMosaic" "off"
# Removed Option "nvidiaXineramaInfoOrder" "DFP-0"
# Removed Option "metamodes" "GPU-643266a5-5e0d-7f62-3c74-c541024686f9.DVI-I-1: nvidia-auto-select +0+0, GPU-643266a5-5e0d-7f62-3c74-c541024686f9.HDMI-0: nvidia-auto-select +1280+0"
# Removed Option "SLI" "off"
# Removed Option "BaseMosaic" "on"
# Removed Option "nvidiaXineramaInfoOrder" "DFP-1"
# Removed Option "metamodes" "DVI-I-1: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +1280+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "metamodes" "DVI-I-1: nvidia-auto-select +1280+0, HDMI-0: nvidia-auto-select +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Which files do I need to delete/re-install in order to start from scratch?
Thanks for your help!
|
|
|
03-26-2017, 07:29 PM
|
#6
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
$ COLUMNS=300 ps faux | grep X
The X should be running and one of the parms something like :0
$ export DISPLAY=":0"
$ xvidtune -show
$ xcalc
If you're running something like debian you might want to tasksel and select desktop.
$ sudo tasksel
It is mighty odd that DISPLAY isn't set though, and you definitely have some things missing. For distros like ubuntu, you can get most of what is needed with:
$ sudo apt-get install ubuntu-desktop
|
|
|
03-26-2017, 09:11 PM
|
#7
|
Member
Registered: Jul 2011
Location: Harrisburg, PA
Posts: 127
Original Poster
Rep: 
|
Thanks, but no, I don't want a DE. My i3 window manager is fine. I just need to get the video fixed.
Code:
keith@ada:~$ export DISPLAY=":0"
keith@ada:~$ xvidtune -show
Error: Can't open display: :0
If you look back a few messages you will see I already show the output from ps aux | grep x showing what gets loaded.
So my question now is- how to get the video back to square one so I can reload whatever is needed?
Thanks
Last edited by keithostertag; 03-26-2017 at 09:13 PM.
|
|
|
03-26-2017, 09:38 PM
|
#8
|
Member
Registered: Jul 2011
Location: Harrisburg, PA
Posts: 127
Original Poster
Rep: 
|
Code:
keith@ada:~$ sudo dmesg|grep -i nvidia
[ 32.170079] nvidia: loading out-of-tree module taints kernel.
[ 32.170083] nvidia: module license 'NVIDIA' taints kernel.
[ 32.530231] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 35.925408] nvidia-nvlink: Nvlink Core is being initialized, major device number 244
[ 35.925421] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 375.39 Tue Jan 31 20:47:00 PST 2017
[ 41.081325] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input17
[ 41.081840] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input18
[ 41.082359] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input19
[ 45.479103] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 375.39 Tue Jan 31 19:41:48 PST 2017
[ 45.829679] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 62.540908] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
[ 62.889363] nvidia-modeset: Allocated GPU:0 (GPU-643266a5-5e0d-7f62-3c74-c541024686f9) @ PCI:0000:01:00.0
[ 93.093994] nvidia-modeset: Freed GPU:0 (GPU-643266a5-5e0d-7f62-3c74-c541024686f9) @ PCI:0000:01:00.0
[10750.252033] nvidia-modeset: Allocated GPU:0 (GPU-643266a5-5e0d-7f62-3c74-c541024686f9) @ PCI:0000:01:00.0
|
|
|
03-26-2017, 10:13 PM
|
#9
|
Member
Registered: Jul 2011
Location: Harrisburg, PA
Posts: 127
Original Poster
Rep: 
|
more error messages in dmesg:
Code:
[ 32.795116] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20160831/utaddress-247)
[ 32.795117] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 32.795122] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20160831/utaddress-247)
[ 32.795123] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 32.795125] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20160831/utaddress-247)
[ 32.795126] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 32.795128] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20160831/utaddress-247)
[ 32.795131] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x000000000000050F-0x000000000000050F (\_SB.PCI0.RLED.DBG0) (20160831/utaddress-247)
[ 32.795131] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 38.373649] clocksource: 'acpi_pm' wd_now: 7a81d7 wd_last: a7f49c mask: ffffff
[ 38.507014] clocksource: Switched to clocksource acpi_pm
|
|
|
03-29-2017, 08:02 PM
|
#10
|
Member
Registered: Jul 2011
Location: Harrisburg, PA
Posts: 127
Original Poster
Rep: 
|
After more than a week trying to figure this out, I finally just put systemd back in... and now everything is working.
This is very strange... I had no problem eliminating systemd on my laptop, but then my laptop doesn't use nvidia drivers! So... what? evidently the Debian nvidia-driver package has some kind of hooks that require systemd? Very aggravating!!!
|
|
|
All times are GMT -5. The time now is 01:30 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|