Failed to start SDDM on splash screen

Hi, so I did an update and everything was working fine. I was connected to an external monitor and then I unplugged it, immediately KDE started acting weird and then I got an error message saying my KDE is not stable.

Note:
All the outputs below were taken from an image to text app. So I am sure there are errors in the text, the actual output would be a bit different. I also cannot link in my post since this account was recently created.

I wasn’t sure what to do, so I restarted my laptop. Now manjaro gets stuck on the boot screen. I get the following log:

[ OK ] Started WPA supplicant.
[ OK ] Started User Login Management.
[ OK ] Started Simple Desktop Display Manager.
[ OK ] Created slice system-systemd\x2dcoredump.slice.
[ OK ] Started Process Core Dump (PID 967UID O).
[ OK ] Stopped Simple Desktop Display Manager.
[OK ]Started Simple Desktop Display Manager.
[ OK ] Started Process Core Dump (PID 978/UID O).
[ OK ] Stopped Simple Desktop Display Manager.
[ OK ] Started Simple Desktop Display Manager.
[ OK ] Started Process Core Dump (PID 990/UID O).
[ OK ] Stopped Simple Desktop Display Manager.
[ OK ] Started Simple Desktop Display Manager.
[ OK ] Started Process Core Dump (PID 1002 UID ®).
[ OK ] Stopped Simple Desktop Display Manager.
[OK ] Started Simple Desktop Display Manager.
[ OK ] Started Process Core Dump (PID 1013/UID O).
[ OK ] Stopped Simple Desktop Display Manager,
[ FAILED ] Failed to start Simple Desktop Display Manager.
See 'systemctl status sddm.service' for details.
[ OK ] Finished Network Manager Wait Online,
OK ] Reached target Network is Online,
Starting Docker Application Container Engine...
Starting CUPS Scheduler...
[OK ] Started CUPS Scheduler.
[OK ] Started Docker Application Container Engine.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting TLP system startup/shutdown...
[ OK ] Finished TLP system startup/shutdown.

After this, the screen is just stuck.

I entered a TTY session for debugging and checked sddm.service

$ systemctl status sddm.service
sddm.service - Simple Desktop Display Manager
Loaded : loaded (/usr/lib/systemd/system/sddm.service: enabled: vendor preset: disabled)
Active: failed (Result: core-dump) since Thu 2020-09-10 23:10:50 +04: 6min ago
Docs: man sddm(1)
man sddm.conf (5)
Process: 1010 ExecStart=/usr/bin/sddm (code=dumped, signal=ABRT)
Main PID: 1010 (code=dumped, signal=ABRT)
Sep 10 23:10:50 Shoaib-PC systend[1]: sddm.service: Scheduled restart job, restart counter is at 5.
Sep 10 23:10:50 Shoaib-PC systemd[1]: Stopped Simple Desktop Display Manager.
Sep 10 23:10:50 Shoaib-PC systemd[1]: sddm.service: Start request repeated too quickly.
Sep 10 23:10:50 Shoaib-PC systend[1]: sddm.service: Failed with result 'core-dump'.
Sep 10 23:10:50 Shoaib-PC systemd[1]: failed to start Simple Desktop Display Manager.

I saw many threads with similar issues, but none of solutions I tried worked. The most similar issue was #22507. As suggested in the thread, I tried the following:

$ sudo pacman-mirrors -f && sudo pacman -Syyu
$ systemctl stop sddm
$ systemctl disable sddm
$ systemctl enable sddm
$ systemctl reboot

I also tried running startplasma-x11:

$ startplasma-x11
$DISPLAY is not set or cannot connect to the X server.

But it did not help and the end result was still the same screen. Sadly, the person in the thread ended up installing Manjaro again which I do not want to do.

How did this all start? It was an update which also had conflict issues. I had fixed them by following the steps mentioned in issue #22864 on a comment of mine.

$ sudo pacman -R cudnn cuda
$ sudo mhwd -r pci video-nvidia-435xx
$ sudo mhwd -i pci video-nvidia-450xx
$ sudo pacman -S cuda cudnn
$ sudo pacman -Syyu

