Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/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 2023-09-20 00:00:00Z and 2023-09-21 00:00:00Z
Avatar
kill whoever invented webkit-gtk
05:35
it takes longer to compile than firefox
05:36
i just wanted to use gnucash to keep track of my accounting, it requires for some reason webkit-gtk
Avatar
@Ewan go sleep
f3 1
Avatar
It now resizes the screen when changing gfx_screen_height, gfx_screen_width or gfx_screen_refresh_rate. Closes #7215

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect e...
Avatar
5973500 Add console chain for screen resolution commands. - furo321 60de0f1 Merge pull request #7217 from furo321/gfx-screen-conchain - def-
Avatar
`` Core was generated by ./DDRace64-Server_sql -f servers/block.cfg'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00005605936e3546 in CCollision::TileExists (this=0x7fcdd84f50b0, Index=Index@entry=12835) at /home/teeworlds/src/master/src/game/collision.cpp:819 819 if((m_pTiles[Index].m_Index >= TILE_FREEZE && m_pTiles[Index].m_Index = TILE_LFREEZE && m_pTiles[Index].m_Index <= TILE_LUNFREEZE)) [Current thread is 1 (Thread 0x7fcddaac7a00 (LWP 1109761))] (gdb...
Avatar
Avatar
Ryozuki
i just wanted to use gnucash to keep track of my accounting, it requires for some reason webkit-gtk
Wat?
11:12
Is it like an electron app but they didn't want to use electron so they made their own?
Avatar
idk xD
11:12
gnucash predates electron
11:12
GnuCash is personal and small-business financial-accounting software, freely licensed under the GNU GPL and available for GNU/Linux, BSD, Solaris, Mac OS X and Microsoft Windows.
Avatar
Make your own, accounting is simple
Avatar
made in 1999
11:13
actually
11:13
nah
11:13
i already compiled it
11:13
hm
11:13
maybe i should use a cli one
11:13
but i like that gnucash makes graphics and stuff
Avatar
Assets = Liabilities + Equity, just do it by hand like in the olden times
11:14
i think they use webkit for the plots and stuff
Avatar
Avatar
Ryozuki
made in 1999
Wow that is ancient. So it predates webkit too
Avatar
Avatar
Ryozuki
i think they use webkit for the plots and stuff
Why not just output dot?
Avatar
dont ask me
11:15
im mad at this
11:15
xd
11:16
> On Dec 28, 2015, at 5:01 AM, Arno <nvana_31 at yahoo.com> wrote: > > Dear GNUCash developers, > > I have a question: > > Wouldn't it be possible to compile GNUCash 2.6.10 without WebKit support ? I have been using GNUcash for 10+ years now, but since the switch to WebKit only (no other rendering options any more) I cannot get GNUcash to compile any more on my RedHat based Linux systems. > > For me a simple a simple switch like '--with-html-engine: none' would also be great, why not have the generated HTML files opened in Firefox ? It would be fine for me. > > Showing the content in tabs looks great, but if it makes compiling GNUcash on any other system than Ubuntu almost impossible. So I would suggest to have the option for an external HTML viewer. > > I've been trying to compile GNUcash (even the older 2.4 versions) for days on CentOS 7, but to no avail. Been trying to tweak the configure system to use webkitgtk-3, qtwebkit, etc, but it all fails. > > At the moment I see not many other options than running GNUcash in a virtual machine running Win7 or leaving GNUcash behind. GnuCash 2.4 can be compiled with the old GtkHTML library. Support for that was removed in 2.6 as it's no longer being maintained. The development team use Debian stable and Fedora systems routinely for development, so it's clearly not the case that it compiles only on Ubuntu. GnuCash uses Gtk2 for its GUI, so you must use WebKitGtk-2. yum-builddep gnucash should get you everything you need, though you may need to include a Fedora rpm repository in your list as IIRC Centos/RHEL doesn't support GnuCash. Regards, John Ralls
11:17
so
Avatar
I see, let's add Webkit to DDNet to render the server browser etc?
Avatar
they want to show generated html reports in the app itself
11:17
instead of delegating that work to firefox for example
11:17
xd
Avatar
Avatar
deen
I see, let's add Webkit to DDNet to render the server browser etc?
yes, so ddnet with deps will compile in 1 hour
11:17
on a good system
11:17
xd
11:18
❯ sudo genlop -t webkit-gtk
  • net-libs/webkit-gtk Wed Sep 20 07:56:23 2023 >>> net-libs/webkit-gtk-2.40.5-r410 merge time: 25 minutes and 41 seconds.
