Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/dev/dri/card0: failed to set DRM interface version 1.4: Permission denied #646

Open
nomius opened this issue Apr 2, 2015 · 7 comments
Open

Comments

@nomius
Copy link

nomius commented Apr 2, 2015

I'm using bumblebee with intel and nvidia (not nouveau) and when running bumblebeed with debug output I'm getting:

[ 4083.567081] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

Is this normal?

This is the full output:

[ 4082.655375] [DEBUG]Accepted new connection
[ 4082.655478] [INFO]Switching dedicated card ON [bbswitch]
[ 4082.816638] [INFO]Loading driver nvidia (module nvidia)
[ 4082.816755] [DEBUG]Process modprobe started, PID 8813.
[ 4082.824959] [DEBUG]Process with PID 8813 returned code 0
[ 4082.825012] [INFO]Starting X server on display :8.
[ 4082.825077] [DEBUG]Process Xorg started, PID 8819.
[ 4083.566781] [DEBUG][XORG] X.Org X Server 1.17.1
[ 4083.566789] [DEBUG][XORG] Release Date: 2015-02-10
[ 4083.566791] [DEBUG][XORG] X Protocol Version 11, Revision 0
[ 4083.566793] [DEBUG][XORG] Build Operating System: Linux 3.14.34 x86_64 
[ 4083.566794] [DEBUG][XORG] Current Operating System: Linux localhost.KWORT 3.19.2 #1 SMP Mon Mar 23 02:22:12 ART 2015 x86_64
[ 4083.566796] [DEBUG][XORG] Kernel command line: auto BOOT_IMAGE=Kwort ro root=802 resume=/dev/sda3 acpi_backlight=vendor rootfstype=ext4
[ 4083.566797] [DEBUG][XORG] Build Date: 10 March 2015  07:53:16PM
[ 4083.566799] [DEBUG][XORG] Current version of pixman: 0.32.6
[ 4083.566800] [DEBUG][XORG]    Before reporting problems, check http://wiki.x.org
[ 4083.566802] [DEBUG][XORG]    to make sure that you have the latest version.
[ 4083.566804] [DEBUG][XORG] Markers: (--) probed, (**) from config file, (==) default setting,
[ 4083.566805] [DEBUG][XORG]    (++) from command line, (!!) notice, (II) informational,
[ 4083.566807] [DEBUG][XORG]    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 4083.566808] [DEBUG][XORG] (==) Log file: "/var/log/Xorg.8.log", Time: Thu Apr  2 01:59:09 2015
[ 4083.566810] [DEBUG][XORG] (++) Using config file: "/usr/etc/bumblebee/xorg.conf.nvidia"
[ 4083.566811] [DEBUG][XORG] (++) Using config directory: "/usr/etc/bumblebee/xorg.conf.d"
[ 4083.566812] [DEBUG][XORG] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 4083.566814] [DEBUG][XORG] (==) ServerLayout "Layout0"
[ 4083.566815] [DEBUG][XORG] (**) |-->Screen "Default Screen" (0)
[ 4083.566817] [DEBUG][XORG] (**) |   |-->Monitor "<default monitor>"
[ 4083.566818] [DEBUG][XORG] (**) |   |-->Device "DiscreteNvidia"
[ 4083.566820] [DEBUG][XORG] (==) No monitor specified for screen "Default Screen".
[ 4083.566821] [DEBUG][XORG]    Using a default monitor configuration.
[ 4083.566823] [DEBUG][XORG] (**) Option "AutoAddDevices" "false"
[ 4083.566824] [DEBUG][XORG] (**) Option "AutoAddGPU" "false"
[ 4083.566825] [DEBUG][XORG] (**) Not automatically adding devices
[ 4083.566827] [DEBUG][XORG] (==) Automatically enabling devices
[ 4083.566828] [DEBUG][XORG] (**) Not automatically adding GPU devices
[ 4083.566830] [DEBUG][XORG] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[ 4083.566831] [DEBUG][XORG]    Entry deleted from font path.
[ 4083.566833] [DEBUG][XORG] (WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.
[ 4083.566834] [DEBUG][XORG]    Entry deleted from font path.
[ 4083.566836] [DEBUG][XORG] (==) FontPath set to:
[ 4083.566837] [DEBUG][XORG]    /usr/share/fonts/X11/misc/,
[ 4083.566839] [DEBUG][XORG]    /usr/share/fonts/X11/TTF/,
[ 4083.566840] [DEBUG][XORG]    /usr/share/fonts/X11/100dpi/,
[ 4083.566842] [DEBUG][XORG]    /usr/share/fonts/X11/75dpi/
[ 4083.566843] [DEBUG][XORG] (++) ModulePath set to "/usr/lib/xorg/nvidia/modules/drivers/,/usr/lib/xorg/nvidia/modules,/usr/lib/xorg/modules,/usr/lib/xorg/modules/drivers"
[ 4083.566845] [DEBUG][XORG] (==) |-->Input Device "<default pointer>"
[ 4083.566846] [DEBUG][XORG] (==) |-->Input Device "<default keyboard>"
[ 4083.566848] [DEBUG][XORG] (==) The core pointer device wasn't specified explicitly in the layout.
[ 4083.566849] [DEBUG][XORG]    Using the default mouse configuration.
[ 4083.566851] [DEBUG][XORG] (==) The core keyboard device wasn't specified explicitly in the layout.
[ 4083.566852] [DEBUG][XORG]    Using the default keyboard configuration.
[ 4083.566853] [DEBUG][XORG] (II) Loader magic: 0x8008e0
[ 4083.566855] [DEBUG][XORG] (II) Module ABI versions:
[ 4083.566856] [DEBUG][XORG]    X.Org ANSI C Emulation: 0.4
[ 4083.566858] [DEBUG][XORG]    X.Org Video Driver: 19.0
[ 4083.566859] [DEBUG][XORG]    X.Org XInput driver : 21.0
[ 4083.566860] [DEBUG][XORG]    X.Org Server Extension : 9.0
[ 4083.566862] [DEBUG][XORG] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 4083.566863] [DEBUG][XORG] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 4083.566867] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 4083.566869] [DEBUG][XORG] (--) PCI:*(0:1:0:0) 10de:1292:103c:1963 rev 161, Mem @ 0xd2000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00006000/128, BIOS @ 0x????????/524288
[ 4083.566871] [DEBUG][XORG] (II) Open ACPI successful (/var/run/acpid.socket)
[ 4083.566872] [DEBUG][XORG] (II) LoadModule: "glx"
[ 4083.566874] [DEBUG][XORG] (II) Loading /usr/lib/xorg/nvidia/modules/extensions/libglx.so
[ 4083.566875] [DEBUG][XORG] (II) Module glx: vendor="NVIDIA Corporation"
[ 4083.566877] [DEBUG][XORG]    compiled for 4.0.2, module version = 1.0.0
[ 4083.566878] [DEBUG][XORG]    Module class: X.Org Server Extension
[ 4083.566880] [DEBUG][XORG] (II) NVIDIA GLX Module  346.47  Thu Feb 19 18:09:07 PST 2015
[ 4083.566881] [DEBUG][XORG] (II) LoadModule: "nvidia"
[ 4083.566882] [DEBUG][XORG] (II) Loading /usr/lib/xorg/nvidia/modules/drivers/nvidia_drv.so
[ 4083.566884] [DEBUG][XORG] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 4083.566885] [DEBUG][XORG]    compiled for 4.0.2, module version = 1.0.0
[ 4083.566887] [DEBUG][XORG]    Module class: X.Org Video Driver
[ 4083.566888] [DEBUG][XORG] (II) LoadModule: "mouse"
[ 4083.566890] [DEBUG][XORG] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[ 4083.566891] [DEBUG][XORG] (II) Module mouse: vendor="X.Org Foundation"
[ 4083.566892] [DEBUG][XORG]    compiled for 1.17.1, module version = 1.9.1
[ 4083.566894] [DEBUG][XORG]    Module class: X.Org XInput Driver
[ 4083.566895] [DEBUG][XORG]    ABI class: X.Org XInput driver, version 21.0
[ 4083.566897] [DEBUG][XORG] (II) LoadModule: "kbd"
[ 4083.566898] [DEBUG][XORG] (II) Loading /usr/lib/xorg/modules/input/kbd_drv.so
[ 4083.566900] [DEBUG][XORG] (II) Module kbd: vendor="X.Org Foundation"
[ 4083.566901] [DEBUG][XORG]    compiled for 1.17.1, module version = 1.8.0
[ 4083.566902] [DEBUG][XORG]    Module class: X.Org XInput Driver
[ 4083.566904] [DEBUG][XORG]    ABI class: X.Org XInput driver, version 21.0
[ 4083.566905] [DEBUG][XORG] (II) NVIDIA dlloader X Driver  346.47  Thu Feb 19 17:47:18 PST 2015
[ 4083.566907] [DEBUG][XORG] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 4083.566908] [DEBUG][XORG] (--) using VT number 1
[ 4083.566910] [DEBUG][XORG] (II) Loading sub module "fb"
[ 4083.566911] [DEBUG][XORG] (II) LoadModule: "fb"
[ 4083.566913] [DEBUG][XORG] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 4083.566914] [DEBUG][XORG] (II) Module fb: vendor="X.Org Foundation"
[ 4083.566915] [DEBUG][XORG]    compiled for 1.17.1, module version = 1.0.0
[ 4083.566917] [DEBUG][XORG]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 4083.566918] [DEBUG][XORG] (II) Loading sub module "wfb"
[ 4083.566920] [DEBUG][XORG] (II) LoadModule: "wfb"
[ 4083.566921] [DEBUG][XORG] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 4083.566922] [DEBUG][XORG] (II) Module wfb: vendor="X.Org Foundation"
[ 4083.566924] [DEBUG][XORG]    compiled for 1.17.1, module version = 1.0.0
[ 4083.566925] [DEBUG][XORG]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 4083.566927] [DEBUG][XORG] (II) Loading sub module "ramdac"
[ 4083.566928] [DEBUG][XORG] (II) LoadModule: "ramdac"
[ 4083.566929] [DEBUG][XORG] (II) Module "ramdac" already built-in
[ 4083.566931] [DEBUG][XORG] (II) NVIDIA(0): Creating default Display subsection in Screen section
[ 4083.566932] [DEBUG][XORG]    "Default Screen" for depth/fbbpp 24/32
[ 4083.566934] [DEBUG][XORG] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 4083.566935] [DEBUG][XORG] (==) NVIDIA(0): RGB weight 888
[ 4083.566936] [DEBUG][XORG] (==) NVIDIA(0): Default visual is TrueColor
[ 4083.566938] [DEBUG][XORG] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 4083.566939] [DEBUG][XORG] (**) NVIDIA(0): Option "NoLogo" "true"
[ 4083.566941] [DEBUG][XORG] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[ 4083.566942] [DEBUG][XORG] (**) NVIDIA(0): Option "UseEDID" "false"
[ 4083.566943] [DEBUG][XORG] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[ 4083.566945] [DEBUG][XORG] (**) NVIDIA(0): Enabling 2D acceleration
[ 4083.566946] [DEBUG][XORG] (**) NVIDIA(0): Ignoring EDIDs
[ 4083.566948] [DEBUG][XORG] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[ 4083.566949] [DEBUG][XORG] (**) NVIDIA(0):     mode
[ 4083.566950] [DEBUG][XORG] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
[ 4083.566952] [DEBUG][XORG] (II) NVIDIA(0): NVIDIA GPU GeForce GT 740M (GK208) at PCI:1:0:0 (GPU-0)
[ 4083.566953] [DEBUG][XORG] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 4083.566955] [DEBUG][XORG] (--) NVIDIA(0): VideoBIOS: 80.28.3e.00.1d
[ 4083.566956] [DEBUG][XORG] (II) NVIDIA(0): Detected PCI Express Link width: 8X
[ 4083.566957] [DEBUG][XORG] (--) NVIDIA(0): Valid display device(s) on GeForce GT 740M at PCI:1:0:0
[ 4083.566959] [DEBUG][XORG] (--) NVIDIA(0):     none
[ 4083.566960] [DEBUG][XORG] (II) NVIDIA(0): Validated MetaModes:
[ 4083.566962] [DEBUG][XORG] (II) NVIDIA(0):     "NULL"
[ 4083.566963] [DEBUG][XORG] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 4083.566965] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 4083.566966] [DEBUG][XORG] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 4083.566968] [DEBUG][XORG] (--) Depth 24 pixmap format is 32 bpp
[ 4083.566969] [DEBUG][XORG] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[ 4083.566970] [DEBUG][XORG] (II) NVIDIA:     access.
[ 4083.566972] [DEBUG][XORG] (II) NVIDIA(0): Setting mode "NULL"
[ 4083.566973] [DEBUG][XORG] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 4083.566974] [DEBUG][XORG] (==) NVIDIA(0): Backing store enabled
[ 4083.566976] [DEBUG][XORG] (==) NVIDIA(0): Silken mouse enabled
[ 4083.566977] [DEBUG][XORG] (==) NVIDIA(0): DPMS enabled
[ 4083.566979] [DEBUG][XORG] (II) Loading sub module "dri2"
[ 4083.566980] [DEBUG][XORG] (II) LoadModule: "dri2"
[ 4083.566981] [DEBUG][XORG] (II) Module "dri2" already built-in
[ 4083.566982] [DEBUG][XORG] (II) NVIDIA(0): [DRI2] Setup complete
[ 4083.566984] [DEBUG][XORG] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[ 4083.566985] [DEBUG][XORG] (--) RandR disabled
[ 4083.566987] [DEBUG][XORG] (II) Initializing extension GLX
[ 4083.566988] [DEBUG][XORG] (II) Indirect GLX disabled.(II) Using input driver 'mouse' for '<default pointer>'
[ 4083.566989] [DEBUG][XORG] (**) Option "CorePointer" "on"
[ 4083.566991] [DEBUG][XORG] (**) <default pointer>: always reports core events
[ 4083.566992] [DEBUG][XORG] (WW) <default pointer>: No Device specified, looking for one...
[ 4083.566994] [DEBUG][XORG] (II) <default pointer>: Setting Device option to "/dev/input/mice"
[ 4083.566995] [DEBUG][XORG] (--) <default pointer>: Device: "/dev/input/mice"
[ 4083.566997] [DEBUG][XORG] (==) <default pointer>: Protocol: "Auto"
[ 4083.566998] [DEBUG][XORG] (**) <default pointer>: always reports core events
[ 4083.566999] [DEBUG][XORG] (**) Option "Device" "/dev/input/mice"
[ 4083.567006] [DEBUG][XORG] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
[ 4083.567019] [DEBUG][XORG] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
[ 4083.567020] [DEBUG][XORG] (**) <default pointer>: Buttons: 9
[ 4083.567022] [DEBUG][XORG] (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE, id 6)
[ 4083.567023] [DEBUG][XORG] (**) <default pointer>: (accel) keeping acceleration scheme 1
[ 4083.567025] [DEBUG][XORG] (**) <default pointer>: (accel) acceleration profile 0
[ 4083.567026] [DEBUG][XORG] (**) <default pointer>: (accel) acceleration factor: 2.000
[ 4083.567028] [DEBUG][XORG] (**) <default pointer>: (accel) acceleration threshold: 4
[ 4083.567029] [DEBUG][XORG] (II) <default pointer>: Setting mouse protocol to "ExplorerPS/2"
[ 4083.567031] [DEBUG][XORG] (II) <default pointer>: ps2EnableDataReporting: succeeded
[ 4083.567032] [DEBUG][XORG] (II) Using input driver 'kbd' for '<default keyboard>'
[ 4083.567034] [DEBUG][XORG] (**) Option "CoreKeyboard" "on"
[ 4083.567035] [DEBUG][XORG] (**) <default keyboard>: always reports core events
[ 4083.567037] [DEBUG][XORG] (**) <default keyboard>: always reports core events
[ 4083.567038] [DEBUG][XORG] (**) Option "Protocol" "standard"
[ 4083.567040] [DEBUG][XORG] (**) Option "XkbRules" "base"
[ 4083.567041] [DEBUG][XORG] (**) Option "XkbModel" "pc105"
[ 4083.567042] [DEBUG][XORG] (**) Option "XkbLayout" "us"
[ 4083.567053] [DEBUG][XORG] (II) XINPUT: Adding extended input device "<default keyboard>" (type: KEYBOARD, id 7)
[ 4083.567055] [DEBUG][XORG] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 4083.567056] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 4083.567058] [DEBUG][XORG] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[ 4083.567059] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 4083.567070] [DEBUG][XORG] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[ 4083.567071] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 4083.567072] [DEBUG][XORG] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[ 4083.567074] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 4083.567075] [DEBUG][XORG] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[ 4083.567077] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 4083.567078] [DEBUG][XORG] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 4083.567079] [DEBUG][XORG] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 4083.567081] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 4083.567083] [DEBUG][XORG] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event11)
[ 4083.567084] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 4083.567085] [DEBUG][XORG] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event12)
[ 4083.567087] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 4083.567088] [DEBUG][XORG] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event13)
[ 4083.567090] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 4083.567091] [DEBUG][XORG] (II) config/udev: Adding input device HP Truevision HD (/dev/input/event9)
[ 4083.567093] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 4083.567094] [DEBUG][XORG] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event14)
[ 4083.567095] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 4083.567097] [DEBUG][XORG] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event15)
[ 4083.567098] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 4083.567100] [DEBUG][XORG] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event5)
[ 4083.567101] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 4083.567102] [DEBUG][XORG] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event6)
[ 4083.567104] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 4083.567105] [DEBUG][XORG] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[ 4083.567107] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 4083.567108] [DEBUG][XORG] (II) config/udev: Adding input device ST LIS3LV02DL Accelerometer (/dev/input/event8)
[ 4083.567110] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 4083.567111] [DEBUG][XORG] (II) config/udev: Adding input device HP Wireless hotkeys (/dev/input/event7)
[ 4083.567113] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 4083.567114] [DEBUG][XORG] (II) config/udev: Adding input device HP WMI hotkeys (/dev/input/event10)
[ 4083.567116] [DEBUG][XORG] (II) AutoAddDevices is off - not adding device.
[ 4083.567174] [INFO]X successfully started in 1 seconds

