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

Problems with bumblebee + nouveau on Fedora 18 beta test #298

Closed
gsgatlin opened this issue Dec 5, 2012 · 18 comments
Closed

Problems with bumblebee + nouveau on Fedora 18 beta test #298

gsgatlin opened this issue Dec 5, 2012 · 18 comments

Comments

@gsgatlin
Copy link

gsgatlin commented Dec 5, 2012

Hello,

I am having trouble getting bumblebee to work on the beta test of fedora 18. Any help or ideas would be extremely appreciated. :)

optirun -vv glxgears
[ 356.879485] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 357.036554] [DEBUG]optirun version 3.0.1 starting...
[ 357.036643] [DEBUG]Active configuration:
[ 357.036676] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 357.036790] [DEBUG] X display: :8
[ 357.036824] [DEBUG] LD_LIBRARY_PATH:
[ 357.036854] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 357.036884] [DEBUG] VGL Compression: proxy
[ 357.435574] [INFO]Response: No - error: XORG Failed to load module "mouse" (module does not exist, 0)

[ 357.435618] [ERROR]Cannot access secondary GPU - error: XORG Failed to load module "mouse" (module does not exist, 0)

[ 357.435628] [DEBUG]Socket closed.
[ 357.435655] [ERROR]Aborting because fallback start is disabled.
[ 357.435664] [DEBUG]Killing all remaining processes.

acpi_handle_hack and bbswitch have been loaded according to lsmod.

I have created a /etc/sysconfig/modules/bumblebee-bugreport-20121205_163722.tar.gz file I could email to lekensteyn@gmail.com ?

The /var/log/messages file contains:

