<zid>
heat_: I don't believe in the concept of work
<heat_>
god im annoyed
<heat_>
i can't track down this heisenbug
<zid>
That's because you're trying to do work
<zid>
work is bad for you
<heat_>
i want to play eu4
<heat_>
i'll need to reboot to windows which is a PITA but, yeah, i really want to do it
<zid>
I might grab like
<zid>
pirate eu4?
<zid>
just so I have the dlcs
<zid>
that I am missing
[Kalisto] has quit [Read error: Connection reset by peer]
[Kalisto] has joined #osdev
heat has joined #osdev
[Kalisto] has quit [Read error: Connection reset by peer]
<heat>
test
<heat>
hey this irccloud thing is kinda neat
<zid>
Finally going to stop randomly disconencting?
<heat>
possibly
<heat_>
heat, test2
[Kalisto] has joined #osdev
<heat>
omfg it doesn't disconnect
<heat>
epic win
[Kalisto] has quit [Read error: Connection reset by peer]
<heat>
i might just pay for this shit
<zid>
I'd just pay the £2/mo for an OVH vps
<zid>
and bounce through that with a little C program I wrote
<zid>
cus then I'd get a VPS
<heat>
hmm i have a google cloud free tier one i could also just use
<heat>
my problem is that hexchat is EOL'd so i should probably switch anyway
d1rg3_ has quit [Ping timeout: 252 seconds]
[Kalisto] has joined #osdev
<zid>
heat do you have all eu4 dlc, host a game
[Kalisto] has quit [Read error: Connection reset by peer]
<heat>
i dont
<zid>
what good are you then
<heat>
i'm good at horsing around
<zid>
horses are crap, artillery only
<zid>
100% arty stacks, 2x combat width each
<heat>
i'm missing domination, winds of change and 3 immersion packs but who gives a shit about that
[Kalisto] has joined #osdev
<Ermine>
strategic destruction doctrine!
<Ermine>
wait, that's another game
lukflug has quit [Quit: Leaving]
<heat>
>air doctrines
<heat>
who the hell
<heat>
does that
<heat>
i haven't played hoi4 in a long fucking while but i'm also missing all of the fun DLCs now
<heat>
like spies and the naval designer and all sorts of big ass 10x focus trees
<heat>
PORTUGAL
Lucretia has quit [Remote host closed the connection]
<zid>
Do you know the hoi4 STRATS
Turn_Left has quit [Read error: Connection reset by peer]
<heat>
not really
<zid>
be russia, do the trotsky civil war thing, but not before changing all your army templates to be fucking useless, and lend leasing all your weapons away, then roll.. yourself
<heat>
oh yes
<zid>
then cancel lend lease
<zid>
WC in 2 hours
<heat>
there was a nice one in the german civil war where you had to put all your divs on boats, and then start the civil war
<zid>
then some strat that I can't remember the details of where you put all your troops into other countries, then declare war and have them join as defenders later, and it stops it ejecting your guys
<heat>
and boom, you kept your whole army
<zid>
and you just have one guy on every tile already
<zid>
and you win
<heat>
yes
<heat>
there was a YT guy that did that one to death
<heat>
taureor?
<zid>
idk, I watched the any% WC WR
<zid>
and those were the two strats
<zid>
<2 hour run
<heat>
what's a 100% WC supposed to be
<zid>
WC as every country
<zid>
in a row
<zid>
with every achievement
<heat>
lol
<heat>
the gang plays central american countries
<zid>
bolivia best country
<heat>
i once did a soviet tanks only playthrough, before oil was a thing. that was super satisfying
<heat>
just rolled the germans over
<heat>
ck3 would also be an idea since all of the DLCs suck anyway
<zid>
if I can get an achievement emulator working on pirate eu4
<zid>
I will probably put another few hundred hour sin
[Kalisto] has quit [Read error: Connection reset by peer]
troseman has quit [Quit: troseman]
[Kalisto] has joined #osdev
[Kalisto] has quit [Read error: Connection reset by peer]
<kof673>
[holds up his fingers, which are misshapen] I got it from space invaders in 1977. Chief Wiggum: Oh yeah, that was a pretty addictive video game. Groundskeeper Willie: video game?
[Kalisto] has joined #osdev
[Kalisto] has quit [Read error: Connection reset by peer]
[Kalisto] has joined #osdev
vdamewood has quit [Quit: Life beckons]
vdamewood has joined #osdev
[Kalisto] has quit [Read error: Connection reset by peer]
[Kalisto] has joined #osdev
[Kalisto] has quit [Read error: Connection reset by peer]
[Kalisto] has joined #osdev
[Kalisto] has quit [Read error: Connection reset by peer]
[Kalisto] has joined #osdev
[Kalisto] has quit [Read error: Connection reset by peer]
[Kalisto] has joined #osdev
[Kalisto] has quit [Read error: Connection reset by peer]
[Kalisto] has joined #osdev
[Kalisto] has quit [Read error: Connection reset by peer]
[Kalisto] has joined #osdev
[Kalisto] has quit [Read error: Connection reset by peer]
[Kalisto] has joined #osdev
[Kalisto] has quit [Read error: Connection reset by peer]
[Kalisto] has joined #osdev
[Kalisto] has quit [Read error: Connection reset by peer]
eddof13 has joined #osdev
eddof13 has quit [Client Quit]
<zid>
heat
<heat>
what
<zid>
it doesn't work :(
<heat>
rip
<zid>
I need a steam api key
heat_ has quit [Read error: Connection reset by peer]
<zid>
oh nice, there's actually a working mobile auth client for windows now
<zid>
and linux
<zid>
./steamguard confirm
<zid>
done
<zid>
*donwloading achievement icons*
surabax has quit [Quit: Leaving]
Gooberpatrol66 has quit [Quit: Konversation terminated!]
alpha2023 has quit [Read error: Connection reset by peer]
osmten has quit [Ping timeout: 240 seconds]
alpha2023 has joined #osdev
bauen1 has quit [Ping timeout: 244 seconds]
osmten has joined #osdev
bauen1 has joined #osdev
Arthuria has quit [Ping timeout: 276 seconds]
gog has joined #osdev
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
osmten has quit [Quit: Client closed]
osmten has joined #osdev
craigo has quit [Read error: Connection reset by peer]
craigo has joined #osdev
vdamewood has quit [Quit: Life beckons]
vdamewood has joined #osdev
gog has quit [Quit: byee]
goliath has joined #osdev
craigo has quit [Quit: Leaving]
craigo has joined #osdev
goliath has quit [Quit: SIGSEGV]
GeDaMo has joined #osdev
bauen1 has quit [Ping timeout: 248 seconds]
netbsduser` has joined #osdev
goliath has joined #osdev
tomaw has quit [Ping timeout: 610 seconds]
<nikolar>
heat: of all games, why do you need to reboot to windows for eu4
tomaw_ has joined #osdev
osmten has quit [Quit: Client closed]
tomaw_ is now known as tomaw
Lucretia has joined #osdev
<gorgonical>
you do not
<gorgonical>
I played nearly 3000 hours of EU4 almost 100% on linux
<zid>
I couldn't get any steam emu to work with eu4 properly :(
<zid>
I could get in game and earn achievements, but they didn't post anywhere, and they'd be gone again once I restarted
<gorgonical>
interesting. I don't think I used anything special. I don't even think I had to select a specific proton runtime. afaict it runs natively
<zid>
what
<zid>
who proton
<gorgonical>
yeah on slackware and opensuse i just install the game and play
<zid>
well, yea, I could do that too
<zid>
if I didn't want to use emulated steam
<gorgonical>
oooh
<gorgonical>
I missed that part
<zid>
which is the point of me trying to get emulated steam working last night
<gorgonical>
why do you want to use emulated steam?
<zid>
so I can get achievements on dlc I don't have :P
<gorgonical>
cheeky
bauen1 has joined #osdev
Left_Turn has joined #osdev
FreeFull has quit []
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 244 seconds]
bauen1 has quit [Ping timeout: 260 seconds]
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 265 seconds]
bauen1 has joined #osdev
edr has joined #osdev
Left_Turn has quit [Read error: Connection reset by peer]
Left_Turn has joined #osdev
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 252 seconds]
[Kalisto] has joined #osdev
gorgonical has quit [Remote host closed the connection]
bauen1 has quit [Ping timeout: 252 seconds]
netbsduser` has quit [Ping timeout: 260 seconds]
netbsduser` has joined #osdev
bauen1 has joined #osdev
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 248 seconds]
<heat>
nikolar: i cant play vidya games at native speeds on linux
<heat>
for some reason (i think compositor or whatever related)
<heat>
it's sad
<nikolar>
i don't think i've ever had that kind of issue
<nikolar>
weird
user71 has joined #osdev
eddof13 has joined #osdev
craigo has quit [Quit: Leaving]
goliath has quit [Quit: SIGSEGV]
Arthuria has joined #osdev
<GeDaMo>
I use Lutris for launching games on Linux, it uses Proton and keeps it up-to-date
<heat>
i've been playing football manager exclusively on linux (proton) for a couple of years now, it works okay (sometimes glitches out in ways i can't explain) and runs fine
<heat>
but FM is one of those games where if you drop 20 or 30% of your performance it probably doesn't matter anyway
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 248 seconds]
pabs3 has quit [Ping timeout: 245 seconds]
pabs3 has joined #osdev
<nikolar>
generally, when games run on linux, they just run
<nikolar>
no issues
<nikolar>
in my experience
<nikolar>
so it's weird that you're having performance issues
Terlisimo has quit [Quit: Connection reset by beer]
<heat>
note there's a non-zero chance some of my issues could be related to nvidia optimus
<heat>
but there's (or there used to be, at least) a huge tuning guide for games on linux that involved a lot of workarounds like disabling the compositor (which shot up your performance), etc
<heat>
on the arch wiki, which i do use, btw
Terlisimo has joined #osdev
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 246 seconds]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 244 seconds]
<Ermine>
> disabling compositor --- this is a thing on x11 only. And kwin used to disable compositing in several cases, e.g. when running gzdoom
colona_ has quit [Ping timeout: 245 seconds]
amj has quit [Ping timeout: 244 seconds]
amj has joined #osdev
colona has joined #osdev
Arthuria has quit [Ping timeout: 268 seconds]
goliath has joined #osdev
xenos1984 has quit [Ping timeout: 248 seconds]
xenos1984 has joined #osdev
gog has joined #osdev
surabax has joined #osdev
Gordinator has joined #osdev
user71 has quit [Quit: Leaving]
xenos1984 has quit [Ping timeout: 268 seconds]
eddof13 has quit [Quit: eddof13]
eddof13 has joined #osdev
xenos1984 has joined #osdev
netbsduser` has quit [Ping timeout: 244 seconds]
netbsduser` has joined #osdev
eddof13 has quit [Quit: eddof13]
eddof13 has joined #osdev
Arthuria has joined #osdev
Turn_Left has quit [Read error: Connection reset by peer]
Turn_Left has joined #osdev
Turn_Left has quit [Read error: Connection reset by peer]
Turn_Left has joined #osdev
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 244 seconds]
netbsduser` has quit [Ping timeout: 265 seconds]
netbsduser` has joined #osdev
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
PublicWiFi has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
goliath has quit [Quit: SIGSEGV]
PublicWiFi has joined #osdev
joe9 has quit [Quit: leaving]
<heat>
haha i figured out the weird heisenbug
<zid>
go on then
* kof673
finally adds functions to check for size_t overflow on add or multiply...goes to update 50 places...............
<heat>
so, there's a syscall called sigreturn that takes a bunch of state (on the stack) and restores the state.
* kof673
(to use the functions instead of "inlining")
<heat>
normally syscalls return using sysret, where rcx = rip and r11 = rflags. great.
<heat>
there's an edgecase there, where a system call can't really return using sysret if you've messed around with the state
<heat>
such that rip != rcx
<heat>
so, you take an irq + signal during normal execution. rip != rcx. you run the signal handler, then sigreturn. you're trying to exit down the normal path, you corrupt rcx and r11 and oops.
PublicWiFi has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
<heat>
the fix is to exit using iretq when these cases happen
<heat>
i initially saw an strace with sigreturns and thought that was fishy, then bisected which confirmed it was somewhere in those signal paths
PublicWiFi has joined #osdev
<heat>
this easily happens when executing big scripts with lots of commands and forking because dash handles SIGCHLD
<heat>
thus you just need to be executing anywhere in userspace for this to boom
<heat>
i didn't have this problem initially because the old sigreturn did some bizarre state restoration to a local variable and called a noreturn exit path, instead of going through the normal syscall path
antranigv has quit [Ping timeout: 260 seconds]
Turn_Left has joined #osdev
antranigv has joined #osdev
Left_Turn has quit [Ping timeout: 248 seconds]
Turn_Left has quit [Read error: Connection reset by peer]