knusbaum has quit [Remote host closed the connection]
knusbaum has joined #osdev
nyah has quit [Quit: leaving]
sbalmos has joined #osdev
k_hachig has joined #osdev
k_hachig has quit [Ping timeout: 255 seconds]
k_hachig has joined #osdev
k_hachig has quit [Ping timeout: 264 seconds]
adder has quit [Remote host closed the connection]
adder has joined #osdev
k_hachig has joined #osdev
k_hachig has quit [Ping timeout: 264 seconds]
Arthuria has joined #osdev
vdamewood has joined #osdev
SunClonus has joined #osdev
frkzoid has quit [Read error: Connection reset by peer]
gog has quit [Quit: byee]
ebb has quit [Remote host closed the connection]
SunClonus has quit [Remote host closed the connection]
frkazoid333 has joined #osdev
<heat_>
i can do ~182K IOPS in onyx, inside a VM
<heat_>
which is not turrible considering i vmexit every time i touch a "hardware" register. a fun side effect of completely killing my system with io ops is that my softirq mechanism gets completely overloaded and in extreme cases really kills the system
<heat_>
so i probably want to offload processing to a thread if softirqs have been processing for too long
ebb has joined #osdev
SunClonus has joined #osdev
Arthuria has quit [Ping timeout: 260 seconds]
ramenu has joined #osdev
<geist>
heat_: grats
<geist>
this is against nvme?
<heat_>
fake qemu nvme, but i dont think it matters, i seriously doubt qemu can leverage hardware NVMe properly
<heat_>
so technically it's just a SATA ssd
<heat_>
vmexits are PITA. i had to start batching submission queue requests when restarting the queue, so i can fill up the queue and ring the doorbell once
edr has quit [Quit: Leaving]
<heat_>
my current really naive softirq system + the really weird way qemu hardware and interrupts act (where you can e.g send a request, vmexit, and get the interrupt right after), it's basically killing off a CPU and making it completely unresponsive to anything else until it can dispatch 10s worth of IOPS spam
<heat_>
also qemu nvme does not support MSI, which is annoying
lentement has joined #osdev
<heat_>
oh, and one fun fact about nvme: pin-based IRQ delivery is level triggered, MSI is edge triggered, so you may need slightly different code paths there (to mask interrupts)
ramenu_ has joined #osdev
ramenu has quit [Ping timeout: 268 seconds]
lentement has quit [Remote host closed the connection]
k_hachig has joined #osdev
k_hachig has quit [Ping timeout: 255 seconds]
mmohammadi9812 has joined #osdev
mmohammadi9812 has quit [Ping timeout: 255 seconds]
lentement has joined #osdev
heat has joined #osdev
heat_ has quit [Read error: Connection reset by peer]
mmohammadi9812 has joined #osdev
heat has quit [Ping timeout: 264 seconds]
lentement has quit [Remote host closed the connection]
SunClonus has quit [Read error: Connection reset by peer]
lentement has joined #osdev
<geist>
oh sure
<geist>
also i just got a random machine check on my desktop, haven't seen one of these before
<bslsk05>
'Dua Lipa - Houdini (Official Music Video)' by Dua Lipa (00:03:08)
<gog>
the opening bass riff is fucking sick
k_hachig has joined #osdev
<heat>
"Fuck, we don't want to support S3, s2idle is much better" *cue 5-6 years of operating systems not being able support s2idle, with completely borked firmware hacks*
<heat>
gog, WHY IS SHE NOT REFLECTING PROPERLY???? WITCH!
<Ermine>
idea of being able to wake up as fast as androids is neat though
<gog>
:D
<heat>
Ermine, the idea of taking out your laptop out the backpack and it's warm and wasn't able to suspend for god knows why is a lot less inviting
<heat>
they basically did this because they were tired of hacking up S3
lentement has quit [Ping timeout: 260 seconds]
<heat>
and we take the blame for their technical debt
<nikolapdp>
who's we here
<gog>
oh i've done that
<gog>
i'm pretty sure my laptop is going to die of heat-related issues in 12-18 months
<gog>
i've done everything i can to make it run cooler, i dust it out weekly
<gog>
i changed the thermal paste
<gog>
i don't really want one of the thinkpads they have here. they're not the good ones
<nikolapdp>
what laptop do you have gog
<Ermine>
heat: who they?
<gog>
ideapad gaming 15arh05
<heat>
Ermine, intel
gildasio has quit [Ping timeout: 255 seconds]
<nikolapdp>
gog one thing you can try is limit your cpu frequency when you're not doing anything demanding
<heat>
the powersave governor already does that
<nikolapdp>
i think mine was on schedutil by default
<gog>
i have it set to ondemand
<gog>
i think
<nikolapdp>
try changing it to powersave
<gog>
it stays cool when i'm not doing anything
<gog>
that's not the issue
<gog>
but when i'm working or gaming it gets pretty warm
gildasio has joined #osdev
<gog>
70°C CPU, 60°C GPU
<gog>
i know that's not blazing hot, but that's just the chip temps
<nikolapdp>
that's kind of typicall
<gog>
what about everything around them
<nikolapdp>
mine is same when under load
<nikolapdp>
well just the cpu
<heat>
Ermine, basically speaking, S3 *basically* turns off your computer, and then deals with it later on the "next boot", in the firmware's side. it's completely transparent to the kernel. which is a problem, because suspending a system is hard, and they need to write "boot scripts" and execute them
<nikolapdp>
actually goes to 100 sometimes
<gog>
maybe it'll be fine but the build quality of the system is not amazing
<heat>
gog, sweetie my CPU gets to 90C under load, and so does my GPU
<heat>
it's still going 6 years strong
<nikolapdp>
you'll be fine
<heat>
LAPTOPS ARE BUILT DIFFERENTLY
<gog>
sweetie??
<heat>
i'm being condescending to a laptop outsider gog
<gog>
listen here young man
<nikolapdp>
my old laptop's fan got stuck and i used it without active cooling for a few days
gildasio has quit [Remote host closed the connection]
<nikolapdp>
worked fine *mostly*
gildasio has joined #osdev
<heat>
i've had to unstuck my fan a couple of times because some random pieces of broken plastic got in its way
<heat>
help my step fan i'm stuck
<heat>
me
<nikolapdp>
i just touched mine and it got loose
<nikolapdp>
heat kek
<heat>
70C is like, a chilling temperature for a laptop
<heat>
and you have *fans*??? you'll be fine
<gog>
well i'd die if i got to 70°
<nikolapdp>
you aren't a cpu though
<gog>
how do you know
<nikolapdp>
good questions
<nikolapdp>
like new ryzens target 105 C or so
<heat>
they don't target 105C
<heat>
it's probably their Tmax
<nikolapdp>
they basically selfoverclock until they are at around 100C
<Ermine>
stop playing games on laptops
<nikolapdp>
lol just get a steamdeck
<Ermine>
buy desktops with proper cooling systdms
<GeDaMo>
gog: what sort of games do you play on that?
<gog>
the heaviest one i have is baldur's gate 3
<gog>
medium 1080ð
<gog>
p
<GeDaMo>
Does it have a discrete GPU?
<gog>
yes
<GeDaMo>
Ah
<gog>
1650
<Ermine>
My laptop gets noisy even with RTW. Granted, this is integrated graphics
<Ermine>
And it gets noisy when watching youtube, but that's probably luniks moment
<Ermine>
probably, though firefox has vaapi on by default these days
<nikolapdp>
you should check that
<ddevault>
I've been reading the Linux TTY subsystem code today
<nikolapdp>
also i think that's only on wayland or something
<ddevault>
and, whoooo boy
<Ermine>
nikolapdp: it's sway
<nikolapdp>
fair enough
ramenu_ has joined #osdev
<Ermine>
and ff logs report vaapi
<ddevault>
I knew it was very bad but it just gets worse and worse as I look under every stone
<Ermine>
ddevault: take a rest and drink tea
<nikolapdp>
ddevault: linux tty subsystem is notoriously messy
<ddevault>
well, tty in unix generally is notoriously messy
<ddevault>
linux has elected to make it even more so
<Ermine>
time for ONYX TTYs
<nikolapdp>
true that
goliath has quit [Quit: SIGSEGV]
<ddevault>
I saw written down somewhere "openpty creates a new psuedoterminal and sets the group ownership of the /dev/pts/* node to the 'tty' group, if there is one on the system"
<ddevault>
and I thought, "that's weird, the kernel does not usually do that kind of thing. Is it actually being done by libc or udev or something?"
<ddevault>
nope, it's the kernel
<nikolapdp>
heh
<Ermine>
wuuuuut
<ddevault>
it does not read /etc/group, which was my first point of confusion
<nikolapdp>
wait how does it do that then
<ddevault>
the devpts psuedo-filesystem is mounted with the desired group ID for pty device nodes to be
<ddevault>
mount | grep devpts to see the mount flags
<Ermine>
it hardcodes gid???
<nikolapdp>
oh gross
<ddevault>
your early boot init whatever presumably handles it when mounting /dev
lentement has joined #osdev
<Ermine>
heck
<heat>
ONYX
<nikolapdp>
ILLUMOS
<Ermine>
* pty availablity: TBA
<heat>
i take patchen
<Ermine>
hence TBA
lentement has quit [Ping timeout: 268 seconds]
<ddevault>
lol
<ddevault>
illumos does have ptys, I checked because that sounds very dumb for a unix not to have in current year
<ddevault>
it just doesn't implement openpty, you have to do manual bullshit instead
<nikolapdp>
heh
<ddevault>
i.e. horrible ioctls
<heat>
Ermine, the only "big" thing i'm missing is devfs directories
<heat>
the rest should just work
lentement has joined #osdev
<Ermine>
Wdym 'dumb'? Not everyone works on their unix full time, you know?
<ddevault>
where current year is defined as anything greater than 1990
<ddevault>
at which time illumos was commercially maintained (well, solaris was)
<ddevault>
(strike that, solaris was released in '92)
<nikolapdp>
SUNOS
<Ermine>
heat: the mission, as always, is to allocate time
<GeDaMo>
"Time is an illusion. Lunchtime, doubly so" :P
<Ermine>
for now, the cycle is mostly work-diploma-sleep
<heat>
:)
<heat>
ptys are like, particularly important to get
lentement has quit [Ping timeout: 252 seconds]
<heat>
because ssh uses ptys
<nikolapdp>
you can just tell it to not allocate a tty right
<ddevault>
you need it for ssh, terminal multiplexers, xterm, lots of stuff
<ddevault>
if you have X and xterm, you have ptys
<ddevault>
since illumos has both of those things I was skeptical of the claim it does not have ptys
Left_Turn has joined #osdev
SunClonus has joined #osdev
zxrom has quit [Read error: Connection reset by peer]
zxrom has joined #osdev
gog has quit [Quit: Konversation terminated!]
gog has joined #osdev
lentement has joined #osdev
SunClonus has quit [Ping timeout: 246 seconds]
k_hachig has quit [Ping timeout: 256 seconds]
lentement has quit [Ping timeout: 260 seconds]
k_hachig has joined #osdev
<kof123>
should i ask what posix says on the topic of pseudo terminals?
<heat>
posix says a lot on pseudo terminals
<heat>
all (or most?) of the pty interfaces are standard
SGautam has joined #osdev
<gog>
my boss had a webdev moment today
<gog>
my microservice api works perfect
<gog>
our WAF was blocking the user tho :D
<heat>
WEBDEV WEBDEV PHP CRAPPER
<nikolapdp>
WAF?
<gog>
wet-ass filter
<nikolapdp>
heh
<gog>
web application filter tho
<nikolapdp>
well that was stupid
lentement has joined #osdev
lentement has quit [Ping timeout: 255 seconds]
<ddevault>
>posix says a lot on pseudo terminals
<ddevault>
really?
<ddevault>
I didn't think this was the case
<gog>
heat: dua apia
<gog>
api lipa
<heat>
rest lipa
<ddevault>
oh, I see it, it is here
<gog>
json-rpc lipa
<Ermine>
graphql lipa
<heat>
let me grpc your graphql of that json request
<Ermine>
grepc
<gog>
if you're good enough to find a way, maybe you could cause a webdev to change her ways
<gog>
catch me or i go 404
<sbalmos>
catch(GogException ex) { return; }
Terlisimo has quit [Quit: Connection reset by beer]
<heat>
no, no exceptions allowed here good sir no sir nuh uh
<sbalmos>
throw 500 Internal Gog Error
<heat>
unless they're checked, those are at least better
childlikempress is now known as Mondenkind
Terlisimo has joined #osdev
gog has quit [Quit: Konversation terminated!]
lentement has joined #osdev
zetef has joined #osdev
lentement has quit [Ping timeout: 240 seconds]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 246 seconds]
blockhead has quit []
tomaw- has joined #osdev
tomaw is now known as Guest5055
Guest5055 has quit [Killed (silver.libera.chat (Nickname regained by services))]
tomaw- is now known as tomaw
lentement has joined #osdev
gog has joined #osdev
lentement has quit [Ping timeout: 268 seconds]
lentement has joined #osdev
g0shfuckingdarn1 is now known as linearcannon
lentement has quit [Ping timeout: 264 seconds]
zetef has quit [Remote host closed the connection]
liana has joined #osdev
liana has quit [Remote host closed the connection]
k_hachig has quit [Ping timeout: 264 seconds]
k_hachig has joined #osdev
k_hachig has quit [Ping timeout: 272 seconds]
lentement has joined #osdev
lentement has quit [Ping timeout: 268 seconds]
k_hachig has joined #osdev
SophiaNya has quit [Remote host closed the connection]
ptrc has quit [Remote host closed the connection]
SophiaNya has joined #osdev
ptrc has joined #osdev
lentement has joined #osdev
<gog>
hi
lentement has quit [Ping timeout: 246 seconds]
<nikolar>
Hello gog
<gog>
hi nikolar how are you
<nikolar>
I'm fine thanks for asking
<nikolar>
How are you
<gog>
i'm well
<heat>
grogzels
<gog>
heats
<heat>
i use lynx kerna
<gog>
me too
<gog>
heat
<gog>
can you help me understand an EFI thing maybe