No other monitors connected to my PC
dmesg | tail after first booting up then firing up Firefox
Code:
[ 94.728930] nvidia: module license 'NVIDIA' taints kernel.
[ 94.728933] Disabling lock debugging due to kernel taint
[ 95.212018] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[ 95.212452] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
[ 95.212458] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 346.47 Thu Feb 19 18:56:03 PST 2015
OFF/ON
Code:
tee /proc/acpi/bbswitch <<<OFF
OFF
tee /proc/acpi/bbswitch <<<ON
ON
dmesg | tail
[ 217.822484] bbswitch: device 0000:01:00.0 is in use by driver 'nvidia', refusing OFF
optirun glxgears/glxspheres64 gives me this after closing the window
Code:
(dmesg)[83635.389363] pci 0000:01:00.0: Refused to change power state, currently in D0
dmesg | tail of OFF/ON after using optiplex glxspheres64 or optiplex glxgears:
Code:
tee /proc/acpi/bbswitch <<<OFF
(dmesg)[ 163.870602] bbswitch: disabling discrete graphics
(dmesg)[ 163.870613] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
tee /proc/acpi/bbswitch <<<ON
(dmesg)[ 224.089459] bbswitch: enabling discrete graphics
xorg.conf.nvidia
Code:
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:01:00:0"
# If the X server does not automatically detect your VGA device,
# you can manually set it here.
# To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
# as you see in the commented example.
# This Setting may be needed in some platforms with more than one
# nvidia card, which may confuse the proprietary driver (e.g.,
# trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
# BusID "PCI:01:00:0"
# Setting ProbeAllGpus to false prevents the new proprietary driver
# instance spawned to try to control the integrated graphics card,
# which is already being managed outside bumblebee.
# This option doesn't hurt and it is required on platforms running
# more than one nvidia graphics card with the proprietary driver.
# (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
# If this option is not set, the new Xorg may blacken the screen and
# render it unusable (unless you have some way to run killall Xorg).
Option "ProbeAllGpus" "false"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
EndSection
optirun glxgears and optirun glxspheres64 works fine, but both glxgears and glxspheres64 are broken for me.
Let me know if you need anymore info.