You are not logged in.

#1 2018-08-11 09:14:32

gnot
Member
Registered: 2018-08-11
Posts: 3

[SOLVED] SDDM started and showed black screen (same with startx)

I use huawei matebook x pro i5-8250U with GeForce MX150.

Last week I just install Arch with KDE and SDDM. Everything worked just fine until yesterday I ran pacman -Syu and got nvidia updated, then I got the screen "hang" at `[ok] reached target graphical interface` So then I reinstall nvidia ran `nvidia-xconfig` and then ran `mkinitcpio -p` after switch to tty2. Now it somewhat (partially) solved the nvidia problem though but no the screen goes black with no cursor the same thing happens when I run startx ( I deleted my ~/.xinitrc so that it's using the default one) I've been trying to solve this for hours and hadn't gone anywhere near the solution. I'd appreciate some help here. Thank you in advance.

Here's my Xorg.0.log
https://pastebin.com/WbrXykLy

xorg.conf
https://pastebin.com/KRDFrkSD

`journalctl -k`
https://pastebin.com/6ZNj0ZV8

sddm.conf
https://pastebin.com/22B9C4j4

Last edited by gnot (2018-08-11 12:18:15)

Offline

#2 2018-08-11 10:32:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: [SOLVED] SDDM started and showed black screen (same with startx)

nvidia-xconfig will never fix anything, there are other reasons as to why it wouldn't work and nvidia-xconfig will always do the wrong thing in that case. Remove the config it generated, then read: https://wiki.archlinux.org/index.php/NVIDIA_Optimus and decide for one of the outlined options.

Offline

#3 2018-08-11 11:24:45

gnot
Member
Registered: 2018-08-11
Posts: 3

Re: [SOLVED] SDDM started and showed black screen (same with startx)

Ok I see. I just created a new xorg.conf.new file with `X -configure` then copied it to replace the old /etc/X11/xorg.conf. Now I see the stdout following the `X -configure` command and wondering if this is normal? especially the last 3 lines. Here's what it looks like:

X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
Build Operating System: Linux Arch Linux
Current Operating System: Linux aiden 4.17.13-arch1-1-ARCH #1 SMP PREEMPT Mon Aug 6 23:06:31 UTC 2018 x86_64
Kernel command line: \\vmlinuz-linux root=PARTUUID=cc77e907-a5de-4f96-b69b-fc54524154f7 rw splash resume=/dev/nvme0n1p11 add_efi_memmap initrd=\initramfs-linux.img
Build Date: 18 June 2018  03:12:37PM
 
Current version of pixman: 0.34.0
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug 11 18:12:09 2018
List of video drivers:
    intel
    nouveau
    nvidia
    modesetting
    vesa
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Number of created screens does not match number of detected devices.
  Configuration failed.
(EE) Server terminated with error (2). Closing log file.

and here's the new 'skeleton' xorg.conf
https://pastebin.com/1w5hRbZg

Last edited by gnot (2018-08-11 11:25:47)

Offline

#4 2018-08-11 12:15:24

gnot
Member
Registered: 2018-08-11
Posts: 3

Re: [SOLVED] SDDM started and showed black screen (same with startx)

OMG IT WORK !! thankyou a lot V1del. What I did in addition to above: I followed the wiki from the top and the sddm part and copied .xinitrc ( which I previously edited it the wrong way, this time I commented out the last 5 lines and added `exec startkde`)

Offline

Board footer

Powered by FluxBB