You are not logged in.
Pages: 1
HI, i installed bumblebeed on my laptop, but i have a problem when i try using nvidia with optirun.
when i start bumblebeed i do optirun --status and bumblebee is ok.
but when i do optirun someprogram
bumblebeed crashed
this is my log
bumblebeed[2210]: [ 1613.005568] [ERROR][XORG] (EE) systemd-logind: failed to get session: PID 2221 does not belong to any known session
bumblebeed[2210]: [ 1613.005582] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
bumblebeed[2210]: [ 1613.005593] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
bumblebeed[2210]: [ 1613.005597] [ERROR][XORG] (EE) NVIDIA(0): Failed to initiate mode change.
bumblebeed[2210]: [ 1613.005600] [ERROR][XORG] (EE) NVIDIA(0): Failed to complete mode change
bumblebeed[2210]: [ 1613.005610] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission deniedOffline
Please consult the wiki: http://wiki.archlinux.org/index.php/Bum … wn_session
Offline
HI my files has this parameters in xorg.conf.nvidia
but not work
this is my log
[emanuelx@n00bs ~]$ sudo journalctl -f
-- Logs begin at Ter 2014-12-09 00:28:20 WET. --
Dez 09 00:30:07 n00bs kernel: [drm] Module unloaded
Dez 09 00:30:07 n00bs kernel: bbswitch: disabling discrete graphics
Dez 09 00:30:07 n00bs kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dez 09 00:30:07 n00bs kernel: pci 0000:01:00.0: Refused to change power state, currently in D0
Dez 09 00:30:07 n00bs bumblebeed[437]: [ 113.270409] [ERROR][XORG] (EE) Server terminated successfully (0). Closing log file.
Dez 09 00:30:09 n00bs acpid[435]: client 859[0:617] has disconnected
Dez 09 00:30:09 n00bs acpid[435]: client 859[0:617] has disconnected
Dez 09 00:31:07 n00bs sudo[800]: pam_unix(sudo:session): session closed for user root
Dez 09 00:31:11 n00bs sudo[885]: emanuelx : TTY=pts/0 ; PWD=/home/emanuelx ; USER=root ; COMMAND=/usr/bin/journalctl -f
Dez 09 00:31:11 n00bs sudo[885]: pam_unix(sudo:session): session opened for user root by emanuelx(uid=0)
Dez 09 00:31:32 n00bs sudo[901]: emanuelx : TTY=pts/1 ; PWD=/home/emanuelx ; USER=root ; COMMAND=/usr/bin/systemctl restart bumblebeed
Dez 09 00:31:32 n00bs sudo[901]: pam_unix(sudo:session): session opened for user root by emanuelx(uid=0)
Dez 09 00:31:32 n00bs bumblebeed[437]: [ 197.500730] [WARN]Received Terminated signal.
Dez 09 00:31:32 n00bs kernel: bbswitch: enabling discrete graphics
Dez 09 00:31:32 n00bs sudo[901]: pam_unix(sudo:session): session closed for user root
Dez 09 00:31:32 n00bs bumblebeed[905]: [ 197.920828] [INFO]/usr/bin/bumblebeed 3.2.1 started
Dez 09 00:31:32 n00bs kernel: bbswitch: disabling discrete graphics
Dez 09 00:31:32 n00bs kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dez 09 00:31:50 n00bs kernel: bbswitch: enabling discrete graphics
Dez 09 00:31:50 n00bs kernel: [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
Dez 09 00:31:50 n00bs kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 343.22 Thu Sep 11 16:27:43 PDT 2014
Dez 09 00:31:50 n00bs acpid[435]: client connected from 915[0:617]
Dez 09 00:31:50 n00bs acpid[435]: 1 client rule loaded
Dez 09 00:31:50 n00bs kernel: vgaarb: this pci device is not a vga device
Dez 09 00:31:50 n00bs kernel: nvidia 0000:01:00.0: irq 34 for MSI/MSI-X
Dez 09 00:31:50 n00bs kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dez 09 00:31:50 n00bs kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dez 09 00:31:50 n00bs kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dez 09 00:31:50 n00bs kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dez 09 00:31:50 n00bs kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dez 09 00:31:50 n00bs kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dez 09 00:31:50 n00bs kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dez 09 00:31:50 n00bs kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dez 09 00:31:53 n00bs kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dez 09 00:31:53 n00bs kernel: vgaarb: this pci device is not a vga device
Dez 09 00:31:53 n00bs acpid[435]: client connected from 915[0:617]
Dez 09 00:31:53 n00bs acpid[435]: 1 client rule loaded
Dez 09 00:31:54 n00bs bumblebeed[905]: [ 219.613414] [ERROR][XORG] (EE) systemd-logind: failed to get session: PID 915 does not belong to any known session
Dez 09 00:31:54 n00bs bumblebeed[905]: [ 219.613455] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
Dez 09 00:31:54 n00bs bumblebeed[905]: [ 219.613486] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
Dez 09 00:31:54 n00bs bumblebeed[905]: [ 219.613496] [ERROR][XORG] (EE) NVIDIA(0): Failed to initiate mode change.
Dez 09 00:31:54 n00bs bumblebeed[905]: [ 219.613503] [ERROR][XORG] (EE) NVIDIA(0): Failed to complete mode change
Dez 09 00:31:54 n00bs bumblebeed[905]: [ 219.613528] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
Dez 09 00:31:54 n00bs kernel: [drm] Module unloaded
Dez 09 00:31:54 n00bs kernel: bbswitch: disabling discrete graphics
Dez 09 00:31:54 n00bs kernel: ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140724/nsarguments-95)
Dez 09 00:31:54 n00bs kernel: pci 0000:01:00.0: Refused to change power state, currently in D0
Dez 09 00:31:54 n00bs bumblebeed[905]: [ 219.976917] [ERROR][XORG] (EE) Server terminated successfully (0). Closing log file.
Dez 09 00:32:02 n00bs acpid[435]: client 915[0:617] has disconnected
Dez 09 00:32:02 n00bs acpid[435]: client 915[0:617] has disconnectedmy bumblebee.conf
# Configuration file for Bumblebee. Values should **not** be put between quotes
## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d
## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false
# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
# bbswitch - new in BB 3, recommended if available
# switcheroo - vga_switcheroo method, use at your own risk
# none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveauand my xorg.conf.nvidia
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
# 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
Section "Screen"
Identifier "Default Screen"
Device "DiscreteNvidia"
EndSectionLast edited by emanuelx (2014-12-09 00:38:38)
Offline
Where did you get instructions on setting up that xorg.conf? (I'm asking because it doesn't look at all familiar for someone wanting to run both an Intel card and an nVidia card.)
Have you tried without it (the xorg.conf)?
What video card(s) do you have in your system?
And ditto what ssri said -- read the Wiki, let us know what step fails for you.
Matt
"It is very difficult to educate the educated."
Offline
Where did you get instructions on setting up that xorg.conf? (I'm asking because it doesn't look at all familiar for someone wanting to run both an Intel card and an nVidia card.)
I have the same xorg.conf.nvidia it comes with bumblebee ![]()
I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do. (Gune | Titan A.E.)
Offline
my laptop is asus k56cb my i have a 3rd generation cpu and nvidia gt740M.
in my system i use bumblebee xorg.conf.nvidia.
if i try using file /etc/X11/xorg.conf the system will going crash Xorg.
with bumblebee is necessary use the file /etc/X11/xorg.conf?
thank's
Offline
What is the output of
lspci | grep VGAand
uame -a@dice: Thanks for the info. I hadn't noticed that when I was using nVidia/Bumblebee.
Matt
"It is very difficult to educate the educated."
Offline
here it is lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)and lspci | grep 3D
01:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 740M] (rev ff)uname -a
Linux n00bs 3.17.4-1-ARCH #1 SMP PREEMPT Fri Nov 21 21:14:42 CET 2014 x86_64 GNU/LinuOffline
what do you mean with
in my system i use bumblebee xorg.conf.nvidia.
?
Did you follow the instructions on the wiki linked by ssri?
I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do. (Gune | Titan A.E.)
Offline
I noticed there is a permissions error. Have you added your user to the "bumblebee" group?
Offline
I noticed there is a permissions error. Have you added your user to the "bumblebee" group?
yes i am in that group and my root user.
Offline
Pages: 1