Since the error happened after following the above commands, I also tried rolling back the change by the following:

$ sudo mhwd -r pci video-nvidia-450xx
$ sudo mhwd -i pci video-nvidia-435xx

But I still get the same error and this did not help.

Here’s some more info

$ inxi -Fxza --no-host
System: Kernel: 5.7.19-2-MANJARO x86_64 bits: 64 compiler: gce u: 10.2.0
parameters: BOOT_IMAGE-/boot/unlinuz-5.7-x86_64 root=UUID=eicec 159-110F-43a7-8e9a-d6aa6cf36829 ru
intel_pstate disable
Console: tty 3 DN: SDDM Distro: Manjaro Linux
Machine Type: Laptop Systen: Acer product: Predator PH317-53 v: V1.04 serial: <filter> Chassis: type: 10 serial: <filter>
Mobo: CFL model: Alphard_CFS : 01.04 serial : <filter> UEFI : Insyde u: 1.04 date: 06/19/2019
Battery ID-1: BATB charge: 41.8 Wh condition: 44.8/44.8 Wh (1064) volts: 16.5/15.4 model: SMP KT00407009 AP 1827
type: Li-ion serial: <ilter> status: Full
CPU: Topology: 6-Core model: Intel Core 17-9750H bits: 64 type: MT MCP arch: Kaby Lake fanily: 6 model-Id: 9E (158)
stepping: A (10) microcode: D6 L2 cache: 12.0 MiB
flags: aux aux2 In nx pae sse sse2 sse3 sse1_1 sse4_2 ssse3 Unx bogom ips: 62431
Speed: 2601 MHz min/max: 800/2601 MHz boost: enabled Core speeds (MHz): 1: 2601 2: 2600 3: 2688 4: 2600 5: 2600
6: 2600 7: 2601 8: 2600 9: 2662 10: 2662 11: 2601 12: 2600
Vulnerabilities: Type: it Ib_multihit status: KUM: VMX disabled
Type: 11tr mitigation: PTE Inversion: VMX: conditional cache flushes, SMT vulnerable
Type: ads sitigation: Clear CPU buffers: SNT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass nitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_vi nitigation: usercopy/swapgs barriers and _user pointer sanitization
Type: spectre_uz mitigation: Full generic retpoline, IBPB: conditional, IBRS_FU, STIBP: conditional, RSB filling
Type: srbds nitigation: Microcode
Type: tsx_async_abort status: Mot affected
Graphics: Device-1: Intel UHD Graphics 630 vendor: Acer Incorporated ALI driver: 1915 u: kernel bus ID: 08:02.8
chip ID: 8986:3e9b
Device-2: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile) vendor: Acer Incorporated All driver: nvidia u: 435.21
alternate: nouveau, nuidia_dra bus ID: 01:00.0 chip ID: 10de :2191
Device-3: Chicony HD User Facing type: USB driver: uucu Ideo bus ID: 1-7:4 chip ID: 0462:361f serial: <filter>
Display: server: X.org 1.20.8 driver: Modesetting, nvidia tty: 240x67
Message: Advanced graphics data unavailable in console. Try -G --display
Audio: Device-1: Intel Cannon Lake PCH CAUS vendor: Acer Incorporated ALI driver: snd_hda_intel u: kernel
alternate: snd_soc_skl,snd_sof_pci bus ID: 00:16.3 chip ID: 8086 :a348
Device-2: NUIDIA TU116 High Definition Audio vendor: Acer Incorporated All driver: snd_hda_intel u: kernel
bus ID: 01:00.1 chip ID: 10de:laeb
Sound Server: ALSA U: k5.7.19-2-MANJARO
Network: Device-1: Qualcomm Atheros Killer E2500 Gigabit Ethernet vendor: Acer Incorporated ALI driver: alx u: kernel
port: 3000 bus ID: 07:00.@ chip ID: 1969:e0b1
IF: enp?so state: down mac! <filter>
Device-2: Intel Wi-Fi 6 Axzoe vendor: Bigfoot Networks driver: Iulwifi u: kernel port: 3000 bus ID: 68:00.0
chip ID: 8086:2723
IF: wlpose state: doun mac: <filter>
IF-ID-1: dockere state: down mac: <filter>
Local Storage: total: 1.14 TiB used: 417.90 GiB (35.7%)
SMART Message: Required tool snartctl not installed. Check --recommends
ID-1: /dev/nuncOni vendor: Western Digital model: PC SN7ZO SDAPNTU-2566-1014 size: 238.47 GiB block size:
physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> reu: 10121000 scheme: GPT
ID-2: deursda vendor: Seagate model: ST1000LMO19-26H172 size: 931.51 GiB block size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s rotation: 7200 rpn serial: <filter> reu: ACH1 scheme: GPT
Partition: ID-1: > raw size: 221.11 GiB size: 216.64 GIB (97.987) used : 161.63 GiB (74.6%) fs: ext4 deu: deu nunc nipz
Swap: Kernel: swappiness: 60 (default) cache pressure: 100 (default)
ID-1: swap-1 type: partition size: 17.06 GiB used: KiB (0.6%) priority: -2 deu: deu nunen1p3
Sensors: Systen Tenperatures: cpu: 41.0 C nobo: N/A
Fan Speeds (RPM): NA
Info: Processes: 227 Uptime: Zen Menory: 15.49 GiB used : 429.6 MB (2.72) Init: systend u: 246 Compilers: gcc: 10.2.0
alt: 8/9 Packages: pachan: 1498 11b: 431 flatpak: 0 Shell: Zsh u: 5.8 running in: tty 3 inxi: 3.1.05

I do not want to do a fresh install, I’d like to fix this error.

At this point, I’ve hit a wall. I’ve tried anything that I could find but nothing works. I’d really appreciate some help and support on this problem.

Thank you for your timely help! :blush:

Since SDDM fails to start, my guess is that it’s an Xorg error. Please provide all configuration (/etc/X11/xorg.conf and any files in /etc/X11/xorg.conf.d/) that you use. And you should also get your hands on the Xorg logs, and provide those as well.

Thank you for responding!

Unrelated, but I wanted to show the actual output instead of image to text app. Tried connecting an external usb, but any external device I connect is showing up errors for some reason. I am allowed to read the files on the external device but I cannot write anything. I get the following error:

[sdb] No Caching mode page found
[sdb] Assuming drive cache: write through

Anyway, here’s the output of the different files.

xorg.conf:

# nvidia-xconfig: X configuration file generated by
#nuidia-xconfig: version 430.40
Section ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
Input Device "Keyboard0" "CoreKeyboard"
Input Device "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "Input Device"
# generated from default
Identifier "Mouse0"
Driver
"mouse"
Option
"Protocol" "auto"
Option "Device" "/dev/psaux"
Option
"Emulate3Buttons" "no"
Option
"ZAx isMapping" "4 5"
End Section
Section "Input Device"
# generated from default
Identifier "Keyboard0"
Driver
"kba"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
Mode IName "Unknown"
Option
"DPMS"
EndSection
Section "Device"
Identifier "Device"
Driver
"nuidia"
Vendor Name "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device
"Deviceo"
Monitor
"Monitoro"
DefaultDepth 24
SubSection "Display"
Depth 24
End SubSection
EndSection

xorg.conf.d/00-keyboard.conf:

# Read and parsed by systend-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
Identifier "systen-keyboard"
MatchIskeyboard "on"
Option "XkbLayout" "us"
Option "XkbModel" "pc105"
EndSection

xorg.conf.d/99-nvidia.conf:

#/etc/switch/nuidia 99-nvidia.conf
Had just BusID to match your nuidia GPU
Suncomment and edit the DPI option as needed
sto fix scaling issues.
Section "Module"
Load "nodesetting"
EndSection
Section "Device"
Identifier "nuidia"
Driver "nuidia"
BusID "PCI:1:0:0"
#Option "DPI" "96 x 96" #ad just this value as needed to fix scaling
Option "AllowEmptyInitialConfiguration"
End Section
Section "Extensions"
Option "Composite" "Enable"
EndSection

