-
-
Notifications
You must be signed in to change notification settings - Fork 589
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
Very bad performance and lag in VirtualBox #40
Comments
Are you sure you tested both |
Thanks for the fast answer. Yes, I just rechecked that |
@tiiiecherle OK, can you do a bisect between c0d7f9d (bad) and 16f202f (good) then? |
@tiiiecherle BTW, do you have a video of what the lag looks like? |
sorry, I don`t know how to do that. |
No, I don`t. But for example when you click on the openbox background you can not use the opening menu as it is not possible to select it fast enough. moving around windows or opening apps is very slow. |
OK, then. Can you try 5694e75 and see if that works? |
what do you mean by try that? I tried the latest git version with all commits until yesterday by testiung the git package in the aur and the issue was still there. |
@tiiiecherle can you try checking out compton from this repository at that commit, build it and run it? |
It would be very nice if you could give me the exact steps / commands how to do that. |
If you're running on Archlinux, install
|
Thanks a lot. I had to do
and then changed the source line.
|
I performed another full system update including all repo and aur packages this morning and the strange thing is that even It seems like there was in interaction with another issue and this one can be closed. Thanks for all the fast help. I will have an eye on it the next days / weeks and open another issue if the issue comes back. |
@tiiiecherle Hmm, I wonder if the problem is really gone. Thanks for testing though. I will close this for now. If the problem comes back you can leave a comment here and I will reopen this issue. |
Hey, sorry to get back to this. But this got even more strange. Yesterday I wrote it worked after the system package updates. I went home and the issue was back using the same software. Then I started thinking about what else changed. I use a Macbook Pro 15 inch with the virtualbox setup. At home I use it standalone and at work with an external monitor (27 inch usbc). Today I went back to the office and the issue is gone again. So the issue occurs when using the macbook standalone and is gone when using the external monitor. The issue is not occuring on the standalone macbook when killing compton or using the older version 3.0-1. |
After the discoveries from the office I went back home and tried on the standalone macbook (where the issue occurs) to go back to this commit:
and I can confirm that installing with this source that the issue is NOT solved. Hope this helps. |
Would you mind also trying source=(git+"https://github.com/yshui/compton.git#commit=56f7dd36") ? I'm also seeing vbox perf issues in #41 and that commit is the last one with the higher performance for my setup. |
Sure, I tried, but it gives me an error during building...
|
Ah I forgot. You'll need to checkout an older version of the PKGBUILD:
And then comment out a license install line:
|
Thanks for the heads-up. I did this and indeed with this build everything is working fine. Hope this helps. |
OK, I reverted 50e2259, the head of |
Thank you. But I´m sorry to tell you that neither compton-git-next nor compton-3.0-3 are solving the issue. It still persists with both of them. |
As I have to give my macbook into repairs for a not-working usb-c port on monday I took some time to filter out the commit causing my issue. I don`t know if it was the right way to do it but I took the old PKGBUILD as decribed in this comment and tried all of these sources. I made a comment behind it if working or not...
As it turned out that the last working commit is 551d48783658323f221b87813b4d84bc76d0e969 and with commit 309a4cec79035c2d873ace7e763ea1c4a0bf6bfd the issue starts. Hope this helps. |
@tiiiecherle Thanks for your effort at diagnosing this problem. Based on your finding, I have some hypothesis about what might be the problem. Can you test a4d351f and see if that fixes your problem? |
Sure, thanks for looking into it. How do I test that? Or better how do I include the commit it in the latest PKGBUILD? When just using |
@tiiiecherle If you can confirm that works, I will update the branch to include that commit. |
Setting it on the target buffer picture has no effect. Fix performance problem when using xrender with virtual box. Fixes #40 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Yes, using this in the PKGBUILD works without the issue.
Thanks for looking into it. |
@tiiiecherle Merged into |
Perfect, thanks for alle the help, just tried next and the issue is solved. Have a good day and a nice weekend ;) |
Would be really nice to see an updated stable (community-repo) version in archlinux including the fix. Thanks in advance |
Reopening this since it's reported again. @tiiiecherle what has changed? |
I am getting this issue as well where the performance is terrible in virtualbox. Going through this thread I tried 683cda0, and it works just fine so something added between then and now has caused virtualbox to croak. I'll go through the commits from 683cda0 until I reach one that doesn't work anymore like @tiiiecherle did before and report back to you what I find. |
@dustinwilson that's great, thanks a lot. |
Sorry about the wait. I could only test this on a computer I use at work. The first commit I found to cause a great deal of lag starting from 683cda0 is 94b1bc0. That means that the last commit to work (at least for me with Manjaro Xfce in Virtualbox) is 68873ef. After I went up the tree from 683cda0 and found the first one to not work I tried each of the releases since then and none of them work either, so it looks like whatever was changed in 94b1bc0 is what has Virtualbox confused. |
@dustinwilson if that's the case, can you run |
Version: v4-rc1-54-g94b1bc0 Extensions:
Misc:
That is for 94b1bc0. |
@dustinwilson perhaps you have a different config file at |
@dustinwilson thanks for looking into this, |
@tiiiecherle that means, before 94b1bc0, the config file at |
Just to avoid misunderstandings. Yesterday I tried the latest version of compton (7.3-1)
In both setups the issue persists. Downgrading back to 5.1-1 and empty config file at |
Sorry about the lack of response on this. I haven't had a chance to test this at work as I haven't been at the computer I can test on. @yshui is right in that the config file at |
there seems to be a lot of problems with vbox's driver. i probably should consolidate them into a single issue. this one is old so i am closing this. if you are still experiencing problems with vbox, search the issue list first, and only open a new one if there isn't one about vbox open already. thanks. |
Platform
archlinux in virtualbox
GPU, drivers, and screen setup
vboxvideo
Environment
openbox and mate
Compton version
v3 with additional commits
https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/compton&id=611a4d7d3012745b7243df25e1036f0e50ec7f78
and latest git
Compton configuration:
Steps of reproduction
Login to a desktop environment and start compton &
Expected behavior
no lag, no performance issues
Current Behavior
the whole desktop gets almost unusable with a really bad lag.
Other details
I´m using archlinux and the problem started with version 3.0-2 which cherrypicked a commit from github. The latest git version still has the issue. Downgrading the package to 3.0-1 solves it.
According to the changes made it must be related to changes before that point.
The text was updated successfully, but these errors were encountered: