SX
Stardust XRā€¢2y ago
Lualt

error when starting stardust server (bad egl parameter)

when trying to start the server i get this error about egl
2023-07-04T14:40:45.265535Z ERROR main smithay::backend::egl::ffi: 64: [EGL] 0x300c (BAD_PARAMETER) eglQueryDmaBufModifiersEXT: EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format

2023-07-04T14:40:45.265739Z ERROR main smithay::backend::egl::ffi: 64: [EGL] 0x300c (BAD_PARAMETER) eglQueryDmaBufModifiersEXT: EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format
2023-07-04T14:40:45.265535Z ERROR main smithay::backend::egl::ffi: 64: [EGL] 0x300c (BAD_PARAMETER) eglQueryDmaBufModifiersEXT: EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format

2023-07-04T14:40:45.265739Z ERROR main smithay::backend::egl::ffi: 64: [EGL] 0x300c (BAD_PARAMETER) eglQueryDmaBufModifiersEXT: EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format
@i509VCB (nova said i could ping you :D)
260 Replies
Nova
Novaā€¢2y ago
@i509VCB oh i saw
Lualt
LualtOPā€¢2y ago
now we gotta wait :)
Nova
Novaā€¢2y ago
i guess so may as well build all the clients
Lualt
LualtOPā€¢2y ago
oh true smart ill do that then :)
Nova
Novaā€¢2y ago
they're all rust btw
i509VCB
i509VCBā€¢2y ago
Bad parameter getting that info? Which driver are you using?
Lualt
LualtOPā€¢2y ago
driver for what? i think x11 if thats what you are asking for
i509VCB
i509VCBā€¢2y ago
Graphics driver
Lualt
LualtOPā€¢2y ago
how can i check that?
i509VCB
i509VCBā€¢2y ago
Nvidia, amd, Intel?
Lualt
LualtOPā€¢2y ago
nvidia :/
Nova
Novaā€¢2y ago
oh no
i509VCB
i509VCBā€¢2y ago
Nvidia shouldn't have an issue with getting dmabuf attributes though... What gpu do you have?
Lualt
LualtOPā€¢2y ago
NVIDIA GeForce GTX 1650 this one
i509VCB
i509VCBā€¢2y ago
That clearly should work then...
Lualt
LualtOPā€¢2y ago
oh ill try to restart my system in a few minutes and see if then its okay even after a restart it still has the issue any ideas on how i could fix this? (: @i509VCB sorry for the ping
i509VCB
i509VCBā€¢2y ago
Which driver version do you have?
Lualt
LualtOPā€¢2y ago
how can i check that? 525.116.04 i think this? is 525.116.04 the version number you are looking for?
i509VCB
i509VCBā€¢2y ago
535 seems to be the latest driver, if you could try updating to that
Lualt
LualtOPā€¢2y ago
šŸ‘
Nova
Novaā€¢2y ago
oh uh @Lualt if you aren't already... use the dev branch on the server just... forgot to mention that
Lualt
LualtOPā€¢2y ago
OH maybe that fixes it :D nope still has the issue ill try updating my drivers in a bit
Nova
Novaā€¢2y ago
actually, another idea maybe... install sway from your package manager if you do that it might just guarantee we have all the deps we need
Lualt
LualtOPā€¢2y ago
okay i failed to update my drivers B) is it just called sway?
Nova
Novaā€¢2y ago
yep
Lualt
LualtOPā€¢2y ago
okok lemme try :. no change :/
2023-07-05T11:56:08.893442Z ERROR main smithay::backend::egl::ffi: 64: [EGL] 0x300c (BAD_PARAMETER) eglQueryDmaBufModifiersEXT: EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format

2023-07-05T11:56:08.893553Z ERROR main smithay::backend::egl::ffi: 64: [EGL] 0x300c (BAD_PARAMETER) eglQueryDmaBufModifiersEXT: EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format
2023-07-05T11:56:08.893442Z ERROR main smithay::backend::egl::ffi: 64: [EGL] 0x300c (BAD_PARAMETER) eglQueryDmaBufModifiersEXT: EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format