Dec 5 16:31:42 y470 bumblebeed[716]: [ 1225.056909] [DEBUG]Accepted new connection
Dec 5 16:31:42 y470 bumblebeed[716]: [ 1225.266184] [DEBUG]there is no PCI configuration space to restore
Dec 5 16:31:42 y470 bumblebeed[716]: [ 1225.266742] [INFO]Starting X server on display :8.
Dec 5 16:31:42 y470 bumblebeed[716]: [ 1225.268800] [DEBUG]Process Xorg started, PID 2616.
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405432] [DEBUG][XORG] X.Org X Server 1.13.0
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405476] [DEBUG][XORG] Release Date: 2012-09-05
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405486] [DEBUG][XORG] X Protocol Version 11, Revision 0
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405496] [DEBUG][XORG] Build Operating System: 2.6.32-279.9.1.el6.x86_64
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405506] [DEBUG][XORG] Current Operating System: Linux y470.eos.ncsu.edu 3.6.7-5.fc18.x86_64 #1 SMP Tue Nov 20 19:40:08 UTC 2012 x86_64
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405514] [DEBUG][XORG] Kernel command line: BOOT_IMAGE=/vmlinuz-3.6.7-5.fc18.x86_64 root=/dev/mapper/fedora_y470-root ro rd.md=0 rd.dm=0 rd.luks=0 rd.lvm.lv=fedora_y470/swap rd.lvm.lv=fedora_y470/root rhgb quiet LANG=en_US.UTF-8
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405525] [DEBUG][XORG] Build Date: 30 November 2012 07:30:11PM
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405535] [DEBUG][XORG] Build ID: xorg-x11-server 1.13.0-11.fc18
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405544] [DEBUG][XORG] Current version of pixman: 0.26.2
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405552] [DEBUG][XORG] #011Before reporting problems, check http://wiki.x.org
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405560] [DEBUG][XORG] #011to make sure that you have the latest version.
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405568] [DEBUG][XORG] Markers: (--) probed, (*) from config file, (==) default setting,
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405576] [DEBUG][XORG] #11(++) from command line, (!!) notice, (II) informational,
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405584] [DEBUG][XORG] #11(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405593] [DEBUG]XORG Log file: "/var/log/Xorg.8.log", Time: Wed Dec 5 16:31:42 2012
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405601] [DEBUG]XORG Using config file: "/etc/bumblebee/xorg.conf.nouveau"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405611] [DEBUG]XORG Using config directory: "/etc/X11/xorg.conf.d"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405619] [DEBUG]XORG Using system config directory "/usr/share/X11/xorg.conf.d"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405627] [DEBUG]XORG ServerLayout "Layout0"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405634] [DEBUG]XORG |-->Screen "Screen0" (0)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405643] [DEBUG]XORG | |-->Monitor ""
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405650] [DEBUG]XORG | |-->Device "Device0"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405657] [DEBUG]XORG No monitor specified for screen "Screen0".
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405667] [DEBUG][XORG] #011Using a default monitor configuration.
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405674] [DEBUG]XORG Option "AutoAddDevices" "false"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405682] [DEBUG]XORG Not automatically adding devices
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405689] [DEBUG]XORG Automatically enabling devices
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405696] [DEBUG]XORG Automatically adding GPU devices
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405703] [DEBUG]XORG FontPath set to:
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405712] [DEBUG][XORG] #011catalogue:/etc/X11/fontpath.d,
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405721] [DEBUG][XORG] #011built-ins
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405729] [DEBUG]XORG ModulePath set to "/usr/lib64/xorg/modules"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405736] [DEBUG]XORG |-->Input Device ""
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405744] [DEBUG]XORG |-->Input Device ""
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405752] [DEBUG]XORG The core pointer device wasn't specified explicitly in the layout.
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405760] [DEBUG][XORG] #011Using the default mouse configuration.
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405768] [DEBUG]XORG The core keyboard device wasn't specified explicitly in the layout.
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405776] [DEBUG][XORG] #011Using the default keyboard configuration.
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405783] [DEBUG]XORG Loader magic: 0x800ce0
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405790] [DEBUG]XORG Module ABI versions:
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405798] [DEBUG][XORG] #011X.Org ANSI C Emulation: 0.4
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405807] [DEBUG][XORG] #011X.Org Video Driver: 13.0
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405815] [DEBUG][XORG] #011X.Org XInput driver : 18.0
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405822] [DEBUG][XORG] #011X.Org Server Extension : 7.0
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405830] [DEBUG]XORG config/udev: Adding drm device (/dev/dri/card1)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405838] [DEBUG][XORG] setversion 1.4 failed
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405845] [DEBUG]XORG config/udev: Adding drm device (/dev/dri/card0)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405853] [DEBUG][XORG] setversion 1.4 failed
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405860] [DEBUG]XORG PCI:
(0:1:0:0) 10de:0df6:17aa:3981 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/524288
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405868] [DEBUG][XORG] Initializing built-in extension Generic Event Extension
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405875] [DEBUG][XORG] Initializing built-in extension SHAPE
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405884] [DEBUG][XORG] Initializing built-in extension MIT-SHM
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405892] [DEBUG][XORG] Initializing built-in extension XInputExtension
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405900] [DEBUG][XORG] Initializing built-in extension XTEST
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405907] [DEBUG][XORG] Initializing built-in extension BIG-REQUESTS
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405914] [DEBUG][XORG] Initializing built-in extension SYNC
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405922] [DEBUG][XORG] Initializing built-in extension XKEYBOARD
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405929] [DEBUG][XORG] Initializing built-in extension XC-MISC
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405937] [DEBUG][XORG] Initializing built-in extension XINERAMA
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405946] [DEBUG][XORG] Initializing built-in extension XFIXES
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405953] [DEBUG][XORG] Initializing built-in extension RENDER
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405961] [DEBUG][XORG] Initializing built-in extension RANDR
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405969] [DEBUG][XORG] Initializing built-in extension COMPOSITE
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405979] [DEBUG][XORG] Initializing built-in extension DAMAGE
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405988] [DEBUG][XORG] Initializing built-in extension MIT-SCREEN-SAVER
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.405997] [DEBUG][XORG] Initializing built-in extension DOUBLE-BUFFER
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406054] [DEBUG][XORG] Initializing built-in extension RECORD
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406063] [DEBUG][XORG] Initializing built-in extension DPMS
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406072] [DEBUG][XORG] Initializing built-in extension X-Resource
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406080] [DEBUG][XORG] Initializing built-in extension XVideo
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406087] [DEBUG][XORG] Initializing built-in extension XVideo-MotionCompensation
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406095] [DEBUG][XORG] Initializing built-in extension SELinux
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406102] [DEBUG][XORG] Initializing built-in extension XFree86-VidModeExtension
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406110] [DEBUG][XORG] Initializing built-in extension XFree86-DGA
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406120] [DEBUG][XORG] Initializing built-in extension XFree86-DRI
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406130] [DEBUG][XORG] Initializing built-in extension DRI2
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406137] [DEBUG]XORG LoadModule: "glx"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406145] [ 1225.406174] [DEBUG]Process with PID 2616 returned code 1
Dec 5 16:31:43 y470 bumblebeed[716]: [DEBUG]XORG Loading /usr/lib64/xorg/modules/extensions/libglx.so
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406207] [DEBUG]XORG Module glx: vendor="X.Org Foundation"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406215] [DEBUG][XORG] #011compiled for 1.13.0, module version = 1.0.0
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406223] [DEBUG][XORG] #011ABI class: X.Org Server Extension, version 7.0
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406230] [DEBUG]XORG AIGLX enabled
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406238] [DEBUG][XORG] Loading extension GLX
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406245] [DEBUG]XORG LoadModule: "nouveau"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406253] [DEBUG]XORG Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406261] [DEBUG]XORG Module nouveau: vendor="X.Org Foundation"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406273] [DEBUG][XORG] #011compiled for 1.13.0, module version = 1.0.4
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406281] [DEBUG][XORG] #011Module class: X.Org Video Driver
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406290] [DEBUG][XORG] #011ABI class: X.Org Video Driver, version 13.0
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406297] [DEBUG]XORG LoadModule: "mouse"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406307] [WARN]XORG Warning, couldn't open module mouse
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406315] [DEBUG]XORG UnloadModule: "mouse"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406322] [DEBUG]XORG Unloading mouse
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406332] [ERROR]XORG Failed to load module "mouse" (module does not exist, 0)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406340] [DEBUG]XORG LoadModule: "kbd"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406348] [DEBUG]XORG Warning, couldn't open module kbd
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406355] [DEBUG]XORG UnloadModule: "kbd"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406362] [DEBUG]XORG Unloading kbd
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406369] [DEBUG]XORG Failed to load module "kbd" (module does not exist, 0)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406376] [DEBUG]XORG NOUVEAU driver
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406386] [DEBUG]XORG NOUVEAU driver for NVIDIA chipset families :
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406396] [DEBUG][XORG] #011RIVA TNT (NV04)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406404] [DEBUG][XORG] #011RIVA TNT2 (NV05)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406412] [DEBUG][XORG] #011GeForce 256 (NV10)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406419] [DEBUG][XORG] #011GeForce 2 (NV11, NV15)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406426] [DEBUG][XORG] #011GeForce 4MX (NV17, NV18)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406434] [DEBUG][XORG] #011GeForce 3 (NV20)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406442] [DEBUG][XORG] #011GeForce 4Ti (NV25, NV28)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406451] [DEBUG][XORG] #011GeForce FX (NV3x)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406459] [DEBUG][XORG] #011GeForce 6 (NV4x)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406467] [DEBUG][XORG] #011GeForce 7 (G7x)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406474] [DEBUG][XORG] #011GeForce 8 (G8x)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406483] [DEBUG][XORG] #011GeForce GTX 200 (NVA0)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406490] [DEBUG][XORG] #011GeForce GTX 400 (NVC0)
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406497] [DEBUG]XORG using VT number 1
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406505] [DEBUG]XORG [drm] nouveau interface version: 1.0.0
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406513] [DEBUG]XORG Loading sub module "dri"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406520] [DEBUG]XORG LoadModule: "dri"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406529] [DEBUG]XORG Module "dri" already built-in
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406538] [DEBUG]XORG NOUVEAU(0): Loaded DRI module
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406548] [ERROR]XORG NOUVEAU(0): [drm] failed to set drm interface version.
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406557] [ERROR]XORG NOUVEAU(0): [drm] error opening the drm
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406566] [ERROR]XORG NOUVEAU(0): 818:
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406574] [DEBUG]XORG UnloadModule: "nouveau"
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406582] [ERROR]XORG Screen(s) found, but none have a usable configuration.
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406591] [DEBUG][XORG] Fatal server error:
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406598] [DEBUG][XORG] no screens found
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406606] [ERROR]XORG
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406613] [DEBUG][XORG] Please consult the Fedora Project support
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406621] [DEBUG][XORG] #11 at http://wiki.x.org
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406629] [DEBUG][XORG] for help.
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406637] [ERROR]XORG Please also check the log file at "/var/log/Xorg.8.log" for additional information.
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406645] [ERROR]XORG
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.406657] [DEBUG][XORG] Server terminated with error (1). Closing log file.
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.506807] [ERROR]X did not start properly
Dec 5 16:31:43 y470 bumblebeed[716]: [ 1225.607107] [DEBUG]Socket closed.

