Giter VIP home page Giter VIP logo

louvre's People

Contributors

ehopperdietzel avatar jengelh avatar jwijenbergh avatar paraworker avatar wiki-me avatar zlice avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

louvre's Issues

Modern C++

Hi,
I am wondering about many raw pointers. I.e. manual pointer destruction in destructors instead of using std::unique_ptr. This can actually cause memory leaks, because the destructor is not called when an exception within the constructor is raised.
Are you aware of that? What are the reasons of using old-school C++?

[Not a bug] Discussion

Thanks a lot for the library and I'd love to hear your thoughts on this:

https://gitlab.freedesktop.org/wayland/wayland/-/issues/233

Apparently your library unfortunately doesn't solve it unless magically it's going to be used by Mutter, Kwin and all other projects.

So, I wonder if you could extend your library to the finished product (i.e. compositor) with APIs which could be reused by KDE/Gnome/IceWM/JWM/TWM and a myriad of other window managers, so of which have said strong "no" to the idea of a Wayland port.

I'm basically asking you to recreate X.org (server) because fragmentation in the Wayland field has been staggering and various desktop features are added on a per compositor basis which sounds like pure madness.

Add list of compositors using Louvre to the read me

Continuing our discussion from here.

I suggest having a link rather then a full list like in smithay, as that would make the read me a little easier to skim , Also i don't think a wiki should be used because iirc it's can't be easily edited with a pull request, linking to some other file in markdown is good.

Mouse freezes

Louvre sometimes doesn't process mouse inputs, so the cursor stays in place even though I'm moving the mouse. When it happens, it seems to stick until you stop moving it, at which point it will actually process the inputs and move the cursor. Not sure what the problem is since I haven't looked at the architecture. Looks to me like it might be getting flooded with mouse inputs events which causes it to no longer process anything else, or something like that.

Failed to initialize output

I cant figure out how to fix the error, Im on Arch linux, KDE Wayland, nvidia. Thank you

Louvre error: [LCompositor::addOutput] Failed to initialize output DisplayPort-2.

hardcoded paths

src/lib/core/private/LCompositorPrivate.cpp:        if (!loadGraphicBackend("/usr/etc/Louvre/backends/libLGraphicBackendDRM.so"))
src/lib/core/private/LCompositorPrivate.cpp:            if (!loadGraphicBackend("/usr/etc/Louvre/backends/libLGraphicBackendX11.so"))
src/lib/core/private/LCompositorPrivate.cpp:        if (!loadInputBackend("/usr/etc/Louvre/backends/libLInputBackendLibinput.so"))
src/meson.build:BACKENDS_PATH = '/usr/etc/Louvre/backends'
src/meson.build:ASSETS_PATH = '/usr/etc/Louvre/assets'

So even if the asset path is changed in meson.build, all the programs still hard-reference /usr.

Wine `winewayland.drv` require `zwp_pointer_constraints_v1`

Reference upstream Wine: https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/winewayland.drv/wayland.c?ref_type=heads#L274
Reference Valve/Proton Wine: https://github.com/ValveSoftware/wine/blob/proton_9.0/dlls/winewayland.drv/wayland.c#L272

Wayland protocol: https://wayland.app/protocols/pointer-constraints-unstable-v1
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/main/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml

I know both Louvre and the Wine Wayland drivers are in it's early stages, I am just making this issue in advance so peoples reading on the project understand why the Wine Wayland driver currently cannot be used/tested on Louvre.
(Also as a reminder that zwp_pointer_constraints_v1 is not yet implemented on Louvre 2.0.0 git branch)

I didn't opened a discussion instead cause it seemed out of place.

Provide examples

My suggestion is to have an example dir with an example compositor, it could be used for quick prototyping and an example of how the library can be used

Compile louvre-views as separated project.

Hello, I'm interested on louvre-views (examples). How do I compile it without rebuilding the whole Louvre library. Is there a usable Makefile or meson.build ? Thanks.

GTK doesn't support `xdg_decoration_unstable_v1` but does support `org_kde_kwin_server_decoration_manager`

This is very silly, GTK support KDE protocol for decoration, but not the XDG one.

Relevant code: https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gdk/wayland/gdkdisplay-wayland.c
Searching for xdg_decoration in the entire project result in nothing
Checking for org_kde_kwin_server_decoration_manager gives multiple results

Relevant protocols:

Since Louvre already support xdg_decoration_unstable_v1, supporting org_kde_kwin_server_decoration_manager as well shouldn't be much an issue as they are almost identical protocols.

C bindings?

Hello! I just found out Louvre from this post and I find it very interesting! The benchmarks also look very interesting!

I would like to ask if you plan to create C bindings?

Black screen except for the top right text on one monitor

Let me finally report this :^) I originally thought this was the same as #41 when I saw that, but I don't think it is.

Louvre isn't updating the screen correctly, one monitor has a black screen except for the info text. When the clock (or I assume any of the text on the top bar) updates, which of the ones has the broken background changes, like here, these are a minute apart:
IMG_2326
IMG_2325

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.