2023-07-05T11:56:08.893553Z ERROR main smithay::backend::egl::ffi: 64: [EGL] 0x300c (BAD_PARAMETER) eglQueryDmaBufModifiersEXT: EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format
Nova
Novaā€¢2y ago
oooof well, guess it's the drivers
Lualt
LualtOPā€¢2y ago
yup :,) last time i tried it i almost bricked my system and this time it just flat out didnt work okay so i searched online and it seems like you can only update the nvidia drivers when the pop os people push it in an update so i can basically not update them??????
Nova
Novaā€¢2y ago
:/ oooooofies
Lualt
LualtOPā€¢2y ago
is there a way to check if its really the drivers that are the issue?
Nova
Novaā€¢2y ago
idk, this isn't my area of expertise @i509VCB might know though
Lualt
LualtOPā€¢2y ago
ah okay i really hope we can get a fix šŸ˜­
i509VCB
i509VCBā€¢2y ago
i509VCB
i509VCBā€¢2y ago
Apparently Nvidia just did something wrong in their EGL implementation
Lualt
LualtOPā€¢2y ago
bruh- so theres no way to fix that i assume ._.? except for waiting
Nova
Novaā€¢2y ago
are nvk and zink ready to take up the task?
i509VCB
i509VCBā€¢2y ago
You might need to patch sway/wlroots
Nova
Novaā€¢2y ago
wait patch sway... why?
i509VCB
i509VCBā€¢2y ago
You could try zink on regular nvidia
Lualt
LualtOPā€¢2y ago
whats zink?
i509VCB
i509VCBā€¢2y ago
You mentioned sway had the error?
Lualt
LualtOPā€¢2y ago
.
Nova
Novaā€¢2y ago
zink is opengl implemented with vulkan no this is stardust
Lualt
LualtOPā€¢2y ago
ohh
Nova
Novaā€¢2y ago
smithay
i509VCB
i509VCBā€¢2y ago
Ok so uhh did your fork of smithay have that commit?
Nova
Novaā€¢2y ago
no i don't have a fork of smithay anymore i'm using the upstream one
i509VCB
i509VCBā€¢2y ago
Ok
Nova
Novaā€¢2y ago
since we properly fixed the dmabuf stuff
i509VCB
i509VCBā€¢2y ago
So that's probably a bug somewhere and I don't know what necessarily needs to be done. Does this occur if you run anvil?
Lualt
LualtOPā€¢2y ago
idk what anvil is šŸ˜­
i509VCB
i509VCBā€¢2y ago
The smithay test compositor
Lualt
LualtOPā€¢2y ago
where can i get that?
Lualt
LualtOPā€¢2y ago
GitHub
GitHub - Smithay/smithay: A smithy for rusty wayland compositors
A smithy for rusty wayland compositors. Contribute to Smithay/smithay development by creating an account on GitHub.
Lualt
LualtOPā€¢2y ago
from here?
i509VCB
i509VCBā€¢2y ago
Yeah
Lualt
LualtOPā€¢2y ago
okok imma try
i509VCB
i509VCBā€¢2y ago
It should be able to run inside a window
Lualt
LualtOPā€¢2y ago
so i have libseat-dev installed but its still saying it cant find it
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" PKG_CONFIG_ALLOW_SYSTEM_LIBS="1" "pkg-config" "--libs" "--cflags" "libseat"` did not exit successfully: exit status: 1
error: could not find system library 'libseat' required by the 'libseat-sys' crate
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" PKG_CONFIG_ALLOW_SYSTEM_LIBS="1" "pkg-config" "--libs" "--cflags" "libseat"` did not exit successfully: exit status: 1
error: could not find system library 'libseat' required by the 'libseat-sys' crate
i509VCB
i509VCBā€¢2y ago
Run with --no-default-features and then enable the winit feature
Lualt
LualtOPā€¢2y ago
2023-07-05T13:45:09.898159Z ERROR anvil: Unknown backend: --winit
2023-07-05T13:45:09.898159Z ERROR anvil: Unknown backend: --winit
...what
i509VCB
i509VCBā€¢2y ago
Enable the winit feature, --features winit
Lualt
LualtOPā€¢2y ago
ohhh okay tyty cargo run --no-default-features -- --features winit still not working is this right?
i509VCB
i509VCBā€¢2y ago
Before the --
Lualt
LualtOPā€¢2y ago
ooooh okay mb
i509VCB
i509VCBā€¢2y ago
The -- indicates anything past that should be a program argument And not a cargo argument
Lualt
LualtOPā€¢2y ago
šŸ‘ i now have a slightly purple window :) and i also get the same error
2023-07-05T13:48:22.940414Z ERROR backend_winit: smithay::backend::egl::ffi: [EGL] 0x300c (BAD_PARAMETER) eglQueryDmaBufModifiersEXT: EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format
window=153092097
2023-07-05T13:48:22.941166Z ERROR backend_winit: smithay::backend::egl::ffi: [EGL] 0x300c (BAD_PARAMETER) eglQueryDmaBufModifiersEXT: EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format
window=153092097
2023-07-05T13:48:22.940414Z ERROR backend_winit: smithay::backend::egl::ffi: [EGL] 0x300c (BAD_PARAMETER) eglQueryDmaBufModifiersEXT: EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format
window=153092097
2023-07-05T13:48:22.941166Z ERROR backend_winit: smithay::backend::egl::ffi: [EGL] 0x300c (BAD_PARAMETER) eglQueryDmaBufModifiersEXT: EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format
window=153092097
no other errors
i509VCB
i509VCBā€¢2y ago
Light purple is intentional
Lualt
LualtOPā€¢2y ago
yeah thought so
i509VCB
i509VCBā€¢2y ago
Although you still get the errors...
Lualt
LualtOPā€¢2y ago
yeah-
i509VCB
i509VCBā€¢2y ago
Could you open an issue in smithay, this sounds like a driver bug but it could also be something I don't directly know the answer to Include the driver info and GPU as well
Lualt
LualtOPā€¢2y ago
okaya could you help me write an issue since i myself am not so sure what is going on so idk how i would write a good issue for this lol
i509VCB
i509VCBā€¢2y ago
If <max_modifiers> has a negative value, the error EGL_BAD_PARAMETER is generated.
Is probably the closest error I could think of but why would the driver give us a negative count?
Lualt
LualtOPā€¢2y ago
šŸ¤·ā€ā™€ļø is there a simple way to check what the driver returns to smithay?
i509VCB
i509VCBā€¢2y ago
QueryDmaBufModifiersEXT error on Nvidia driver is how I'd summarize it Uhh with a debugger yes Then just include the driver info and that message from anvil
Lualt
LualtOPā€¢2y ago
as the issue title? okay
i509VCB
i509VCBā€¢2y ago
Yeah
Lualt
LualtOPā€¢2y ago
okok trying my best to find my driver info rn lol GPU: NVIDIA GeForce GTX 1650 Driver Version: 525.116.04
2023-07-05T13:48:22.940414Z ERROR backend_winit: smithay::backend::egl::ffi: [EGL] 0x300c (BAD_PARAMETER) eglQueryDmaBufModifiersEXT: EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format
window=153092097
2023-07-05T13:48:22.941166Z ERROR backend_winit: smithay::backend::egl::ffi: [EGL] 0x300c (BAD_PARAMETER) eglQueryDmaBufModifiersEXT: EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format
window=153092097
2023-07-05T13:48:22.940414Z ERROR backend_winit: smithay::backend::egl::ffi: [EGL] 0x300c (BAD_PARAMETER) eglQueryDmaBufModifiersEXT: EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format
window=153092097
2023-07-05T13:48:22.941166Z ERROR backend_winit: smithay::backend::egl::ffi: [EGL] 0x300c (BAD_PARAMETER) eglQueryDmaBufModifiersEXT: EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format
window=153092097
what else do i need to add? i5?
i509VCB
i509VCBā€¢2y ago
Also mention this happens in stardust
Lualt
LualtOPā€¢2y ago
done šŸ‘ https://github.com/Smithay/smithay/issues/1065 @i509VCB someone commented and idk what to reply with šŸ„¹ sorry for asking for so much handholding but i just dont know anything about this lol
i509VCB
i509VCBā€¢2y ago
If that's intentional, I think that's EGL's built-in logging smithay handles that weird nvidia bug where a second call with a format that was returned the first time could fail and just ignores the error Things probably should just be fine
Lualt
LualtOPā€¢2y ago
but when i run a stardust client nothing shows up on the server actually since im on the dev built rn lemme try it agian again* still nothing running both flatland and stardust but i only see the hdr
Lualt
LualtOPā€¢2y ago
No description
Lualt
LualtOPā€¢2y ago
the background image is the .hdr from the server am i just using it wrong? do i need to do something different orr? @Nova am i using flatland wrong or is it really just not working? also a question about connect vr, you said i couldnt use steamvr to connect to stardust, how would i be able too? i know i have a quest2 and might not be able too but i would like too know since i might be able to find a way šŸ¤·ā€ā™€ļø šŸ¤”
Nova
Novaā€¢2y ago
ah the Wayland bug you need an openxr runtime that supports the XR_MND_EGL extension
Lualt
LualtOPā€¢2y ago
ah okay it actually seems like alvr released an update with openxr support june 2 so maybe it could work šŸ¤·ā€ā™€ļø
Nova
Novaā€¢2y ago
uhh that might be openxr on the client that is, standalone headset
Lualt
LualtOPā€¢2y ago
oh wait yeah rip nvm then errr idk if there are any other ways to connect the quest 2 so i might need to make an issue asking for it do you know any other things that could maybe work with the quest 2? to connect to stardust hhhhhh i really hope i can make this work stardust seems literally perfect for the things i wanna do LOL
Nova
Novaā€¢2y ago
WiVRn is the way we generally do things
Lualt
LualtOPā€¢2y ago
could you send me a link? nvm found it cmake -B build-server . -GNinja -DWIVRN_BUILD_CLIENT=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo
-- Found Vulkan: /usr/lib/x86_64-linux-gnu/libvulkan.so
-- Could not find nvcc, please set CUDAToolkit_ROOT.
-- Checking for modules 'libavcodec;libavutil;libswscale;libavfilter'
-- Found libavcodec, version 58.134.100
-- Found libavutil, version 56.70.100
-- Found libswscale, version 5.9.100
-- Found libavfilter, version 7.110.100
-- Checking for module 'x264'
-- No package 'x264' found
-- Checking for module 'systemd'
-- Found systemd, version 249
-- Checking for module 'avahi-client'
-- No package 'avahi-client' found
-- Checking for module 'libpulse'
-- Found libpulse, version 15.99.1
CMake Error at CMakeLists.txt:57 (find_package):
By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Eigen3", but
CMake did not find one.

