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

推荐订阅源

G
Google Developers Blog
博客园 - 司徒正美
Last Week in AI
Last Week in AI
Recent Announcements
Recent Announcements
Y
Y Combinator Blog
博客园 - 聂微东
M
MIT News - Artificial intelligence
博客园_首页
Jina AI
Jina AI
博客园 - 叶小钗
酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hackread – Cybersecurity News, Data Breaches, AI and More
J
Java Code Geeks
F
Fortinet All Blogs
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
Vercel News
Vercel News
The Cloudflare Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG
N
Netflix TechBlog - Medium
B
Blog
Google DeepMind News
Google DeepMind News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

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.