Comments (6)
Hi, is that the complete log? Could you please provide me with the GDB log of the segfault point or inform me about the QEMU setup you're using? The missing EGL driver name is common and isn't a problem.
from louvre.
qemu-system-x86_64 --enable-kvm -vga qxl
and -vga virtio
parameters
additionally dri backends and my video card info:
from louvre.
Thanks, I think the segfault was caused by a call to an EGL function that is not supported by virtio. I've added some checks, and now it should work fine, it works for me running Fedora inside qemu. The changes are in the 2.0.0 branch. Also, if you notice any unusual behaviour in the examples, specially when clicking windows it's likely because I'm currently implementing some features that are not yet completed.
from louvre.
Thank you for update, i tried also and it works with -vga qxl
, but as you mentioned, keyboard and mouse events don't work for now.
from louvre.
Thank goodness you mentioned it. It's true, I noticed that only keyboard events are functioning. When I press fn + F1, weston-terminal launches as expected, but there are no pointer events. I've just looked into the Libinput doc and realized that there are relative and absolute pointer events. The documentation even indicates that absolute events are used in contexts like QEMU and VBox. Currently, Louvre only handles relative events. I'll be adding support for absolute events shortly, and I'll keep you informed.
from louvre.
Pointer events are now working (branch 2.0.0). However, there are still some issues with the cursor hotspot. I guess this is due to SRM not using the hotspot property of hardware cursor planes in DRM/KMS, which I always thought was kind of useless, but now I know its use case. When running on a real machine, Louvre controls cursor movement and properly adjusts the hotspot, but in this case, QEMU overrides it.
from louvre.
Related Issues (20)
- Compile / build instruction. HOT 1
- Compile louvre-views as separated project. HOT 2
- hardcoded paths HOT 3
- Modern C++ HOT 3
- [Not a bug] Discussion HOT 12
- Mouse freezes HOT 4
- Immediate crash upon trying to run `louvre-views` inside Hyprland HOT 7
- Change keyboard layout non-programatically HOT 5
- Add list of compositors using Louvre to the read me HOT 2
- Black screen except for the top right text on one monitor HOT 14
- Failed to initialize output HOT 31
- Consider removing inline keyword for member function HOT 1
- Wine `winewayland.drv` require `zwp_pointer_constraints_v1` HOT 6
- GTK doesn't support `xdg_decoration_unstable_v1` but does support `org_kde_kwin_server_decoration_manager` HOT 7
- Customizing Shortcuts Definition HOT 7
- Waybar doesn't work - Failed to register as toplevel manager HOT 7
- Changing keyboard layouts dynamically HOT 2
- Double visible mouse pointer HOT 11
- Create an IRC channel or discord HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from louvre.