This is my bumblebee.conf:

[bumblebeed]
VirtualDisplay=:8
KeepUnusedXServer=false
ServerGroup=bumblebee
TurnCardOffAtExit=false
NoEcoModeOverride=false
Driver=nvidia
XorgConfDir=/usr/etc/bumblebee/xorg.conf.d

[optirun]
Bridge=primus
VGLTransport=proxy
PrimusLibraryPath=/usr/lib/primus
AllowFallbackToIGC=false

[driver-nvidia]
KernelDriver=nvidia
PMMethod=bbswitch
LibraryPath=/usr/lib/nvidia
XorgModulePath=/usr/lib/xorg/nvidia/modules/drivers/,/usr/lib/xorg/nvidia/modules,/usr/lib/xorg/modules,/usr/lib/xorg/modules/drivers
XorgConfFile=/usr/etc/bumblebee/xorg.conf.nvidia

And this is my /usr/etc/bumblebee/xorg.conf.nvidia:

Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

    Option "ProbeAllGpus" "false"

    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection

Section "Screen"
    Identifier "Default Screen"
    Device "DiscreteNvidia"
EndSection

My user is in the bumblebee group and I also tried with the root user which produces no difference. File card0 is 0660 and owned by root:video (my user is also under the group video).

Thanks in advance and best regards,