Let me know if there is any other information I can provide or anything else I can try. AFAIK this works fine in fedora 17. Just not fedora 18 beta test. This is being tested on my spare Lenovo Ideapad Y470 notebook.

Thanks,

@Lekensteyn
Copy link
Member

Looks like the nouveau kernel module is not loaded?

@gsgatlin
Copy link
Author

gsgatlin commented Dec 6, 2012

The trick I had been using before in f16 / f17 stopped working in /etc/sysconfig/modules/ shell scripts . But I think I did everything correctly by hand? The shell script there did a rmmod of nouveau early in the boot sequence before bumbebeed ran automagically.

[gsgatlin@y470 ~]$ su -
Password:
[root@y470 ~]# /bin/systemctl status bumblebeed.service
bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled)
Active: active (running) since Wed, 2012-12-05 18:52:47 EST; 1min 42s ago
Main PID: 711 (bumblebeed)
CGroup: name=systemd:/system/bumblebeed.service
└ 711 /usr/sbin/bumblebeed -v -v

Dec 05 18:52:47 y470.eos.ncsu.edu bumblebeed[711]: [ 78.184578] [DEBUG]Hidi...
Dec 05 18:52:47 y470.eos.ncsu.edu bumblebeed[711]: [ 78.187018] [DEBUG]SIGC...
Dec 05 18:52:47 y470.eos.ncsu.edu bumblebeed[711]: [ 78.187043] [DEBUG]Conf...
Dec 05 18:52:47 y470.eos.ncsu.edu bumblebeed[711]: [ 78.187369] [INFO]/usr/...
Dec 05 18:52:47 y470.eos.ncsu.edu bumblebeed[711]: [ 78.187528] [DEBUG]Savi...
Dec 05 18:52:47 y470.eos.ncsu.edu bumblebeed[711]: [ 78.187650] [INFO]Unloa...
Dec 05 18:52:47 y470.eos.ncsu.edu bumblebeed[711]: [ 78.187709] [DEBUG]Proc...
Dec 05 18:52:47 y470.eos.ncsu.edu bumblebeed[711]: [ 78.198494] [DEBUG]Proc...
Dec 05 18:52:47 y470.eos.ncsu.edu bumblebeed[711]: [ 78.198789] [INFO]Switc...
Dec 05 18:52:48 y470.eos.ncsu.edu bumblebeed[711]: [ 78.412056] [INFO]Initi...
[root@y470 ~]# /bin/systemctl stop bumblebeed.service
[root@y470 ~]# lsmod | grep nouveau
[root@y470 ~]# /sbin/modprobe -v nouveau
insmod /lib/modules/3.6.7-5.fc18.x86_64/kernel/drivers/gpu/drm/nouveau/nouveau.ko
[root@y470 ~]# /bin/systemctl start bumblebeed.service
[root@y470 ~]# /bin/systemctl status bumblebeed.service
bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled)
Active: active (running) since Wed, 2012-12-05 18:55:10 EST; 8s ago
Main PID: 2078 (bumblebeed)
CGroup: name=systemd:/system/bumblebeed.service
├ 2078 /usr/sbin/bumblebeed -v -v
└ 2080 rmmod --wait nouveau

