You are not logged in.

#1 2014-06-25 20:39:28

kal17
Member
From: Bandung, Indonesia
Registered: 2014-06-25
Posts: 8

[SOLVED]startx error with nvidia 740M

I have very usual problem with my nvidia driver, but none of the solution that I found works. I do search for using bumblebee and other but still not work. I still have same error "no device detected" and "no screen found". I also try to use nvidia-xconfig and Xorg -configure but I still got same result. When I delete the xorg.conf I fallback to use vesa driver, what should I do? sorry for my bad english. here is my Xorg.1.log and xorg.conf

Xorg.1.log

[  2449.439] 
X.Org X Server 1.15.1
Release Date: 2014-04-13
[  2449.439] X Protocol Version 11, Revision 0
[  2449.439] Build Operating System: Linux 3.14.0-4-ARCH x86_64 
[  2449.439] Current Operating System: Linux localhost 3.15.1-1-ARCH #1 SMP PREEMPT Tue Jun 17 09:32:20 CEST 2014 x86_64
[  2449.439] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=9b809ed1-15a9-4df5-931c-b081da1ca0fc rw acpi=off i915.modeset=1 quiet
[  2449.439] Build Date: 14 April 2014  08:39:09AM
[  2449.439]  
[  2449.439] Current version of pixman: 0.32.4
[  2449.439] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  2449.439] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2449.439] (==) Log file: "/var/log/Xorg.1.log", Time: Thu Jun 26 07:48:32 2014
[  2449.439] (==) Using config file: "/etc/X11/xorg.conf"
[  2449.439] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  2449.439] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2449.439] (==) ServerLayout "Layout0"
[  2449.439] (**) |-->Screen "Screen0" (0)
[  2449.439] (**) |   |-->Monitor "Monitor0"
[  2449.439] (**) |   |-->Device "Device0"
[  2449.439] (**) |-->Input Device "Keyboard0"
[  2449.439] (**) |-->Input Device "Mouse0"
[  2449.439] (==) Automatically adding devices
[  2449.439] (==) Automatically enabling devices
[  2449.440] (==) Automatically adding GPU devices
[  2449.440] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  2449.440] 	Entry deleted from font path.
[  2449.440] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[  2449.440] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2449.440] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  2449.440] (WW) Disabling Keyboard0
[  2449.440] (WW) Disabling Mouse0
[  2449.440] (II) Loader magic: 0x804c80
[  2449.440] (II) Module ABI versions:
[  2449.440] 	X.Org ANSI C Emulation: 0.4
[  2449.440] 	X.Org Video Driver: 15.0
[  2449.440] 	X.Org XInput driver : 20.0
[  2449.440] 	X.Org Server Extension : 8.0
[  2449.441] (--) PCI:*(0:0:2:0) 8086:0a16:1028:0616 rev 9, Mem @ 0xf1000000/4194304, 0xe0000000/268435456, I/O @ 0x00006000/64
[  2449.441] (--) PCI: (0:9:0:0) 10de:1292:1028:0616 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128
[  2449.441] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2449.441] Initializing built-in extension Generic Event Extension
[  2449.441] Initializing built-in extension SHAPE
[  2449.441] Initializing built-in extension MIT-SHM
[  2449.441] Initializing built-in extension XInputExtension
[  2449.441] Initializing built-in extension XTEST
[  2449.441] Initializing built-in extension BIG-REQUESTS
[  2449.441] Initializing built-in extension SYNC
[  2449.441] Initializing built-in extension XKEYBOARD
[  2449.441] Initializing built-in extension XC-MISC
[  2449.441] Initializing built-in extension SECURITY
[  2449.441] Initializing built-in extension XINERAMA
[  2449.441] Initializing built-in extension XFIXES
[  2449.441] Initializing built-in extension RENDER
[  2449.441] Initializing built-in extension RANDR
[  2449.441] Initializing built-in extension COMPOSITE
[  2449.441] Initializing built-in extension DAMAGE
[  2449.441] Initializing built-in extension MIT-SCREEN-SAVER
[  2449.441] Initializing built-in extension DOUBLE-BUFFER
[  2449.441] Initializing built-in extension RECORD
[  2449.441] Initializing built-in extension DPMS
[  2449.441] Initializing built-in extension Present
[  2449.441] Initializing built-in extension DRI3
[  2449.441] Initializing built-in extension X-Resource
[  2449.441] Initializing built-in extension XVideo
[  2449.441] Initializing built-in extension XVideo-MotionCompensation
[  2449.441] Initializing built-in extension XFree86-VidModeExtension
[  2449.441] Initializing built-in extension XFree86-DGA
[  2449.441] Initializing built-in extension XFree86-DRI
[  2449.441] Initializing built-in extension DRI2
[  2449.441] (II) "glx" will be loaded by default.
[  2449.441] (II) LoadModule: "dri2"
[  2449.441] (II) Module "dri2" already built-in
[  2449.441] (II) LoadModule: "glamoregl"
[  2449.441] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  2449.443] (II) Module glamoregl: vendor="X.Org Foundation"
[  2449.444] 	compiled for 1.15.0, module version = 0.6.0
[  2449.444] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  2449.444] (II) LoadModule: "glx"
[  2449.444] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2449.444] (II) Module glx: vendor="X.Org Foundation"
[  2449.444] 	compiled for 1.15.1, module version = 1.0.0
[  2449.444] 	ABI class: X.Org Server Extension, version 8.0
[  2449.444] (==) AIGLX enabled
[  2449.444] Loading extension GLX
[  2449.444] (II) LoadModule: "nvidia"
[  2449.444] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  2449.445] (II) Module nvidia: vendor="NVIDIA Corporation"
[  2449.445] 	compiled for 4.0.2, module version = 1.0.0
[  2449.445] 	Module class: X.Org Video Driver
[  2449.445] (II) NVIDIA dlloader X Driver  337.25  Tue May 27 12:01:55 PDT 2014
[  2449.445] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  2449.445] (++) using VT number 1

