[SOLVED] Nvidia driver issues. Nividia diver looks to work but I only get black screen.
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.
Nvidia driver issues. Nividia diver looks to work but I only get black screen.
Hi everybody.
I recently got an new laptop (Asus X555UB).. Slackware works smoothly... but Im having issues with the Nvidia driver.
When I do startx, without any xorg.conf, xorg is working with no 3d acceleration.
When I startx, with a xorg.conf file "I did" (nvidia-xconfig, xorgsetup you know...) to use the nvidia drivers... the screen just got black/blank. I can change between virtual consoles (Ctrl + alt + Fx..etc).. but there is not graphics...
This is what I did:
1. I installed the driver from slackbuilds.org via sbopkg. -sbopkg -i nvidia-driver-
2. I uninstalled and blacklisted the nouveau driver. -done by xf86-video-nouveau-blacklist-
3. I checked the modules.. and everything looks fine.
4. I "wrote" an xorg.conf, even when I know is not need, to start xorg with the nvidia driver.
5. startx.. I dont use a login manager.
6. Looks like its working but only see a black screen.
I need to fix this because I want to run blender and ..I dont want to change Slackware for something else..it just works. I cant figure out, I dont know what Im missing.
Hi,
I have a msi lapop which have intel VAG and also on borad nvidia (940MX).
I installed NVIDIA proprietary driver (NVIDIA-Linux-x86_64-450.57.run) and
created following xorg.conf.
And its works fine now.
Hi,
I have a msi lapop which have intel VAG and also on borad nvidia (940MX).
I installed NVIDIA proprietary driver (NVIDIA-Linux-x86_64-450.57.run) and
created following xorg.conf.
And its works fine now.
I tryed your configuration...and it goes the same like mine...
Quote:
Originally Posted by biker_rat
Your screen section points at the intel card "Device1". Maybe it should point at the nvidia "Device0"?
yes, I have it that way because is the only way I got xorg to work (with the intel videocard). If I pointed to nvidia I got the black screen. (Where xorg looks like working..but..in black. xD)
I suggest uninstalling your current nVidia Driver and going to the nvidia website and use their search engine to find the driver appropriate for your GPU and Architecture (32 bit or 64 bit). Download it in a place you can easily find from root cli and get out of X and into Runlevel 3. There, run the "NVIDIA-foo.run" installer.
The reason for this is twofold - 1) Be certain you have the correct driver version, and 2) The run file includes checks for any conflicts and will write the grapohics entry for xorg.conf if you allow it. I'm currently running an i5 box and have the Intel GPU disabled in BIOS/UEFI. That works just great in Slackware and I have no idea how this even can happen but a test distro of Pop_OS loads i915 module despite being turned off and I had to blacklist i915. There are apparently LOTS of problems with i915 lately with various Linux kernels.
If you boot to Runlevel 3 and have Ctrl-Alt-Backspace enabled to auto logoff X, you can play around without issue until you get it right. However if you install the proprietary driver I'm betting 1st try will do the job.
FWIW I don't wish to cast any doubts on the SBO package, I've just never used it since the manufacturer's .run Installer works perfectly for me and has for almost 20 years. The only caveat is installing new kernel requires reinstalling the driver. I consider that a very small price to pay for a self-checking, runlevel 3 installer.
It picks up the integrated intel graphics chipset. There is something called Optimus and Bumblebee which is used for laptops with Intel and Nvidia graphics.
I have no idea about Optimus or Bumblebee. I have an old laptop running nouveau and I'm not looking for a new one for another several years.
The SBO package is great if you follow the directions carefully. If not you'll make a mess and have to manually delete and reinstall the affected libraries. I uninstall the NVIDIA driver before updating Mesa to avoid a mess. The .run file works fine.
Last edited by RadicalDreamer; 08-01-2020 at 02:23 AM.
I didn't think this model was an Optimus or Bumblebee. It just happens to have on-CPU GPU because Intel doesn't build any other kind anymore. The "F" series are those that the GPU side didn't pass the muster so Intel disables it. Then again I really don't grasp why anyone would buy a Bumblebee/Optimus. How many people need to use their notebook for many hours at a time away from a power outlet?
I usually install Slackware without any desktop environment... I regularly use openbox. ( which I install later)
However, this afternoon I decided to set up xfce4... and I don't know why... the drivers just worked.. without xorg.conf.. they just worked.
Right now Im running Xorg with the nouveau drivers... and glxgear works well..Blender. Opentoonz.. everything is working great.
I dont know what I was missing.. anyway..thank you for the help... this is the first time Im asking for help (and im working with Slackware from 2016)...I'm very impressed. the answers came very quick!
Ya gotta take your hat off to the Nouveau boys. That is a very difficult job and they keep improving. That said, the job is especially difficult for any manner of 3D work. For that one really needs the proprietary nvidia driver from nvidia.
Ya gotta take your hat off to the Nouveau boys. That is a very difficult job and they keep improving. That said, the job is especially difficult for any manner of 3D work. For that one really needs the proprietary nvidia driver from nvidia.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.