xorg.conf.d/90-mhwd.conf:

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Input Device "keyboard0" "CoreKeyboard"
Input Device "Mouse0" "CorePointer"
End Section
Section "Files"
End Section
Section "Input Device"
# generated from default
Identifier "Mouse0"
Driver
"mouse"
Option "Protocol" "auto"
Option
"Device"
"dev/psaux"
Option
"Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "Input Device"
#generated from default
Identifier "Keyboard0"
Driver
"kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown
ModelName "Unknown"
Option
"DPMS"
EndSection
Section "Device"
Identifier "Device"
Driver
"nuidia"
VendorName "NVIDIA Corporation
Option "NoLogo" "1"
EndSection
Section "Screen"
Identifier "Screen0"
Device
"Device"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
End SubSection
End Section
Section "Extensions"
Option "COMPOSITE" "Enable"
End Section
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Again, thank you for helping me sort out this issue!

Why is it nuidia instead of nvidia everywhere? Do you use anything for gpu switching?

That’s actually an error. As I mentioned:

All the outputs below were taken from an image to text app. So I am sure there are errors in the text, the actual output would be a bit different.

I can’t transfer the log files into a USB either as I am facing some other errors with it.

So besides using the image to text app, I don’t really have any other way to copy and paste the output here. Sorry about that, my apologies.

I do use optimus-switch which is set to nvidia

$ sudo set-nvidia.sh

I see. As a test, could you uninstall optimus-switch, remove all Xorg configuration (except 00-keyboard.conf), install video-hybrid-intel-nvidia-450xx-prime (and remove all other nvidia) and then reboot?

1 Like

OMG, that fixed it! :partying_face: I did the following in order:

$ cp -r /etc/X11 X11-backup    # backup the X11 folder
$ sudo mhwd -r pci video-nvidia-435xx    # delete the older nvidia
$ cd ~/optimus-switch
$ chmod +x ./switch-uninstall.sh
$ ./switch-uninstall.sh                   # uninstall optimus switch
$ sudo mhwd -i pci video-hybrid-intel-nvidia-450xx-prime    # install nvidia-450xx-prime

But I’d still like to use optimus-switch as the switching helps me maintain the battery consumption of my laptop. I have an external monitor and using HDMI requires the gpu, and when not using the external monitor, I use the cpu:

$ sudo set-nvidia.sh    # for the external monitor
$ sudo set-intel.sh     # for a normal usage

I also deleted the entire /etc/X11/ directory (but I do have the backup) and I assume I don’t have Xorg anymore?

So, could you please let me know how I could use optimus-switch and have back the /etc/X11/ directory?

I am also providing the actual output for the people checking this thread in the future since the image to text app contained errors.

inxi -Fxza --no-host:

System:    Kernel: 5.7.19-2-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.7-x86_64 root=UUID=e1cec159-110f-43a7-809a-d6aa6cf36829 rw 
           intel_pstate=disable 
           Console: tty 3 DM: SDDM Distro: Manjaro Linux 
Machine:   Type: Laptop System: Acer product: Predator PH317-53 v: V1.04 serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: CFL model: Alphard_CFS v: V1.04 serial: <filter> UEFI: Insyde v: 1.04 date: 06/19/2019 
Battery:   ID-1: BAT0 charge: 44.8 Wh condition: 44.8/44.8 Wh (100%) volts: 16.5/15.4 model: SMP KT00407009 AP18E7M 
           type: Li-ion serial: <filter> status: Full 