Could not find a package configuration file provided by "Eigen3" with any
of the following names:

Eigen3Config.cmake
eigen3-config.cmake

Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
"Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
provides a separate development package or SDK, be sure it has been
installed.


-- Configuring incomplete, errors occurred!
See also "/home/lualt/Downloads/stardust/WiVRn-master/build-server/CMakeFiles/CMakeOutput.log".
-- Found Vulkan: /usr/lib/x86_64-linux-gnu/libvulkan.so
-- Could not find nvcc, please set CUDAToolkit_ROOT.
-- Checking for modules 'libavcodec;libavutil;libswscale;libavfilter'
-- Found libavcodec, version 58.134.100
-- Found libavutil, version 56.70.100
-- Found libswscale, version 5.9.100
-- Found libavfilter, version 7.110.100
-- Checking for module 'x264'
-- No package 'x264' found
-- Checking for module 'systemd'
-- Found systemd, version 249
-- Checking for module 'avahi-client'
-- No package 'avahi-client' found
-- Checking for module 'libpulse'
-- Found libpulse, version 15.99.1
CMake Error at CMakeLists.txt:57 (find_package):
By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Eigen3", but
CMake did not find one.

Could not find a package configuration file provided by "Eigen3" with any
of the following names:

Eigen3Config.cmake
eigen3-config.cmake

Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
"Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
provides a separate development package or SDK, be sure it has been
installed.


