SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For I noticed that my 14.2 box was actually using the integrated GPU of its i7-7700H CPU, I then decided to bring the discrete GPU (Nvidia GTX 1050) to work. But this had no success.
My steps are as following:
- Disabled the nouveau driver by putting it in the blacklist of modprove configuration file;
- install from slackbuilds.org the nvidia-kernel and nvidia-driver, versions are 390.95
After these, I noticed some new kernel modules were loaded automatically: nvidia, nvidia_drm, nvidia_modeset. I can also 'startx', but a lot of X applications cannot start including glxgears and glxinfo, they reported errors:
But after this change, I even cannot 'startx', and the Xorg.0.log was attached as B-Xorg.0.log.
Can someone know this kind of issue? How can I bring my nvidia GTX 1050 to work? I know there is a default nouveau, but it cannot work with the slackware current kernel of 4.14.47 and has to be disabled by adding modeset=0 in the kernel command. For this reason I had uninstalled the package of nouveau.
It further bothers me that both of your Xorg.0.log files have no serious |W|arnings indicating failure. The only error you mention is with nouveau citing GLX errors.
I suggest you move /etc/X11/xorg.conf to /etc/X11/xorg.conf.foo from runlevel 3 and run "nvidia-xconfig". If you like view the new xorg.conf and compare it to the previous if there are items in the current one you wish to keep and simply reconcile the two. Possibly you have a monitor issue such as EDID issues but that usually shows up in Xorg.0.log. The only EDID problems I have ever had are HUGE fonts on one monitor requiring a "UseEDIDDpi = false" line but the nvidia documentation covers all such situations and informs one of required entries to fix such problems.
As an aside is your system 32bit, 64bit or Multilib?
EDIT - Hmmm Optimus. Dugan might be on to something there. They have "issues" like requiring Bumblebee.
you need to uninstall the driver. then reinstall mesa. then install driver.
remember when mesa is upgraded you should uninstall the driver.
no Idea why your are using the 390.95
and if the first time you need to run the nvidia-xconfig
my slackbuild and package for keeping your nvidia up to date.
I removed what I just installed nvidia-kernel*-SBo and nvidia-driver-*SBo and then reinstalled all the packages found in x/ directory of Slackware 14.2 DVD. Then my system went back to normal and I can run glxgears. Then I clearly installed the latest nvidia driver (390.67) got from the official site. But the result is still similar, it seemed nvidia's GLX library not working on Slack 14.2 with at least my GTX 1050 gpu.
No problems here with the GTX 1050Ti and the NVidia .run file. Uninstall NVidia, delete the nouveau entry from /etc/modprobe.d/00.conf, install the blacklist package as dTd suggested (xf86-video-nouveau-blacklist-noarch-1.txz, from /extra on any Slackware mirror), reboot to runlevel 3, then run the NVidia .run file.
I removed what I just installed nvidia-kernel*-SBo and nvidia-driver-*SBo and then reinstalled all the packages found in x/ directory of Slackware 14.2 DVD. Then my system went back to normal and I can run glxgears. Then I clearly installed the latest nvidia driver (390.67) got from the official site. But the result is still similar, it seemed nvidia's GLX library not working on Slack 14.2 with at least my GTX 1050 gpu.
Again, nouveau shouldn't still show up there if it is properly blacklisted. Additionally you really need to determine if your system is Optimus.
Like you I am very grateful for SlackBuilds but for something as fundamental and proprietary as the nvidia graphics driver I think you should try the stock 14.2 kernel or even one from current complete with headers or, better, a complete "/usr/src/linux" directory and use the nvidia-foo.run installation from runlevel 3 just to see how that fares. It might even be wise to answer "yes" to the "install 32 bit compatible files?" popup question just to be thorough... that is, and this is a big "IF", if your system is NOT Optimus. For that you must have Bumblebee installed or possibly some specific workaround which apparently is only possible on some specific laptops.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.