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

推荐订阅源

J
Java Code Geeks
G
Google Developers Blog
有赞技术团队
有赞技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Blog — PlanetScale
Blog — PlanetScale
罗磊的独立博客
博客园 - 聂微东
V
Visual Studio Blog
博客园_首页
D
DataBreaches.Net
腾讯CDC
I
InfoQ
F
Fortinet All Blogs
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
云风的 BLOG
云风的 BLOG
月光博客
月光博客
Recent Announcements
Recent Announcements
MongoDB | Blog
MongoDB | Blog
C
Check Point 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.