You are not logged in.

#1 2019-10-17 16:39:11

geniye
Member
Registered: 2019-10-17
Posts: 19

[SOLVED] Plasma installation extremely glitchy

So, I began installing Arch Linux and Plasma yesterday and have had nothing but issues. Trudging through everything, I finally got to the point where I could boot into Plasma using the Start X at login

Now, the process hangs and just shows this screen:

https://imgur.com/a/MT3rwcb

In order to boot, I have to Alt+F2 and login with my account, then it automatically boots into Plasma. The login screen for sddm almost never appears.

However, now the desktop environment is glitched to Hell. The window decorations are just these green rectangles that don't disappear when the window is closed: (that green box to the left of the settings window is what is left when i close the konsole window)

https://imgur.com/a/CI3omvM

When I double click on that little green box, it reopens the window that I just closed??

When I open a window it shows this weird grid:

https://imgur.com/a/JQCZlQp

And I have to click just to get the damn thing to render.

The global theme doesn't do anything, its stuck on oxygen.

Basically, I'm all out of ideas. I've tried everything from other forum answers and literally nothing has worked. Is Plasma corrupted or something?

Its worth noting, every so often the computer will skip the screen (first image) and go directly to the login screen for sddm. When this happens, Plasma begins to work perfectly fine. However, when I reboot/shut down the system it goes back to hanging at the first screen and then glitching out.   

If anyone knows what to do I'm all ears, I am completely stumped.

Last edited by geniye (2019-10-17 23:40:21)

Offline

#2 2019-10-17 18:56:03

loqs
Member
Registered: 2014-03-06
Posts: 17,304

Re: [SOLVED] Plasma installation extremely glitchy

Welcome to the arch linux forums geniye.  sddm is enabled but fails then you change to another terminal,  login and execute startx?
Please post the journal for such a boot.  Please also post the journal from when sddm succeeds.
Please also post the contents of any X configuration files you have created and the output of

lspci | grep -e VGA -e 3D

Offline

#3 2019-10-17 19:07:12

geniye
Member
Registered: 2019-10-17
Posts: 19

Re: [SOLVED] Plasma installation extremely glitchy

First, thank you so much for getting back to me!

I issued the command you requested and got this in return:

lspci | grep -e VGA -e 3D
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)

As for the rest, yes I added this code to the ~/.bash_profile:

if [[ -z $DISPLAY ]]; then
       exec startx
fi

This allowed my machine to, supposedly boot directly into the Login GUI, however it sticks me at that first screen.

As for the journal part, I am sorry but I am very new to the journal command and this forum so I don't know how to do that, could you tell me? Specifically, how to get the journal/what to specifically search for/how to paste it into a reply here.

Thank you

Offline

#4 2019-10-17 19:45:18

loqs
Member
Registered: 2014-03-06
Posts: 17,304

Re: [SOLVED] Plasma installation extremely glitchy

The tip box from pastebin covers posting a file from the console.  The # at the start of the command indicates it should be run with root privileges.

# journalctl -b  | curl -F 'f:1=<-' ix.io 

Or you can copy it from the console and paste it in a post.  The --no-pager option stops the output being passed to a pager that could truncate lines.

journalctl --no-pager -b

Please also post the contents of ~/.xinitrc and Xorg.n.log which will be in either ~/.local/share/xorg/ or /var/log/

Offline

#5 2019-10-17 19:45:29

geniye
Member
Registered: 2019-10-17
Posts: 19

Re: [SOLVED] Plasma installation extremely glitchy

Sorry, just realized I forgot to post the config files I have as well. The only config file for Xorg that I manipulated was xinitrc which has:

#!bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then





    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then






    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
  for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login &
exec startplasma-x11

Apologies if any of it is mistyped, I have to use another computer to make this post and im not sure if there is any way to do it any other way.

The only thing I have altered from the config was that I added "exec startplasma-x11" to the bottom, as per the wiki.

If you need any other configs, let me know

Thank you

Last edited by geniye (2019-10-17 19:45:54)

Offline

#6 2019-10-17 19:49:11

loqs
Member
Registered: 2014-03-06
Posts: 17,304

Re: [SOLVED] Plasma installation extremely glitchy

exec xterm -geometry 80x66+0+0 -name login &
exec startplasma-x11

xinitrc

Remember that lines following a command using exec would be ignored.

Offline

#7 2019-10-17 19:52:07

geniye
Member
Registered: 2019-10-17
Posts: 19

Re: [SOLVED] Plasma installation extremely glitchy

Ok, so should I delete the exec startplasma-x11 line?

Also I ran the journalctl command you posted and it ran successfully, however I'm unsure of how to post it to this reply still. Sorry, I have never used pastebin before. How do I get the output from that command into this reply?

Offline

#8 2019-10-17 19:52:33

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Plasma installation extremely glitchy

geniye wrote:
twm &

You are also starting (and backgrounding) another window manager first...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2019-10-17 19:57:17

geniye
Member
Registered: 2019-10-17
Posts: 19

Re: [SOLVED] Plasma installation extremely glitchy

Oh my god, that was it. I can't believe literally a day was taken up over a single line! The windows have returned to normal and Plasma is acting correctly now however I still am not booting into the graphical login GUI?

Offline

#10 2019-10-17 19:59:44

loqs
Member
Registered: 2014-03-06
Posts: 17,304

Re: [SOLVED] Plasma installation extremely glitchy

# journalctl -b  | curl -F 'f:1=<-' ix.io 

Would generate a link you post.

Offline

#11 2019-10-17 20:02:40

geniye
Member
Registered: 2019-10-17
Posts: 19

Re: [SOLVED] Plasma installation extremely glitchy

Sorry, for some reason it didn't generate a link the first time. Perhaps I mistyped the command?

Here it is:
Journal

Offline

#12 2019-10-17 20:03:49

geniye
Member
Registered: 2019-10-17
Posts: 19

Re: [SOLVED] Plasma installation extremely glitchy

Hold on, do you know why it output that? I don't think that was right, the journalctl command shows me all the logs from my terminal?

Offline

#13 2019-10-17 20:05:16

geniye
Member
Registered: 2019-10-17
Posts: 19

Re: [SOLVED] Plasma installation extremely glitchy

Terribly sorry, it worked this time:

Journal

Offline

#14 2019-10-17 20:06:25

loqs
Member
Registered: 2014-03-06
Posts: 17,304

Re: [SOLVED] Plasma installation extremely glitchy

hmm the contents of that link is

hevvcclvcxvxcvxcvxvxlo

which is nothing the journal should be producing.  Lets try the other way

# journalctl --no-pager -b

then copy the output.
Edit:
Ah cross post I see the journal now
Edit2:
What is the status of sddm?

systemctl status sddm.service

Also the contents of /var/log/Xorg.0.log

Last edited by loqs (2019-10-17 20:10:43)

Offline

#15 2019-10-17 20:07:12

geniye
Member
Registered: 2019-10-17
Posts: 19

Re: [SOLVED] Plasma installation extremely glitchy

I posted the correct link, not entirely sure why it did that the first time:

Journal

Offline

#16 2019-10-17 20:15:13

geniye
Member
Registered: 2019-10-17
Posts: 19

Re: [SOLVED] Plasma installation extremely glitchy

It says that sddm is active (running) and I completely forgot about Xorg.0.log, here it is:

Xorg Log

Offline

#17 2019-10-17 20:20:35

loqs
Member
Registered: 2014-03-06
Posts: 17,304

Re: [SOLVED] Plasma installation extremely glitchy

That log looks to be from when you ran:

# Xorg :0 -configure

Is there a more recent Xorg.0.log in ~/.local/share/xorg/ ?
Xorg.1.log should be the log from when you run startx.

Offline

#18 2019-10-17 20:24:47

geniye
Member
Registered: 2019-10-17
Posts: 19

Re: [SOLVED] Plasma installation extremely glitchy

Ah, I didn't even realize there was a difference! Here is the latest log:

Xorg Log

Offline

#19 2019-10-17 20:36:11

loqs
Member
Registered: 2014-03-06
Posts: 17,304

Re: [SOLVED] Plasma installation extremely glitchy

That also looks to be from startx.  The output of the following please

ps aux | grep -e X -e sddm

Offline

#20 2019-10-17 20:38:12

geniye
Member
Registered: 2019-10-17
Posts: 19

Re: [SOLVED] Plasma installation extremely glitchy

Here it is:

Output

Offline

#21 2019-10-17 21:06:40

geniye
Member
Registered: 2019-10-17
Posts: 19

Re: [SOLVED] Plasma installation extremely glitchy

I just attempted to remove the 'exec startplasma-x11' line from the bottom of the xinitrc file and place it like so:

...
startplasma-x11 &
exec xterm -geometry 80x66+0+0 -name login &

However, when I did so it made it impossible to access the desktop environment as my user account, so I had to login as root and change it back and now it is back to working.

Did I place the exec call incorrectly? Why would it have crashed the entire system?

Offline

#22 2019-10-17 21:11:47

geniye
Member
Registered: 2019-10-17
Posts: 19

Re: [SOLVED] Plasma installation extremely glitchy

Update: Tried it the other way like this:

...
xterm -geometry 80x66+0+0 -name login &
exec startplasma-x11

However, it merely reproduced the same results: it got stuck at the first image once again and I had to Alt+F4 into the terminal, login, and then it opened Plasma.

Offline

#23 2019-10-17 21:26:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Plasma installation extremely glitchy

Stop backgrounding random applications. Just exec plasma and when you get that working properly you can experiment.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#24 2019-10-17 21:53:53

geniye
Member
Registered: 2019-10-17
Posts: 19

Re: [SOLVED] Plasma installation extremely glitchy

I see what you mean, but plasma is working properly now, however my issue is that the login GUI isn't appearing, I have to login via the main terminal (refer back to first image of the first post of this thread).

Offline

#25 2019-10-17 22:53:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Plasma installation extremely glitchy

Well, xinitrc is irrelevant in that case. Read your journal for the display manager entries.

Also, read the wiki page on display mangers carefully. This is likely to be another misconfiguration issue.

Actually, this is now a separate topic. Mark this as solved and, after doing some research and debugging, open another of it still doesn't work.

Last edited by jasonwryan (2019-10-17 22:55:10)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB