惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Stack Overflow Blog
Stack Overflow Blog
云风的 BLOG
云风的 BLOG
G
Google Developers Blog
J
Java Code Geeks
C
Check Point Blog
Last Week in AI
Last Week in AI
Microsoft Azure Blog
Microsoft Azure Blog
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
Vercel News
Vercel News
The GitHub Blog
The GitHub Blog
L
LangChain Blog
有赞技术团队
有赞技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 司徒正美
IT之家
IT之家
Martin Fowler
Martin Fowler
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Tailwind CSS Blog
U
Unit 42
Jina AI
Jina AI
Microsoft Security Blog
Microsoft Security Blog
I
InfoQ

sakurawald's blog

fix-window-tearing-in-high-monitor-refresh-rate fix-nvidia-drm-issues fix-screen-brightness-too-low comparing-emacs-and-idea-in-java-development-environment fix the cpu frequency throttle after bad charging how to fix corrupted packages in archlinux how to let chrome browser auto clean datas on exit make persistent windows 11 usb sticker pin refresh rate of an android phone launch tor browser without tor network rescue a corrupted system after forced shutdown during system upgrade apple magic touch pad review guide to install qubes on qemu optimize minecraft server configuration tweak KDE preferences android emulator methods in linux expression evulation
Fix sddm black screen issue
2025-04-30 · via sakurawald's blog

Background

After packages update, use poweroff to shutdown the machine normally.
Change the memory stickers and disk stickers of the machine, and reboot the machine.
The sddm screen is black.

Observation

When power on, my laptop boots into the operating system, and running /usr/lib/Xorg in tty2.
The screen is black, with an underline on left-top, not blinking.
I can switch to tty1 and tty3 using ctrl + alt + f1/f3.
I can login into tty3 as root user, and issue commands.
In tty3, I can see only /usr/bin/Xorg and /usr/bin/sddm-greater is running.
Using journalctl -b | grep sddm, the sddm-greater says it fails it fails to authticate with pam. (Though this is not the real reason, the failure of graphics cause the faillure of pam)
The network and bluetooth works in tty3.

Attempts

  • Try to update the packages using pacman -Syu.
  • Try to re-install pam, pambase and sddm.
  • Try to modify the nvidia parameters for kernel.

Solution

Boot into bios and toggle the graphics settings to only use discrete GPU. (It looks like there is some bugs in ASUS hardware. In hybrid mode, the GPU switch is controlled by the power and the phase of booting.)
Don’t use nvidia-settings to generate the Xorg configuration file, just delete the /etc/X11/xorg.conf file.