Dec 05 18:55:10 y470.eos.ncsu.edu bumblebeed[2078]: [ 220.437766] [DEBUG] Dr...
Dec 05 18:55:10 y470.eos.ncsu.edu bumblebeed[2078]: [ 220.437769] [DEBUG] Ca...
Dec 05 18:55:10 y470.eos.ncsu.edu bumblebeed[2078]: [ 220.438543] [DEBUG]Pro...
Dec 05 18:55:10 y470.eos.ncsu.edu bumblebeed[2078]: [ 220.438583] [DEBUG]Hid...
Dec 05 18:55:10 y470.eos.ncsu.edu bumblebeed[2078]: [ 220.445436] [DEBUG]SIG...
Dec 05 18:55:10 y470.eos.ncsu.edu bumblebeed[2078]: [ 220.445449] [DEBUG]Con...
Dec 05 18:55:10 y470.eos.ncsu.edu bumblebeed[2078]: [ 220.445831] [INFO]/usr...
Dec 05 18:55:10 y470.eos.ncsu.edu bumblebeed[2078]: [ 220.446028] [DEBUG]Sav...
Dec 05 18:55:10 y470.eos.ncsu.edu bumblebeed[2078]: [ 220.446115] [INFO]Unlo...
Dec 05 18:55:10 y470.eos.ncsu.edu bumblebeed[2078]: [ 220.446186] [DEBUG]Pro...
[root@y470 ~]# lsmod | grep nouveau
nouveau 891090 1
ttm 79760 1 nouveau
i2c_algo_bit 13257 2 i915,nouveau
drm_kms_helper 44701 2 i915,nouveau
drm 255010 7 ttm,i915,drm_kms_helper,nouveau
i2c_core 38314 7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nouveau,videodev
mxm_wmi 12823 1 nouveau
video 18936 2 i915,nouveau
wmi 18697 2 mxm_wmi,nouveau
[root@y470 ~]#

[gsgatlin@y470 ~]$ optirun -vv glxgears
[ 488.952652] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 489.117404] [DEBUG]optirun version 3.0.1 starting...
[ 489.117456] [DEBUG]Active configuration:
[ 489.117468] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 489.117481] [DEBUG] X display: :8
[ 489.117492] [DEBUG] LD_LIBRARY_PATH:
[ 489.117502] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 489.117513] [DEBUG] VGL Compression: proxy
[ 489.451468] [INFO]Response: No - error: XORG Failed to load module "mouse" (module does not exist, 0)

[ 489.451521] [ERROR]Cannot access secondary GPU - error: XORG Failed to load module "mouse" (module does not exist, 0)

[ 489.451536] [DEBUG]Socket closed.
[ 489.451572] [ERROR]Aborting because fallback start is disabled.
[ 489.451589] [DEBUG]Killing all remaining processes.

the end of the latest /var/log/messages...

Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.349243] [DEBUG][XORG] Initializing
built-in extension RECORD
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.349251] [DEBUG][XORG] Initializing
built-in extension DPMS
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.349259] [DEBUG][XORG] Initializing
built-in extension X-Resource
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.349267] [DEBUG][XORG] Initializing
built-in extension XVideo
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.349275] [DEBUG][XORG] Initializing
built-in extension XVideo-MotionCompensation
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350708] [DEBUG]Process with PID 22
74 returned code 1
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350742] [DEBUG][XORG] Initializing
built-in extension SELinux
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350752] [DEBUG][XORG] Initializing
built-in extension XFree86-VidModeExtension
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350760] [DEBUG][XORG] Initializing
built-in extension XFree86-DGA
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350773] [DEBUG][XORG] Initializing
built-in extension XFree86-DRI
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350782] [DEBUG][XORG] Initializing
built-in extension DRI2
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350790] [DEBUG]XORG LoadMod
ule: "glx"
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350798] [DEBUG]XORG Loading
/usr/lib64/xorg/modules/extensions/libglx.so
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350806] [DEBUG]XORG Module
glx: vendor="X.Org Foundation"
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350814] [DEBUG][XORG] #011compiled
for 1.13.0, module version = 1.0.0
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350821] [DEBUG][XORG] #011ABI clas
s: X.Org Server Extension, version 7.0
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350835] [DEBUG]XORG AIGLX e
nabled
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350844] [DEBUG][XORG] Loading exte
nsion GLX
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350852] [DEBUG]XORG LoadMod
ule: "nouveau"
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350862] [DEBUG]XORG Loading
/usr/lib64/xorg/modules/drivers/nouveau_drv.so
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350869] [DEBUG]XORG Module
nouveau: vendor="X.Org Foundation"
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350880] [DEBUG][XORG] #011compiled
for 1.13.0, module version = 1.0.4
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350889] [DEBUG][XORG] #011Module c
lass: X.Org Video Driver
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350898] [DEBUG][XORG] #011ABI clas
s: X.Org Video Driver, version 13.0
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350906] [DEBUG]XORG LoadMod
ule: "mouse"
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350917] [WARN]XORG Warning,
couldn't open module mouse
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350925] [DEBUG]XORG UnloadM
odule: "mouse"
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350933] [DEBUG]XORG Unloadi
ng mouse
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350944] [ERROR]XORG Failed
to load module "mouse" (module does not exist, 0)
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350952] [DEBUG]XORG LoadMod
ule: "kbd"
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350961] [DEBUG]XORG Warning
, couldn't open module kbd
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350970] [DEBUG]XORG UnloadM
odule: "kbd"
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350983] [DEBUG]XORG Unloadi
ng kbd
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350991] [DEBUG]XORG Failed
to load module "kbd" (module does not exist, 0)
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.350999] [DEBUG]XORG NOUVEAU
driver
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.351023] [DEBUG]XORG NOUVEAU
driver for NVIDIA chipset families :
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.351031] [DEBUG][XORG] #011RIVA TNT
(NV04)
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.351039] [DEBUG][XORG] #011RIVA TNT
2 (NV05)
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.351050] [DEBUG][XORG] #011GeForce
256 (NV10)
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.351057] [DEBUG][XORG] #011GeForce
2 (NV11, NV15)
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.351065] [DEBUG][XORG] #011GeForce
4MX (NV17, NV18)
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.351073] [DEBUG][XORG] #011GeForce
3 (NV20)
Dec 5 18:59:38 y470 bumblebeed[2078]: [ 489.351080] [DEBUG][XORG] #011GeForce
4Ti (NV25, NV28)
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351088] [DEBUG][XORG] #011GeForce
FX (NV3x)
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351097] [DEBUG][XORG] #011GeForce
6 (NV4x)
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351105] [DEBUG][XORG] #011GeForce
7 (G7x)
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351112] [DEBUG][XORG] #011GeForce
8 (G8x)
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351120] [DEBUG][XORG] #011GeForce
GTX 200 (NVA0)
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351133] [DEBUG][XORG] #011GeForce
GTX 400 (NVC0)
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351141] [DEBUG]XORG using V
T number 1
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351152] [ERROR]XORG [drm] failed to open device
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351161] [ERROR]XORG No devices detected.
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351169] [DEBUG][XORG] Fatal server error:
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351176] [DEBUG][XORG] no screens found
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351185] [ERROR]XORG
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351196] [DEBUG][XORG] Please consult the Fedora Project support
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351204] [DEBUG][XORG] #11 at http://wiki.x.org
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351212] [DEBUG][XORG] for help.
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351222] [ERROR]XORG Please also check the log file at "/var/log/Xorg.8.log" for additional information.
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351231] [ERROR]XORG
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.351239] [DEBUG][XORG] Server terminated with error (1). Closing log file.
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.451390] [ERROR]X did not start properly
Dec 5 18:59:39 y470 bumblebeed[2078]: [ 489.551552] [DEBUG]Socket closed.

The end of /var/log/Xorg.8.log has:

[ 489.230] GeForce 4Ti (NV25, NV28)
[ 489.230] GeForce FX (NV3x)
[ 489.230] GeForce 6 (NV4x)
[ 489.230] GeForce 7 (G7x)
[ 489.230] GeForce 8 (G8x)
[ 489.230] GeForce GTX 200 (NVA0)
[ 489.230] GeForce GTX 400 (NVC0)
489.230 using VT number 1

489.347 [drm] failed to open device
489.347 No devices detected.
[ 489.347]
Fatal server error:
[ 489.347] no screens found
489.347
Please consult the Fedora Project support
at http://wiki.x.org
for help.
489.347 Please also check the log file at "/var/log/Xorg.8.log" for additional information.
489.347

I had acpi_handle_hack loaded before I modprobed nouveau

[root@y470 ~]# lsmod | grep acpi
acpi_handle_hack 12492 0

Let me know if I should email the newest bumblebee-bugreport-20121205_190810.tar.gz file? Or if I am doing something wrong? Thanks so much for your help!

@Lekensteyn
Copy link
Member

Can't you just blacklist nouveau? Ensure that the module hack has been applied before loading the nouveau driver. There is also a kernel patch available at http://thread.gmane.org/gmane.linux.acpi.devel/57228 if you compile your own kernel.

@gsgatlin
Copy link
Author

gsgatlin commented Dec 6, 2012

Hmnn. I don't seem to be having any luck. I removed my hack that I had been doing before and also removed bumblebee for good measure in case it was somehow responsible for loading the nouveau module.

I edited:

/etc/default/grub

and added:

rdblacklist=nouveau nouveau.modeset=0 to the kernel arguments.

Then ran:

grub2-mkconfig -o /boot/grub2/grub.cfg

Then I added

blacklist nouveau

to the end of

/etc/modprobe.d/blacklist.conf

And rebooted.

This had the effect of removing some error messages about nouveau very very early in the boot sequence from what I can tell as it scrolls by too fast to read.... However, by the time I log in, su to root, and run:

[root@y470 ~]# lsmod | grep nouveau

I get output:

nouveau 891138 0
i2c_algo_bit 13258 2 i915,nouveau
drm_kms_helper 44758 2 i915,nouveau
ttm 79761 1 nouveau
drm 255061 6 ttm,i915,drm_kms_helper,nouveau
i2c_core 38354 7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nouveau,videodev
mxm_wmi 12866 1 nouveau
video 18937 2 i915,nouveau
wmi 18698 2 mxm_wmi,nouveau

The module seems to be loaded. I'm guessing I should not be seeing any output however. Is this sufficient on other distros?

I've googled this and seem to be out of ideas. I know the rdblacklist=nouveau nouveau.modeset=0 lines are getting passed to the kernel since I can see that in /var/log/messages

I have no idea how to tell what mechanism is loading it by the time I log into the GNOME desktop. I don't see anything in /var/log/messages other than the kernel arguments after multiple reboots.

In RHEL 6 and older fedoras I had created a shell script at /etc/sysconfig/modules/ that simply unloaded nouveau then loaded it again. But it stopped working in f18. The unloding part worked but not the loading, which I noticed with lsmod. Nothing I tried could get it to work again. Which led me to filing this bug and me hoping to figure out some way I could make it work again using whatever method is the "best." or "most practical." I realize there may be no solution to this problem but I did want to try since RHEL 7 will be based off of fedora 18. So I care about it more than I normally would. Thanks for any ideas you may have...

