โ prev | next โ
Jamerive 2022-09-18 01:59:27
That would be a great step though
smol_mazunki 2022-09-18 01:59:50
eh, if nvidia cared about linux we’d be living in paradise
Jamerive 2022-09-18 01:59:53
smol_mazunki 2022-09-18 01:59:15
the only nvidia cards i use are running windows
You can try it on it just for the sake of knowing
smol_mazunki 2022-09-18 02:00:06
Jamerive 2022-09-18 01:59:53
You can try it on it just for the sake of knowing
not interested tbh
Jamerive 2022-09-18 02:00:07
smol_mazunki 2022-09-18 01:59:50
eh, if nvidia cared about linux we’d be living in paradise
True facts
smol_mazunki 2022-09-18 02:00:21
i’d rather support amd
smol_mazunki 2022-09-18 02:00:29
which have countless times showed they do care
Jamerive 2022-09-18 02:00:39
smol_mazunki 2022-09-18 02:00:21
i’d rather support amd
Yeah, amd it is doing a great job
Jamerive 2022-09-18 02:01:40
Their opensource drivers beats nvidia in some AAA games (the ones not optimized for nvidia of course)
smol_mazunki 2022-09-18 02:02:11
fun fact: proton with vulkan out-performs windows-native games
smol_mazunki 2022-09-18 02:02:16
most of the time, anyway
Jamerive 2022-09-18 02:03:06
smol_mazunki 2022-09-18 02:02:11
fun fact: proton with vulkan out-performs windows-native games
Lmao, that is a sad true, an emulated tool to run windows games beat the native one….
smol_mazunki 2022-09-18 02:03:18
proton is not an emulation tool
smol_mazunki 2022-09-18 02:03:32
it’s simply redirecting function calls to native calls
Jamerive 2022-09-18 02:03:51
smol_mazunki 2022-09-18 02:03:32
it’s simply redirecting function calls to native calls
So like a translator?
smol_mazunki 2022-09-18 02:04:39
Jamerive 2022-09-18 02:03:51
So like a translator?
yes
smol_mazunki 2022-09-18 02:04:40
https://www.youtube.com/watch?v=K9khdYpMI5s
How Steam Play/Proton makes Gaming on Linux awesome. –
YouTubeThis was created for a presentation, which is why the intro is a bit formal/non-standard. It’s meant to go over the basic components of steam play/proton without getting into too much technical detail/specifics so that it’s a bit easier for people to understand.
20:44 Cyberpunk 2077
22:06 Borderlands 3
23:10 Dark Souls 3
24:05 Days Gone
25:03 Dirt 5
25:57 Forza Horizon 4
26:44 Grand Theft Auto 5
27:24 Red Dead Redemption 2
27:54 Horizon Zero Dawn
28:31 Nier: Automata
29:05 Witcher 3
29:38 Warframe
30:11 Street Fighter 5
30:37 GUILTY GEAR STRIVE
31:27 Rocket League
32:07 Final Fantasy 14
32:34 Battlefield V
33:09 Doom Eternal
34:00 Path of Exile
Open Source code to various libraries in this video:
Proton:
https://github.com/ValveSoftware/Proton/
My custom Proton fork:
https://github.com/gloriouseggroll/proton-ge-custom
Main components used in Proton mentioned:
https://github.com/HansKristian-Work/vkd3d-proton/
https://github.com/doitsujin/dxvk/
https://www.winehq.org/
https://github.com/FNA-XNA/FAudio
SDL:
https://www.libsdl.org/
Mesa:
https://mesa3d.org/
Fedora Linux:
https://getfedora.org/
smol_mazunki 2022-09-18 02:04:46
this is a good description of what proton does
Kueppo 2022-09-18 09:57:34
I’ve been searching for how to send ctrl-a to my terminal via scripting, infocmp’s output is confusing, can we do that with ansi codes? tmux has this send-keys command that works, anyone knows how to do that without tmux?
smol_mazunki 2022-09-18 13:06:43
Kueppo 2022-09-18 09:57:34
I’ve been searching for how to send ctrl-a to my terminal via scripting, infocmp’s output is confusing, can we do that with ansi codes? tmux has this send-keys command that works, anyone knows how to do that without tmux?
isn’t it a signal like ^C?
Kueppo 2022-09-18 14:38:35
Nope, want to send Control-a, regardless of if my terminal line setting has mapped a signal to it and I think it is not in the default, I haven’t seen it in stty -a.
smol_mazunki 2022-09-18 16:12:33
Kueppo 2022-09-18 14:38:35
Nope, want to send Control-a, regardless of if my terminal line setting has mapped a signal to it and I think it is not in the default, I haven’t seen it in stty -a.
i think there’s no native way of doing it, without taking over the device manager or something weird
smol_mazunki 2022-09-18 16:12:51
i think it’s up to each process to implement
Kueppo 2022-09-18 19:00:08
I can for example send C-a to a tmux pane like so tmux send-keys C-a so I guess it is possible to do that via the shell if I get it character special file with lsof -p $$ | awk ‘$4 ~ /^1u$/{print $9}’ and send some ansi codes to it.
smol_mazunki 2022-09-18 19:03:33
Kueppo 2022-09-18 19:00:08
I can for example send C-a to a tmux pane like so tmux send-keys C-a so I guess it is possible to do that via the shell if I get it character special file with lsof -p $$ | awk ‘$4 ~ /^1u$/{print $9}’ and send some ansi codes to it.
random suggest, try to pipe the output to /proc/${pid}/fd/0
Kueppo 2022-09-18 19:05:21
I haven’t yet gone through this and I hope to not.
https://github.com/tmux/tmux/blob/master/cmd-send-keys.c
tmux/cmd-send-keys.c at master ยท tmux/tmux –
GitHubtmux source code. Contribute to tmux/tmux development by creating an account on GitHub.
Kueppo 2022-09-18 19:08:38
I pb is that I don’t know what to pipe to it.
Kueppo 2022-09-18 19:09:57
wait, pipe?
smol_mazunki 2022-09-18 19:10:32
Kueppo 2022-09-18 19:09:57
wait, pipe?
echo “letters” >> /proc/12345/fd/0
Kueppo 2022-09-18 19:10:51
That is redirection.
smol_mazunki 2022-09-18 19:11:04
yeah
Henk Metselaar 2022-09-19 01:12:12
smol_mazunki 2022-09-18 00:42:50
it’s self-documented! ๐
Bakkeby has a commented dwm source code on github that’s very helpful
smol_mazunki 2022-09-19 01:24:20
Henk Metselaar 2022-09-19 01:12:12
Bakkeby has a commented dwm source code on github that’s very helpful
that’s good
Jamerive 2022-09-19 04:09:59
Henk Metselaar 2022-09-19 01:12:12
Bakkeby has a commented dwm source code on github that’s very helpful
Wow, can you give me the link?
Henk Metselaar 2022-09-19 04:52:34
https://github.com/bakkeby/dwm-commented
GitHub – bakkeby/dwm-commented: A fork of dwm with comments explaining in detail how the window manager works –
GitHubA fork of dwm with comments explaining in detail how the window manager works – GitHub – bakkeby/dwm-commented: A fork of dwm with comments explaining in detail how the window manager works
โ prev | next โ