-- Configuring incomplete, errors occurred!
See also "/home/lualt/Downloads/stardust/WiVRn-master/build-server/CMakeFiles/CMakeOutput.log".
having some issues building it tho gonna try the dev branch šŸ‘ same thing for the dev branch
Nova
Novaā€¢2y ago
install the eigen3 package better yet use rex2
Lualt
LualtOPā€¢2y ago
how do i use rex2? i give up i cant get WiVRn to work i cant get rex2 to work and stardust isnt working either šŸ˜­ ty for all the help time and effort you guys gave tho :)
Nova
Novaā€¢2y ago
nooooo :(
Lualt
LualtOPā€¢2y ago
i just dont know where to go from here šŸ˜­
Nova
Novaā€¢2y ago
why can't you get rex2 working
Lualt
LualtOPā€¢2y ago
cant get the packages to get it to build same thing for wivrn
Nova
Novaā€¢2y ago
what packages
Lualt
LualtOPā€¢2y ago
gtk thats version 4.10 or above i can only get 4.6
Nova
Novaā€¢2y ago
oof you're on pop os right? try distrobox or something to install wivrn
Lualt
LualtOPā€¢2y ago
whats that
Nova
Novaā€¢2y ago
arch container maybe?
Lualt
LualtOPā€¢2y ago
oh wouldnt that just still lag
Nova
Novaā€¢2y ago
no
Lualt
LualtOPā€¢2y ago
oh okay :D OKAY good news i decided to try other clients because maybe the issue is with flatland aaand lightspeed succesfully runs without any issues :D
Lualt
LualtOPā€¢2y ago
No description
Lualt
LualtOPā€¢2y ago
now that is sexy gonna try a few more out :o
[src/atmosphere.rs:30] confy::load("atmosphere", "atmosphere")? = Config {
height: 1.65,
environment: "",
}
Error: No such file or directory (os error 2)

Location:
src/environment_data.rs:76:25
[src/atmosphere.rs:30] confy::load("atmosphere", "atmosphere")? = Config {
height: 1.65,
environment: "",
}
Error: No such file or directory (os error 2)

Location:
src/environment_data.rs:76:25
idk where exactly to make the config or what to put in it so a lil help with atmosphere would be nice :) with orbit i dont see anything showing up not sure if im doing something wrong of if thats normal (same thing for flatland)
Lualt
LualtOPā€¢2y ago
azimuth does seem to make something show up
No description
Lualt
LualtOPā€¢2y ago
350 fps is because of a my screenshot software lol
Nova
Novaā€¢2y ago
that's the pointer dot
Lualt
LualtOPā€¢2y ago
yeah im trying gravity rn but it crashes lol
Running `target/debug/gravity 0 0.5 0 -r 120 spatial`
[src/main.rs:22] Args::parse() = Args {
x: 0.0,
y: 0.5,
z: 0.0,
yaw: Some(
120.0,
),
command: [
"spatial",
],
}
Setting connection env var STARDUST_INSTANCE to stardust-0
Setting connection env var MOZ_ENABLE_WAYLAND to 1
Setting connection env var GDK_BACKEND to wayland
Setting connection env var QT_QPA_PLATFORM to wayland
Setting connection env var SDL_VIDEODRIVER to wayland
Setting connection env var CLUTTER_BACKEND to wayland
Setting connection env var WAYLAND_DISPLAY to wayland-0
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ENOENT', src/main.rs:60:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Running `target/debug/gravity 0 0.5 0 -r 120 spatial`
[src/main.rs:22] Args::parse() = Args {
x: 0.0,
y: 0.5,
z: 0.0,
yaw: Some(
120.0,
),
command: [
"spatial",
],
}
Setting connection env var STARDUST_INSTANCE to stardust-0
Setting connection env var MOZ_ENABLE_WAYLAND to 1
Setting connection env var GDK_BACKEND to wayland
Setting connection env var QT_QPA_PLATFORM to wayland
Setting connection env var SDL_VIDEODRIVER to wayland
Setting connection env var CLUTTER_BACKEND to wayland
Setting connection env var WAYLAND_DISPLAY to wayland-0
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ENOENT', src/main.rs:60:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
tried to check the code what could be going wrong but šŸ¤·ā€ā™€ļø
Nova
Novaā€¢2y ago
it... crashes? weeeeeird
Lualt
LualtOPā€¢2y ago
at the last line yeah @Nova how do i use molecules with gravity? i did build molecules but theres nothing that actually build..? theres nothing in target/release/examples
Nova
Novaā€¢2y ago
molecules is a library there are examples for it though
Lualt
LualtOPā€¢2y ago
oh i wanted to try the uh gravity command that was shown in that video you sent me gravity 0 0.5 -0.5 ../molecules/target/release/examples/grabbable this how would i go about doing that :D?
Nova
Novaā€¢2y ago
ahh then build molecules with cargo build --example grabbable
Lualt
LualtOPā€¢2y ago
ooooh okay tysm! ill give it a try :> it does seem to run fine but i dont see anything showing up button works tho :D proton star is working aswell :D
Nova
Novaā€¢2y ago
protostar, yay how well does that work
Lualt
LualtOPā€¢2y ago
very laggy :p i dont really understand what sirius does but the other 2 work fine :D
Nova
Novaā€¢2y ago
you need to build it in release honestly i forgor too
Lualt
LualtOPā€¢2y ago
oop i keep forgetting too LOL LOL
Nova
Novaā€¢2y ago
OH it's the protostar dock i've... never seen it in action @Bon Echo :p
Lualt
LualtOPā€¢2y ago
rebuilding in release :) when i press on an application it doesnt launch and im not sure how to actually move the icons but its very nice!!! :D and now im also getting a nice steady 60 fps again :o
Nova
Novaā€¢2y ago
you gotta grab them and move them far away from the start point but yea you need release mode to make it fast enough
Lualt
LualtOPā€¢2y ago
how far lol? yeah i kept forgetting to add --release whoopsie
Nova
Novaā€¢2y ago
i think .5m
Lualt
LualtOPā€¢2y ago
okok even after moving very far it snaps back :( oop the controls stopped working again
Nova
Novaā€¢2y ago
oof what do you mean "stopped working" and what controls
Lualt
LualtOPā€¢2y ago
wasd and right click with the mouse to fly around
Nova
Novaā€¢2y ago
oh weeird
Lualt
LualtOPā€¢2y ago
1 sec oooh with sirius i can move the applications :o
Nova
Novaā€¢2y ago
oh whaat record a video of it i haven't seen it in action
Lualt
LualtOPā€¢2y ago
will do in a sec im building manifold rn :)
Nova
Novaā€¢2y ago
use manifold and azimuth together
Lualt
LualtOPā€¢2y ago
okay :D im kinda confused lol manifold opens a window lemme get a video of the apps
Nova
Novaā€¢2y ago
yea manifold opens a window to capture keyboard/mouse
Lualt
LualtOPā€¢2y ago
its prob not useful with flatscreen mode LOL OH now i understand sirius lemme export my clip
Nova
Novaā€¢2y ago
:D you can post it to #cool-demos too if you like
Lualt
LualtOPā€¢2y ago
oh true! done! kinda weird that flatland is one of the few that isnt workign still no clue why lmfao
Nova
Novaā€¢2y ago
i know why
Lualt
LualtOPā€¢2y ago
atleast other clients are working :) why?
Nova
Novaā€¢2y ago
wayland's very finicky about what sequence of events has to be sent and flatland apparently doesn't adhere to that? which is a problem on the server
Lualt
LualtOPā€¢2y ago
ahhh okay
Nova
Novaā€¢2y ago
because this should always work from the wayland side even if stardust clients screw up on the configure events
Lualt
LualtOPā€¢2y ago
so do i have to wait for a server update then? (i would def contribute if i could but i just am not good enough with rust and wayland LOL)
Nova
Novaā€¢2y ago
it's just hard to narrow down the cause of this yea... or you could use orbit and poltergeist those 2 work!
Lualt
LualtOPā€¢2y ago
ill have a look :oo building them :)
Nova
Novaā€¢2y ago
you gotta use them together put the orbit panel into poltergeist
Lualt
LualtOPā€¢2y ago
wdym like in a folder of poltergeist?
Nova
Novaā€¢2y ago
no you'll see when you launch both and a wayland app
Lualt
LualtOPā€¢2y ago
okay :) erm how do i know if an app is using wayland?
Nova
Novaā€¢2y ago
you have to set WAYLAND_DISPLAY and if it shows up in stardust it's working also you can't launch flatland and orbit both it has to be 1 or the other
Lualt
LualtOPā€¢2y ago
okok its only orbit uhhh are there any small apps you know of that i could try?
Nova
Novaā€¢2y ago
the weston demos i guess? gnome weather?
Lualt
LualtOPā€¢2y ago
ill have a look :D :o ITS WORKING OMG thats actually really really cool
Nova
Novaā€¢2y ago
yee
Lualt
LualtOPā€¢2y ago
is it possible to get firefox in it?
Nova
Novaā€¢2y ago
firefox... crashes last time i tried try it again though!
Lualt
LualtOPā€¢2y ago
what do i set the wayland display too? last time it just magically worked LOL
Nova
Novaā€¢2y ago
you use X on your desktop right?
Lualt
LualtOPā€¢2y ago
yup
Nova
Novaā€¢2y ago
then WAYLAND_DISPLAY=wayland-0
Lualt
LualtOPā€¢2y ago
thank youuu firefox just opens normally lol
Nova
Novaā€¢2y ago
like in your 2D desktop?
Lualt
LualtOPā€¢2y ago
yeah
Nova
Novaā€¢2y ago
ok so firefox and vscode and such don't actually launch new instances when you run them
Lualt
LualtOPā€¢2y ago
(how do i get an app back out of poltergeist btw lol)
Nova
Novaā€¢2y ago
they detect that it's already running and send a message to make a new window
Lualt
LualtOPā€¢2y ago
oooh ofcourse makes sense
Nova
Novaā€¢2y ago
you don't, but you can put another in to eject the old one
Lualt
LualtOPā€¢2y ago
okay :D
Nova
Novaā€¢2y ago
again, it's just because i haven't had the time or motivation since i can't test this in XR because headsets are too uncomfy
Lualt
LualtOPā€¢2y ago
thats fair lol is there a way to force a new firefox instance or maybe a way to sandbox it kinda?
Nova
Novaā€¢2y ago
i have no idea i haven't found it
Lualt
LualtOPā€¢2y ago
okok no worries only thing so far that worked is the weather app LOL
Nova
Novaā€¢2y ago
yea.... what else have you tried?
Lualt
LualtOPā€¢2y ago
firefox 1password and spotify
Nova
Novaā€¢2y ago
oof :S what was broken with the other 2
Lualt
LualtOPā€¢2y ago
alacritty works :D showed up in 2d desktop
Nova
Novaā€¢2y ago
yee ah.... they might need env vars or such
Lualt
LualtOPā€¢2y ago
no opacity tho in 3d
Nova
Novaā€¢2y ago
don't forget you can put your stuff to launch in a shell script and launch the server with -e path/to/script and it'll ensure they launch in stardust
Lualt
LualtOPā€¢2y ago
oooh like the automatically start when i run the server?
Nova
Novaā€¢2y ago
you can also launch your 2D apps with protostar or gravity to do the same, ensure that they're launched in the server properly with all the env vars yep
Lualt
LualtOPā€¢2y ago
:o
Nova
Novaā€¢2y ago
also sirius uses protostar so that too
Lualt
LualtOPā€¢2y ago
yuss oh and steam btw forgot to mention lutris works aswell :D
Nova
Novaā€¢2y ago
yee
Lualt
LualtOPā€¢2y ago
nautilus doesnt :(
Nova
Novaā€¢2y ago
oh oof :((
Lualt
LualtOPā€¢2y ago
gnome text editor works as expected tho :) ohhh and the controls not working was because of shift, if you press it once now you have to hold it to use the contorls :o
Nova
Novaā€¢2y ago
oh yea
Lualt
LualtOPā€¢2y ago
Running `target/release/atmosphere`
[src/atmosphere.rs:30] confy::load("atmosphere", "atmosphere")? = Config {
height: 1.65,
environment: "",
}
Error: No such file or directory (os error 2)

Location:
src/environment_data.rs:76:25
Running `target/release/atmosphere`
[src/atmosphere.rs:30] confy::load("atmosphere", "atmosphere")? = Config {
height: 1.65,
environment: "",
}
Error: No such file or directory (os error 2)

Location:
src/environment_data.rs:76:25
could you help me with atmosphere :)?
Nova
Novaā€¢2y ago
ugh yea that needs configuration
Lualt
LualtOPā€¢2y ago
is that a thing i can do?
Lualt
LualtOPā€¢2y ago
thanks :) erm it doesnt seem to work lol
Lualt
LualtOPā€¢2y ago
atmosphere.toml
height = 1.65
environment = '/home/lualt/Downloads/stardust/atmosphere-main/environments/focus_room/env.toml'
height = 1.65
environment = '/home/lualt/Downloads/stardust/atmosphere-main/environments/focus_room/env.toml'
No description
Lualt
LualtOPā€¢2y ago
No description
Nova
Novaā€¢2y ago
you don't give it the path of the toml just the dir the toml is in so
Lualt
LualtOPā€¢2y ago
oop mb it just gives me invalid path
Nova
Novaā€¢2y ago
uhhhhhhhhhhh
Lualt
LualtOPā€¢2y ago
/home/lualt/Downloads/stardust/atmosphere-main/environments/living_room <- path
Nova
Novaā€¢2y ago
what's the new path ah
Lualt
LualtOPā€¢2y ago
am i being stupid or something LOL
Nova
Novaā€¢2y ago
uhhhhhhhhhhhhhhhhhh i am the stupid one
Lualt
LualtOPā€¢2y ago
howww
Nova
Novaā€¢2y ago
idk yet just in general
Lualt
LualtOPā€¢2y ago
nahhhhh you have helped me with alot :)
Running `target/release/atmosphere`
[src/atmosphere.rs:30] confy::load("atmosphere", "atmosphere")? = Config {
height: 1.65,
environment: "/home/lualt/Downloads/stardust/atmosphere-main/environments/test/",
}
Error: invalid path

