There seem to be issues specifically with lightdm and nvidia driver.
Some answers insist /etc/X11/xorg.conf with a minimum https://bugs.debian.org/cgi-bin/bugrepo ... =922679#17 from this bug report. From other post, may not be limited to include light-locker.
Searching lightdm nvidia might lend some fresh clues
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
nvidia drivers and xorg problems
Re: nvidia drivers and xorg problems
OK, that's it. I've solved it. You can see from lspci -nn | egrep -i "3d|display|vga" before that I actually have two graphics cards, one integrated Intel, and one dedicated NVIDIA. So I have installed this and that's it, now I'm able to use my GUI.
Actually, a quick look at (optirun) nvidia-smi:
And you can see Xorg is using nvidia for the display manager, isn't it?
The only trouble is that it isn't as automatic as in Windows, I need to use optirun to run applications with nvidia. And now I don't understand how Kali and Debian 10 do it. I'll keep investigating.
Actually, a quick look at (optirun) nvidia-smi:
Code: Select all
Mon Aug 12 14:28:27 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.116 Driver Version: 390.116 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce 840M Off | 00000000:03:00.0 Off | N/A |
| N/A 45C P0 N/A / N/A | 5MiB / 2004MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 5143 G /usr/lib/xorg/Xorg 4MiB |
+-----------------------------------------------------------------------------+
The only trouble is that it isn't as automatic as in Windows, I need to use optirun to run applications with nvidia. And now I don't understand how Kali and Debian 10 do it. I'll keep investigating.
Re: nvidia drivers and xorg problems
VICTORY! I had skimmed over something, concerning OPTIUM drivers for nvidia - didn't think it relevant.
NVIDIA support has a line to add to lightdm.conf ,shell script for "switching" displays
Yes, why, "it" doesn't load intel drivers and take off from there instead? who knows.
NVIDIA support has a line to add to lightdm.conf ,shell script for "switching" displays
Yes, why, "it" doesn't load intel drivers and take off from there instead? who knows.
Re: nvidia drivers and xorg problems
Not really.albsanrom wrote:OK, that's it. I've solved it.
I can get cuda with hashcat going (for instance), but everything else remains the same (I think, I hope). Runnning nvidia-settings warns me in a window:
Code: Select all
You do not appear to be using the NVIDIA X driver. Please edit your
X configuration file (just run `nvidia-xconfig` as root), and restart the
X server.
With respect to gaming, I don't think steam is running on my nvidia. I don't know why. Also, when I go in and out of sleep mode I can't get nvidia running anymore... It's a mess!
I didn't think I wasn't using my nvidia card at all on Linux until now. Do the nouveau drivers even work? They always return errors on boot with every new installation, but I always shut them down somehow.
I don't think I'm ever going to buy NVIDIA cards in the near future. I'll have to stick this out, and game on Windows :/
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: nvidia drivers and xorg problems
It may be too messed up by now to fix. I wish you had let us know from the very start that you had a laptop, then we would have suspected an Optimus system.
If you want to try MX Linux, which is built on top of a Stretch base, we have an Nvidia installer that detects an Optimus system and automatically sets up Bumblebee, the correct Nvidia driver, and the 32-bit libraries on 64-bit for you. Just don't choose the option to install the driver from the test repo right now, we have to fix something in that. Just stick with the driver from Stretch for now.
If you want to try MX Linux, which is built on top of a Stretch base, we have an Nvidia installer that detects an Optimus system and automatically sets up Bumblebee, the correct Nvidia driver, and the 32-bit libraries on 64-bit for you. Just don't choose the option to install the driver from the test repo right now, we have to fix something in that. Just stick with the driver from Stretch for now.
MX Linux packager and developer