LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-19-2021, 05:20 PM   #1
generic.newb_
LQ Newbie
 
Registered: Apr 2021
Posts: 21

Rep: Reputation: Disabled
Black screen and no window decorations in Xfce after changing vblank_mode


Hello,
I experienced some performance problems on Xfce, slackware current. I wanted to change vblank_mode using
Code:
xfwm4 --vblank=xpresent --replace
and
Code:
xfconf-query -c xfwm4 -p /general/vblank_mode -t string -s "xpresent" --create
commands to see if it fixes it. It worked(it's smooth) but it completely broke xfce and now xfce starts with no window decorations and black screen and i have to run the first command to bring them back. Also every time i do this i get "Failed to connect to session manager: SESSION_MANAGER enviroment variable not defined." error


It works normally for different user(for root, but on different computer I managed to break root the same way.) Also everything works if before xfce i run KDE in different TTY(wierd). I tried replacing with root's or deleting xfce config files from user folder completely but it doesn't help.

I have exactly the same problem as "sgx45edaz4" in this thread: https://forum.xfce.org/viewtopic.php?id=13233
but I don't know how to "change it manually"/where the config file is.
 
Old 04-20-2021, 07:58 PM   #2
notzed
Member
 
Registered: Dec 2020
Location: South Australia
Distribution: slackware64-current
Posts: 95

Rep: Reputation: Disabled
I think "manually set it back to auto" just means to use the xconf-query command to set it to "auto" rather than "xpresent".

For what it's worth I set mine to xpresent months ago and had no trouble with it (slackware64-current). I'm using xdm and it dumps output from stuff it runs to ~/.xsession-errors which is where i'd look first but if you're not using that i dunno where they go. I see a file .xfce4-session.verbose-log as well which might be related but i don't know anything about it.
 
1 members found this post helpful.
Old 04-21-2021, 02:55 PM   #3
generic.newb_
LQ Newbie
 
Registered: Apr 2021
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by notzed View Post
I think "manually set it back to auto" just means to use the xconf-query command to set it to "auto" rather than "xpresent".

For what it's worth I set mine to xpresent months ago and had no trouble with it (slackware64-current). I'm using xdm and it dumps output from stuff it runs to ~/.xsession-errors which is where i'd look first but if you're not using that i dunno where they go. I see a file .xfce4-session.verbose-log as well which might be related but i don't know anything about it.
thanks, ye I startx from text mode, no xdm.

The craziest thing is that removing all xfce packages with pkgtool and installing them from install USB didn't fix it. Once even KDE failed to run properly (blank screen with only mouse pointer) after I issued those commands but it "fixed iteslf" on second run) which leads me to think xfwm actually breaks something more than itself. Im out of ideas other than reinstall whole system. I'll try setting it to auto again then. If it doesn't work I'll reinstall OS, then test again which command exactly breaks it, when I know which one it is I'll just reinstall again and set it all up as good as i can without using this command. Turning compositing off completely with.
Code:
xfconf-query -c xfwm4 -p /general/use_compositing -t bool -s false
works -no transparency and shadows but can live with that if it's really xfce's fault not mine nor can I do something about it.

I remember some thread about performance problems with glx happen because noveau uses vsync and glx uses it's own vsync and they interfeere with eachother or something but it's veague memory Im not sure what it really was or I just misunderstood something.
 
Old 04-21-2021, 08:32 PM   #4
notzed
Member
 
Registered: Dec 2020
Location: South Australia
Distribution: slackware64-current
Posts: 95

Rep: Reputation: Disabled
Could try clearing out stuff from .config before trying to re-install, if the packages are all replaced. Start with .config/xcfe4 .config/xfce4-session but maybe others.

Also perhaps trying to start X in manual steps to see what's failing (e.g. start the X server, then setup env vars and run xfce4-session or xfce4wm).

I had the desktop start running at a chuggingly slow and irregular frame-rate after some upgrade which is why i changed the setting. I'm using the amdgpu driver with an ancient "southern islands" gpu (GCN 1.0) so I guess it's not just nouveau driver related.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xfce window decorations looks like gnome 3 after gnome3 removal lobuo Linux - Desktop 1 06-14-2014 09:12 AM
[SOLVED] xfce crashed and won't restart after window decorations theme change. Slackware 13.1 Holering Slackware 1 09-27-2010 06:37 PM
xfce - no keyboard and window decorations alexrait1 Slackware 2 10-29-2004 03:17 PM
KDE 3.2 and changing window decorations brandor Linux - Software 6 06-21-2004 01:26 PM
Mandrake 9.1 upgrade: fonts and BlackBox window decorations jhaiduce Linux - Software 0 07-30-2003 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration