Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Bad performance on xfce #129

Closed
1 task done
gnzsnz opened this issue Dec 8, 2023 · 7 comments
Closed
1 task done

[BUG] Bad performance on xfce #129

gnzsnz opened this issue Dec 8, 2023 · 7 comments

Comments

@gnzsnz
Copy link

gnzsnz commented Dec 8, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

bad xrdp performance on xcfe desktop (potentially affecting other flavors)

xfce window manager composition is affecting performance, disabling has a significant improvement on performance, with minor funcionality impact

image

command line

xfconf-query --channel=xfwm4 --property=/general/use_compositing --type=bool --set=false --create

it might be possible to disable composition directly on Xorg

Section "Extensions"
 Option "Composite" "Disable"
EndSection

although I have not tested it, this could be a good solution for the base image

Expected Behavior

improved performance

Steps To Reproduce

Install an app use it daily, performance is lagging

Environment

- OS: ubuntu 22.04
- How docker service was installed: official docker ppa

CPU architecture

x86-64

Docker creation

sample docker-compose.yml

Container logs

nothing is displayed on the logs

Performance is greatly improved after disabling window manager composition


xfconf-query --channel=xfwm4 --property=/general/use_compositing --type=bool --set=false --create
Copy link

github-actions bot commented Dec 8, 2023

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@gnzsnz
Copy link
Author

gnzsnz commented Jan 7, 2024

let me know if i need to add any further detail to avoid this issue been closed

@thelamer
Copy link
Member

I synced what we do in webtop on init
https://github.com/linuxserver/docker-rdesktop/blob/master/root/defaults/startwm.sh#L3
It requires the container is restarted one time or an existing home directory is mounted in but it is the best I can do with xfce and not need to babysit it.

@gnzsnz
Copy link
Author

gnzsnz commented Jan 20, 2024

thanks for your reply @thelamer

I'm disabling composition like this,

xfconf-query --channel=xfwm4 --property=/general/use_compositing --type=bool --set=false --create

which has the same end result, and less dependencies.

just to highlight another alternative. I'm fine with both options

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Copy link

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

3 participants