CPU:       Topology: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Kaby Lake family: 6 model-id: 9E (158) 
           stepping: A (10) microcode: D6 L2 cache: 12.0 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62431 
           Speed: 2601 MHz min/max: 800/2601 MHz boost: enabled Core speeds (MHz): 1: 2601 2: 2600 3: 2600 4: 2600 5: 2600 
           6: 2600 7: 2601 8: 2600 9: 2602 10: 2602 11: 2601 12: 2600 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel UHD Graphics 630 vendor: Acer Incorporated ALI driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:3e9b 
           Device-2: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] vendor: Acer Incorporated ALI driver: nvidia v: 435.21 
           alternate: nouveau,nvidia_drm bus ID: 01:00.0 chip ID: 10de:2191 
           Device-3: Chicony HD User Facing type: USB driver: uvcvideo bus ID: 1-7:4 chip ID: 04f2:b64f serial: <filter> 
           Display: server: X.org 1.20.8 driver: modesetting,nvidia tty: 240x67 
           Message: Advanced graphics data unavailable in console. Try -G --display 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel 
           alternate: snd_soc_skl,snd_sof_pci bus ID: 00:1f.3 chip ID: 8086:a348 
           Device-2: NVIDIA TU116 High Definition Audio vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel 
           bus ID: 01:00.1 chip ID: 10de:1aeb 
           Sound Server: ALSA v: k5.7.19-2-MANJARO 
Network:   Device-1: Qualcomm Atheros Killer E2500 Gigabit Ethernet vendor: Acer Incorporated ALI driver: alx v: kernel 
           port: 3000 bus ID: 07:00.0 chip ID: 1969:e0b1 
           IF: enp7s0 state: down mac: <filter> 
           Device-2: Intel Wi-Fi 6 AX200 vendor: Bigfoot Networks driver: iwlwifi v: kernel port: 3000 bus ID: 08:00.0 
           chip ID: 8086:2723 
           IF: wlp8s0 state: down mac: <filter> 
           IF-ID-1: docker0 state: down mac: <filter> 
Drives:    Local Storage: total: 1.14 TiB used: 417.90 GiB (35.7%) 
           SMART Message: Required tool smartctl not installed. Check --recommends 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN720 SDAPNTW-256G-1014 size: 238.47 GiB block size: 
           physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 10121000 scheme: GPT 
           ID-2: /dev/sda vendor: Seagate model: ST1000LM049-2GH172 size: 931.51 GiB block size: physical: 4096 B 
           logical: 512 B speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> rev: ACM1 scheme: GPT 
Partition: ID-1: / raw size: 221.11 GiB size: 216.64 GiB (97.98%) used: 161.63 GiB (74.6%) fs: ext4 dev: /dev/nvme0n1p2 
Swap:      Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 17.06 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p3 
Sensors:   System Temperatures: cpu: 41.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 227 Uptime: 20m Memory: 15.49 GiB used: 429.6 MiB (2.7%) Init: systemd v: 246 Compilers: gcc: 10.2.0 
           alt: 8/9 Packages: pacman: 1498 lib: 431 flatpak: 0 Shell: Zsh v: 5.8 running in: tty 3 inxi: 3.1.05 

xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 430.40

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

xorg.conf.d/00-keyboard.conf:

# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us"
        Option "XkbModel" "pc105"
EndSection

xorg.conf.d/99-nvidia.conf:

#/etc/switch/nvidia/99-nvidia.conf
#adjust BusID to match your nvidia GPU
#uncomment and edit the DPI option as needed
#to fix scaling issues.


Section "Module"
    Load "modesetting"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver  "nvidia"
    BusID   "PCI:1:0:0"
    #Option  "DPI" "96 x 96"    #adjust this value as needed to fix scaling
    Option  "AllowEmptyInitialConfiguration"
EndSection

Section "Extensions"
    Option  "Composite" "Enable"
EndSection

xorg.conf.d/90-mhwd.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 435.21


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
        Option "NoLogo" "1"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "COMPOSITE" "Enable"
EndSection

 
Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

You can copy the backup back, but delete xorg.conf (if exists) and everything in xorg.conf.d (except 00-keyboard.conf). You can also reinstall optimus-switch.

1 Like

All done! Everything is now perfect!

Thank you so much for your amazing and lovely help @pobrn!

Just out of curiosity so that I know what’s wrong if this ever happens again, what was the issue? Was it my Xorg configuration which is xorg.conf file or the nvidia driver or something else?

I’d like to know because the same setup was working fine before the update. So were the versions old and not up-to-date with the update?

I have no idea, I’m sure it was an Xorg related problem, but since there are no available Xorg logs, it’s hard to say anything concrete.

I understand, thank you so much for your help! :blush:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.