Comments (12)
Is this llvmpipe? The mesa's old swrast does not work at least, however llvmpipe worked here at least under X11.
from wlc.
Yes, it is llvm pipe..
from wlc.
Maybe you could set WAYLAND_DISPLAY variable to something before running compositor. It will skip the SIGFPE setup (see: https://github.com/Cloudef/wlc/blob/master/src/wlc.c#L429-L434). However if this works, it most likely just hides bug in swrast.
There also seems to be software rendering related bug with latest mesa regarding weston https://bugs.freedesktop.org/show_bug.cgi?id=86701
from wlc.
Thanks! Works fine in VMWare.. Maybe go with that instead of VirtualBox (better support for hardware rendering..)
from wlc.
Oh it does not really work as I hoped.. I have hardware rendering working in VMWare. X11 works just fine. I can run wlc/example and weston under X11 in a window. Without X11 I can not run wlc/example or weston from console so I guess maybe the problem is in wayland or vmware.. weston says "failed to create display: no such file or directory".. According to wlc log, wlc tries to open Xwayland rather than using drm..
from wlc.
Ah! Progress. Got weston running by using "weston --backend=drm-backend.so" so it should be possible to run wlc as well, right?
from wlc.
Xwayland is not related to rendering. It's thing that provides you X11 inside Wayland. wlc will use drm when run from TTY. Can you show the full log for wlc.
from wlc.
Got this log:
Date: 2015-04-28 JST
[04:37:05.783] logind: session control granted
[04:37:05.783] Work done, dropping permissions and checking communication
[04:37:05.851] (WARN) Failed to open X11 display
[04:37:05.889] Activating tty
[04:37:05.889] become active
[04:37:05.890] INPUT DEVICE ADDED
[04:37:05.890] INPUT DEVICE ADDED
[04:37:05.890] INPUT DEVICE ADDED
[04:37:05.890] INPUT DEVICE ADDED
with envs:
WLC_XWAYLAND=0
WAYLAND_DISPLAY=0
WLC_DRM_DEVICE=card0
from wlc.
It seems like it's running OK, apart that it does not find any outputs and thus does not open any GLES2 context either.
from wlc.
What was the state of this issue. We got vmware to work at least partially, how was virtualbox?
from wlc.
Hardware rendering seem to be working somewhat on VirtualBox using Lubuntu 15. Weston does not run and wlc/example runs with this log. Screen is all black..
[11:18:18.563] Running on vt 1 (fd 0)
[11:18:18.571] Work done, dropping permissions and checking communication
[11:18:18.637] (WARN) Failed to open X11 display
[11:18:18.678] libinput: resume
[11:18:18.678] (WARN) Could not set master for drm fd (12)
[11:18:18.678] (WARN) Failed to get drm resources
[11:18:18.678] (WARN) drmModeGetResources failed
[11:18:18.678] become active
[11:18:18.678] INPUT DEVICE ADDED
[11:18:18.678] INPUT DEVICE ADDED
[11:18:18.678] INPUT DEVICE ADDED
[11:18:18.678] INPUT DEVICE ADDED
[11:18:18.678] INPUT DEVICE ADDED
[11:18:18.678] INPUT DEVICE ADDED
[11:18:18.678] INPUT DEVICE ADDED
[11:18:18.678] Xwayland :0 -rootless -terminate -listen 26 -listen 27 -wm 31
from wlc.
It seems virtualbox does not implement KMS I guess? Weston won't run without it, and wlc will fallback to headless mode (Which may not be what people want actually)
from wlc.
Related Issues (20)
- build fails except `wayland-protocols` is installed system-wide
- Screen tearing
- Allow keys to be remapped based on press duration
- If callback to view_set_geometry is not specified, view is doing what it wants
- RFC: Buffer API autodetection HOT 10
- X backend is broken as of EGLStreams support HOT 3
- Querying `wlc_pointer_get_position` returns 0, 0
- Weird behavior when switching to/from VT when using scaled output HOT 2
- Build has too many warnings HOT 2
- glfw window not showing when not creating OpenGL context
- When switching vts, wlc_output_created_cb is called without corresponding wlc_output_destroyed_cb
- wlc is going to be abandoned? HOT 10
- Touch event reports view by mouse position HOT 5
- XWayland application scaling HOT 1
- 10bit depth colors are not properly rendered
- Make SDL work on wlc (wl_registry@2: error 0: invalid version for global wl_data_device_manager (4): have 2, wanted 3) HOT 10
- [FreeBSD] Lose all input when tty switch back to sway HOT 7
- Problem with new views
- Support for color space HOT 2
- wlc deprecation process HOT 1
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 wlc.