klange changed the topic of #osdev to: Operating System Development || Don't ask to ask---just ask! || For 3+ LoC, use a pastebin (for example https://gist.github.com/) || Stats + Old logs: http://osdev-logs.qzx.com New Logs: https://libera.irclog.whitequark.org/osdev || Visit https://wiki.osdev.org and https://forum.osdev.org || Books: https://wiki.osdev.org/Books
regreg_ has joined #osdev
simpl_e has joined #osdev
AssKoala has joined #osdev
gateway2000 has joined #osdev
nyah has quit [Ping timeout: 245 seconds]
pretty_dumm_guy has quit [Quit: WeeChat 3.2]
<klange> okay, it's not perfect and will sometimes report a bit over 100%, but I've finally got 'real time' CPU usage reporting https://klange.dev/s/Screenshot%20from%202021-09-03%2010-15-58.png
<klange> [this is not a case of it reporting >100%, as there's two cores here; my laptop was showing 100.5% on the plasma demo's render thread]
dude12312414 has quit [Ping timeout: 276 seconds]
<clever> klange: i finally figured out the power gating for the 3d core, and can now begin baremetal 3d code
<klange> I've been thinking about doing a virgl backend for my compositor, but I don't think I'll manage to get actual 3d stuff running on, say, the Intel GPU on the ThinkPad.
<clever> i happen to already be familiar with the 3d core on the rpi, from past projects
<clever> and i have a demo that just opens /dev/mem and hammers away at it
<clever> all i really need to do, is swap out the routine for rendering the final bitmap output
<klange> Another issue with my first pass at cpu usage stats: I'm not including threads in the main process entry, so unless you ask for them in 'ps' you won't get the right idea of a process's usage: https://klange.dev/s/Screenshot%20from%202021-09-03%2010-32-47.png
<clever> that reminds me, LK isnt accounting for irq time currently
<clever> so irq's that dont context-switch, just wind up getting blamed on a random thread
<klange> running more plasma demos and watching the cpu time get distributed: https://klange.dev/s/Screenshot%20from%202021-09-03%2010-34-42.png
mahmutov has quit [Ping timeout: 240 seconds]
isaacwoods has quit [Quit: WeeChat 3.2]
<clever> ok, so thats all of the state and control structures, and the final output buffer
<clever> now i just need to tell the 3d hw to obey the control structures!
AssKoala has quit [Read error: Connection reset by peer]
AssKoala has joined #osdev
AssKoala has quit [Ping timeout: 245 seconds]
<clever> klange: heh, the next big hurdle, is that i'm lacking sin and cos function!
archenoth has quit [Ping timeout: 252 seconds]
dude12312414 has joined #osdev
<klange> clever: I have a portable table-based pair if you want a starting point.
<clever> ah, i found a hack
<clever> if i build it with -O, gcc figures it out at compile time
<clever> since the inputs are currently static
<klange> meanwhile I addressed my issue by just... having ps add thread cpu usage to the process leader if not queried with -T
<clever> that works
archenoth has joined #osdev
<clever> now that i have the vertex data filled in, i should be able to just hit a couple control regs, and its done
Oshawott has joined #osdev
sts-q has quit [Ping timeout: 252 seconds]
DeepComa has joined #osdev
archenoth has quit [Ping timeout: 240 seconds]
DeepComa has quit [Quit: .oO (bbl tc folks~!)]
gateway2000 has quit [Read error: Connection reset by peer]
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
zaquest has quit [Read error: Connection reset by peer]
h4zel has quit [Ping timeout: 252 seconds]
zaquest has joined #osdev
<clever> klange: and only now, 7 years later, do i notice, i put 8000 into the original 3d driver, when i meant to put 0x8000, lol
<klange> oops
<clever> i'm surprised it even worked
<clever> ] v3d_bin
<clever> Fatal VPU Exception: Bad L2 alias
<clever> klange: but things fail like this, the instant i try to begin a render
<clever> its failing inside a printf function, while parsing the format string
ElectronApps has joined #osdev
h4zel has joined #osdev
h4zel has quit [Ping timeout: 252 seconds]
scaleww has joined #osdev
fwg has joined #osdev
GreaseMonkey has quit [Read error: Connection reset by peer]
paulusASol has quit [Ping timeout: 256 seconds]
gog has joined #osdev
paulusASol has joined #osdev
mhall has joined #osdev
Benjojo has quit []
Benjojo has joined #osdev
nyah has joined #osdev
GeDaMo has joined #osdev
mhall has quit []
mhall has joined #osdev
Bonstra has quit [Ping timeout: 240 seconds]
Bonstra has joined #osdev
nyah has quit [Ping timeout: 256 seconds]
scoobydoo_ has joined #osdev
scoobydoo_ has quit [Excess Flood]
scoobydoo_ has joined #osdev
scoobydoo_ has quit [Excess Flood]
scoobydoo_ has joined #osdev
scoobydoo_ has quit [Excess Flood]
scoobydoo_ has joined #osdev
scoobydoo_ has quit [Excess Flood]
scoobydoo_ has joined #osdev
scoobydoo_ has quit [Excess Flood]
scoobydoo has quit [K-Lined]
vdamewood has joined #osdev
nyah has joined #osdev
vinleod has joined #osdev
vdamewood has quit [Ping timeout: 245 seconds]
vinleod is now known as vdamewood
AssKoala has joined #osdev
pretty_dumm_guy has joined #osdev
isaacwoods has joined #osdev
sm2n_ has joined #osdev
sm2n has quit [Read error: Connection reset by peer]
dennisschagt has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ElectronApps has quit [Ping timeout: 244 seconds]
zagto has joined #osdev
AssKoala has quit [Ping timeout: 244 seconds]
dennis95 has joined #osdev
ElectronApps has joined #osdev
Lukapalooka has joined #osdev
dennisschagt has joined #osdev
dennisschagt has quit [Client Quit]
dennisschagt has joined #osdev
ahalaney has joined #osdev
zagto has quit [Quit: Konversation terminated!]
Vercas2 has joined #osdev
Vercas has quit [Ping timeout: 276 seconds]
Vercas2 is now known as Vercas
gateway2000 has joined #osdev
regreg_ has quit [Read error: Connection reset by peer]
jimbzy has joined #osdev
dude12312414 has joined #osdev
scoobydoo_ has joined #osdev
scoobydoo_ is now known as scoobydoo
scoobydoo has quit [Excess Flood]
scoobydoo has joined #osdev
AssKoala has joined #osdev
johnjay has quit [Read error: Connection reset by peer]
mctpyt has quit [Ping timeout: 252 seconds]
mctpyt has joined #osdev
johnjay has joined #osdev
gateway2000 has quit [Quit: Leaving]
ElectronApps has quit [Ping timeout: 244 seconds]
mctpyt has quit [Ping timeout: 240 seconds]
mctpyt has joined #osdev
freakazoid343 has quit [Ping timeout: 245 seconds]
freakazoid12345 has joined #osdev
Bonstra has quit [Ping timeout: 240 seconds]
Bonstra has joined #osdev
jimbzy has quit [Read error: Connection reset by peer]
myon98 has quit [*.net *.split]
jimbzy has joined #osdev
myon98 has joined #osdev
AssKoala has quit [Ping timeout: 244 seconds]
srjek has joined #osdev
scaleww has quit [Quit: Leaving]
jimbzy has quit [Read error: Connection reset by peer]
dude12312414 has quit [Remote host closed the connection]
dude12312414 has joined #osdev
Izem has joined #osdev
h4zel has joined #osdev
dennis95 has quit [Quit: Leaving]
mahmutov has joined #osdev
mctpyt has quit [Ping timeout: 245 seconds]
h4zel has quit [Ping timeout: 252 seconds]
jimbzy has joined #osdev
Izem has quit [Ping timeout: 252 seconds]
h4zel has joined #osdev
jimbzy has quit [Read error: Connection reset by peer]
Izem has joined #osdev
Izem has quit [Client Quit]
Oli has joined #osdev
h4zel has quit [Quit: WeeChat 3.0.1]
AssKoala has joined #osdev
gxt has quit [Ping timeout: 276 seconds]
gxt has joined #osdev
Elbeeo has joined #osdev
Vercas has quit [Ping timeout: 276 seconds]
gxt has quit [Ping timeout: 276 seconds]
dude12312414 has quit [Ping timeout: 276 seconds]
AssKoala has quit [Ping timeout: 240 seconds]
gxt has joined #osdev
Vercas has joined #osdev
dude12312414 has joined #osdev
Elbeeo is now known as AssKoala
kkd has quit [Quit: ZNC 1.8.1 - https://znc.in]
Elbeeo has joined #osdev
heat has joined #osdev
AssKoala has quit [Ping timeout: 244 seconds]
srjek has quit [Ping timeout: 252 seconds]
Elbeeo has quit [Ping timeout: 244 seconds]
nvmd has quit [Quit: Later, nerds.]
rorx has quit [Ping timeout: 240 seconds]
mctpyt has joined #osdev
gateway2000 has joined #osdev
tacco has joined #osdev
rorx has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
mctpyt has quit [Ping timeout: 244 seconds]
dutch has quit [Quit: WeeChat 3.2]
pretty_dumm_guy has quit [Quit: WeeChat 3.2]
mctpyt has joined #osdev
gxt has quit [Ping timeout: 276 seconds]
gxt has joined #osdev
dutch has joined #osdev
Amanieu has quit [Ping timeout: 272 seconds]
GeDaMo has quit [Quit: Leaving.]
heat has quit [Ping timeout: 244 seconds]
tacco has quit []
ahalaney has quit [Quit: Leaving]
srjek has joined #osdev
gateway2000 has quit [Quit: Leaving]
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
h4zel has joined #osdev
heat has joined #osdev
gateway2000 has joined #osdev
gog has quit []
gog has joined #osdev
freakazoid12345 has quit [Ping timeout: 252 seconds]