You are not logged in.

#1 2017-10-21 16:15:28

P3ACE
Member
Registered: 2017-10-21
Posts: 3

[SOLVED] Xorg wont start with nvidia geforce 940MX

Hi i recently purchase a new laptop asus s510uq , but i can only use wayland, because xorg give many issues, i want to use i3wm , so i must back to xorg but right now i couldn't make it work.
i already installed and enabled Bumblebee, but xorg still wont work.
here my log and other information.

my xorg log

 
[    78.221] (--) Log file renamed from "/var/log/Xorg.pid-1261.log" to "/var/log/Xorg.0.log"
[    78.222] 
X.Org X Server 1.19.5
Release Date: 2017-10-12
[    78.222] X Protocol Version 11, Revision 0
[    78.222] Build Operating System: Linux 4.9.54-1-lts x86_64 
[    78.222] Current Operating System: Linux WHOAMI 4.13.7-1-ARCH #1 SMP PREEMPT Sat Oct 14 20:13:26 CEST 2017 x86_64
[    78.222] Kernel command line: initrd=\initramfs-linux.img root=PARTUUID=e8345e0e-165d-4d65-8e3c-0af448487895 rw
[    78.222] Build Date: 12 October 2017  09:59:53PM
[    78.222]  
[    78.222] Current version of pixman: 0.34.0
[    78.222] 	Before reporting problems, check [url]http://wiki.x.org[/url]
	to make sure that you have the latest version.
[    78.222] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    78.222] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 21 17:25:13 2017
[    78.222] (==) Using config file: "/etc/X11/xorg.conf"
[    78.222] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    78.222] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    78.222] (==) No Layout section.  Using the first Screen section.
[    78.222] (**) |-->Screen "Screen0" (0)
[    78.222] (**) |   |-->Monitor "<default monitor>"
[    78.222] (==) No device specified for screen "Screen0".
	Using the first device section listed.
[    78.222] (**) |   |-->Device "Nvidia card"
[    78.222] (**) |   |-->GPUDevice "Nvidia Card"
[    78.222] (**) |   |-->GPUDevice "nvidia"
[    78.222] (==) No monitor specified for screen "Screen0".
	Using a default monitor configuration.
[    78.222] (==) Automatically adding devices
[    78.222] (==) Automatically enabling devices
[    78.222] (==) Automatically adding GPU devices
[    78.222] (==) Automatically binding GPU devices
[    78.222] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    78.222] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    78.222] 	Entry deleted from font path.
[    78.222] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[    78.222] (==) ModulePath set to "/usr/lib/xorg/modules"
[    78.222] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    78.223] (II) Loader magic: 0x555aa61e9d60
[    78.223] (II) Module ABI versions:
[    78.223] 	X.Org ANSI C Emulation: 0.4
[    78.223] 	X.Org Video Driver: 23.0
[    78.223] 	X.Org XInput driver : 24.1
[    78.223] 	X.Org Server Extension : 10.0
[    78.223] (++) using VT number 2

[    78.225] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c5
[    78.225] (II) xfree86: Adding drm device (/dev/dri/card0)
[    78.226] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 12 paused 0
[    78.227] (--) PCI:*(0:0:2:0) 8086:5916:1043:145e rev 2, Mem @ 0xed000000/16777216, 0xc0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[    78.227] (--) PCI: (0:1:0:0) 10de:134d:1043:145e rev 162, Mem @ 0xee000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[    78.227] (II) Open ACPI successful (/var/run/acpid.socket)
[    78.227] (II) "glx" will be loaded by default.
[    78.227] (II) LoadModule: "modesetting"
[    78.227] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    78.227] (II) Module modesetting: vendor="X.Org Foundation"
[    78.227] 	compiled for 1.19.5, module version = 1.19.5
[    78.227] 	Module class: X.Org Video Driver
[    78.227] 	ABI class: X.Org Video Driver, version 23.0
[    78.227] (II) LoadModule: "glx"
[    78.227] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    78.228] (II) Module glx: vendor="X.Org Foundation"
[    78.228] 	compiled for 1.19.5, module version = 1.0.0
[    78.228] 	ABI class: X.Org Server Extension, version 10.0
[    78.228] (II) LoadModule: "nouveau"
[    78.228] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[    78.228] (II) Module nouveau: vendor="X.Org Foundation"
[    78.228] 	compiled for 1.19.3, module version = 1.0.15
[    78.228] 	Module class: X.Org Video Driver
[    78.228] 	ABI class: X.Org Video Driver, version 23.0
[    78.228] (II) LoadModule: "nvidia"
[    78.228] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    78.229] (II) Module nvidia: vendor="NVIDIA Corporation"
[    78.229] 	compiled for 4.0.2, module version = 1.0.0
[    78.229] 	Module class: X.Org Video Driver
[    78.229] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    78.229] (II) NOUVEAU driver 
[    78.229] (II) NOUVEAU driver for NVIDIA chipset families :
[    78.229] 	RIVA TNT        (NV04)
[    78.229] 	RIVA TNT2       (NV05)
[    78.229] 	GeForce 256     (NV10)
[    78.229] 	GeForce 2       (NV11, NV15)
[    78.229] 	GeForce 4MX     (NV17, NV18)
[    78.229] 	GeForce 3       (NV20)
[    78.229] 	GeForce 4Ti     (NV25, NV28)
[    78.229] 	GeForce FX      (NV3x)
[    78.229] 	GeForce 6       (NV4x)
[    78.229] 	GeForce 7       (G7x)
[    78.229] 	GeForce 8       (G8x)
[    78.229] 	GeForce GTX 200 (NVA0)
[    78.229] 	GeForce GTX 400 (NVC0)
[    78.229] (II) NVIDIA dlloader X Driver  387.12  Thu Sep 28 18:57:27 PDT 2017
[    78.229] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    78.229] (WW) Falling back to old probe method for modesetting
[    78.229] (II) Loading sub module "fb"
[    78.229] (II) LoadModule: "fb"
[    78.229] (II) Loading /usr/lib/xorg/modules/libfb.so
[    78.229] (II) Module fb: vendor="X.Org Foundation"
[    78.229] 	compiled for 1.19.5, module version = 1.0.0
[    78.229] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    78.229] (II) Loading sub module "wfb"
[    78.229] (II) LoadModule: "wfb"
[    78.229] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    78.229] (II) Module wfb: vendor="X.Org Foundation"
[    78.229] 	compiled for 1.19.5, module version = 1.0.0
[    78.229] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    78.229] (II) Loading sub module "ramdac"
[    78.229] (II) LoadModule: "ramdac"
[    78.229] (II) Module "ramdac" already built-in
[    78.230] (II) modeset(G0): using drv /dev/dri/card0
[    78.230] (EE) Screen 0 deleted because of no matching config section.
[    78.230] (II) UnloadModule: "nvidia"
[    78.230] (II) UnloadSubModule: "wfb"
[    78.230] (II) UnloadSubModule: "fb"
[    78.230] (EE) Device(s) detected, but none match those in the config file.
[    78.230] (EE) 
Fatal server error:
[    78.230] (EE) no screens found(EE) 
[    78.230] (EE) 
Please consult the The X.Org Foundation support 
	 at [url]http://wiki.x.org[/url]
 for help. 
[    78.230] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    78.230] (EE) 
[    78.235] (EE) Server terminated with error (1). Closing log file.
$ lspci -k | grep -A 2 -E "(VGA|3D)"

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
	Subsystem: ASUSTeK Computer Inc. HD Graphics 620
	Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev ff)
	Kernel modules: nouveau, nvidia_drm, nvidia
02:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)

my .xinitrc file

#!/bin/sh

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then

    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

and sudo screenfetch give me

No protocol specified
xdpyinfo:  unable to open display ":0".
No protocol specified
xprop:  unable to open display ':0'
No protocol specified
xprop:  unable to open display ':0'
No protocol specified
xprop:  unable to open display ':0'
No protocol specified
xprop:  unable to open display ':0'
                   -`                 
                  .o+`                 root@WHOAMI
                 `ooo/                 OS: Arch Linux 
                `+oooo:                Kernel: x86_64 Linux 4.13.7-1-ARCH
               `+oooooo:               Uptime: 13m
               -+oooooo+:              Packages: 1225
             `/:-:++oooo+:             Shell: sudo
            `/++++/+++++++:            WM: 
           `/++++++++++++++:           CPU: Intel Core i7-7500U @ 4x 3.5GHz [64.0°C]
          `/+++ooooooooooooo/`         GPU: intel
         ./ooosssso++osssssso+`        RAM: 1478MiB / 7870MiB
        .oossssso-```  `/ossssss+`      
       -osssssso.          :ssssssso.     
      :osssssss/            osssso+++.    
     /ossssssss/            +ssssooo/-    
   `/ossssso+/:-            -:/+osssso+-  
  `+sso+:-`                  `.-/+oso: 
 `++:.                            `-/+/
 .`                                       `/

uname -a give me

Linux WHOAMI 4.13.7-1-ARCH #1 SMP PREEMPT Sat Oct 14 20:13:26 CEST 2017 x86_64 GNU/Linux

Last edited by P3ACE (2017-10-21 16:35:35)

Offline

#2 2017-10-21 16:25:59

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: [SOLVED] Xorg wont start with nvidia geforce 940MX

[    78.222] (==) Using config file: "/etc/X11/xorg.conf"
....
[    78.230] (EE) Device(s) detected, but none match those in the config file.
....
[    78.230] (EE) no screens found(EE) 

Bumblebee#Installation

Edit:
Also why if the system is using bumblebee is this in .xinitrc

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

the .xinitrc also contains nothing for X to do Xinit#xinitrc

Last edited by loqs (2017-10-21 16:30:04)

Offline

#3 2017-10-21 16:35:02

P3ACE
Member
Registered: 2017-10-21
Posts: 3

Re: [SOLVED] Xorg wont start with nvidia geforce 940MX

I don't understand how i miss it , thank you very much sir , removing xorg.conf did the trick smile

Last edited by P3ACE (2017-10-21 16:54:55)

Offline

Board footer

Powered by FluxBB