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

推荐订阅源

V
Visual Studio Blog
罗磊的独立博客
宝玉的分享
宝玉的分享
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
V2EX
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Tailwind CSS Blog
博客园_首页
量子位
月光博客
月光博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 司徒正美
人人都是产品经理
人人都是产品经理
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
爱范儿
爱范儿
S
SegmentFault 最新的问题
雷峰网
雷峰网
小众软件
小众软件
博客园 - 聂微东
美团技术团队
Apple Machine Learning Research
Apple Machine Learning Research
WordPress大学
WordPress大学
Jina AI
Jina AI
Hugging Face - Blog
Hugging Face - Blog

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.