@Lekensteyn
Copy link
Member

Loading nouveau should not be a problem on its own. You just need to ensure that the handle hack is loaded as early as possible, like the initramfs. What happens if you try to boot an older kernel on F18?

@gsgatlin
Copy link
Author

gsgatlin commented Dec 6, 2012

Hello. I am loading acpi-handle-hack by using dkms.

I Also had to create a shell script at:

/etc/sysconfig/modules/acpi-handle-hack.modules

[root@y470 ~]# cat /etc/sysconfig/modules/acpi-handle-hack.modules
#!/bin/sh
exec /sbin/modprobe acpi-handle-hack >/dev/null 2>&1

dkms does something to the initramfs, at least it appears to when you run top allong side of it as you install it. I see dracut is run. But whatever it does is not sufficient to load it by itself. So I found it necessary to create the acpi-handle-hack.modules shell script. Otherwise lsmod does not show the module is loaded.

The hack I had in place before was named in such a way that it ran after acpi-handle-hack.modules. But as I mentioned before that method stopped working. (I think I saw errors on the console about why it wasn't loading right after the rmmod command and as modprobe ran in the shell script but I could not redirect them to a file no matter what I tried to see them more clearly...)

How can you make sure acpi-handle-hack is loaded at boot via the initramfs if dkms doesn't do that?

The oldest kernel for f18 is 3.6.6-3.fc18.x86_64. (It came on the beta install DVD) re-installing bumblebee and booting into that kernel does not seem to help. I still get errors about no such module for mouse.

[gsgatlin@y470 ~]$ optirun -vv glxgears
[ 741.156372] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 741.346148] [DEBUG]optirun version 3.0.1 starting...
[ 741.346237] [DEBUG]Active configuration:
[ 741.346273] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 741.346385] [DEBUG] X display: :8
[ 741.346426] [DEBUG] LD_LIBRARY_PATH:
[ 741.346475] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 741.346506] [DEBUG] VGL Compression: proxy
[ 741.469355] [INFO]Response: No - error: XORG Failed to load module "mouse" (module does not exist, 0)

[ 741.469443] [ERROR]Cannot access secondary GPU - error: XORG Failed to load module "mouse" (module does not exist, 0)

[ 741.469482] [DEBUG]Socket closed.
[ 741.469595] [ERROR]Aborting because fallback start is disabled.
[ 741.469642] [DEBUG]Killing all remaining processes.

[gsgatlin@y470 ~]$ uname -a
Linux y470.eos.ncsu.edu 3.6.6-3.fc18.x86_64 #1 SMP Mon Nov 5 16:26:34 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

@gsgatlin
Copy link
Author

gsgatlin commented Dec 6, 2012

In case this further information helps:

The commands I am using in my acpi-handle-hack rpm to install it are this:

/usr/sbin/dkms add -m acpi-handle-hack -v %{acpi_handle_hack_ver} >/dev/null 2>&1 || :
/usr/sbin/dkms build -m acpi-handle-hack -v %{acpi_handle_hack_ver} >/dev/null 2>&1 || :
/usr/sbin/dkms install -m acpi-handle-hack -v %{acpi_handle_hack_ver} >/dev/null 2>&1 || :
/sbin/modprobe acpi-handle-hack >/dev/null 2>&1 || :

I used this guide for why I created the files in /etc/sysconfig/modules/

http://docs.fedoraproject.org/en-US/Fedora/15/html/Deployment_Guide/sec-Persistent_Module_Loading.html

I just tested it and for sure, removing /etc/sysconfig/modules/acpi-handle-hack.modules makes it so the module doesn't get loaded and bbswitch then complains about no DSM method.

@ArchangeGabriel
Copy link
Member

Are you still having issue running Bumblebee with nouveau?

@gsgatlin
Copy link
Author

Yes. This is still broken. I will be available later today to try again with this. The last time I tried it one week ago, it did not work.

I am building a custom kernel (3.8.2-206) so when It finishes in like 2 hours or so I will have a better ability to test this.

nouveau works fine on RHEL 6 and fedora 17 so its something specific to fedora 18...

@gsgatlin
Copy link
Author

gsgatlin@y470c ~]$ uname -a
Linux y470c.eos.ncsu.edu 3.8.2-207.bz903360.fc18.x86_64 #1 SMP Mon Mar 11 14:02:44 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
[gsgatlin@y470c ~]$ optirun -b virtualgl glxgears
[ 80.718990] [ERROR]Cannot access secondary GPU - error: XORG Failed to load module "mouse" (module does not exist, 0)

[ 80.719037] [ERROR]Aborting because fallback start is disabled.

Version of bumblebee is 3.1. I also installed bbswitch 0.5 for this test.

/var/log/Xorg.8.log:

http://pastebin.com/SXWqyfur

Part of /var/log/messages: (the whole thing was too long for pastebin)

http://pastebin.com/jrhFcg1L

I have compiled my own kernel. So there is no longer any confusion over "acpi-handle-hack"
nvidia works fine. But nouveau does not. It is very strange.

I will try to stay on IRC for a while if that helps to trouble shoot the issue. Please let me know if you need any other logs or need me to try anything?

Thanks.

@gsgatlin
Copy link
Author

Here is a link to the whole /var/log/messages file because after looking at it, there is some stuff in there that may be relevant. But not really sure.

http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee/nouveau-bug/messages

Thanks again.

@Lekensteyn
Copy link
Member

This looks odd:

Mar 11 20:20:06 y470c bumblebeed[718]: [   34.365169] [INFO]Unloading nouveau driver
Mar 11 20:20:06 y470c bumblebeed[718]: [   34.365717] [DEBUG]Process rmmod started, PID 1206.
Mar 11 20:20:06 y470c bumblebeed[718]: rmmod: ERROR: Module nouveau is in use
Mar 11 20:20:06 y470c bumblebeed[718]: [   34.374330] [DEBUG]Process with PID 1206 returned code 1

The XORG messages seems to indicate that the nouveau kernel module is not loaded, but that does not seem to be the case?

@gsgatlin
Copy link
Author

Hmnn. Yeah. I think the module is loaded ok into the kernel. Here is the output from lsmod.

[gsgatlin@y470c ~]$ lsmod | grep nouveau
nouveau 941736 1
ttm 79629 1 nouveau
i2c_algo_bit 13257 2 i915,nouveau
drm_kms_helper 46708 2 i915,nouveau
drm 264680 7 ttm,i915,drm_kms_helper,nouveau
i2c_core 38353 7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nouveau,videodev
mxm_wmi 12865 1 nouveau
video 18991 2 i915,nouveau
wmi 18697 2 mxm_wmi,nouveau

@gsgatlin
Copy link
Author

Hello.. fedora 18 is definitely not in beta anymore. And fedora 19 is just around the corner...

When I install bumblebee 3.2.1 on a fresh up to date fedora 18 install I see this in the /var/log/messages log:

http://pastebin.com/EP9Eia1b

It seems odd that vgaswitcharoo is not a valid switching method? yes?

So I install bbswitch and reboot since the daemon complains about no bbswitch...

output from optirun command:

http://pastebin.com/a0QbzbKB

/var/log/messages has

http://pastebin.com/cDCgDYax

/var/log/Xorg.8.log:

http://pastebin.com/TBETTZn9

My question is this...

Could "PRIME" technology be the problem here?

I ask because the command:

DRI_PRIME=1 glxgears -info

yields this output with bbswitch module installed:

http://pastebin.com/2rs2EVAQ

yet the same command on the same box without bbswitch yields:

DRI_PRIME=1 glxgears -info

http://pastebin.com/eZ3NyKS5

notice how it says GL_VENDOR = nouveau after bbswitch is removed... (same thing before its installed)

But with bbswitch installed the GL_VENDOR = Intel Open Source Technology Center. Quite odd.

Thanks so much for any ideas you might have.

@gsgatlin
Copy link
Author

Also, in case it wasn't clear from my pastebins the DRI_PRIME=1 glxgears -info command did open the spinning gears window on both bbswitch un-installed and installed. Its just the text and GL_VENDOR = that changed. I just closed the windows rather quickly before they could start outputting the X frames in X seconds messages...

I also tried playing minecraft using "PRIME" but I only got about 20 fps in game. (I get 60 fps with primus + nvidia module) But I still think it was working because I saw the opelgl vendor in the snooper settings in game as being nouveau. When I left off the "DRI_PRIME=1" bit to just use intel the opengl vendor in the minecraft snooper settings changed to intel. (Or maybe it said mesa...) But the fps was pretty much the same using nouveau or intel (with or without DRI_PRIME=1) so I'm guessing this PRIME technology in fedora still needs some work or is beta.

@ArchangeGabriel
Copy link
Member

Are there some news here?

@ArchangeGabriel
Copy link
Member

No answer from an one year old thread, closing. If it’s still problematic nowadays, please reopen and post some updated news.

@gsgatlin
Copy link
Author

gsgatlin commented Apr 2, 2014

Its still a problem in fedora 20. But I have no idea how to further troubleshoot the problem. Sorry about that. So no new news I guess...

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

No branches or pull requests

3 participants