[  2449.445] (EE) No devices detected.
[  2449.445] (EE) 
Fatal server error:
[  2449.445] (EE) no screens found(EE) 
[  2449.445] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  2449.445] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[  2449.445] (EE) 

xorg.conf that nvidia-xconfig generate

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 337.25  (buildmeister@swio-display-x64-rhel04-10)  Tue May 27 13:05:19 PDT 2014

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

Last edited by kal17 (2014-06-26 15:47:04)

Offline

#2 2014-06-25 21:00:22

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: [SOLVED]startx error with nvidia 740M

1) What's the output from the following commands:

lspci | grep VGA
lspci | grep 3D

These only apply if there is an Intel card listed:
2) Have you disabled the Intel card (in BIOS/UEFI) and tried an nVidia only setup?
3) If you haven't disabled the Intel card in BIOS/UEFI, can you get X working with just the Intel drivers.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#3 2014-06-25 21:05:53

kal17
Member
From: Bandung, Indonesia
Registered: 2014-06-25
Posts: 8

Re: [SOLVED]startx error with nvidia 740M

lspci |grep -i vga

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)

lspci |grep -i 3d

09:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev a1)

There's no that kind of option in my BIOS, and I'm also can't use intel driver. startx only works if I install xf86-video-vesa or xf86-video-fbdev and delete xorg.conf.

Offline

#4 2014-06-25 21:25:11

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: [SOLVED]startx error with nvidia 740M

Try this: https://wiki.archlinux.org/index.php/NV … ing_nvidia

Use the PCI address for the nVidia card you posted above for the third step.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#5 2014-06-25 21:49:06

kal17
Member
From: Bandung, Indonesia
Registered: 2014-06-25
Posts: 8

Re: [SOLVED]startx error with nvidia 740M

I just try that, and still get error. but the error are slightly different, here it is:

Xorg0.log

[   197.655] 
X.Org X Server 1.15.1
Release Date: 2014-04-13
[   197.714] X Protocol Version 11, Revision 0
[   197.735] Build Operating System: Linux 3.14.0-4-ARCH x86_64 
[   197.756] Current Operating System: Linux localhost 3.15.1-1-ARCH #1 SMP PREEMPT Tue Jun 17 09:32:20 CEST 2014 x86_64
[   197.756] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=9b809ed1-15a9-4df5-931c-b081da1ca0fc rw acpi=off i915.modeset=1 quiet
[   197.801] Build Date: 14 April 2014  08:39:09AM
[   197.823]  
[   197.844] Current version of pixman: 0.32.4
[   197.888] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   197.888] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   197.983] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jun 26 11:37:55 2014
[   198.008] (==) Using config file: "/etc/X11/xorg.conf"
[   198.033] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   198.034] (==) ServerLayout "Layout0"
[   198.034] (**) |-->Screen "Screen0" (0)
[   198.034] (**) |   |-->Monitor "Monitor0"
[   198.034] (**) |   |-->Device "Device0"
[   198.034] (**) |-->Input Device "Keyboard0"
[   198.034] (**) |-->Input Device "Mouse0"
[   198.034] (==) Automatically adding devices
[   198.034] (==) Automatically enabling devices
[   198.034] (==) Automatically adding GPU devices
[   198.034] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   198.034] 	Entry deleted from font path.
[   198.034] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[   198.034] (==) ModulePath set to "/usr/lib/xorg/modules"
[   198.034] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   198.034] (WW) Disabling Keyboard0
[   198.034] (WW) Disabling Mouse0
[   198.034] (II) Loader magic: 0x804c80
[   198.034] (II) Module ABI versions:
[   198.034] 	X.Org ANSI C Emulation: 0.4
[   198.034] 	X.Org Video Driver: 15.0
[   198.034] 	X.Org XInput driver : 20.0
[   198.034] 	X.Org Server Extension : 8.0
[   198.034] (II) xfree86: Adding drm device (/dev/dri/card0)
[   198.035] (--) PCI:*(0:0:2:0) 8086:0a16:1028:0616 rev 9, Mem @ 0xf1000000/4194304, 0xe0000000/268435456, I/O @ 0x00006000/64
[   198.035] (--) PCI: (0:9:0:0) 10de:1292:1028:0616 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128
[   198.035] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   198.061] Initializing built-in extension Generic Event Extension
[   198.087] Initializing built-in extension SHAPE
[   198.113] Initializing built-in extension MIT-SHM
[   198.140] Initializing built-in extension XInputExtension
[   198.166] Initializing built-in extension XTEST
[   198.192] Initializing built-in extension BIG-REQUESTS
[   198.219] Initializing built-in extension SYNC
[   198.245] Initializing built-in extension XKEYBOARD
[   198.272] Initializing built-in extension XC-MISC
[   198.298] Initializing built-in extension SECURITY
[   198.324] Initializing built-in extension XINERAMA
[   198.350] Initializing built-in extension XFIXES
[   198.376] Initializing built-in extension RENDER
[   198.402] Initializing built-in extension RANDR
[   198.429] Initializing built-in extension COMPOSITE
[   198.455] Initializing built-in extension DAMAGE
[   198.481] Initializing built-in extension MIT-SCREEN-SAVER
[   198.507] Initializing built-in extension DOUBLE-BUFFER
[   198.533] Initializing built-in extension RECORD
[   198.559] Initializing built-in extension DPMS
[   198.585] Initializing built-in extension Present
[   198.610] Initializing built-in extension DRI3
[   198.636] Initializing built-in extension X-Resource
[   198.660] Initializing built-in extension XVideo
[   198.682] Initializing built-in extension XVideo-MotionCompensation
[   198.703] Initializing built-in extension XFree86-VidModeExtension
[   198.724] Initializing built-in extension XFree86-DGA
[   198.745] Initializing built-in extension XFree86-DRI
[   198.765] Initializing built-in extension DRI2
[   198.765] (II) LoadModule: "glx"
[   198.765] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   198.775] (II) Module glx: vendor="NVIDIA Corporation"
[   198.775] 	compiled for 4.0.2, module version = 1.0.0
[   198.775] 	Module class: X.Org Server Extension
[   198.775] (II) NVIDIA GLX Module  337.25  Tue May 27 12:21:38 PDT 2014
[   198.796] Loading extension GLX
[   198.796] (II) LoadModule: "nvidia"
[   198.796] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   198.796] (II) Module nvidia: vendor="NVIDIA Corporation"
[   198.796] 	compiled for 4.0.2, module version = 1.0.0
[   198.796] 	Module class: X.Org Video Driver
[   198.796] (II) NVIDIA dlloader X Driver  337.25  Tue May 27 12:01:55 PDT 2014
[   198.796] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   198.796] (++) using VT number 1

