window-maker / wmaker

Mirror of the official repository repo.or.cz/wmaker-crm.git. Do not send pull requests here, send your patches to wmaker-dev@googlegroups.com instead
https://repo.or.cz/wmaker-crm.git
GNU General Public License v2.0
136 stars 18 forks source link

rockchip rk3399 / pinebook pro and windowmaker graphics issues #9

Open norayr opened 3 years ago

norayr commented 3 years ago

hello, i don't report bug with it, probably, but wanted to let you know i have some issues with windowmaker on pinebook. and how i was able to solve those.

so i always had this feeling that the graphics works better under other wm on this particular hardware. for example, when changing workspaces, i was seeing that the name of the workspace appears with very low framerate. or when i ran the software which talks directly to the xorg via sockets, the render of this window took minutes.

one day accidentally i found a way to measure the performance: i compiled the 8bit machine emulator, it was giving me 30-50% framerate under windowmaker, while under xfce i was getting 100% framerate.

it looks like, windomaker's compositor is not able to use opengl on this hardware.

i was able to solve this by using other compositor - picom, with this config.

it has other backends, but i can see the difference only with glx backend.

if you have some thoughts or suggestions, please comment here.

P. S. and thank you for moving to github - commiting translations via google groups wasn't the best way. now i'll be able to fix my translation and make a pull request here.

crmafra commented 3 years ago

On Fri, 19 Feb 2021 at 2:50:07 -0800, Norayr Chilingarian wrote:

hello, i don't report bug with it, probably, but wanted to let you know i have some issues with windowmaker on pinebook. and how i was able to solve those.

so i always had this feeling that the graphics works better under other wm on this particular hardware. for example, when changing workspaces, i was seeing that the name of the workspace appears with very low framerate. or when i ran the software which talks directly to the xorg via sockets, the render of this window took minutes.

one day accidentally i found a way to measure the performance: i compiled the 8bit machine emulator, it was giving me 30-50% framerate under windowmaker, while under xfce i was getting 100% framerate.

it looks like, windomaker's compositor is not able to use opengl on this hardware.

i was able to solve this by using other compositor - picom, with this config.

it has other backends, but i can see the difference only with glx backend.

if you have some thoughts or suggestions, please comment here.

Thank you for sharing this, it is certainly very useful.

Do you have any idea for a patch to windowmaker that would solve this natively?

b- commented 3 years ago

I think you're experiencing the issue that this patch was written to solve.

If you're on Manjaro, try sudo pacman -S libdrm-pinebookpro and reboot, and see if that fixes it.