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. There goes the files: lspci: https://pastebin.com/4pWSgciR #lsmod |grep nvidia: https://pastebin.com/2icXfgza xorg.conf: https://pastebin.com/rYPdpxi9 dmesg: https://pastebin.com/FjQGDPii Xorg's log: https://pastebin.com/GB6eN6mF 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. Thank you for the help. pd: sorry for my bad english. |
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. Quote:
|
Your screen section points at the intel card "Device1". Maybe it should point at the nvidia "Device0"?
|
Quote:
Quote:
|
Maybe you should look at your /var/log/Xorg.0.log file to see if there is anything entertaining within.
It might be nice to tell us which version of Slackware you're using as well. |
Quote:
Yeah, yeah I forgot. Im running Slackware 14.2 64bits (not the current, Im not a bleding edge guy) I dropped the log here... but anyway I paste it again: Xorg's log https://pastebin.com/GB6eN6mF I didn't see anything particular... Everything looks fine.. or maybe Im missing something.? o_O |
Can you try my xorg.conf i posted here?
|
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.
https://github.com/whitewolf1776/Bumblebee-SlackBuilds https://docs.slackware.com/howtos:ha...nvidia_optimus 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. |
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! thank you so much slackers ;) |
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.
|
Quote:
|
Quote:
guess what happend... somehow Im in the starting point.. no glxgear, no blender.. black screenn etc.. looks like the glx module is missing... Code:
------ EDIT: Code:
# locate libglxserver_nvidia |
What does
Code:
ls -l /usr/lib*/libGLX* | grep indirect |
If you use the Official NVIDIA-foo.run installer it installs all the GL stuff it needs and checks for conflicts in the process.
|
Quote:
|
Quote:
In fact once about a year ago I saw a fairly major update to GL and Mesa so I downloaded those relevant packages, did an "upgradepkg --install-new" and then followed up by reinstalling nVidia with the .run installer. It worked perfectly. |
Quote:
Code:
ls: cannot access '/usr/lib*/libGLX*': No such file or directory |
I get
Code:
bash-5.0$ ls -l /usr/lib*/libGLX* | grep indirect Code:
bash-5.0# sh NVIDIA-Linux-x86_64-450.57.run |
Quote:
Thank you for the help. xxoo |
All times are GMT -5. The time now is 12:46 AM. |