11:18
25 mins with a ryzen 5800x
11:18
Mon Sep 18 18:35:02 2023 >>> www-client/firefox-117.0.1 merge time: 15 minutes and 35 seconds.
11:18
xd
11:18
they did smth rly wrong there
11:18
gtk is up to bad
11:19
@Learath2 u know the best
11:19
webkit-gtk has 3!!! slots
11:19
in gentoo
11:20
so if u end up with 3 binaries that use a different slot
11:20
u compile it 3 times!!
11:20
pepeW
11:24
@deen is https://github.com/ddnet/ddnet/issues/6552 still not possible?
June 2023 ends Ubuntu 18 LTS standard support, I think that was our deadline? ^^
Avatar
I gave up on using crosstool-ng
11:25
seems complicated
Avatar
@Learath2 wasnt zig the best cross compiler
11:25
u know if it works here
11:25
@deen can u do cross builds using docker?
11:26
“Zero setup” cross compilation and “cross testing” of Rust crates - GitHub - cross-rs/cross: “Zero setup” cross compilation and “cross testing” of Rust crates
Avatar
Avatar
Ryozuki
@Learath2 wasnt zig the best cross compiler
This issue is to fully eliminate LLVM, Clang, and LLD libraries from the Zig project. The remaining ties to these projects are as follows: LLD Mach-O (maintained by @kubkon) ELF (work in progress b...
Avatar
Avatar
Ryozuki
@deen can u do cross builds using docker?
How does it matter if it's docker, a VM or a chroot? The problem is that there is no distribution that has an old enough glibc version and a new enough C++ compiler to make this work
Avatar
which is what crosstool-ng is supposed to solve
Avatar
well do we rly need to support those old glibcs
Avatar
First you complain about long compile times, then you want to use fancy new C++ features which will probably increase our compile times 😄
11:28
I care, and so do people using non-rolling release distros
Avatar
Avatar
deen
First you complain about long compile times, then you want to use fancy new C++ features which will probably increase our compile times 😄
i mean we are talking different orders of magnitudes xD
Avatar
I think the more modern C++ usage is the main reason webkit takes longer than compile than firefox
11:29
to*
Avatar
is it?
11:29
what version do they use
11:30
altho in part firefox uses nodejs
11:30
which takes another 15min to compile
11:30
also arent modules simplifying compilation
11:30
iirc, compile times arent due to parsing c++
11:30
they are from codegen
Avatar
Not using a more recent standard, but fancy features like templates
Avatar
It's probably less the fact that it's C++20 but that the modern way of writing C++ is jusr very very slow to compile
Avatar
Templates and SFINAE
Avatar
template heavy stuff?
Avatar
Templates live in header, have to be handled again in each cpp file that includes the header
Avatar
is template heavy c++ slower to compile than rust?
11:31
xd
Avatar
No, Rust is probably even worse
Avatar
i wonder
11:32
deno compiles in 4 mins for me
Avatar
If rust werent compiling everything it might be faster
Avatar
it does the same as nodejs
Avatar
No templatemagic
Avatar
Avatar
Learath2
If rust werent compiling everything it might be faster
true, we include deps when compiling in rust
11:32
so its a mixed bag
Avatar
Avatar
Ryozuki
also arent modules simplifying compilation
Yes
Avatar
but i feel rust has better paralelization when compiling?
Avatar
No header files no problems xd
Avatar
That's what i hate just about cpp tbh
11:33
Having to write functions twice
Avatar
I don't even think about it nowadays
11:34
The biggest annoyance for me is not being able to declare templates in headers
11:34
You end up with this weird asymmetric case
Avatar
one thing i always found curious is
11:34
c++ forward declarations
11:34
u simply dont have them in rust
11:35
and i think they are beginner unfriendly
11:35
i wont tell u how much i struggled to understand em when learning xd
Avatar
It's necessary to have with the way C++ is parsed
11:36
ODR
11:36
iirc
11:37
So THIS is why gcc is so slow!
Likes
3594
Retweets
1404
11:37
reposting a meme heinrich shared time ago
11:37
xd
Avatar
Just go back to Pascal, large scale programs compiled before your finger is off the key you pressed to start the compilation 😄
Avatar
wasnt pascal a 1 pass compiler or smth
11:38
xD
Avatar
There is an article on my to read list about how pascal compiled so fast
Avatar
dont build an ast 4head
11:39
@Learath2 have u seen what clang ast looks like
11:39
justatest
Avatar
I've only barely interacted with it to parse ddnet source to extract a relationship graph
Avatar
The Turbo name alluded to the speed of compiling and of the executables produced. The edit/compile/run cycle was fast compared to other Pascal implementations because everything related to building the program was stored in RAM, and because it was a one-pass compiler written in assembly language. Compiling was much faster than compilers for other languages (even Borland's own later compilers for C),[citation needed] and other Pascal compilers, and programmer time was also saved since the program could be compiled and run from the IDE. The execution speed of these COM-format programs was a revelation for developers whose only prior experience programming microcomputers was with interpreted BASIC or UCSD Pascal, which compiled to p-code which was then interpreted at runtime.
https://en.wikipedia.org/wiki/Turbo_Pascal
Turbo Pascal is a software development system that includes a compiler and an integrated development environment (IDE) for the Pascal programming language running on CP/M, CP/M-86, and DOS. It was originally developed by Anders Hejlsberg at Borland, and was notable for its extremely fast compilation. Turbo Pascal, and the later but similar Turbo...
11:40
Probably this article: https://prog21.dadgum.com/45.html
Avatar
Could be, not home to check
Avatar
oh nice
Avatar
These computers they make us take exams on are so damn slow. Matlab runs at a snails pace
Avatar
Avatar
Learath2
I've only barely interacted with it to parse ddnet source to extract a relationship graph
i used once the rust clang crate (bindings to clang itself) to inspect a c++ library to generate bindings xd
Avatar
Just buy more cores
11:49
Soon we compile on gpu, xd
Avatar
i always forget that if u have a var of type [uX; N] it is Copy
11:50
[u8; 32]
Avatar
Avatar
Jupstar ✪
Soon we compile on gpu, xd
That's one thing gpus would probably never be good at
Avatar
Avatar
Jupstar ✪
Just buy more cores
idk if compilers do this, but i think the future would be to make function dependency graphs
11:51
and analyze it
11:51
then find paralelization opportunities
11:51
when compiling
11:51
iirc rn most langs just paralelize modules
11:52
but im not much into this i may be bullshitting
Avatar
Avatar
Ryozuki
idk if compilers do this, but i think the future would be to make function dependency graphs
Solving these graphs might take longer than just compiling. It's not exactly trivial
Avatar
Microsoft AI researchers accidentally exposed tens of terabytes of sensitive data, including private keys and passwords, while publishing a storage bucket
11:54
Lmao
Avatar
That's a big oof
Avatar
Avatar
Learath2
That's one thing gpus would probably never be good at
Why not. If your project is big enough
12:02
Like many translation units
Avatar
Avatar
Jupstar ✪
Why not. If your project is big enough
Idk if modern compute units are flexible enough but parsing through code isn't exactly what they are good at
Avatar
Avatar
Learath2
Idk if modern compute units are flexible enough but parsing through code isn't exactly what they are good at
Well i guess they are flexible enough, but probably is still rather slow
12:10
Maybe if u somehow group similar compilation tasks together
12:11
Would defs be a funny experience
12:11
Experiment
12:20
this blogger is nice
Avatar
local-first semantic code search engine. Contribute to kantord/SeaGOAT development by creating an account on GitHub.
13:13
imagine datamining terabytes just to make investors interested in you
Avatar
Fix winter theme having a small cutout at the bottom. I changed Para Y from 20 to 10 in Group 3. Closes #7206 Before: !image !image After: !image ![image](https://github.com/ddnet/ddnet/assets/141338449/ba13f267-0f65-4e29-9...
Avatar
Wolfenstein 3D port written in Rust. Contribute to AdRoll/rustenstein development by creating an account on GitHub.
Avatar
whos nextroll
Avatar
any ideas how to fix this? :D
Avatar
Buy a GPU
Avatar
oke
Avatar
Somehow u made your sdl go into an offscreen mode
Avatar
when im root all works but when i change user it doesnt pepeW
Avatar
Is this Wayland?
13:37
It sounds like u arent in the video group
13:37
And thus have no access to your gpu
Avatar
Avatar
Jupstar ✪
Is this Wayland?
x11
13:38
i chose what ive seen in wiki :D
Avatar
Why do you all choose gentoo if u don't know how Linux works lmao
13:39
Gentoo is for no lifers
13:39
Like ryo
Avatar
Avatar
Jupstar ✪
Why do you all choose gentoo if u don't know how Linux works lmao
feelsbadman
13:40
thanks for advice anyways
Avatar
Avatar
MilkeeyCat
thanks for advice anyways
Search the wiki about the video user group
13:41
That could be the problem here
Avatar
Avatar
MilkeeyCat
when im root all works but when i change user it doesnt pepeW
are u in gentoo
13:48
video group
Avatar
yep
Avatar
Avatar
Jupstar ✪
Why do you all choose gentoo if u don't know how Linux works lmao
they are following my cult
Avatar
actually yes
Avatar
To follow the path: look to the master, follow the master, walk with the master, see through the master, become the master.
Avatar
Avatar
Ryozuki
they are following my cult
Maybe write a gentoo blog where this wouldn't have happened
13:52
but ur right they should learn more
13:52
the video group is actually on the wiki
13:52
and its general linux knowledge
13:52
❯ groups wheel audio video kvm users edgar
13:52
there are my groups btw
13:53
@MilkeeyCat
13:53
btw nice hostname
13:53
daddy
13:53
i recommend u setup gento oguru
13:54
and emerge ddnet
13:54
i even recommend u unmask ddnet 9999 version
13:54
so u emerge ddnet from latest git
13:54
u just gotta remember to re emerge every now and then
13:55
thanks for coming to my ted talk
13:55
again
Avatar
Avatar
Ryozuki
❯ groups wheel audio video kvm users edgar
i have same
Avatar
it doesnt work?
13:56
did u just add urself?
13:56
maybe try relogin
13:56
or restart
13:56
are u using nvidia?
Avatar
88ffaec Fix winter theme - furo321 5033f6c Merge pull request #7219 from furo321/fix-winter-theme - def-
Avatar
atleast u can do this now
Avatar
Initially i was solving the problem that i couldn't run startx as non root to open i3 but now ive no fucking clue what's wrong and what's correct. I shouldve just installed Ubuntu pepeW
14:09
Or Mint
Avatar
Xdd
14:12
Did u try to search the Internet for your problem
Avatar
Yep
Avatar
@MilkeeyCat whats ur bash_profile
14:18
❯ cat .bash_profile # /etc/skel/.bash_profile if shopt -q login_shell; then [[ -f ~/.bashrc ]] && source ~/.bashrc [[ -t 0 && $(tty) == /dev/tty1 && ! $DISPLAY ]] && exec startx else exit 1 # Somehow this is a non-bash or non-login shell. fi
14:18
u use a login manager?
14:18
❯ cat .xinitrc xrdb -merge ~/.Xresources if [ -n "${GPG_AGENT_INFO}" ]; then kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) >/dev/null 2>&1 fi gentoo-pipewire-launcher & exec dbus-launch --exit-with-session ssh-agent i3
14:20
but yeah if its too hard and u dont wanna deal with it use debian
14:20
or mint
14:20
or whathever
14:20
but u cant be in the gentoo ddnet club then
Avatar
Nah, i installed it, ill make it work
Avatar
thats the spiri
14:20
t
Avatar
make sure to install and configure weechat
14:23
and join quakenet
Avatar
@MilkeeyCat what gpu?
Avatar
I have some goofy ahh laptop's gpu
14:23
Wait a sec
Avatar
Did u check if it even has a working driver?
Avatar
Thats.. a good question
Avatar
But as root ddnet worked right ?
14:27
Nvidia GeForce MX130 😎
Avatar
Uff
Avatar
I'm so not built for time deadlines. I need to find a job with very loose ones for my sanity
Avatar
mine doesnt have tight deadlines
14:52
actually good management makes deadlines inexistant
14:53
never had to rly care
14:53
just deliver
Avatar
Hire me
Avatar
my company hates c++ we dont use much C, but we use Rust, erlang, elixir and maybe some julia
15:05
actually the bossman used rust since 2015
15:05
also its anti haskell
15:07
one of my coworkers is in the rustlang group in gh
Avatar
I can become a rustacean
Avatar
Avatar
Ryozuki
justatest
It worked 🥹
Avatar
what worked
Avatar
Everything
15:22
Startx works
15:22
Ddnet works
15:23
All i did is added 2 groups
Avatar
Fix highlighted text of server browser entries not being refresh correctly when switching tabs. This also reduces lag when switching tabs, as the UI elements for all tabs are now cached and don't need to be recreated when switching. Regression from #7203.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added cove...
Avatar
107af9c Add optional argument tiles to movement commands - furo321 2c7df07 Merge pull request #7196 from furo321/add-optional-arguments - Robyt3
Avatar
Make background color of the tab content consistent with the color of the tab bar. Regression from #7190. Screenshots:
  • Before:
!screenshot_2023-09-20_17-56-23
  • After:
!screenshot_2023-09-20_17-55-32

Checklist

  • [X] Tested the change ingame
  • [X] Provided screenshots if it is a visual change
  • [ ]...
Avatar
48671dc Remove unnecessary temporary variables - Robyt3 61a9095 Remove unused IServerBrowser::TYPE_NONE, add NUM_TYPES - Robyt3 5d4affa Fix text containers always being recreated for empty text - Robyt3 da47ebe Track UI elements separately for each server browser tab - Robyt3 fb6f04e Merge pull request #7220 from Robyt3/UI-Label-Streamed-Fixes - def-
Avatar
It now updates the server browser when adding or removing a friend from console or from the player options page.

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing map...
Avatar
23cb2ff Fix background color in ingame server browser filter tab - Robyt3 4dda794 Merge pull request #7221 from Robyt3/Serverbrowser-Filter-Background-Fix - def-
Avatar
Avatar
MilkeeyCat
Everything
Are you also doing the gentoo moment?
Avatar
Avatar
Learath2
Are you also doing the gentoo moment?
maybe
17:14
gentoo btw
17:15
i have a bg but cropping this shit on a laptop is pain
17:19
remove borders from i3
Avatar
Avatar
Ryozuki
atleast u can do this now
and use this awesome purple color theme
17:20
xd
Avatar
@MilkeeyCat if u want a lightweight file browser that doesnt require bloat gtk, i recommend xfe
Avatar
welcome to 1995
Avatar
but its fast af
17:21
and lightweight
Avatar
who couldve though if u login with one name but then change it, you wouldnt be able to run startx pepeW (edited)
Avatar
Avatar
Ryozuki
@MilkeeyCat if u want a lightweight file browser that doesnt require bloat gtk, i recommend xfe
Avatar
i use tree
Avatar
@Mr.Gh0s7 i only use gui file manager cuz some programs want drag and drop
17:26
otherwise i use ls cd
17:26
xd
Avatar
I copy the file path from lf in such cases and paste it from there (in the gui one) so in the end it's faster
17:29
Also, lf is very extendable via shell scripts.
Avatar
@Ryozuki can i be in gentoo ddnet club? justatest
Avatar
u gotta use it for a month
17:35
ur daily driver
17:35
cuz u wont find "problems" if u dont use it
17:35
btw what terminal u use
17:36
btw i recommend this
Avatar
I use xterm
17:36
But u use alacrity
17:37
Coz its written in rust btw
Avatar
i3config, i do it gapless # Smart Gaps smart_gaps on # Smart Borders smart_borders on hide_edge_borders both # Set inner/outer gaps gaps inner 0 gaps outer 0 for_window [window_role="pop-up"] floating enable for_window [window_role="bubble"] floating enable for_window [window_role="task_dialog"] floating enable for_window [window_role="Preferences"] floating enable for_window [window_role="About"] floating enable
Avatar
Avatar
MilkeeyCat
But u use alacrity
use alacritty bro
17:37
its faster
17:37
my modifier key is the windows key
17:37
xd
17:37
or where the windows icon usually is
Avatar
Ill probably switch terminal coz i cant even paste shit in Terminal
17:38
pepeW
Avatar
Avatar
Ryozuki
my modifier key is the windows key
I use alt
Avatar
ye xterm is not best
17:38
alt is not the best modifier
17:38
cuz u use alt in programs
17:38
u dont use win key
17:38
but its personal
Avatar
Fair
Avatar
btw i use i3blocks for the bar
17:38
Official repository for community contributed blocklets - GitHub - vivien/i3blocks-contrib: Official repository for community contributed blocklets
17:38
to config
17:38
17:38
my bar
Avatar
I have much less things
17:39
Xd
17:40
i have 2 displays too xd
17:40
i wonder if i can have per display workspace
17:40
then i can use 20
Avatar
I can finally build client code 🥹
17:41
Dats cool
Avatar
did u setup gentoo guru
Avatar
Not yet
17:41
also learn portage
17:41
its the heart of gentoo
17:41
learn what a package mask is
Avatar
I was setting up tmux
Avatar
learn what use flags are
Avatar
hm does tmux make sense locally
17:42
u just split
17:42
Avatar
I like having 2 full screen terminals sometimes
17:44
And i have cool ass script for tmux
17:44
I didn't make it but just yoinked
17:44
But still
Avatar
What is [FSP] and why do I need it?
Avatar
Avatar
Sedonya
What is [FSP] and why do I need it?
I assume it's an empty space that has the same width as a number, so all numbers align
17:49
A figure space or numeric space is a typographic unit equal to the size of a single numerical digit. Its size can fluctuate somewhat depending on which font is being used. This is the preferred space to use in numbers. It has the same width as a digit and keeps the number together for the purpose of line breaking.
Avatar
Avatar
Robyt3
I assume it's an empty space that has the same width as a number, so all numbers align
I don't get it, thx ^^
17:49
cool
Avatar
DALL·E 3 understands significantly more nuance and detail than our previous systems, allowing you to easily translate your ideas into exceptionally accurate images.
Avatar
Avatar
Ryozuki
epic
Avatar
eyo im kinda confused rn. im on hyprland and ddnet is telling me my maximum resolution is 1280x720. im on a 1920x1080@60hz display and everything else is working. i do have xrandr installed as it is a dependency of hyperland somehow. just doing xrandr gives me: Screen 0: minimum 16 x 16, current 1280 x 720, maximum 32767 x 32767 eDP-1 connected 1280x720+0+0 (normal left inverted right x axis y axis) 310mm x 170mm 1280x720 59.86*+ 800x600 59.86 640x480 59.38 320x240 59.52 1152x720 59.97 960x600 59.96 928x580 59.88 800x500 59.50 768x480 59.90 720x480 59.71 640x400 59.95 320x200 58.96 1024x576 59.90 864x486 59.92 720x400 59.55 640x350 59.77 xrandr obviously cant control the the screen since im on wayland. inxi -CGxxIM gives me: Graphics: Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Dell Latitude E7470 driver: i915 v: kernel arch: Gen-9 ports: active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:1916 Device-2: CNFEH63N0370600025C2 Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-2:2 chip-ID: 1bcf:2b91 Display: wayland server: Xwayland v: 23.2.0 compositor: Hyprland driver: gpu: i915 display-ID: 1 Monitor-1: eDP-1 model: AU Optronics 0x133d res: 1920x1080 dpi: 158 diag: 354mm (13.9") API: EGL/GBM Message: No known Wayland EGL/GBM data sources. which is correct. (edited)
18:13
so ddnet is getting its information somehow wrong
Avatar
Avatar
Teero
so ddnet is getting its information somehow wrong
Have you set the correct environment variables? You can try running DDNet with SDL_VIDEODRIVER=wayland (https://wiki.hyprland.org/Configuring/Environment-variables/)
Avatar
doesnt seem to work..
18:28
seems like no diffrence
18:32
need sdl3
18:35
k
18:35
XWayland is the bridging mechanism between legacy Xorg programs and Wayland compositors. HiDPI XWayland XWayland currently looks pixelated on HiDPI screens, due to Xorg’s inability to scale. This problem is mitigated by the xwayland:force_zero_scaling option, which forces XWayland windows not to be scaled. This will get rid of the pixelated look...
18:35
this fixed it
Avatar
mm i have lags every 30 sec. i think it is cus overloaded cpu. so any tips how to fix that? (edited)
18:52
on screen i miminizate tw (edited)
Avatar
Avatar
triki
mm i have lags every 30 sec. i think it is cus overloaded cpu. so any tips how to fix that? (edited)
did have this before?
19:07
else try to restart windows over "Restart" first.. this often helps
Avatar
Avatar
Ryozuki
i3config, i do it gapless # Smart Gaps smart_gaps on # Smart Borders smart_borders on hide_edge_borders both # Set inner/outer gaps gaps inner 0 gaps outer 0 for_window [window_role="pop-up"] floating enable for_window [window_role="bubble"] floating enable for_window [window_role="task_dialog"] floating enable for_window [window_role="Preferences"] floating enable for_window [window_role="About"] floating enable
i see window
19:08
windows reference (based)
Avatar
Avatar
Teero
need sdl3
Avatar
Avatar
Ewan
jus a joke
Avatar
Before: !image After: !image

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible ...
19:41
Respect the intratick when displaying the player position, speed and angle, to fix this information always being shown for the next tick. See #6417. This does not resolve the issue yet, as there are more HUD and player elements that need to make use of the intratick.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or adde...
Avatar
Avatar
Ryozuki
Nice
19:47
But
19:47
We already have many image generators
19:48
Specifically for generating anime girls
Avatar
question is how well it works together with gpt
19:48
that could make it very powerful
19:48
e.g.
19:48
19:49
if that is true. would be completely insane
19:49
midjourney was the best draw in the world. but it was stupid af
19:49
understanding text
Avatar
I wonder what they did to make it more precise
19:53
Is this just a diffusion model with better training?
Avatar
i guess they somehow combined it with gpt intelligence.
19:55
e.g. maybe descripe the individual details first, then combine it into a final image
Avatar
I think gpt can use this tool
19:58
So it's not exactly integrated into it
19:58
It's hard to tell
Avatar
i could imagine it's a model that actually is connected to gpt3
20:00
similar to our brain.. but ofc still very different xd
Avatar
I wonder if chatgpt could communicate with the diffusion model using some "ai language" and not english
Avatar
yeah maybe it doesnt really communicate over text
20:01
but over "neurons"
Avatar
I guess it depends on how you train the models
Avatar
Avatar
Jupstar ✪
did have this before?
i just come back after 1 year drop
Avatar
Avatar
Jupstar ✪
did have this before?
i jsut need some how reduce single cpu, if possible do multicore
Avatar
Avatar
triki
i jsut need some how reduce single cpu, if possible do multicore
u can change the thread schedular.. but no idea how under windows
Avatar
5a4e3b1 Update server browser when adding friends from ingame. - furo321 b7cbbb4 Merge pull request #7222 from furo321/update-server-browser - Robyt3
Avatar
Avatar
Jupstar ✪
u can change the thread schedular.. but no idea how under windows
i think it is possible just by change game settings, but i try change fps and no reaction at all (edited)
Avatar
Avatar
triki
i think it is possible just by change game settings, but i try change fps and no reaction at all (edited)
u can limit cpu usage
20:15
over cl_refresh_rate
20:15
it might affect input tho
Avatar
Avatar
Jupstar ✪
over cl_refresh_rate
ye i aready tried that
Avatar
Avatar
Jupstar ✪
over cl_refresh_rate
like i said before, no reaction at all
Avatar
what did u set it to?
20:16
cl_refresh_rate 60 should almost eliminate all usage
Avatar
Avatar
Jupstar ✪
what did u set it to?
30 fps and still overloaded cpu
Avatar
u sure u used CL
20:17
not gfx
Avatar
Avatar
Jupstar ✪
u sure u used CL
what is it
Avatar
CL refresh rate
20:17
not GFX refresh rate
Avatar
4e9556e Chat preview respect cl_show_chat_friends - furo321 cd37c2d Merge pull request #7223 from furo321/preview-only-friends - Robyt3
Avatar
Avatar
Jupstar ✪
CL refresh rate
it is gfx or cl (edited)
Avatar
if its in graphics settings
20:18
its gfx
20:18
the other is in general
Avatar
lol ye its help
20:20
but what diff?
20:20
@Jupstar ✪
Avatar
cl = the whole game loop: simulation + input + prepare gfx calls gfx = only gfx calls
Avatar
1 unlimited 2 320
Avatar
Avatar
Jupstar ✪
cl = the whole game loop: simulation + input + prepare gfx calls gfx = only gfx calls
why why it is set up so cringe on default?
Avatar
Avatar
triki
why why it is set up so cringe on default?
have u played with 320
20:22
it changes the input
20:22
i personally can't play with it
20:22
feels weird
Avatar
i sure some one too lag cus too have unlimited
Avatar
i dont think so
20:22
lags = overheating
20:22
most ppl have good coolers
Avatar
Avatar
Jupstar ✪
lags = overheating
wtf it is like mining
Avatar
it's a single core on 100% "only"
Avatar
if i run any game it is dont have any lags.
20:24
but tw lag
Avatar
good, but that doesnt mean its tws fault xD
20:24
it's your setup that causes it
Avatar
Avatar
Jupstar ✪
good, but that doesnt mean its tws fault xD
idk i have 5.1 ghz
20:24
and no overheat at all
Avatar
u can also have 8ghz and no lags 😄
Avatar
if it lags, it must be either some software bug. or some hardware bug
Avatar
Avatar
Jupstar ✪
u can also have 8ghz and no lags 😄
ofc cus its more powerfull
Avatar
and cooling is pretty likely 😄
Avatar
Avatar
Jupstar ✪
and cooling is pretty likely 😄
fck it is still frezzed some times (edited)
Avatar
Avatar
Jupstar ✪
else try to restart windows over "Restart" first.. this often helps
^ did u try this already
Avatar
it's imagen how 2d game have always lags (edited)
Avatar
no matter which computer i try.. not even my android phone (1000+ fps) i ever had any lags
Avatar
last 5 years always need dance with settings for have "no lag tw" (edited)
Avatar
my debug graph
20:31
if u want to compare
20:31
but i have cl refresh rate 0 and gfx refresh rate 1440
Avatar
Avatar
Jupstar ✪
no matter which computer i try.. not even my android phone (1000+ fps) i ever had any lags
i change 3 pc and every time its better and still lags. (edited)
Avatar
Avatar
triki
last 5 years always need dance with settings for have "no lag tw" (edited)
LAN server ofc
Avatar
Avatar
Jupstar ✪
my debug graph
20:37
this is unlimited
20:37
Avatar
the only problem i could slightly imagine is #1996 since i'm on linux i dont have this problem but most ppl don't complain about lags, so it would be weird if this is really the issue
Avatar
Avatar
triki
Click to see attachment 🖼️
yeah i mean doesn't look too bad to me tbh
20:39
does LAN server also lag?
20:39
if u play there
Avatar
Avatar
Jupstar ✪
does LAN server also lag?
idk didnt play
Avatar
Avatar
Jupstar ✪
if u play there
why if i set 60 fps its lagg like 20 fps
Avatar
newest client?
Avatar
Avatar
Jupstar ✪
newest client?
17 2 1
Avatar
then dunno
Avatar
when i change Hz my mouse change speed when i move
20:43
@Jupstar ✪ this is so confusing
Avatar
You can try: cl_refresh_rate 60; gfx_refresh_rate 0; gfx_asyncrender_old 0
20:45
anyway sleep is awaiting me. have a good one u can reset all config variables with reset <var>
Avatar
on any other game if u change fps this is no effect on mouse sentivity.
Avatar
Avatar
Jupstar ✪
You can try: cl_refresh_rate 60; gfx_refresh_rate 0; gfx_asyncrender_old 0
idk i smth change and feel like my mouse have more smooth moves and it is annoyng
Avatar
Avatar
Jupstar ✪
You can try: cl_refresh_rate 60; gfx_refresh_rate 0; gfx_asyncrender_old 0
and ye it is lag
20:47
still
Avatar
Avatar
Jupstar ✪
You can try: cl_refresh_rate 60; gfx_refresh_rate 0; gfx_asyncrender_old 0
after alt+ tab when back into game it is have fps like 20
Avatar
Avatar
triki
after alt+ tab when back into game it is have fps like 20
https://wiki.ddnet.org/wiki/GFX_Troubleshooting#Low_FPS,_stuttering_or_similar_problems Btw this is all the trouble shooting i collected over the years that helped somebody
There are numerous graphics (gfx) related bugs users encountered. Not all are fixable, but might have workarounds. This site is there to collect these to help those encountering the same issues.
Avatar
Avatar
Jupstar ✪
https://wiki.ddnet.org/wiki/GFX_Troubleshooting#Low_FPS,_stuttering_or_similar_problems Btw this is all the trouble shooting i collected over the years that helped somebody
lol
Avatar
Avatar
Jupstar ✪
https://wiki.ddnet.org/wiki/GFX_Troubleshooting#Low_FPS,_stuttering_or_similar_problems Btw this is all the trouble shooting i collected over the years that helped somebody
what about smooth mouse move?
21:07
how to fix that?
Avatar
Smother is always better
21:07
Just get used to it
Avatar
Avatar
Jupstar ✪
Smother is always better
nope
Avatar
Trust me Source: Internet
Avatar
Avatar
Jupstar ✪
Trust me Source: Internet
trust me, i swa some video about game desing and smooth is problem on new games
21:10
if u need more realistic video u need smooth but on CS GO it will kill game on tw same (edited)
Avatar
Well with smooth i don't mean motion blur or some weird effects. But if it feels faster. It's better
Avatar
Avatar
Jupstar ✪
Well with smooth i don't mean motion blur or some weird effects. But if it feels faster. It's better
im not about clear. i wanna fast change my mouse but i cant cus it is smooth look like delay but it is not delay (edited)
Avatar
Avatar
triki
what about smooth mouse move?
Do you have vsync enabled?
Avatar
Avatar
Teero
Do you have vsync enabled?
Nope (edited)
Avatar
hmm okay
Avatar
cf0df5b Use GameTickSpeed instead of 50 and SERVER_TICK_SPEED - Robyt3 ed9a95a Fix 1-tick delay of player position, speed, angle HUD - Robyt3 545852b Merge pull request #7224 from Robyt3/Demo-Hud-Intratick - def-
Exported 499 message(s)