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
cow321 has joined #osdev
Gooberpatrol66 has quit [Quit: Konversation terminated!]
Gooberpatrol66 has joined #osdev
pog has quit [Ping timeout: 272 seconds]
<the_oz_> Yeah you get it
<the_oz_> Was worried a bit that it wouldn't translate to text but there ya go.
heat_ has joined #osdev
heat has quit [Ping timeout: 246 seconds]
netbsduser has quit [Ping timeout: 252 seconds]
<Ermine> journald dumped core
heat_ has quit [Read error: Connection reset by peer]
heat_ has joined #osdev
nadja has quit [Ping timeout: 265 seconds]
nadja has joined #osdev
terrorjack4 has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack4 has joined #osdev
andydude has joined #osdev
Fingel has joined #osdev
neutronium has joined #osdev
neutronium has quit [Ping timeout: 246 seconds]
neutronium has joined #osdev
andydude has quit [Ping timeout: 252 seconds]
xenos1984 has quit [Ping timeout: 245 seconds]
Gooberpatrol_66 has joined #osdev
Gooberpatrol66 has quit [Ping timeout: 276 seconds]
op has joined #osdev
youcai has joined #osdev
Fingel has quit [Quit: Fingel]
Fingel has joined #osdev
Fingel has quit [Remote host closed the connection]
Fingel has joined #osdev
xenos1984 has joined #osdev
Fingel has quit [Quit: Fingel]
GeDaMo has joined #osdev
heat_ has quit [Ping timeout: 252 seconds]
emntn has quit [Quit: WeeChat 4.3.4]
emntn has joined #osdev
jeaye has quit [Ping timeout: 252 seconds]
jeaye has joined #osdev
jeaye has quit [Read error: Connection reset by peer]
jeaye has joined #osdev
elderK has joined #osdev
elderK has quit [Client Quit]
_ngn has quit [Ping timeout: 260 seconds]
xenos1984 has quit [Ping timeout: 264 seconds]
xenos1984 has joined #osdev
craigo has joined #osdev
xenos1984 has quit [Ping timeout: 246 seconds]
xenos1984 has joined #osdev
alXsei has joined #osdev
goliath has joined #osdev
sortie has quit [Ping timeout: 255 seconds]
neutronium has quit [Ping timeout: 265 seconds]
alXsei has quit [Quit: Leaving]
Left_Turn has joined #osdev
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 252 seconds]
op has quit [Remote host closed the connection]
<immibis> truthiness is even more powerful
aejsmith has quit [Quit: Lost terminal]
aejsmith has joined #osdev
pog has joined #osdev
Dead_Bush_Sanpai has quit [Ping timeout: 252 seconds]
netbsduser has joined #osdev
_ngn has joined #osdev
pog is now known as goggle
Dead_Bush_Sanpai has joined #osdev
heat_ has joined #osdev
sortie has joined #osdev
mavhq has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
xenos1984 has quit [Read error: Connection reset by peer]
mavhq has joined #osdev
mavhq has quit [Read error: Connection reset by peer]
xenos1984 has joined #osdev
andydude has joined #osdev
bencevans has quit [Ping timeout: 265 seconds]
jimbzy has joined #osdev
mavhq has joined #osdev
heat has joined #osdev
heat_ has quit [Read error: Connection reset by peer]
youcai has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
goggle is now known as pog
wrd has joined #osdev
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
FreeFull has quit []
andydude has quit [Quit: Leaving.]
FreeFull has joined #osdev
craigo has quit [Ping timeout: 276 seconds]
craigo has joined #osdev
andydude has joined #osdev
spare has joined #osdev
andydude has quit [Quit: Leaving.]
xenos1984 has quit [Read error: Connection reset by peer]
xenos1984 has joined #osdev
<netbsduser> i have started writing section 9 manpages for my kernel
<netbsduser> quite a good diversion
<netbsduser> mdoc language certainly takes some getting used to
X-Scale has joined #osdev
<heat> use groff not mdoc
<heat> BSD is lame
<Ermine> seems like morton's fork
<nikolar> What's section 9 for again
<Ermine> for kernal
<zid`> nikolapdp: The secret police in future japan
<bslsk05> ​github.com: Onyx/kernel/onyx.9 at master · heatd/Onyx · GitHub
<nikolar> zid`: kek
<nikolar> Ah is that a common thing Ermine
<netbsduser> heat: groff accepts the format
<netbsduser> possibly it was invented for groff, i'm not sure
andydude has joined #osdev
<heat> no
<Ermine> netbsduser: try scdoc
<heat> mdoc is mdoc, it's a BSD thing
<zid`> rip atsuko tanaka
<heat> groff and the linux manpages in general use the man macro package
<heat> groff can ofc understand mdoc, and vice-versa
<netbsduser> bsd-gnu divergence is a new thing, 4.4bsd was full of gnu stuff
<Ermine> zid`: what are you watching
<netbsduser> and the old man macros are just not going to do
<heat> new BSD is also still full of gnu stuff
spare has quit [Remote host closed the connection]
<nikolar> Oh that was recent zid`
<netbsduser> the last thing i need is to try to remember whether i use italic or bold for flags or arguments while in mdoc i just say "it's a flag"
<heat> in any case i hate writing manpages soooo
<heat> section 9 is even worse
<nikolar> That's why you have Ermine
<netbsduser> it looks like groff has been accepting mdoc since 1990 so that gives a little time for it to catch on, hopefully enough for me
<heat> hm?
<bslsk05> ​github.com: groff/macros/tmac.doc at 351da0dcdf702cf243d26ffa998961bce2aa8653 · dbarowy/groff · GitHub
<heat> oh maybe i'm confusing mdoc and mandoc
<heat> this shit is confusing yo
<netbsduser> mandoc is a new bsd tool, it was only invented in 2010 or so
<Ermine> how much of "i hate writing man pages" results from "i hate to write docs"?
<heat> a good chunk of it
<Ermine> not to blame, I'm too lazy to document stuff too
<heat> then the man page format unequivocally sucks
<heat> then the docs you write are out-of-line (not C comments) so they very easily go out of date
<netbsduser> the format is definitely an annoyance
<heat> even C comments have that problem
<Ermine> yeah
<netbsduser> i used docbook at one time which was tedious and unwriteable without an xml editor
<Ermine> did i mention that drm docs have outdated places
<netbsduser> markdown is a void, nothingness, while mdoc is thorough but nigh unreadable
<heat> freebsd section 9 manpages actively lie to you
<Ermine> nobody cares to update them i guess
<the_oz_> I could see that being a feature in like 9front
<the_oz_> >lead non-devs astray
<the_oz_> WAR!!!
<netbsduser> linux interestingly doesn't seem to do manpages about the kernel
<heat> yep
<heat> the sphinx docs are autogenerated from kerneldoc around the kernel
<Ermine> It has descriptions in Documentation/ subdir and it pulls in comment docs there
<Ermine> Random q: does PCI(-e) have any standartized means to do DMA?
<heat> wdym
_ngn has quit [Remote host closed the connection]
_ngn has joined #osdev
Gooberpatrol_66 has quit [Quit: Konversation terminated!]
Gooberpatrol_66 has joined #osdev
<pog> bus mastering
<heat> pog how about you master my bus
<pog> lewd
<zid`> ur mum mastered a bus, I saw her
xenos1984 has quit [Ping timeout: 252 seconds]
xenos1984 has joined #osdev
Fingel has joined #osdev
the_oz_ has quit [Ping timeout: 276 seconds]
xenos1984 has quit [Ping timeout: 252 seconds]
Gooberpatrol_66 has quit [Ping timeout: 260 seconds]
youcai has joined #osdev
xenos1984 has joined #osdev
<netbsduser> i have fond memories of sphynx
<netbsduser> maybe i should use it for the internals documentation as opposed to the use documentation
Gooberpatrol66 has joined #osdev
andydude has quit [Quit: Leaving.]
MiningMarsh has quit [Quit: ZNC 1.9.1 - https://znc.in]
MiningMarsh has joined #osdev
<vai> hi
FreeFull has quit [Quit: tmux update]
FreeFull has joined #osdev
neutronium has joined #osdev
<sortie> https://www-showapi-com.translate.goog/news/article/66f790814ddd79f11a37f05c?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=wapp ← osdev achievement unlocked: chinese blogs about your OS that starts out reasonable and then gets increasingly unhinged and something is terribly wrong and there's a whole alternate backstory that's better than the real story
<bslsk05> ​www-showapi-com.translate.goog: Sortix操作系统:Unix类系统的新秀-易源AI资讯 | 万维易源
<nikolar> Lol
<sortie> “Except for the necessary sleep time every day, he devotes almost all his energy to writing code.“
<GeDaMo> Roll out of bed onto the keyboard :P
<kof673> the detective is solving the case when they appear to be doing nothing. the os dever is solving the problems in their sleep.
_ngn has quit [Quit: WeeChat 4.4.2]
obrien has joined #osdev
elderK has joined #osdev
<netbsduser> sortie: best wishes for the plans to introduce containerisation and machine learning support, blockchain identity verification, and the upcoming partnerships with academia and industry
<netbsduser> sortix will become the toast of linkedin influencers
<sortie> netbsduser: I was honestly more scared of the NVDIA driver
neutronium has quit [Ping timeout: 265 seconds]
<nortti> do I misremember or didn't you have some ancient branch with an nvidia (modesetting) driver?
<zid`> mmmm toast
<sortie> nortti: That was ATI
<zid`> I'd like some toast please
<sortie> oh hey my node.js compilation, after upgrading to a fixed kernel, is actually compiling the .o objects that previously crashed g++
<heat> nvidia driver is probably not that hard to support after you have drm running
<heat> you just need to further pretend you're linux and load nvidia.ko, dun
<zid`> That'd be my plan
<Ermine> now that they went open source it's a bit easier
<zid`> They give you a small smattering of .c files to build as well
<zid`> to host THE BLOB
<heat> yeah that's nvidia-uvm
<nortti> the open source kernel driver still requires the proprietary runtime libraries, right?
<nortti> userspace-side, that is
<heat> yes
<nortti> wouldn't you need linux ABI support in userland for it then, too?
rlittl01 has joined #osdev
rlittl01 is now known as neutronium
<heat> uhh
<heat> probably not
<sortie> heat: I may literally be about to link v8 in a few minutes
<heat> like, i would bet nvidia userspace doesn't do syscalls directly
<Ermine> to use their libGL/etc you'd need to be binary compatible with linux and glibc
<heat> and libc.so will translate that just fine
<zid`> I figured it was all ioctls
<heat> no, you just need a binary compatible glibc
<zid`> drivers love ioctls
<heat> yes it's all ioctls
<sortie> posix_devctl for all your terribleness
<Ermine> though drm has read and poll
<heat> ok, ioctls and poll
<heat> and *maybe* some read()/write()
<Ermine> for events basically though
<heat> but it's mostly just spamming ioctls as usual
<Ermine> gem objects support mmapping
<Mondenkind> glibc abi is probably harder than linux kernel abi :s
<heat> not really
netbsduser has quit [Ping timeout: 248 seconds]
<heat> just... compile glibc
<Ermine> in a funny way: you use an ioctl to get an offset for the given gem object and then pass that offset to mmap
<heat> i know
<heat> but the point stands: it's all standard shit that's done through libc.so.6
<Ermine> my last message is not about glibc tho
<heat> yes, that's done by drm
netbsduser has joined #osdev
<Ermine> but actually, sortix is going to get modesetting?
<sortie> Ermine: The APIs are there but the drivers are not
<sortie> BGA has modesetting eg
<Ermine> woah
<sortie> I mean that was dead simple to implement, it only works in VMs tho
<sortie> Write a couple device registers with the resolution and then just use the framebuffer
<Ermine> on vms it's always simpler
<sortie> Step right up ladies and gentlement, place your bets, have I accidentally ported v8 / node.js
<heat> probably
vancz has quit []
tanto has quit [Quit: Adios]
pie_ has quit []
tanto has joined #osdev
vancz has joined #osdev
pie_ has joined #osdev
Arthuria has joined #osdev
zetef has joined #osdev
Oxymoron has joined #osdev
zetef has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Arthuria has quit [Ping timeout: 252 seconds]
marcopolo2 has joined #osdev
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
obrien has quit [Remote host closed the connection]
youcai has quit [Ping timeout: 248 seconds]
andydude has joined #osdev
goliath has quit [Quit: SIGSEGV]
aethlas has quit [Quit: bye]
youcai has joined #osdev
aethlas has joined #osdev
the_oz has joined #osdev
zetef has joined #osdev
zetef has quit [Client Quit]
neutronium has quit [Ping timeout: 248 seconds]
<sortie> neato my Sortix laptop boots to a root shell in 270 ms and to a graphical user-space interface with a terminal in 500 ms
<pog> can it run doom
<zid`> I can run doom
<sortie> pog: It has quake port :)
<pog> how do you run doom zid are you executing bytecode
<pog> oh yeah that's right
<Ermine> sortie: try to boot it on 486
<Ermine> btw, 86box can emulate that
<sortie> Ermine: That'd obviously be slower lol but we have booted on old pentiums previously
<Ermine> yes, but what numbers will you get?
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<sortie> Does it matter much? However fast the machine in question is
<Ermine> I'm curious about numbers
<sortie> It'd still be generally fast I'd say
<sortie> Most of the boot time is spent on IO or waiting on devices
elderK has quit [Quit: WeeChat 4.4.2]
<zid`> pog: I just read the source listing a line at a time and make decisions
<pog> how do you render
<pog> do you draw really really fast
<kof673> just print the graphics out into a flipbook, and then a robot arm flips through the graphics
* Ermine gives pog a piece of cheese
neutronium has joined #osdev
andydude has quit [Quit: Leaving.]
neutronium is now known as rli
rli is now known as neutronium
neutronium is now known as rli
rli is now known as rlitt01
rlitt01 is now known as neutronium
elderK has joined #osdev
* pog is fascinated
steelswords94 has quit [Read error: Connection reset by peer]
steelswords94 has joined #osdev
andydude has joined #osdev
neutronium has quit [Ping timeout: 265 seconds]
wrd has quit [Ping timeout: 252 seconds]
wrd has joined #osdev
blockhead has joined #osdev
neutronium has joined #osdev
Oxymoron has quit [Remote host closed the connection]
craigo has quit [Remote host closed the connection]
neutronium has quit [Ping timeout: 260 seconds]
neutronium has joined #osdev
wrd has quit [Ping timeout: 252 seconds]
andydude has quit [Quit: Leaving.]
neutronium has quit [Ping timeout: 248 seconds]
panpan has joined #osdev
heat has quit [Ping timeout: 260 seconds]
guideX has quit [Read error: Connection reset by peer]
guideX has joined #osdev
marcopolo2 has quit [Quit: Connection closed for inactivity]
jedesa has quit [Ping timeout: 265 seconds]
steelswords94 has quit [Read error: Connection reset by peer]
jedesa has joined #osdev
steelswords94 has joined #osdev