Location:
src/environment.rs:28:13
Running `target/release/atmosphere`
[src/atmosphere.rs:30] confy::load("atmosphere", "atmosphere")? = Config {
height: 1.65,
environment: "/home/lualt/Downloads/stardust/atmosphere-main/environments/test/",
}
Error: invalid path

Location:
src/environment.rs:28:13
idk if you need this error but here you go
Nova
Novaā€¢2y ago
so confusing
Lualt
LualtOPā€¢2y ago
oh the folders dont have read permission... i found it out because i tried openening the hdr on a webiste wtf
Nova
Novaā€¢2y ago
oh weeeird
Lualt
LualtOPā€¢2y ago
i gave it permissions but even trying to open it in a site its not working im so confused wtf
Nova
Novaā€¢2y ago
maybe it's a corrupted zip file?
Lualt
LualtOPā€¢2y ago
i think it is im trying to change other stuff but its just not working welp imma redownload rq YESS now it works omg
Nova
Novaā€¢2y ago
yay
Lualt
LualtOPā€¢2y ago
that took way to much effort šŸ˜­ LOL
Nova
Novaā€¢2y ago
sorry idk how to make it easier yet
Lualt
LualtOPā€¢2y ago
its not your faulttt the zip corrupted lol nahh its easy enough its just drag and drop and tell them where the files are holy wait- what flatland is working now LFMAOAOA
Nova
Novaā€¢2y ago
what
Lualt
LualtOPā€¢2y ago
I DONT KNOW
Nova
Novaā€¢2y ago
since when??
Lualt
LualtOPā€¢2y ago
JUST NOW
Nova
Novaā€¢2y ago
efjcndslughsdiuhnfdsliguhsidufjd
Lualt
LualtOPā€¢2y ago
I THOUGHT I WOULD TRY IT AGAIN LFMAAAOAOAOAOA
Nova
Novaā€¢2y ago
uhh we gotta get that to be reproducible
Lualt
LualtOPā€¢2y ago
i mean it could be that i was dumb because in the beginning i thought like
Nova
Novaā€¢2y ago
no i had flatland bugs too
Lualt
LualtOPā€¢2y ago
all my windows would automatically show up and i didnt know i could move around and stuff so idk if its my stupidity or a bug
Nova
Novaā€¢2y ago
flatland has a bug in it well the server does but figuring out when it works vs when it doesn't is key to fixing it
Lualt
LualtOPā€¢2y ago
ahhh yeah welp it works šŸ¤·ā€ā™€ļø dunno how but it does
Nova
Novaā€¢2y ago
does it work with all the apps?
Lualt
LualtOPā€¢2y ago
weather and notepad both work
Lualt
LualtOPā€¢2y ago
No description
Nova
Novaā€¢2y ago
noice looks aesthetic
Lualt
LualtOPā€¢2y ago
yussss
Nova
Novaā€¢2y ago
looks more aesthetic than other xr desktops
Lualt
LualtOPā€¢2y ago
fr
Nova
Novaā€¢2y ago
idk how i didn't do anything special
Lualt
LualtOPā€¢2y ago
and the windows have actual thickness like omg for some reason none of them do it
Nova
Novaā€¢2y ago
yes i did that on purpose
Lualt
LualtOPā€¢2y ago
and its so annoying
Nova
Novaā€¢2y ago
it's insanely trivial you just stretch the UVs on the edges
Lualt
LualtOPā€¢2y ago
yeah LOL idk why they dont do it its really nice and you can see what the backside is instead of them turning invisible like oml šŸ˜©
Nova
Novaā€¢2y ago
to be fair the backside should probably not be the front flipped but oh well
Lualt
LualtOPā€¢2y ago
imo its nice since you know what the backside is šŸ¤·ā€ā™€ļø
Nova
Novaā€¢2y ago
yea but the app icon or something
Lualt
LualtOPā€¢2y ago
ohhh yeah i def gotta start learning rust so i can make some clients šŸ‘€
Nova
Novaā€¢2y ago
yayyyy
Lualt
LualtOPā€¢2y ago
okok so what is rex2 exactly? is it something i need to run WiVRn or is it something on its own since you did say some stuff about it but im completely lost lol since i do wanna get it running in vr (talking about stardust)
Nova
Novaā€¢2y ago
rex2 is a builder and launcher for components in the linux XR system you can build WiVRn independently but it makes it TONS easier
Lualt
LualtOPā€¢2y ago
aah okay how does it help me build tho šŸ˜° ?
Nova
Novaā€¢2y ago
it does it all for you
Lualt
LualtOPā€¢2y ago
oh nice seems like gitlab is down rn LOL guess i gotta wait
Nova
Novaā€¢2y ago
oofies
Lualt
LualtOPā€¢2y ago
literally all of gitlab is down https://status.gitlab.com/ they are investigating rn anyways thank you so much for all the help :)
Nova
Novaā€¢2y ago
excited to see the cool clients you create
Lualt
LualtOPā€¢2y ago
thank you :) it will prob take a while since i havent really used rust but im excited to create some stuff :o
A Stardust client is at its core an executable that connects to a stardust server instance at $XDG_RUNTIME_DIR/stardust-[0-32], sends and receives messages according to the Stardust protocol.
does this mean it only supports at max 32 clients? @Nova im having some issues building rex2 :( its asking for Requested 'gtk4 >= 4.10' but version of GTK is 4.6.6 but when i install it only goes to 4.6.6 package: librust-gtk4-sys-dev trying to build an appimage from rex2
Nova
Novaā€¢2y ago
32 servers that's their fault, yea
Lualt
LualtOPā€¢2y ago
ooooh okay lol that makes more sense ah i see
Want results from more Discord servers?
Add your server