I would like to just use the Nvidia card on my laptop which has both intel and Nvidia. It has that extra horsepower and its just sitting while intel is taxing the system CPU and memory. I was able to get bumblebee enabled but when I tried to use it to run kwin it was very unstable. I couldn’t type into text boxes and eventually everything locked up. That is the one thing I want to run as I don’t do much gaming.
I think it would be fairly easy to set up but when I run xrandr --listproviders it only detects one card. I tried the xorg.conf setup NVidia says to use and I couldn’t start the x server. If anyone can help me out I would really appreciate it. I’ve spent hours and hours trying to figure this out.
Ok I don’t have optimus and would never ever buy hardware that used it.
But helping people here has shown that you need to follow the bumblebee instructions exactly and you must first be absolutely sure that you have removed any NVIDA driver you may have installed since bumblebee needs a special NVIDIA driver for bumblebee and may not work for any arbitrary NVIDIA driver or parts of.
So here are the instruction first remove all NVIDIA packages then follow instructions exactly
I had bumblebee working but I want to just use the NVidia card or use bublebee to run kwin. When I did optirun kwin --replace it was really unstable. I’m giving what you posted a try though. I changed the repos to 13.1. Did you intentionally mean to use an older version?
Well I got optirun working the same as before. It seems to have no trouble hardware accelerating the windows but everything inside the windows has trouble redrawing. I can tell when I click stuff the computer thinks its changed but on the screen everything is locked up. This only works under optirun.
Under primusrun I get the error: Xlib: extension “GLX” missing on display “:0”.
Ill try to get the output for optirun.
Well things might of course have changed, after all it’s now some years since I did the mistake myself but for me it was enough to reinstall xorg-x11-server and the uninstall command certainly didn’t restore what it had overwritten.
Hm. Normally logind should give you permissions to access /dev/dri/card0.
But AFAIK this is only necessary for the kernel drivers, i.e. nouveau. nvidia doesn’t access /dev/dri/card0 I think.
So apparently there’s something wron with your nvidia driver installation, or did you not install it at all now?
Anyway, try to add your user to the “video” group, you should be able to access /dev/dri/card0 in any case then.
:~> ll /dev/dri/card0
crw-rw----+ 1 root video 226, 0 14. Aug 10:17 /dev/dri/card0
But, if something is wrong in registering your user session with logind, you will have other problems as well, like not being able to install updates with the update applet or mounting removable media.
So, please post the output of “loginctrl” inside the graphical session, run as user.
With Nvidia set as the driver bumblebee fails to start:
/usr/sbin/bumblebeed -vv 491.895825] [DEBUG]Found card: 01:00.0 (discrete)
491.895853] [DEBUG]Found card: 00:02.0 (integrated)
491.895860] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
491.896265] [INFO]Configured driver: nvidia
491.896280] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
491.896435] [DEBUG]Process /sbin/modprobe started, PID 12479.
491.896524] [DEBUG]Hiding stderr for execution of /sbin/modprobe
491.898905] [DEBUG]SIGCHILD received, but wait failed with No child processes
491.898999] [DEBUG]bbswitch has been detected.
491.899027] [INFO]Switching method 'bbswitch' is available and will be used.
491.899037] [DEBUG]Active configuration:
491.899044] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
491.899060] [DEBUG] X display: :8
491.899067] [DEBUG] LD_LIBRARY_PATH: /usr/lib64/nvidia:/usr/lib/nvidia
491.899071] [DEBUG] Socket path: /var/run/bumblebee.socket
491.899075] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
491.899091] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
491.899095] [DEBUG] ModulePath: /usr/lib64/nvidia/xorg/,/usr/lib64/xorg/modules
491.899100] [DEBUG] GID name: bumblebee
491.899104] [DEBUG] Power method: auto
491.899108] [DEBUG] Stop X on exit: 1
491.899112] [DEBUG] Driver: nvidia
491.899116] [DEBUG] Driver module: nvidia
491.899120] [DEBUG] Card shutdown state: 1
491.899261] [DEBUG]Process /sbin/modprobe started, PID 12480.
491.899348] [DEBUG]Hiding stderr for execution of /sbin/modprobe
491.901432] [DEBUG]SIGCHILD received, but wait failed with No child processes
491.901463] [ERROR]Module 'nvidia' is not found.
627.108973] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
627.109043] [ERROR]Could not connect to bumblebee daemon - is it running?
With nouveau set as the driver:
611.975412] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
611.975482] [ERROR]Aborting because fallback start is disabled.
Well, that message is clear.
Something went wrong with the nvidia driver installation.
The patch is failing. Not sure if this is a problem though. (normally something like that means that the patch is for a different version)
I would try to completely remove dkms-nvidia and then install it again.
Some things are not done if you just reinstall it.
And try to remove everything starting with nvidia in /usr/src before you install it again.
sudo rm -r /usr/src/nvidia*
So you are using Factory? (because of kernel 3.16rc7 and dracut)
Btw, the current kernel is 3.16.0.
I also don’t have the command loginctrl and when I run cnf it brings up nothing. I’m going to reboot and see if anything changes.
It is called “loginctl”.
Would you be interested in taking a look over Team viewer? I’d really appreceate it.
Not really, sorry.
I never used Team viewer and don’t have it installed.
I’m not even sure I could help you. I never used Bumblebee myself.
PS: If you added those home:Knurpht repos that were mentioned earlier in this thread, please remove them again!
And remove all packages you installed from there, I saw x11-video-nvidia mentioned in one of your outputs.
They are outdated and unmaintained. And installing different packages of the nvidia driver at the same time only causes problems.
X11:Bumblebee should contain all you need.
And as I see now, the package is called “nvidia-bumblebee” there, not “dkms-nvidia”, sorry.
You should uninstall “dkms-nvidia” as well if you have that installed.
Somewhere along the line I actually did a full reinstall of the OS. Its working now with various problems. The testing app glxspheres runs fine. Performance is pretty bad in the one game I tried. Simply running glxspheres the framerate doubles. But running stunt rally had really bad performance. I still have the same bug when I try to run kwin with it.