Litarvan / lightdm-webkit-theme-litarvan

Litarvan's LightDM HTML Theme
BSD 3-Clause "New" or "Revised" License
706 stars 74 forks source link

When trying to log in, black screen apears, can still use mouse to move around. #144

Open LukaTri opened 2 years ago

LukaTri commented 2 years ago

I followed the steps on your readme, as well as some things from the lightdm arch wiki page, but I am still having this bug. I am using xfce4 and attempting to use your theme as my Display Manager. When I run lightdm --test-mode -d, the log in screen works fine. The only errors I get are permissions denied (since this is not running as a root). However, when I reboot my system, I only get a black screen. My Bluetooth is activated since I can move my mouse, but nothing appears on the screen. The text file of the logs are attached

lightdm-log.txt seat0-greeter-log.txt x-0-log.txt

AlfonsoJPH commented 1 year ago

same error, have you found a solution? @LukaTri

cortex3 commented 6 months ago

Same here but the test-mode also gives me the black screen. Xorg reports no errors for me.

cortex3 commented 4 days ago

@AlfonsoJPH

I was using a different theme in the meantime but I fixed the issue for myself now. In my seat0-greeter-log I saw the following:

KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 2560x1440: Permission denied

I tried to set options nvidia_drm modeset=1 in /etc/modprobe.d/nvidia_drm.conf but this only changed the error to:

Failed to create GBM buffer of size 2560x1440: Invalid argument 

So I set WEBKIT_DISABLE_DMABUF_RENDERER=1 in /etc/environment and it is working again now.

Keep in mind that this will disable hardware acceleration and not only for lightdm but also for other webkit apps.

(Im using nvidia + arch)