You are not logged in.
Pages: 1
Hey everyone, I'm new to arch, and I'm having some issues setting up bumblebee. I installed everything that was said on the wiki, but I still cannot seem to get it to work. This is what I get when I try to use optirun or primusrun:
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13]. This is my xrandr --list devices output:
Providers: number : 1
Provider 0: id: 0x46 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:IntelAs you can see, Nvidia is not being detected by xrandr. Also, xrandr returns this: (no HDMI)
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
LVDS1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 60.00*+
1400x1050 59.98
1280x1024 60.02
1280x960 60.00
1024x768 60.00
800x600 60.32 56.25
640x480 59.94
VGA1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 477mm x 268mm
1920x1080 60.00*+
1600x1200 60.00
1680x1050 59.95
1280x1024 75.02 60.02
1440x900 59.89
1280x960 60.00
1152x864 75.00
1024x768 75.08 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 60.00
720x400 70.08
VIRTUAL1 disconnected (normal left inverted right x axis y axis)Currently I am using dual monitors with VGA. But I can't figure out why HDMI is not showing up, or why primus run isn't working. I have a feeling that they are related issues though. Here is my /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 "Screen0"
Device "intelgpu0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
SubSection "Display"
Depth 24
Modes "1980x1080_60.00"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "intelgpu1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
SubSection "Display"
Depth 24
Modes "1980x1080_60.00"
EndSubSection
EndSection
Section "Monitor"
Identifier "Monitor0"
Option "Enable" "true"
EndSection
Section "Monitor"
Identifier "Monitor1"
Option "Enable" "true"
EndSection
Section "Device"
Identifier "intelgpu0"
Driver "intel"
Option "XvMC" "true"
Option "UseEvents" "true"
Option "AccelMethod" "UXA"
BusID "PCI:0:2:0"
EndSection
Section "Device"
Identifier "intelgpu1"
Driver "intel"
Option "XvMC" "true"
Option "UseEvents" "true"
Option "AccelMethod" "UXA"
BusID "PCI:0:2:0"
EndSection
Section "Device"
Identifier "nvidiagpu1"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSectionAnd finally here is the error log for Xorg:
[ 58.445]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[ 58.445] X Protocol Version 11, Revision 0
[ 58.445] Build Operating System: Linux 3.14.0-4-ARCH x86_64
[ 58.445] Current Operating System: Linux localhost 3.14.2-1-ARCH #1 SMP PREEMPT Sun Apr 27 11:28:44 CEST 2014 x86_64
[ 58.445] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=a08a43ff-927e-4706-984e-32b21b64ad6a rw quiet
[ 58.445] Build Date: 14 April 2014 08:39:09AM
[ 58.445]
[ 58.445] Current version of pixman: 0.32.4
[ 58.445] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 58.445] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 58.445] (==) Log file: "/var/log/Xorg.8.log", Time: Sat May 3 23:43:11 2014
[ 58.446] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 58.446] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 58.446] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 58.446] (==) ServerLayout "Layout0"
[ 58.446] (**) |-->Screen "Screen0" (0)
[ 58.446] (**) | |-->Monitor "Monitor0"
[ 58.446] (**) | |-->Device "intelgpu0"
[ 58.446] (**) Option "AutoAddDevices" "false"
[ 58.446] (**) Option "AutoAddGPU" "false"
[ 58.446] (**) Not automatically adding devices
[ 58.446] (==) Automatically enabling devices
[ 58.446] (**) Not automatically adding GPU devices
[ 58.446] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 58.446] Entry deleted from font path.
[ 58.446] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 58.446] Entry deleted from font path.
[ 58.446] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 58.446] Entry deleted from font path.
[ 58.446] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 58.446] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 58.446] Entry deleted from font path.
[ 58.446] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 58.446] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/
[ 58.446] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
[ 58.446] (==) |-->Input Device "<default pointer>"
[ 58.446] (==) |-->Input Device "<default keyboard>"
[ 58.446] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 58.446] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 58.446] (II) Loader magic: 0x804c80
[ 58.446] (II) Module ABI versions:
[ 58.446] X.Org ANSI C Emulation: 0.4
[ 58.447] X.Org Video Driver: 15.0
[ 58.447] X.Org XInput driver : 20.0
[ 58.447] X.Org Server Extension : 8.0
[ 58.447] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 58.447] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 58.447] setversion 1.4 failed: Permission denied
[ 58.448] (--) PCI:*(0:1:0:0) 10de:0fd1:1043:2103 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 58.448] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 58.448] Initializing built-in extension Generic Event Extension
[ 58.448] Initializing built-in extension SHAPE
[ 58.448] Initializing built-in extension MIT-SHM
[ 58.448] Initializing built-in extension XInputExtension
[ 58.448] Initializing built-in extension XTEST
[ 58.448] Initializing built-in extension BIG-REQUESTS
[ 58.448] Initializing built-in extension SYNC
[ 58.448] Initializing built-in extension XKEYBOARD
[ 58.448] Initializing built-in extension XC-MISC
[ 58.448] Initializing built-in extension SECURITY
[ 58.448] Initializing built-in extension XINERAMA
[ 58.448] Initializing built-in extension XFIXES
[ 58.448] Initializing built-in extension RENDER
[ 58.448] Initializing built-in extension RANDR
[ 58.448] Initializing built-in extension COMPOSITE
[ 58.448] Initializing built-in extension DAMAGE
[ 58.448] Initializing built-in extension MIT-SCREEN-SAVER
[ 58.448] Initializing built-in extension DOUBLE-BUFFER
[ 58.448] Initializing built-in extension RECORD
[ 58.448] Initializing built-in extension DPMS
[ 58.448] Initializing built-in extension Present
[ 58.448] Initializing built-in extension DRI3
[ 58.448] Initializing built-in extension X-Resource
[ 58.448] Initializing built-in extension XVideo
[ 58.448] Initializing built-in extension XVideo-MotionCompensation
[ 58.448] Initializing built-in extension XFree86-VidModeExtension
[ 58.448] Initializing built-in extension XFree86-DGA
[ 58.448] Initializing built-in extension XFree86-DRI
[ 58.448] Initializing built-in extension DRI2
[ 58.448] (II) "glx" will be loaded by default.
[ 58.448] (II) LoadModule: "dri2"
[ 58.448] (II) Module "dri2" already built-in
[ 58.448] (II) LoadModule: "glamoregl"
[ 58.449] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 58.545] (II) Module glamoregl: vendor="X.Org Foundation"
[ 58.545] compiled for 1.15.0, module version = 0.6.0
[ 58.545] ABI class: X.Org ANSI C Emulation, version 0.4
[ 58.545] (II) LoadModule: "glx"
[ 58.545] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
[ 58.618] (II) Module glx: vendor="NVIDIA Corporation"
[ 58.618] compiled for 4.0.2, module version = 1.0.0
[ 58.618] Module class: X.Org Server Extension
[ 58.618] (II) NVIDIA GLX Module 337.12 Fri Apr 4 14:34:00 PDT 2014
[ 58.618] Loading extension GLX
[ 58.618] (II) LoadModule: "intel"
[ 58.618] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 58.621] (II) Module intel: vendor="X.Org Foundation"
[ 58.621] compiled for 1.15.0, module version = 2.99.911
[ 58.621] Module class: X.Org Video Driver
[ 58.621] ABI class: X.Org Video Driver, version 15.0
[ 58.621] (II) LoadModule: "mouse"
[ 58.621] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[ 58.624] (II) Module mouse: vendor="X.Org Foundation"
[ 58.624] compiled for 1.15.0, module version = 1.9.0
[ 58.624] Module class: X.Org XInput Driver
[ 58.624] ABI class: X.Org XInput driver, version 20.0
[ 58.624] (II) LoadModule: "kbd"
[ 58.624] (II) Loading /usr/lib/xorg/modules/input/kbd_drv.so
[ 58.626] (II) Module kbd: vendor="X.Org Foundation"
[ 58.626] compiled for 1.15.0, module version = 1.8.0
[ 58.626] Module class: X.Org XInput Driver
[ 58.626] ABI class: X.Org XInput driver, version 20.0
[ 58.626] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 58.627] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
[ 58.627] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
[ 58.627] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
[ 58.627] (--) using VT number 1
[ 60.841] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].
[ 60.841] (EE) intel(0): Failed to become DRM master.
[ 60.841] (II) UnloadModule: "intel"
[ 60.841] (EE) Screen(s) found, but none have a usable configuration.
[ 60.841] (EE)
Fatal server error:
[ 60.841] (EE) no screens found(EE)
[ 60.841] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 60.841] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 60.841] (EE)
[ 60.841] (EE) Server terminated with error (1). Closing log file.I come from Ubuntu, and there I used a package called nvidia-prime. This one always left my nvidia card enabled, but at least worked with HDMI. I was never able to get bumblebee working with HDMI in Ubuntu either.
Also I'm not sure I understand which card my vga/hdmi ports are wired to. If anyone can provide any good reads to understand all of this I would really appreciate it.
Thanks for helping
marianos
Offline
Are u logged in as root?
Or have you created another user?
If you have another user that root do
sudo gpasswd <user name> video to allow it to start x server
Last edited by ioanm (2014-05-04 08:55:10)
Arch Linux + i3wm (amd64)
Offline
I added myself to video group, but it's still not working
Offline
Pages: 1