On Fri, 21 Nov 2014 00:06:11 -0800 Vincent Cheng <vch...@debian.org> wrote: > On Wed, Nov 19, 2014 at 4:36 AM, Marek Rusinowski > <marekrusinow...@gmail.com> wrote: > > On Fri, 12 Sep 2014 13:13:43 +0200 Christian Lachner > > <christian.lach...@gmail.com> wrote: > >> Hello everybody, > >> > >> jkwong888 at https://github.com/Bumblebee-Project/Bumblebee/issues/580 > >> came up with a fix that actually solves the problem - at least for me. > >> > >> Turns out that appending the following screen-section to > >> /etc/bumblebee/xorg.conf.nvidia makes bumblebee work: > >> > >> Section "Screen" > >> Identifier "Default Screen" > >> Device "DiscreteNvidia" > >> EndSection > >> > >> After a restart of bumblebeed, optirun works properly. > >> > >> > > Hello, > > > > I have debian jessie. > > > > kernel 3.16.0-4-amd64 > > nvidia driver 340.46-3 > > bumblebee 3.2.1-7 > > xserver-xorg 1:7.7+7 > > xserver-common 2:1.16.1.901-1 > > > > And unfortunately after appending those lines nothing changed. I have got > > same error and I'm unable to run programs using optirun. > > Please attach a copy of: > - output of "dkms status" and your current kernel version (e.g. "uname -a") > - output of "optirun -vv glxgears -info" > - /var/log/Xorg.8.log and dmesg after a failed attempt at running optirun > > Regards, > Vincent > > # dkms status bbswitch, 0.8, 3.16.0-4-amd64, x86_64: installed nvidia-current, 340.46, 3.16.0-4-amd64, x86_64: installed # uname -a Linux laptop 3.16.0-4-amd64 #1 SMP Debian 3.16.7-2 (2014-11-06) x86_64 GNU/Linux
Marek
dmesg
Description: Binary data
optirun
Description: Binary data
[ 61.193] X.Org X Server 1.16.1.901 (1.16.2 RC 1) Release Date: 2014-11-02 [ 61.193] X Protocol Version 11, Revision 0 [ 61.194] Build Operating System: Linux 3.2.0-4-amd64 x86_64 Debian [ 61.194] Current Operating System: Linux p2004a-laptop 3.16.0-4-amd64 #1 SMP Debian 3.16.7-2 (2014-11-06) x86_64 [ 61.194] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=0ce1d079-72f6-4708-b951-419554c83a8d ro quiet rcutree.rcu_idle_gp_delay=1 cgroup_enable=memory swapaccount=1 [ 61.194] Build Date: 03 November 2014 09:44:08PM [ 61.194] xorg-server 2:1.16.1.901-1 (http://www.debian.org/support) [ 61.194] Current version of pixman: 0.32.6 [ 61.194] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 61.194] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 61.194] (==) Log file: "/var/log/Xorg.8.log", Time: Fri Nov 21 09:34:21 2014 [ 61.194] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia" [ 61.194] (++) Using config directory: "/etc/bumblebee/xorg.conf.d" [ 61.194] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 61.195] (==) ServerLayout "Layout0" [ 61.195] (**) |-->Screen "Default Screen" (0) [ 61.195] (**) | |-->Monitor "<default monitor>" [ 61.195] (**) | |-->Device "DiscreteNvidia" [ 61.195] (==) No monitor specified for screen "Default Screen". Using a default monitor configuration. [ 61.195] (**) Option "AutoAddDevices" "false" [ 61.195] (**) Option "AutoAddGPU" "false" [ 61.195] (**) Not automatically adding devices [ 61.195] (==) Automatically enabling devices [ 61.195] (**) Not automatically adding GPU devices [ 61.195] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 61.195] Entry deleted from font path. [ 61.195] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist. [ 61.195] Entry deleted from font path. [ 61.195] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist. [ 61.195] Entry deleted from font path. [ 61.195] (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, built-ins [ 61.195] (++) ModulePath set to "/usr/lib/nvidia,/usr/lib/xorg/modules" [ 61.195] (==) |-->Input Device "<default pointer>" [ 61.195] (==) |-->Input Device "<default keyboard>" [ 61.195] (==) The core pointer device wasn't specified explicitly in the layout. Using the default mouse configuration. [ 61.195] (==) The core keyboard device wasn't specified explicitly in the layout. Using the default keyboard configuration. [ 61.195] (II) Loader magic: 0x7f6f1b886d80 [ 61.195] (II) Module ABI versions: [ 61.195] X.Org ANSI C Emulation: 0.4 [ 61.195] X.Org Video Driver: 18.0 [ 61.195] X.Org XInput driver : 21.0 [ 61.195] X.Org Server Extension : 8.0 [ 61.196] (II) xfree86: Adding drm device (/dev/dri/card1) [ 61.196] (II) xfree86: Adding drm device (/dev/dri/card0) [ 61.196] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied [ 61.202] (--) PCI:*(0:1:0:0) 10de:0fd4:17aa:3977 rev 161, Mem @ 0xd2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128 [ 61.202] (II) LoadModule: "glx" [ 61.202] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 61.330] (II) Module glx: vendor="X.Org Foundation" [ 61.330] compiled for 1.16.1.901, module version = 1.0.0 [ 61.330] ABI class: X.Org Server Extension, version 8.0 [ 61.330] (==) AIGLX enabled [ 61.330] (II) LoadModule: "nvidia" [ 61.330] (WW) Warning, couldn't open module nvidia [ 61.330] (II) UnloadModule: "nvidia" [ 61.330] (II) Unloading nvidia [ 61.330] (EE) Failed to load module "nvidia" (module does not exist, 0) [ 61.330] (II) LoadModule: "mouse" [ 61.330] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so [ 61.332] (II) Module mouse: vendor="X.Org Foundation" [ 61.332] compiled for 1.16.1, module version = 1.9.1 [ 61.332] Module class: X.Org XInput Driver [ 61.332] ABI class: X.Org XInput driver, version 21.0 [ 61.332] (II) LoadModule: "kbd" [ 61.333] (WW) Warning, couldn't open module kbd [ 61.333] (II) UnloadModule: "kbd" [ 61.333] (II) Unloading kbd [ 61.333] (EE) Failed to load module "kbd" (module does not exist, 0) [ 61.333] (EE) No drivers available. [ 61.333] (EE) Fatal server error: [ 61.333] (EE) no screens found(EE) [ 61.333] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 61.333] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information. [ 61.333] (EE)