@HalisCz
Copy link

HalisCz commented Apr 4, 2015

I have the same issue on Gentoo with gentoo-sources-3.18.9 and nvidia-drivers-346.47. I' tried to add info about screen section into /etc/bumblebeed/xorg.conf.nvidia but with no luck. I still get this:

sudo /etc/init.d/vgl stop ; sudo /etc/init.d/bumblebee stop; sudo rmmod nvidia ; sudo rmmod bbswitch ; sudo /etc/init.d/bumblebee start ; optirun -vv status
bumblebee          | * Stopping BumbleBee Daemon ...                                                                        [ ok ]
vgl                | * Stopping VirtualGL ...                                                                               [ ok ]
bumblebee          | * WARNING: bumblebee is already stopped
rmmod: ERROR: Module nvidia is not currently loaded
rmmod: ERROR: Module bbswitch is not currently loaded
vgl                | * Starting VirtualGL ...                                                                               [ ok ]
bumblebee          | * Starting BumbleBee Daemon ...                                                                        [ ok ]
[  461.397244] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  461.397615] [INFO]Configured driver: nvidia
[  461.513911] [DEBUG]optirun version 3.2.1 starting...
[  461.513945] [DEBUG]Active configuration:
[  461.513952] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  461.513959] [DEBUG] X display: :8
[  461.513964] [DEBUG] LD_LIBRARY_PATH: /usr/lib64/opengl/nvidia/lib:/usr/lib32/opengl/nvidia/lib:/usr/lib/opengl/nvidia/lib
[  461.513971] [DEBUG] Socket path: /var/run/bumblebee.socket
[  461.513977] [DEBUG] Accel/display bridge: auto
[  461.513983] [DEBUG] VGL Compression: proxy
[  461.513988] [DEBUG] VGLrun extra options: 
[  461.513994] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[  461.514072] [DEBUG]Using auto-detected bridge virtualgl
[  463.317498] [INFO]Response: No - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[  463.317535] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[  463.317547] [DEBUG]Socket closed.
[  463.317580] [ERROR]Aborting because fallback start is disabled.
[  463.317591] [DEBUG]Killing all remaining processes.

@ArchangeGabriel
Copy link
Member

Both of you get optirun working, right?

The drm error is a “false” error when using nvidia, it shouldn’t be an issue, but we can’t auto-ignore it, because it is meaningful in other cases.

@nomius
Copy link
Author

nomius commented Apr 9, 2015

You're right, if that's the case then you can close this issue.

Thanks for the clarification!

@ArchangeGabriel
Copy link
Member

I’m keeping it open to include this in doc.

@HalisCz
Copy link

HalisCz commented Apr 10, 2015

Both of you get optirun working, right?
No, I didn't. Even if I try to add the lines into xorg.conf.nvidia.

@ArchangeGabriel
Copy link
Member

Can you open a new issue with dmesg and Xorg.8.log please?

@HalisCz
Copy link

HalisCz commented Apr 19, 2015

Submitted as #652

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants