You are not logged in.

#1 2014-08-18 19:00:24

lorilan
Member
Registered: 2013-07-13
Posts: 9

[Solved] Screen(s) found, but none have a usable configuration

Hello I'm installing arch on my laptop and have some trouble to start x. When I try to start it, it fails with the error message "Screen(s) found, but none have a usable configuration"

It is a vaio VGN-Z41WD

I've installed the nvidia driver. I've tried what's suggested here without success.

Here is my xorg.conf

 
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 340.32  (buildmeister@swio-display-x64-rhel04-01)  Tue Aug  5 21:15:33 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"
    BusID          "PCI:1:0:0"  ## took me some time to find that this line is needed because of the two GPU
    Option  	   "UseDisplayDevice" "CRT-0" ## this line doesn't seem to change anything
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
	Modes	    "1600x900"
    EndSubSection
EndSection

And here is the Xorg log :

[   190.638] 
X.Org X Server 1.16.0
Release Date: 2014-07-16
[   190.640] X Protocol Version 11, Revision 0
[   190.641] Build Operating System: Linux 3.15.5-2-ARCH x86_64 
[   190.642] Current Operating System: Linux localhost 3.16.1-1-ARCH #1 SMP PREEMPT Thu Aug 14 07:40:19 CEST 2014 x86_64
[   190.642] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=1237c437-3cd0-44dd-af30-73abdb4e93d9 rw quiet
[   190.644] Build Date: 31 July 2014  11:53:19AM
[   190.644]  
[   190.645] Current version of pixman: 0.32.6
[   190.646] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   190.646] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   190.649] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug 18 20:53:49 2014
[   190.650] (==) Using config file: "/etc/X11/xorg.conf"
[   190.651] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   190.651] (==) ServerLayout "Layout0"
[   190.651] (**) |-->Screen "Screen0" (0)
[   190.651] (**) |   |-->Monitor "Monitor0"
[   190.651] (**) |   |-->Device "Device0"
[   190.651] (**) |-->Input Device "Keyboard0"
[   190.651] (**) |-->Input Device "Mouse0"
[   190.651] (==) Automatically adding devices
[   190.651] (==) Automatically enabling devices
[   190.651] (==) Automatically adding GPU devices
[   190.651] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   190.651] 	Entry deleted from font path.
[   190.651] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   190.651] 	Entry deleted from font path.
[   190.651] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   190.651] 	Entry deleted from font path.
[   190.651] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   190.651] 	Entry deleted from font path.
[   190.651] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   190.651] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   190.651] 	Entry deleted from font path.
[   190.651] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   190.651] (==) FontPath set to:
	/usr/share/fonts/misc/
[   190.651] (==) ModulePath set to "/usr/lib/xorg/modules"
[   190.651] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   190.651] (WW) Disabling Keyboard0
[   190.651] (WW) Disabling Mouse0
[   190.651] (II) Loader magic: 0x818d80
[   190.651] (II) Module ABI versions:
[   190.651] 	X.Org ANSI C Emulation: 0.4
[   190.651] 	X.Org Video Driver: 18.0
[   190.651] 	X.Org XInput driver : 21.0
[   190.651] 	X.Org Server Extension : 8.0
[   190.653] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[   190.653] (II) xfree86: Adding drm device (/dev/dri/card1)
[   190.653] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 8 paused 0
[   190.653] (II) xfree86: Adding drm device (/dev/dri/card0)
[   190.653] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 9 paused 0
[   190.655] (--) PCI:*(0:0:2:0) 8086:2a42:104d:9025 rev 7, Mem @ 0xe8400000/4194304, 0xd0000000/268435456, I/O @ 0x00008130/8
[   190.655] (--) PCI: (0:1:0:0) 10de:06e5:104d:9025 rev 161, Mem @ 0xe4000000/16777216, 0xc0000000/268435456, 0xe2000000/33554432, I/O @ 0x00007000/128
[   190.655] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   190.655] (II) LoadModule: "glx"
[   190.655] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   190.670] (II) Module glx: vendor="NVIDIA Corporation"
[   190.670] 	compiled for 4.0.2, module version = 1.0.0
[   190.670] 	Module class: X.Org Server Extension
[   190.670] (II) NVIDIA GLX Module  340.32  Tue Aug  5 20:32:43 PDT 2014
[   190.670] (II) LoadModule: "nvidia"
[   190.670] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   190.671] (II) Module nvidia: vendor="NVIDIA Corporation"
[   190.671] 	compiled for 4.0.2, module version = 1.0.0
[   190.671] 	Module class: X.Org Video Driver
[   190.671] (II) NVIDIA dlloader X Driver  340.32  Tue Aug  5 20:13:04 PDT 2014
[   190.671] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   190.671] (++) using VT number 1

[   190.671] (--) controlling tty is VT number 1, auto-enabling KeepTty
[   190.671] (II) Loading sub module "fb"
[   190.671] (II) LoadModule: "fb"
[   190.671] (II) Loading /usr/lib/xorg/modules/libfb.so
[   190.671] (II) Module fb: vendor="X.Org Foundation"
[   190.671] 	compiled for 1.16.0, module version = 1.0.0
[   190.671] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   190.671] (WW) Unresolved symbol: fbGetGCPrivateKey
[   190.671] (II) Loading sub module "wfb"
[   190.671] (II) LoadModule: "wfb"
[   190.671] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   190.671] (II) Module wfb: vendor="X.Org Foundation"
[   190.671] 	compiled for 1.16.0, module version = 1.0.0
[   190.671] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   190.672] (II) Loading sub module "ramdac"
[   190.672] (II) LoadModule: "ramdac"
[   190.672] (II) Module "ramdac" already built-in
[   190.672] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   190.672] (==) NVIDIA(0): RGB weight 888
[   190.672] (==) NVIDIA(0): Default visual is TrueColor
[   190.672] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   190.672] (**) NVIDIA(0): Option "UseDisplayDevice" "CRT-0"
[   190.672] (**) NVIDIA(0): Enabling 2D acceleration
[   190.990] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[   190.992] (II) NVIDIA(0): NVIDIA GPU GeForce 9300M GS (G98) at PCI:1:0:0 (GPU-0)
[   190.992] (--) NVIDIA(0): Memory: 262144 kBytes
[   190.992] (--) NVIDIA(0): VideoBIOS: 62.98.3e.00.18
[   190.992] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   190.995] (--) NVIDIA(0): Valid display device(s) on GeForce 9300M GS at PCI:1:0:0
[   190.995] (--) NVIDIA(0):     CRT-0
[   190.995] (--) NVIDIA(0):     DFP-0
[   190.995] (--) NVIDIA(0):     DFP-1
[   190.995] (--) NVIDIA(0):     DFP-2
[   190.995] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   190.995] (--) NVIDIA(0): DFP-0: Internal LVDS
[   190.995] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   190.995] (--) NVIDIA(0): DFP-1: Internal TMDS
[   190.995] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[   190.995] (--) NVIDIA(0): DFP-2: Internal TMDS
[   190.995] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   190.995] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0. 
[   190.995] (EE) NVIDIA(0):     Set AllowEmptyInitialConfiguration if you want the server
[   190.995] (EE) NVIDIA(0):     to start anyway
[   191.005] (EE) NVIDIA(0): Failing initialization of X screen 0
[   191.005] (II) UnloadModule: "nvidia"
[   191.005] (II) UnloadSubModule: "wfb"
[   191.005] (II) UnloadSubModule: "fb"
[   191.005] (EE) Screen(s) found, but none have a usable configuration.
[   191.005] (EE) 
Fatal server error:
[   191.005] (EE) no screens found(EE) 
[   191.005] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   191.005] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   191.005] (EE) 
[   191.008] (EE) Server terminated with error (1). Closing log file.

Last edited by lorilan (2014-08-21 23:13:03)

Offline

#2 2014-08-19 22:36:15

