Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2021-05-13 00:00:00Z and 2021-05-14 00:00:00Z
Avatar
Avatar
Chairn
can confirm
take a chair trollet
Avatar
[matodor@home ~]$ SDL_VIDEODRIVER=wayland DDNet [2021-05-13 22:11:18][client]: starting... [2021-05-13 22:11:18][sdl]: SDL version 2.0.14 (compiled = 2.0.14) [2021-05-13 22:11:18][gfx]: unable to init SDL video: wayland not available [2021-05-13 22:11:18][gfx]: setting resolution to 640x480 and trying again [2021-05-13 22:11:18][sdl]: SDL version 2.0.14 (compiled = 2.0.14) [2021-05-13 22:11:18][gfx]: unable to init SDL video: wayland not available [2021-05-13 22:11:18][gfx]: out of ideas. failed to init graphics [2021-05-13 22:11:18][client]: couldn't init graphics 🤔
18:12
I'm new to linux, can anyone help?)
Avatar
are you using wayland?
18:13
and since you are new my followup question is "are you sure you are using wayland?" 😛
Avatar
Avatar
Learath2
are you using wayland?
yes, but it seems like Xorg is still used
18:14
18:14
redstripe
Avatar
hmm 🤔
Avatar
Um, not sure if that makes much sense. But run without the SDL_VIDEODRIVER=wayland
Avatar
Avatar
Matodor
[matodor@home ~]$ SDL_VIDEODRIVER=wayland DDNet [2021-05-13 22:11:18][client]: starting... [2021-05-13 22:11:18][sdl]: SDL version 2.0.14 (compiled = 2.0.14) [2021-05-13 22:11:18][gfx]: unable to init SDL video: wayland not available [2021-05-13 22:11:18][gfx]: setting resolution to 640x480 and trying again [2021-05-13 22:11:18][sdl]: SDL version 2.0.14 (compiled = 2.0.14) [2021-05-13 22:11:18][gfx]: unable to init SDL video: wayland not available [2021-05-13 22:11:18][gfx]: out of ideas. failed to init graphics [2021-05-13 22:11:18][client]: couldn't init graphics 🤔
DDNET_DRIVER=GLES
18:15
or get GLEW-EGL
18:15
else it doesnt work with wayland rn
Avatar
Avatar
Learath2
Um, not sure if that makes much sense. But run without the SDL_VIDEODRIVER=wayland
without it's working normal, but in fullscreen i have locked 60fps without enabled vsync
Avatar
but i only know that arch has glew-wayland yet
18:15
didnt find any package on debian based distros
Avatar
I don't think you can run both wayland and x11. Unless I'm misunderstanding what wayland does massively
Avatar
its xwayland then
18:16
if he is on a wayland session
Avatar
why would the terminal be in an xwayland session?
Avatar
if u mean me
18:19
i answered learaths question
18:19
xwayland does run x11 ontop of wayland
Avatar
yes
18:19
but why would the (presumably default) terminal of Matodor do that?
Avatar
anyway, I won't make more noise. I'm not familiar with this newfangled setup, as @Deleted User said we only support GLES for wayland
Avatar
well he wanted to know how to run wayland, ofc he has to switch session
Avatar
(the thing echo $XDG_SESSION_TYPE runs in)
Avatar
whats the point rn xD
18:20
yeah
Avatar
@heinrich5991 maybe a legacy WM?
Avatar
it works without GLES
18:20
u just need GLEW EGL
Avatar
"Embedded-System Graphics Library" sounds like something we shouldn't be relying on given this is not a kiosk running android 😛
Avatar
x11 supports EGL too
18:23
and our official build might use that soon maybe
18:23
EGL 1.5 supports normal opengl just fine
Avatar
Is EGL just badly named?
Avatar
it kinda was repurposed yes
18:24
its just khronos way of crossplatform window initiailization
18:24
but first for gles only, later also for e.g. normal opengl
Avatar
i found this on arch wiki:
Avatar
see GLEW entry xd
Avatar
Did we even do a release with the new OpenGL ES stuff?
Avatar
ubuntu defaults to wayland session, doesnt it?
18:25
so if ppl want native wayland support, thats they only option other than GLEW build
18:26
soon SDL will default to wayland
18:26
that will be chaos for all aps that use GLEW
Avatar
eh, I guess people will use old sdl anyway
Avatar
tho with shipped SDL its no problem
18:26
shipped SDL and glew to be precise
18:27
bcs x11 does support EGL, and SDL added support to force it
Avatar
Avatar
Matodor
i found this on arch wiki:
anyway, you said u sure u run on wayland session, but it shows x11?
18:27
guess u have to logout to be sure
Avatar
how is there no auto discovery for this kind of stuff yet? I'd think SDL should make this all transparent to the user and us
Avatar
its really more GLEWs fault, as it doesnt check for dynamic libs
18:28
u either compile with EGL or GLX
Avatar
Avatar
Deleted User
anyway, you said u sure u run on wayland session, but it shows x11?
no, I'm not sure, now I'm looking for how to set it to "wayland" session, maybe it's disabled by udev rules https://wiki.archlinux.org/title/GDM#GDM_ignores_Wayland_and_uses_X.Org_by_default
Avatar
Avatar
Learath2
Did we even do a release with the new OpenGL ES stuff?
btw we can still use it for actually embedded systems, such as android, so its not wasted 😄
Avatar
Avatar
Matodor
no, I'm not sure, now I'm looking for how to set it to "wayland" session, maybe it's disabled by udev rules https://wiki.archlinux.org/title/GDM#GDM_ignores_Wayland_and_uses_X.Org_by_default
i dunno what DE u use, but there often <DE-name>-wayland
18:30
packages
18:33
@Learath2 : Actually quite funny. Nobody knows the real name xD "The acronym EGL is an initialism, which starting from EGL version 1.2 refers to Khronos Native Platform Graphics Interface.[3] Prior to version 1.2, the name of the EGL specification was OpenGL ES Native Platform Graphics Interface.[4] X.Org development documentation glossary defines EGL as "Embedded-System Graphics Library".[5]"
18:55
30fps ingame redstripe (edited)
Avatar
with SDL_VIDEODRIVER=wayland?
Avatar
Avatar
Deleted User
with SDL_VIDEODRIVER=wayland?
not running with sdl_videodriver=wayland
Avatar
guess u should try it, bcs who knows what xwayland does
Avatar
Avatar
Matodor
not running with sdl_videodriver=wayland
it should
19:03
as said, glew-wayland package or DDNET_DRIVER=GLES
19:03
what hardware are you even on?
Avatar
im remove glew and install glew-wayland, now i can run with SDL_VIDEODRIVER=wayland DDNet
Avatar
is it possible to use Unicode in sv_name
19:10
and have it display extended chars in the browser
19:12
u can have those fancy chars in sv_name
Avatar
things like emoji, box-drawing characters
19:12
I'm wondering if the text engine will display it properly
Avatar
it needs to be in the dejavu sans font or whatever
Avatar
ohhh gotcha
19:13
ok I'll check it
Avatar
sv_name ████████████ works but dont steal it its mine aPES_TripleEyes
Avatar
do you happen to know what format the font is in
19:13
lol
Avatar
ya if ur on windows u can just open character map
19:13
like winbutton + chaarmap
19:13
19:13
then choose thaat font i think?
Avatar
prob like woff or otf
19:14
ah
Avatar
oh idk about that stuff
Avatar
i think woff2 is the best one right now but most common is otf
19:14
well ttf is also common
19:15
font extensions are cursed
Avatar
guess we have otf and ttf fonts you can test characters in chat btw
19:15
copy paste to see how they rendered
Avatar
ok so same font rendering rules globally
19:15
wasn't sure about that
19:15
that would have been a better question to ask xD
Avatar
yeah, its also in data/fonts
19:16
u can install it in ur system and use in text programs or select it in that char map
Avatar
support for font ui setting would be cool
Avatar
would break too much ui
19:17
and then ppl complain
Avatar
maybe yea
19:18
but you could always swap it
19:18
like editor entities right?
Avatar
yeah
19:18
config dir is like data dir
19:18
so just copy the font dir and replace it as u want
Avatar
thanks jupeyyyyyyyyyyyyyyyy
Avatar
@Matodor u can start the client and press f1, if you on a nightly version, then you know your GPU
19:34
if u have nvidia it might not even support wayland no idea, but u defs have to install the driver, as the mesa driver probs too bad for nvidia
19:35
if u never used linux, maybe u should use ubuntu, as arch is probs too hard to start with, if you dont have commonly supported hardware(e.g. proprietary drivers etc)
Avatar
Avatar
Deleted User
@Matodor u can start the client and press f1, if you on a nightly version, then you know your GPU
gtx 1660s, wayland not not supported variable refresh rate (gsync-compatible) its useless for me, need back on xorg) (edited)
Avatar
but is that bad
19:41
gsync is still sync
19:41
its still worse than no sync
19:41
better than vsync sure..
Avatar
@Deleted User see, nice glitches while using wayland 😄 (edited)
Avatar
ah rip
19:50
anyway, make sure to install nvidia driver from nvidia website, and also make sure no vsync or anything is on. Then i guess u should get good fps
Avatar
[freenode] chillerdragon[m] BOT 2021-05-13 19:54:46Z
whats going on with Back In Time ger2 server?
Avatar
idk i was in the loading and the server instant crashed when i spawned 😄
21:06
unlucky
Avatar
Avatar
Matodor
gtx 1660s, wayland not not supported variable refresh rate (gsync-compatible) its useless for me, need back on xorg) (edited)
sway support vrr out of box, i never had issues with freesync
21:11
ah anyway it's nvidia
Avatar
Do you guys knows of any shell that gives enhanced command history such as working directory, duration of the command, return value, etc. ?
Avatar
the most "enhanced" shell ive seen is fish but it's not POSIX compliant
Avatar
POSIX compliance is probably not a problem, but not being able to copy-paste arbitrary bash snippets can be
Avatar
that's more what i meant
23:19
something specific out of posix lol
Avatar
sh would probably have the same problem
23:20
(and sh is posix-compliant)
Avatar
i hate the new logo
23:22
set a profile picture :P
Exported 138 message(s)