-
-
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
Screen becomes empty #30
Comments
Have you tried the glx backend? |
OK, there seems to be some problem in the window stacking code. I will look into it. |
Yes, same results
Thank you, well appreciated |
What happens when you have more windows open? What window manager do you use? (I was assuming xfwm4). |
I am indeed using xfwm4. I get the same results independent of the number of windows or screens. In the screen recording, the first part is without configuration, here it disappears instantly (same as with the shipped configuration sample). The second part is with my own configuration (https://gist.github.com/ChrisLahaye/1f11ce1d1748889064df1010254984ce), here it disappears when opening an overlay (plank, notification) or menu (context menu, whisker). |
I cannot reproduce this on a new xfce4 install. So I'm afraid you will have to help me debugging this issue. Can you run |
Output of |
A wild guess, but if you kill Also what happens if you kill |
Same results with xfce4-panel and redshift killed. |
Hmmm. I am out of ideas. So I enabled a bunch of debug outputs in the |
log.txt |
@ChrisLahaye from the log file I can see compton did try to paint something, somehow nothing is painted on screen.... You said this happen on GLX as well, right? So if you are familiar with apitrace, could you use that to capture a trace of compton with the GLX backend? (It will capture all window content, so don't open too many windows to minimize the size of the capture). |
compton-next.trace.log As attachment the traces. Did my best to minimize the size. |
Sorry, did you happen to capture |
If you are going to do the capture again, could you do the following things at the same time:
Thanks! |
Thanks again for your efforts |
No, thank you for sticking with me. But sorry, I wasn't clear enough. You need to capture the output with |
Oops
|
@ChrisLahaye Sorry, but the order of redirection is important[1]. It has to be [1]: https://unix.stackexchange.com/questions/37660/order-of-redirections |
Ugh didn't know the difference, should have just followed the instructions 👍
|
Hmm, so compton apparently decided none of your windows are worth painting... I suspect maybe there's a big window that covers up the whole screen... I will add more debug prints... |
@yshui cool thanks, let me know when you have updated the branch |
I updated the branch. This time you don't need to run |
|
Ah, so all your windows are completely transparent somehow. Now we just need to figure out why... |
I added print message to print out the opacity when they are updated. Can you try Also it has a slight chance of just fixing you problem. |
Thank you |
Hmm, do you have any idea why all your window is considered transparent. Can't seems to find a reason why compton would do that... |
No idea, I generated the log and tried without any programs running. I will try later with another GTK theme, maybe the theme uses transparency? |
I don't think that is the case. But you are encouraged to try. This will be much easier if I can reproduce this bug, but now I guess I will have to add more debug prints. I am going to implement proper logging and stuff so future bug reporters won't need to go through this again. |
Checked if I used any transparency which was not the case and changing themes also didn't work. |
@ChrisLahaye I pumped the |
|
@ChrisLahaye Looks like your system has a non-working isnan() function. What libc do you use? Did you compile compton with |
You can either remove things like |
@yshui you are right, my compiler options enabled fast math, adding |
@ChrisLahaye So in the logs I see windows get opacity of |
Thank you for your great work. Please let me know if I can help by providing any additional information or performing tests.
Platform
Linux arch 4.18.16-1-ck-skylake #1 SMP PREEMPT Sat Oct 20 08:37:58 EDT 2018 x86_64 GNU/Linux
GPU, drivers, and screen setup
Environment
XFCE4
Compton version
v3 and v3-rc2-16-g06d8792
Compton configuration:
Default configuration and /etc/xdg/compton.conf.example
Tried any combination of options
Steps of reproduction
Expected behavior
Windows to be visible
Current Behavior
Screen becomes empty
Other details
https://youtu.be/WrTd4yi8FcA
I remember having this problem on your fork a long while ago, then it was fixed for a while, now it is back again.
The text was updated successfully, but these errors were encountered: