You are not logged in.
Pages: 1
Hi all,
I have installed proprietary nvidia driver just after installation of arch but I could not configure X to use it.
When there is no xorg.conf file X just works fine, but if I created it with nvidia-xconfig or manually add a conf file xorg.conf which includes Driver "nvidia" as described in NVIDIA Optimus page, X does not want to start.
I added additional information and logs below.
Any help? Thanks.
$ uname -a
Linux latitude 4.9.31-1-lts #1 SMP Wed Jun 7 17:18:30 CEST 2017 x86_64 GNU/Linux
$ pacman -Qs nvidia
local/lib32-nvidia-utils 381.22-1
NVIDIA drivers utilities (32-bit)
local/libvdpau 1.1.1-2
Nvidia VDPAU library
local/libxnvctrl 381.22-1
NVIDIA NV-CONTROL X extension
local/nvidia 381.22-3
NVIDIA drivers for linux
local/nvidia-settings 381.22-1
Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 381.22-1
NVIDIA drivers utilities
$ lspci | grep -E "VGA|3D"
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
04:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 830M] (rev a2)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09) (prog-if 00 [VGA controller])
Subsystem: Dell Device 0632
Flags: bus master, fast devsel, latency 0, IRQ 50
Memory at f5000000 (64-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915
04:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 830M] (rev a2)
Subsystem: Dell Device 0632
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=32M]
I/O ports at d000 [size=128]
Expansion ROM at f7000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel modules: nouveau
$ cat .xinitrc
#!/bin/sh
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
numlockx &
exec i3
# Manually Added Configuration /etc/X11/xorg.conf
Section "Module"
Load "modesetting"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:4:0:0"
Option "AllowEmptyInitialConfiguration"
EndSection
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 381.22 (buildmeister@swio-display-x86-rhel47-02) Thu May 4 01:29:00 PDT 2017
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
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
SubSection "Display"
Depth 24
EndSubSection
EndSection
$ cat ~/.local/share/xorg/Xorg.0.log
X.Org X Server 1.19.3
Release Date: 2017-03-15
[ 10468.504] X Protocol Version 11, Revision 0
[ 10468.505] Build Operating System: Linux 4.9.11-1-ARCH x86_64
[ 10468.506] Current Operating System: Linux latitude 4.9.31-1-lts #1 SMP Wed Jun 7 17:18:30 CEST 2017 x86_64
[ 10468.506] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-lts root=/dev/mapper/volgroup0-lv_root rw cryptdevice=/dev/sda2:volgroup0 quiet
[ 10468.509] Build Date: 07 April 2017 05:42:48PM
[ 10468.510]
[ 10468.511] Current version of pixman: 0.34.0
[ 10468.514] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 10468.514] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 10468.519] (==) Log file: "~/.local/share/xorg/Xorg.0.log", Time: Sun Jun 18 19:09:33 2017
[ 10468.521] (==) Using config file: "/etc/X11/xorg.conf"
[ 10468.522] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 10468.523] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 10468.523] (==) ServerLayout "Layout0"
[ 10468.523] (**) |-->Screen "Screen0" (0)
[ 10468.524] (**) | |-->Monitor "Monitor0"
[ 10468.524] (**) | |-->Device "Device0"
[ 10468.524] (**) |-->Input Device "Keyboard0"
[ 10468.524] (**) |-->Input Device "Mouse0"
[ 10468.524] (==) Automatically adding devices
[ 10468.524] (==) Automatically enabling devices
[ 10468.524] (==) Automatically adding GPU devices
[ 10468.524] (==) Automatically binding GPU devices
[ 10468.524] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 10468.524] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 10468.524] Entry deleted from font path.
[ 10468.524] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 10468.524] Entry deleted from font path.
[ 10468.524] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 10468.524] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 10468.524] Entry deleted from font path.
[ 10468.524] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 10468.524] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/
[ 10468.524] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 10468.524] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 10468.524] (WW) Disabling Keyboard0
[ 10468.524] (WW) Disabling Mouse0
[ 10468.524] (II) Loader magic: 0x822d60
[ 10468.524] (II) Module ABI versions:
[ 10468.524] X.Org ANSI C Emulation: 0.4
[ 10468.524] X.Org Video Driver: 23.0
[ 10468.524] X.Org XInput driver : 24.1
[ 10468.524] X.Org Server Extension : 10.0
[ 10468.524] (++) using VT number 1
[ 10468.524] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 10468.525] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c3
[ 10468.525] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 10468.526] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[ 10468.527] (--) PCI:*(0:0:2:0) 8086:1616:1028:0632 rev 9, Mem @ 0xf5000000/16777216, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[ 10468.527] (--) PCI: (0:4:0:0) 10de:1340:1028:0632 rev 162, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[ 10468.527] (II) Open ACPI successful (/var/run/acpid.socket)
[ 10468.527] (II) LoadModule: "glx"
[ 10468.527] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 10468.528] (II) Module glx: vendor="X.Org Foundation"
[ 10468.528] compiled for 1.19.3, module version = 1.0.0
[ 10468.528] ABI class: X.Org Server Extension, version 10.0
[ 10468.528] (II) LoadModule: "nvidia"
[ 10468.528] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 10468.528] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 10468.528] compiled for 4.0.2, module version = 1.0.0
[ 10468.528] Module class: X.Org Video Driver
[ 10468.528] (II) NVIDIA dlloader X Driver 381.22 Wed May 3 23:53:41 PDT 2017
[ 10468.528] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 10468.528] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 10468.528] (EE) No devices detected.
[ 10468.528] (EE)
Fatal server error:
[ 10468.528] (EE) no screens found(EE)
[ 10468.528] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 10468.528] (EE) Please also check the log file at "~/.local/share/xorg/Xorg.0.log" for additional information.
[ 10468.528] (EE)
[ 10468.533] (EE) Server terminated with error (1). Closing log file.
Last edited by sercangundogdu (2017-06-18 18:33:47)
Offline
Pages: 1