Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 13 11:52
    strohel commented #1333
  • Sep 13 11:49
    strohel synchronize #1333
  • Sep 13 11:46
    maroider commented #1333
  • Sep 13 09:03
    strohel commented #1333
  • Sep 13 08:48
    bschwind edited #1333
  • Sep 13 08:47
    bschwind edited #1333
  • Sep 13 08:47
    bschwind edited #1333
  • Sep 13 08:47
    bschwind edited #1333
  • Sep 13 08:46
    bschwind edited #1333
  • Sep 13 08:46
    bschwind edited #1333
  • Sep 11 10:36
    vavra123 commented #1368
  • Sep 11 10:35
    vavra123 closed #1368
  • Sep 08 14:27
    maroider labeled #1307
  • Sep 08 13:39
    PureTryOut commented #1361
  • Sep 08 13:37
    PureTryOut commented #1361
  • Sep 07 12:20
    strohel synchronize #1333
  • Sep 05 21:23
    maroider labeled #1368
  • Sep 05 21:23
    maroider labeled #1368
  • Sep 05 21:23
    maroider labeled #1368
  • Sep 05 19:33
    vavra123 edited #1368
maroider
@maroider:matrix.org
[m]
and I believe dlopen should work with a dynamically linked musl
so what should be checked for is -C target-feature=+crt-static, but I'm not sure if a crate can check for it
1 reply
this is because I think the *-unknown-linux-musl targets may default to dynamically linking musl in the future
I can't recall the exact issue on github where I read this, so don't quote me on that
digital
@digital:fairydust.space
[m]
okay
I guess I'll dig into that sometime
winit is using wlroots right? how do I find which commit of wlroots is being used?
maroider
@maroider:matrix.org
[m]
no
wlroots is a compositor framework/library
to my knowledge
digital
@digital:fairydust.space
[m]
oh then cage must be going that
maroider
@maroider:matrix.org
[m]
I don't know what effect statically linking libwayland-client.so has
so idk if it's that or cage
or maybe even smithay-client-toolkit
the thing I'd try myself is to link to glibc and see if that works, but I don't know if your distro specifically avoids glibc
1 reply
digital
@digital:fairydust.space
[m]
hm, so cage weston-flower, cage sway and sway work and produce a [backend/drm/drm.c:1594] drmHandleEvent failed error when exiting. cage mewronoi-gnu aborts and also shows that error, but before that pixels fails to find an adapter.
$ cage -s ./mewronoi-gnu
[src/lib.rs:80] window.inner_size() = PhysicalSize {
    width: 1920,
    height: 1080,
}
Error: AdapterNotFound
00:00:01.505 [backend/drm/drm.c:1594] drmHandleEvent failed
close object 2: Invalid argument
close object 1: Invalid argument
close object 1: Invalid argument
close object 2: Invalid argument
`
maroider
@maroider:matrix.org
[m]
so that's a different error?
1 reply
right?
so if pixels (well, wgpu, really) can't find an adapter, then that's likely a wgpu problem
is your application something you're porting to linux, or has it run on linux before?
digital
@digital:fairydust.space
[m]
I'm writing this myself, based it off of a pixels example. it runs on my laptop
maroider
@maroider:matrix.org
[m]
and your laptop runs linux?
digital
@digital:fairydust.space
[m]
ah yes it does, void linux too
maroider
@maroider:matrix.org
[m]
so it's pretty much the same system?
digital
@digital:fairydust.space
[m]
Linux dahlia 5.12.19_1 #1 SMP 1626835473 x86_64 GNU/Linux
Github
@_neb_github:matrix.org
[m]
rust-windowing/winit#1 : Remove most OpenGL stuff and make it compile on win32
digital
@digital:fairydust.space
[m]
different architecture and different kernel configuration, they have a separate kernel package for the rpi
other than that yeah
maroider
@maroider:matrix.org
[m]
so it's the same ± some stuff
allright
and the github bot is a bit optimistic about issue numbers
digital
@digital:fairydust.space
[m]
lol
maroider
@maroider:matrix.org
[m]
I thought you had linked to a commit of yours for a hot second there
but no, it was the bot linking to PR number 1 on winit's repository
digital
@digital:fairydust.space
[m]
yeah, I guess I'll go ask in wgpu channels
thanks, you helped me a lot, I appreciate it
1 reply
digital
@digital:fairydust.space
[m]
yeah I put in a sleep, it seems to be a different error
maroider
@maroider:matrix.org
[m]
good to know
I wish you the best of luck in fixing that error
digital
@digital:fairydust.space
[m]
thanks
actually, this feels familiar... nannou-org/nannou#732
but it's not the same issue, I tried it out
maroider
@maroider:matrix.org
[m]
I suppose that your raspberry pi may not support vulkan quite yet
and OpenGL support in wgpu is still a WIP last I checked
digital
@digital:fairydust.space
[m]
might be
Levans
@levans:safaradeg.net
[m]
digital : statically/dynamically linkage of libwayland is completely unrelated to wlroots and drm errors fyi
These are two independent problem
digital
@digital:fairydust.space
[m]
you mean the 00:00:01.505 [backend/drm/drm.c:1594] drmHandleEvent failed error?
Levans
@levans:safaradeg.net
[m]
Yeah, it is related to wlroots/cage, but not to the issue of dlopening libwayland-client.so
digital
@digital:fairydust.space
[m]
ah okay
will be afk for a bit, getting dinner stuff