You are not logged in.
Pages: 1
Hello again, arch linux users
I'm having some issues with the switchable graphic in my laptop. Everything works fine if I'm disabling the switchable graphic from BIOS (From "MSHybrid" to "Discrete"), I'm actually using the discrete mode to write this post. The problem arise when I try to switch to MSHybrid, which should save me some battery.
The problem happens when I start X. This is the content of /var/log/Xorg.8.log:
[ 242.157]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 242.157] X Protocol Version 11, Revision 0
[ 242.157] Build Operating System: Linux 4.5.4-1-ARCH x86_64
[ 242.157] Current Operating System: Linux TheMachine 4.7.2-1-ARCH #1 SMP PREEMPT Sat Aug 20 23:02:56 CEST 2016 x86_64
[ 242.157] Kernel command line: initrd=\initramfs-linux.img libata.allow_tpm=1 root=/dev/sdb1 rw
[ 242.157] Build Date: 19 July 2016 05:54:24PM
[ 242.157]
[ 242.157] Current version of pixman: 0.34.0
[ 242.157] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 242.157] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 242.157] (==) Log file: "/var/log/Xorg.8.log", Time: Wed Sep 7 21:27:11 2016
[ 242.157] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 242.157] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 242.157] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 242.158] (==) ServerLayout "Layout0"
[ 242.158] (==) No screen section available. Using defaults.
[ 242.158] (**) |-->Screen "Default Screen Section" (0)
[ 242.158] (**) | |-->Monitor "<default monitor>"
[ 242.158] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 242.158] (**) | |-->Device "DiscreteNvidia"
[ 242.158] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 242.158] (**) Option "AutoAddDevices" "false"
[ 242.158] (**) Option "AutoAddGPU" "false"
[ 242.158] (**) Not automatically adding devices
[ 242.158] (==) Automatically enabling devices
[ 242.158] (**) Not automatically adding GPU devices
[ 242.158] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 242.158] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 242.158] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
[ 242.158] (==) |-->Input Device "<default pointer>"
[ 242.158] (==) |-->Input Device "<default keyboard>"
[ 242.158] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 242.158] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 242.158] (II) Loader magic: 0x821d40
[ 242.158] (II) Module ABI versions:
[ 242.158] X.Org ANSI C Emulation: 0.4
[ 242.158] X.Org Video Driver: 20.0
[ 242.158] X.Org XInput driver : 22.1
[ 242.158] X.Org Server Extension : 9.0
[ 242.159] (--) using VT number 2
[ 242.159] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 242.159] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 242.160] (--) PCI: (0:1:0:0) 10de:1618:1558:6543 rev 161, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 242.160] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 242.160] (II) LoadModule: "glx"
[ 242.160] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
[ 242.199] (II) Module glx: vendor="NVIDIA Corporation"
[ 242.199] compiled for 4.0.2, module version = 1.0.0
[ 242.199] Module class: X.Org Server Extension
[ 242.200] (II) NVIDIA GLX Module 370.23 Mon Aug 8 17:25:10 PDT 2016
[ 242.200] (II) LoadModule: "nvidia"
[ 242.200] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 242.201] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 242.201] compiled for 4.0.2, module version = 1.0.0
[ 242.201] Module class: X.Org Video Driver
[ 242.201] (II) LoadModule: "mouse"
[ 242.201] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[ 242.201] (II) Module mouse: vendor="X.Org Foundation"
[ 242.201] compiled for 1.18.0, module version = 1.9.1
[ 242.201] Module class: X.Org XInput Driver
[ 242.201] ABI class: X.Org XInput driver, version 22.1
[ 242.201] (II) LoadModule: "kbd"
[ 242.201] (II) Loading /usr/lib/xorg/modules/input/kbd_drv.so
[ 242.201] (II) Module kbd: vendor="X.Org Foundation"
[ 242.201] compiled for 1.18.0, module version = 1.8.1
[ 242.201] Module class: X.Org XInput Driver
[ 242.201] ABI class: X.Org XInput driver, version 22.1
[ 242.201] (II) NVIDIA dlloader X Driver 370.23 Mon Aug 8 17:02:18 PDT 2016
[ 242.201] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 242.201] (EE) No devices detected.
[ 242.201] (EE)
Fatal server error:
[ 242.201] (EE) no screens found(EE)
[ 242.201] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 242.201] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 242.201] (EE)
I also have Nvidia and Intel drivers installed
$ pacman -Qs intel
[...]
local/lib32-mesa 12.0.2-1
an open-source implementation of the OpenGL specification (32-bit)
local/libva-intel-driver 1.7.1-1
VA-API implementation for Intel G45 and HD Graphics family
local/mesa 12.0.2-1
an open-source implementation of the OpenGL specification
local/xf86-video-intel 1:2.99.917+700+gebc066c-1 (xorg-drivers xorg)
X.org Intel i810/i830/i915/945G/G965+ video drivers
This is the output of lspci when in DISCRETE mode
$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GM204M [GeForce GTX 970M] (rev a1)
The output with the MSHYBRID mode is the following
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GM204M [GeForce GTX 970M] (rev a1)
Can anyone help me out?
Last edited by guagno333 (2016-09-07 20:01:46)
Offline
Offline
I forgot to say that I already tried to follow that, but I did not manage to get it working.
Just to have a double check, I added the BusID to xorg.conf and the 2 randr options to ~/.xinitrc, but on startx the system freezes really, really badly. Without the xrandr options, startx gives the same error.
Offline
Pages: 1