Lightdm not working with resolution

Create/open a new file with sudo xed /etc/X11/xorg.conf.d/20-nvidia.conf
and paste this

Section "Device"
        Identifier "Nvidia Card"
        Driver "nvidia"
        VendorName "NVIDIA Corporation"
        BoardName "GeForce RTX 2070"
	Option         "Coolbits" "24"
EndSection

After that delete / backup /etc/X11/xorg.conf file
then
Reboot and post inxi -Gx :slight_smile:

If that doesn’t work then sudo xed /etc/default/grub to open the grub configuration file and add to the line GRUB_CMDLINE_LINUX_DEFAULT=" these parameters after the stuff that already is there nvidia nvidia-drm.modeset=1 nvidia_modeset nvidia_uvm nvidia_drm , be sure that they are enclosed inside ""
After that sudo grub-mkconfig -o /boot/grub/grub.cfg and reboot

inxi -Gx after reboot as always :laughing:

Ok I will try the step with grub, because now xorg take half of my CPU usage :smiley: and I just scrolling webpage.
btw create new file nvidia.conf and delete xorg doesn’t work.

2021-08-04-10:42:55-screenshot

Graphics:  Device-1: NVIDIA TU106 [GeForce RTX 2070] vendor: Micro-Star MSI driver: nvidia v: 470.57.02 bus-ID: 26:00.0 
           Device-2: Microdia Dual Mode Camera (8006 VGA) type: USB driver: hid-generic,usbhid bus-ID: 5-2:3 
           Display: x11 server: X.Org 1.20.13 driver: loaded: modesetting failed: nvidia resolution: 3440x1440~100Hz 
           OpenGL: renderer: llvmpipe (LLVM 12.0.1 256 bits) v: 4.5 Mesa 21.1.6 direct render: Yes

Yeah, you’re using CPU rendering with a 3k resolution xD

Yea right :smiley: what a shame still nothing :frowning:

Graphics:  Device-1: NVIDIA TU106 [GeForce RTX 2070] vendor: Micro-Star MSI driver: nvidia v: 470.57.02 bus-ID: 26:00.0 
           Device-2: Microdia Dual Mode Camera (8006 VGA) type: USB driver: hid-generic,usbhid bus-ID: 5-2:3 
           Display: x11 server: X.Org 1.20.13 driver: loaded: modesetting failed: nvidia resolution: 3440x1440~100Hz 
           OpenGL: renderer: llvmpipe (LLVM 12.0.1 256 bits) v: 4.5 Mesa 21.1.6 direct render: Yes

probably stay with gdm here is inxi -Gx from it

Graphics:  Device-1: NVIDIA TU106 [GeForce RTX 2070] vendor: Micro-Star MSI driver: nvidia v: 470.57.02 bus-ID: 26:00.0 
           Device-2: Microdia Dual Mode Camera (8006 VGA) type: USB driver: hid-generic,usbhid bus-ID: 5-2:3 
           Display: x11 server: X.Org 1.20.13 driver: loaded: nvidia resolution: 3440x1440~100Hz 
           OpenGL: renderer: NVIDIA GeForce RTX 2070/PCIe/SSE2 v: 4.6.0 NVIDIA 470.57.02 direct render: Yes
1 Like

Yeah, with gdm your driver is loaded correctly! Weird, the lightdm has the logind-check-graphical=true parameter :thinking:

Yep I uncomnent this in /etc/lightdm/lightdm.conf

# guest-account-script = Script to be run to setup guest account
 logind-check-graphical =true
# log-directory = Directory to log information to

it has unnecessary spaces, it should look like this :

# guest-account-script = Script to be run to setup guest account
logind-check-graphical=true
# log-directory = Directory to log information to

Nice try but no changes even when I remove space :expressionless:

Also try LTS kernel linux-lts 5.10 but nothing.