quequotion
Member
From: Oita, Japan
Registered: 2013-07-29
Posts: 813
Website

Re: [Solved] Screen(s) found, but none have a usable configuration

Try without this line:

	Modes	    "1600x900"

The correct size and depth should be auto-detected by the nvidia driver anyway.

Offline

#3 2014-08-19 23:11:33

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [Solved] Screen(s) found, but none have a usable configuration

Reduce the xorg.conf to just the Device section, all the other stuff is unnecessary and might interfere with troubleshooting. Then, the UseDisplayDevice option as you currently have it is wrong, it makes the driver only consider VGA-out as a valid output. If anything, it should be set to DFP-0, but it shouldn't be needed at all. Just make make sure the graphics switch is set to Nvidia.

Offline

#4 2014-08-20 15:23:26

lorilan
Member
Registered: 2013-07-13
Posts: 9

Re: [Solved] Screen(s) found, but none have a usable configuration

Hi

quequotion wrote:

Try without this line:
   

Modes	    "1600x900"

The correct size and depth should be auto-detected by the nvidia driver anyway.

Orignally this line wasn't there (and obviously it didn't work back then). I added this line in an attempt to have a "usable configuration"... without success.

Gusar wrote:

Reduce the xorg.conf to just the Device section, all the other stuff is unnecessary and might interfere with troubleshooting. Then, the UseDisplayDevice option as you currently have it is wrong, it makes the driver only consider VGA-out as a valid output. If anything, it should be set to DFP-0, but it shouldn't be needed at all. Just make make sure the graphics switch is set to Nvidia.

Yeah pretty stupid to use CRT now that i read again the message (I tried DFP first but it also didn't work).
Anyway I followed your advice and I now have a new error message :-D

Now my xorg.conf only contains

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:1:0:0" 
    ### Option  	   "UseDisplayDevice" "DFP-0" 
EndSection

And I got the Xorg log is the following :

[  2677.617] 
X.Org X Server 1.16.0
Release Date: 2014-07-16
[  2677.619] X Protocol Version 11, Revision 0
[  2677.619] Build Operating System: Linux 3.15.5-2-ARCH x86_64 
[  2677.619] Current Operating System: Linux localhost 3.16.1-1-ARCH #1 SMP PREEMPT Thu Aug 14 07:40:19 CEST 2014 x86_64
[  2677.619] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=1237c437-3cd0-44dd-af30-73abdb4e93d9 rw quiet
[  2677.620] Build Date: 31 July 2014  11:53:19AM
[  2677.621]  
[  2677.621] Current version of pixman: 0.32.6
[  2677.623] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  2677.623] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2677.625] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug 20 17:17:36 2014
[  2677.625] (==) Using config file: "/etc/X11/xorg.conf"
[  2677.626] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2677.626] (==) No Layout section.  Using the first Screen section.
[  2677.626] (==) No screen section available. Using defaults.
[  2677.626] (**) |-->Screen "Default Screen Section" (0)
[  2677.626] (**) |   |-->Monitor "<default monitor>"
[  2677.626] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[  2677.626] (**) |   |-->Device "Device0"
[  2677.626] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  2677.626] (==) Automatically adding devices
[  2677.626] (==) Automatically enabling devices
[  2677.626] (==) Automatically adding GPU devices
[  2677.626] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[  2677.626] 	Entry deleted from font path.
[  2677.626] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  2677.626] 	Entry deleted from font path.
[  2677.626] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  2677.626] 	Entry deleted from font path.
[  2677.626] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  2677.626] 	Entry deleted from font path.
[  2677.626] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  2677.626] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  2677.626] 	Entry deleted from font path.
[  2677.626] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  2677.626] (==) FontPath set to:
	/usr/share/fonts/misc/
[  2677.626] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2677.626] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  2677.626] (II) Loader magic: 0x818d80
[  2677.626] (II) Module ABI versions:
[  2677.626] 	X.Org ANSI C Emulation: 0.4
[  2677.626] 	X.Org Video Driver: 18.0
[  2677.626] 	X.Org XInput driver : 21.0
[  2677.626] 	X.Org Server Extension : 8.0
[  2677.627] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[  2677.627] (II) xfree86: Adding drm device (/dev/dri/card1)
[  2677.628] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 8 paused 0
[  2677.628] (II) xfree86: Adding drm device (/dev/dri/card0)
[  2677.628] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 9 paused 0
[  2677.630] (--) PCI:*(0:0:2:0) 8086:2a42:104d:9025 rev 7, Mem @ 0xe8400000/4194304, 0xd0000000/268435456, I/O @ 0x00008130/8
[  2677.630] (--) PCI: (0:1:0:0) 10de:06e5:104d:9025 rev 161, Mem @ 0xe4000000/16777216, 0xc0000000/268435456, 0xe2000000/33554432, I/O @ 0x00007000/128
[  2677.630] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2677.630] (II) LoadModule: "glx"
[  2677.630] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2677.644] (II) Module glx: vendor="NVIDIA Corporation"
[  2677.644] 	compiled for 4.0.2, module version = 1.0.0
[  2677.644] 	Module class: X.Org Server Extension
[  2677.644] (II) NVIDIA GLX Module  340.32  Tue Aug  5 20:32:43 PDT 2014
[  2677.644] (II) LoadModule: "nvidia"
[  2677.644] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  2677.645] (II) Module nvidia: vendor="NVIDIA Corporation"
[  2677.645] 	compiled for 4.0.2, module version = 1.0.0
[  2677.645] 	Module class: X.Org Video Driver
[  2677.645] (II) NVIDIA dlloader X Driver  340.32  Tue Aug  5 20:13:04 PDT 2014
[  2677.645] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  2677.645] (++) using VT number 1

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

I tried to to do 'modprobe -a nvidia' but it didn't change a thing

and the result of ' lspci -k | grep -A 3 "VGA" ' is the following

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
	Subsystem: Sony Corporation Device 9025
	Kernel driver in use: i915
	Kernel modules: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation G98M [GeForce 9300M GS] (rev a1)
	Subsystem: Sony Corporation Device 9025
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia

Offline

#5 2014-08-21 10:56:26

quequotion
Member
From: Oita, Japan
Registered: 2013-07-29
Posts: 813
Website

Re: [Solved] Screen(s) found, but none have a usable configuration

This is a laptop with hybrid graphics. Is it appropriate to be starting X on the nvidia card?

I don't have one of these to work with, have you read this wiki?

Offline

#6 2014-08-21 11:12:54

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [Solved] Screen(s) found, but none have a usable configuration

@quequotion: It's not classic hybrid graphics. The switch isn't a setting in the BIOS, it's a physical Stamina/Speed switch above the keyboard that does full switching (everything gets migrated from one GPU to the other) at runtime. In Windows, the screen flickers a bit when you flip the switch, but then you're immediately running on the other GPU without the need to reboot. In Linux, such runtime switching isn't supported, but if the switch is set to Speed (=Nvidia) instead of Stamina (=Intel) at boot, then outputs should be connected to the Nvidia GPU and it should work.

@lorilan: Is the nvidia module loaded? Run dmesg and see if there's any messages about nvidia.

Last edited by Gusar (2014-08-21 11:13:44)

Offline

#7 2014-08-21 16:51:14

lorilan
Member
Registered: 2013-07-13
Posts: 9

Re: [Solved] Screen(s) found, but none have a usable configuration

I rebooted the computer and this time nvidia is loaded. X still doesn't start and I'm back to the same X log as the one in my first post.

'dmesg | grep -A 2 nvidia' gives this :

[    7.179864] nvidia: module license 'NVIDIA' taints kernel.
[    7.179865] Disabling lock debugging due to kernel taint
[    7.197305] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[    7.197417] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[    7.210089] Console: switching to colour frame buffer device 200x56
--
[    7.240432] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
[    7.240442] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  340.32  Tue Aug  5 20:58:26 PDT 2014
[    7.257657] input: ALPS PS/2 Device as /devices/platform/i8042/serio1/input/input13
--
[  105.299429] nvidia 0000:01:00.0: irq 49 for MSI/MSI-X
[  105.301651] ACPI Warning: \_SB_.PCI0.PEGP.DGPU._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
[  105.301699] ACPI Warning: \_SB_.PCI0.PEGP.DGPU._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)

The last three lines appeared after I tried to start X.
What does it means that nvidia "taints" the kernel ? is this wrong ?

Offline

#8 2014-08-21 17:53:18

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [Solved] Screen(s) found, but none have a usable configuration

Nvidia "taints" the kernel because it's a proprietary (closed source) module. All it means is that the kernel developers won't accept your bug reports, but otherwise everything is fine.

The "Console: switching to colour frame buffer device 200x56" line is interesting, the nvidia driver does not have a console driver. This leads me to believe the outputs are running on the Intel GPU. What happens if you remove xorg.conf and install xf86-video-intel, does X then work off the Intel GPU?

In any case, it seems some more magic is required on this machine than just flipping that switch, perhaps some vgaswitcheroo and such, but someone who actually has experience with such a machine will need to help here.

Offline

#9 2014-08-21 18:43:33

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: [Solved] Screen(s) found, but none have a usable configuration

In the wiki there is this example setup for an older machine with stamina/speed switch: https://wiki.archlinux.org/index.php/So … witch_Mode
It's old but maybe it still gives you some hints how to switch setups.

Offline

#10 2014-08-21 23:12:12

lorilan
Member
Registered: 2013-07-13
Posts: 9

Re: [Solved] Screen(s) found, but none have a usable configuration

I used xf86-video-intel and I was then able to start X !

Thank you very much.

I will try to use the nvidia grahic card later, for now the cpu internal gpu is enough.

Offline

#11 2014-08-21 23:45:30

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [Solved] Screen(s) found, but none have a usable configuration

The problem is, even if you're using Intel, the Nvidia GPU is active and using power (not cool if you're on battery). Maybe you can turn it off using acpi_call or vgaswitcheroo something.

Hmm, I just had an idea... blacklist the i915 kernel module, or put nomodeset on the kernel commandline, both will disable loading of the intel driver. Then add back the xorg.conf that configures nvidia.

Last edited by Gusar (2014-08-21 23:46:06)

Offline

#12 2014-08-22 18:04:25

lorilan
Member
Registered: 2013-07-13
Posts: 9

Re: [Solved] Screen(s) found, but none have a usable configuration

I blacklisted the i915 module but it still didn't work. Thank you for your help. I tried to fix it before going to vacation but i'm running out of time. I will look into this again when I'm back.

Offline

#13 2014-08-29 17:50:41

quequotion
Member
From: Oita, Japan
Registered: 2013-07-29
Posts: 813
Website

Re: [Solved] Screen(s) found, but none have a usable configuration

Gusar wrote:

In Linux, such runtime switching isn't supported, but if the switch is set to Speed (=Nvidia) instead of Stamina (=Intel) at boot, then outputs should be connected to the Nvidia GPU and it should work.

So, theoretically, in order to boot X using the Nvidia GPU, one must first boot using the Intel GPU, replace the xorg.conf file with one that calls the nvidia driver, turn the laptop off, flip the switch to "Speed", and turn it back on?

Last edited by quequotion (2014-08-29 17:51:18)

Offline

#14 2014-08-29 18:10:48

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [Solved] Screen(s) found, but none have a usable configuration

Yeah, that's the theory. In practice, it seems the switch actually does nothing in Linux, both GPUs are active regardless of how it is set.

So the problem is, how to get X to start on a particular GPU (and the followup problem, how to disable the other GPU so it doesn't needlessly consume power)? I thought maybe Intel KMS is interfering with starting X on Nvidia, that as soon as KMS starts, outputs are routed to the Intel GPU. Hence the advice to blacklist i915 or specify nomodeset, the idea was that this would allow the nvidia driver to grab the outputs.

Offline

Board footer

Powered by FluxBB