glouw / paperview

A high performance X11 animated wallpaper setter
https://glouw.com/2020/08/02/Paperview.html
MIT License
1.45k stars 46 forks source link

Doesn't work on Manjaro. #3

Open FalkeLH opened 4 years ago

FalkeLH commented 4 years ago

When I try to run the ./paperview command I get a "[1] 280403 segmentation fault (core dumped) ./paperview scenes/train/ 5" error...

FalkeLH commented 4 years ago

I may have done something wrong but idk...

glouw commented 4 years ago

My bad, I removed the train folder this morning. I've updated the readme with 'castle' in place of the train folder, though you can pick any one of the scenes in the scenes folder

FalkeLH commented 4 years ago

Castle doesn't work either. Actually none of the themes does. But I don't get an error message on those, the console just says nothing and the wallpaper doesn't change. I have to press ctrl+c to exit that state...

glouw commented 4 years ago

Some window managers sadly take control over the root X11 window already. We know Picom already affects paperview. May you be running Picom?

dealloc commented 4 years ago

@falkoritten which version of Manjaro are you running? There's a big difference between KDE, Gnome and XFCE which is important information here. I think Manjaro is even using Wayland on some DE, which could explain why things aren't working, too

andreldm commented 4 years ago

For Xfce users, xfdesktop and compositing have to be disabled before running paperview:

xfdesktop -Q && xfconf-query --channel xfwm4 --property /general/use_compositing --type bool --set false
InvincibleKnight commented 3 years ago

For Xfce users, xfdesktop and compositing have to be disabled before running paperview:

xfdesktop -Q && xfconf-query --channel xfwm4 --property /general/use_compositing --type bool --set false

Hello is it safe to disable the compositor? I am running Manjaro KDE, what command should I run? Thanks!

andreldm commented 3 years ago

Hello is it safe to disable the compositor? I am running Manjaro KDE, what command should I run? Thanks!

In a quick search this Q&A thread shows up in top results. With regards to the effect disabling compositing, the most noticeable aspect is that you lose transparency and drop show around windows.

InvincibleKnight commented 3 years ago

Hello is it safe to disable the compositor? I am running Manjaro KDE, what command should I run? Thanks!

In a quick search this Q&A thread shows up in top results. With regards to the effect disabling compositing, the most noticeable aspect is that you lose transparency and drop show around windows.

Awesome! But sadly it is still not working. I installed SDL2 and everything is working fine. The command is also executing. Yet I cannot see the background. Thank you!

neofeo commented 3 years ago

@andreldm Love your work here, there is any workaround that could be made to make it work without disabling the compositor? bc that creates a lot of tearing on my side.

andreldm commented 3 years ago

@andreldm Love your work here, there is any workaround that could be made to make it work without disabling the compositor? bc that creates a lot of tearing on my side.

No idea, I'm not a contributor of this project.

glouw commented 3 years ago

As for everyone trying to get paperview working with a desktop environment, you're likely out of luck. A basic X11 setup is gonna be your best bet. Something like Arch and one of these window managers will work: https://wiki.archlinux.org/title/Window_manager

I personally use DWM. Your mileage may vary. Yes, paperview will tear without a compositor because X11 is CPU rendered. It's 40 year old technology. Tearing is a way of life