[   198.796] (II) Loading sub module "fb"
[   198.796] (II) LoadModule: "fb"
[   198.797] (II) Loading /usr/lib/xorg/modules/libfb.so
[   198.797] (II) Module fb: vendor="X.Org Foundation"
[   198.797] 	compiled for 1.15.1, module version = 1.0.0
[   198.797] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   198.797] (WW) Unresolved symbol: fbGetGCPrivateKey
[   198.797] (II) Loading sub module "wfb"
[   198.797] (II) LoadModule: "wfb"
[   198.797] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   198.797] (II) Module wfb: vendor="X.Org Foundation"
[   198.797] 	compiled for 1.15.1, module version = 1.0.0
[   198.797] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   198.797] (II) Loading sub module "ramdac"
[   198.797] (II) LoadModule: "ramdac"
[   198.797] (II) Module "ramdac" already built-in
[   198.797] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   198.797] (==) NVIDIA(0): RGB weight 888
[   198.797] (==) NVIDIA(0): Default visual is TrueColor
[   198.797] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   198.798] (**) NVIDIA(0): Enabling 2D acceleration
[   198.810] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:9:0:0.  Please
[   198.810] (EE) NVIDIA(GPU-0):     check your system's kernel log for additional error
[   198.810] (EE) NVIDIA(GPU-0):     messages and refer to Chapter 8: Common Problems in the
[   198.810] (EE) NVIDIA(GPU-0):     README for additional information.
[   198.810] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[   198.810] (EE) NVIDIA(0): Failing initialization of X screen 0
[   198.810] (II) UnloadModule: "nvidia"
[   198.810] (II) UnloadSubModule: "wfb"
[   198.810] (II) UnloadSubModule: "fb"
[   198.810] (EE) Screen(s) found, but none have a usable configuration.
[   198.810] (EE) 
Fatal server error:
[   198.810] (EE) no screens found(EE) 
[   198.810] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   198.810] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   198.810] (EE) 
[   198.926] (EE) Server terminated with error (1). Closing log file.

I also tried to use nouveau but I still error.

Offline

#6 2014-06-25 22:01:32

kal17
Member
From: Bandung, Indonesia
Registered: 2014-06-25
Posts: 8

Re: [SOLVED]startx error with nvidia 740M

sorry for double post, I found that this problem is related to something called NVRM (but I'm no sure).
And this is my dmesg after running startx.

dmesg|tail

[ 1298.535223] NVRM: failed to register with the ACPI subsystem!
[ 1298.535301] vgaarb: this pci device is not a vga device
[ 1298.535607] nvidia 0000:09:00.0: irq 68 for MSI/MSI-X
[ 1298.544269] NVRM: failed to copy vbios to system memory.
[ 1298.547826] NVRM: RmInitAdapter failed! (0x30:0xffffffff:714)
[ 1298.547835] NVRM: rm_init_adapter failed for device bearing minor number 0
[ 1298.547858] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
[ 1298.688531] NVRM: failed to unregister from the ACPI subsystem!

Offline

#7 2014-06-25 22:44:50

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: [SOLVED]startx error with nvidia 740M

No idea in that case. I'll have to leave it to people more experienced than I with nVidia Optimus.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#8 2014-06-26 15:45:08

kal17
Member
From: Bandung, Indonesia
Registered: 2014-06-25
Posts: 8

Re: [SOLVED]startx error with nvidia 740M

It's work now the problem is in BIOS, after I flash it now it's just work greatly. Anyway thanks.

Offline

Board footer

Powered by FluxBB