Nvidia proprietary driver
Hi there!
I was using nouveau driver, but yesterday wanted to try proprietary one. So long story short, I installed following packages: Code:
nvidia-driver ----- After that I decided to switch back to nouveau one. But after deletion of the installed packages and modifying config files back X server and some programs won't start. Errors like "libnvidia-something is missing" After some searching in /usr/lib and /usr/lib64 I got the following: Code:
libEGL.la* The question is: Why this happened? Is something wrong with SlackBuilds or I was doing smth. wrong? Just curious.=^_^= ----->>>>>update After rebooting I found that /usr/lib/libEGL.so.1 and /usr/lib64/libEGL.so.1 was pointing to the wrong location (e.g. to the nvidia libEGL). Why? Also I cannot launch steam and programs with priusrun because of this: Code:
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) systemd-logind: failed to get session: The name org.freedesktop.login1 was not provided by any .service files Code:
name of display: :0 |
Reinstall the mesa package.
|
To explain this. When installing the nvidia blob the install scripts takes those files renames them and puts them in /var/lib/nvidia Because it replaces them with the nividia version built to work with "mesa"
When you install them from the nvidia yes a vanilla install just like the driver manufacture has develop for linux. So simple runlevel 3 as root you run the "sh NVidia-run and it works well. Then to uninstall it you run sh NVidia-run --uninstall the uninstall scripts put the folders back a recreate the sim links. Pat V for as long as I could remember with a default install of slackware will build the driver no problem. Handling drivers as packages can cause confusion down the road. If using the slackbuild please read everything and learn how to use the switch. |
Quote:
Steam error remains, glxinfo error remains. Thanks. |
Quote:
By switch you mean bbswitch? Otherwise I think I am confused with your post. |
Okay, I get it. Drakeo was right. By switch he meant nvidia-switch, after reading manuals I reverted my libEGL.so files and other affected back to normal.
--->>>X starts okay even after reboot. --->>>glxinfo runs normally Steam cannot start with following error: Code:
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) systemd-logind: failed to get session: The name org.freedesktop.login1 was not provided by any .service files |
If Xorg is built with systemd detection, this will happen. The only solution is to rebuild Xorg with the switch to disable systemd detection so Bumblebee works correctly by not detecting the incorrect systemd support in Xorg. I made a post about this, but it went ignored because someone said it wasn't trivial. The problem is when other programs try to do passthrough with applications, like Bumblebee/Primus trying to detect the features, if the service or program isn't there it will error. Period.
To rebuild Xorg without systemd support you'll need to grab and clone the whole Xorg source from the Slackware ftp site, then add the build flag: Code:
--disable-systemd-logind This will disable the improper support and fix the error. If it doesn't please report back. |
Quote:
Most importantly, why slackware's Xorg is built WITH systemd detection?? |
My recommendation couldn't be simpler since you mentioned Steam. Reinstall nVidia's driver unless you play only games not much more graphically sophisticated than Tux Racer. To be clear I do respect what the nouveau team is trying to accomplish but it is still just "trying" as the proprietary driver is demonstrably superior in so many ways. Why would you choose to ditch it after going to the trouble, albeit minimal, of installing it?
|
Quote:
Anyway, will it fix the bumblebee error: Code:
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) systemd-logind: failed to get session: The name org.freedesktop.login1 was not provided by any .service files Building Xorg from sources is the LAST thing I want to do. |
Installed:
Code:
nvidia-driver Fan runs smoother, laptop is much cooler. GIMP loads faster. BUT!: steam: Code:
Xlib: extension "GLX" missing on display ":0". Code:
Xlib: extension "GLX" missing on display ":0". Code:
Xlib: extension "GLX" missing on display ":0". Wat to do? |
I haven't tested my SBo nvidia packages with intel/Nvidia etc switching. Nvidia provides several files in the package to pull the nvidia module in/out of memory. From some of the Nvidia docs I've read so far, Optimus is being integrated into the mainline Nvidia driver package. As such, you may have issues with Bumblebee (Its over a year old) and newer drivers. However, I do not not have any hardware to test this bumblebee/Optimus nonsense. If someone can send me an Optimus laptop that would be most excellent. For Slackware, make sure you read and understand everything here:
http://docs.slackware.com/howtos:har...nvidia_optimus http://us.download.nvidia.com/XFree8...E/optimus.html Bumblebee is not guarranteed to work in every case. As I mentioned above, Nvidia has added features to the driver that may interfere with Bumblebee. Also, if you don't game, use nouvea or the built-in Intel 4400 or 5000-series GPU. Its plenty fast enough; if you do game, use Nvidia. My recommendation is:
As for your GLX extension error, you are either missing that file, or are using the WRONG file for the driver currently loaded. For nvida-driver properly installed you must have: Code:
$ ls -l /usr/lib64/xorg/modules/extensions/libglx* |
Quote:
Quote:
Quote:
Quote:
Quote:
1. My nVIDIA card is WIRED to Intel => I cannot directly use nvidia one 2. nVIDIA's support for linux machines is crappy, dirvers are closed 3. nouveau not working as expected Conclusion: You'd better NOT use Optimus nonsense |
Quote:
If you use software that does not check X for certain features, like this, the problem is trivial, but because systemd has penetrated so much software, and software developers have started including systemd support in their software if support via wrapped events, passthrough support, or feature checks, if the feature is supported, but the underlying software is missing, it may have a problem. Normally, X will work fine even if the systemd-logind session management service is not found, and it should work fine with general applications, but because Steam is a binary-only distribution of software, there's no way to tell what, or if, it supports, or checks for, when starting up, but apparently it does check for certain features supported in Xorg. You can try to reinstall the Nvidia-driver and see if it does help, but if Steam is checking for Xorg, it won't matter what driver you install, as this is not a driver issue, but an issue with the xorg-server directly. I can walk you through fixing this if you're interested. |
Wait a minute! Why are you getting any systemd errors (especially logind) on Slackware? GLX errors should be solved by letting nvidia install mesa et al. The real problem is that "bee in ur bonnet" :) It requires (or greatly prefers) the Intel driver be installed before the nvidia driver. Additionally it is recommended that you create and add user to the bumblebee group. Plus you need to enable the bumblebeed.service and run optirun once, although it can be handy for running tests and stuff like
Code:
optirun glxspheresfoo Yeah thankfully no need to recompile xorg :eek: I don't use bumblebee since I don't have an Optimus system but the Slackdoc above is quite systematic and clear and I'm certain other Slackers have bumblebee and can adise on that account better than I. It is crucial that bumblebee be setup properly but from what I read it isn't nasty as long as you go step by step with bumblebee first. Then it's a no-brainer for nvidia to pick it up and more than just well worth it.... no contest! |
All times are GMT -5. The time now is 03:35 AM. |