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
raphaelsc has quit [Remote host closed the connection]
obrien has quit [Remote host closed the connection]
m3a has joined #osdev
Arthuria has joined #osdev
hwpplayer1 has quit [Remote host closed the connection]
karenw has joined #osdev
<bslsk06> ​www.felixcloutier.com: MOVNTI — Store Doubleword Using Non-Temporal Hint
<the_oz> that instruction I suspect is why
<the_oz> it has a memory fence
<the_oz> or no?
<vin> https://stackoverflow.com/questions/79176041/ I got a different response from Peter Cordes the_oz
<bslsk06> ​stackoverflow.com: assembly - Understanding Memory Controller RPQ/WPQ ordering guarantees for loads and ntstores - Stack Overflow
<the_oz> I'm still trying to find writers
<the_oz> if all you do is read...
<the_oz> Ok I see now
<the_oz> Yeah I'm definitely not an expert
<the_oz> but my guess is the architecture has some implicit fencing on the ordering
<the_oz> x86 only
<the_oz> not on the NT load, but before or after
<the_oz> I'd really wonder why CAS isn't used
randm has quit [Remote host closed the connection]
randm has joined #osdev
eddof13 has joined #osdev
heat has quit [Ping timeout: 248 seconds]
karenw has quit [Ping timeout: 252 seconds]
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
troseman has quit [Quit: troseman]
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpa1 has joined #osdev
eddof13 has quit [Quit: eddof13]
Dead_Bush_Sanpa1 is now known as Dead_Bush_Sanpai
eddof13 has joined #osdev
eddof13 has quit [Client Quit]
leon has quit [Ping timeout: 255 seconds]
leon has joined #osdev
nadja has quit [Ping timeout: 248 seconds]
nadja has joined #osdev
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chibill has quit [Quit: ZNC 1.9.0+deb2build3 - https://znc.in]
chibill has joined #osdev
ZipCPU has quit [Ping timeout: 272 seconds]
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
Arthuria has quit [Ping timeout: 260 seconds]
steelswords94 has quit [Read error: Connection reset by peer]
steelswords94 has joined #osdev
Stary has quit [Quit: ZNC - http://znc.in]
CompanionCube has quit [Quit: ZNC - http://znc.in]
Stary has joined #osdev
CompanionCube has joined #osdev
vdamewood has joined #osdev
housemate has quit [Ping timeout: 252 seconds]
Dead_Bush_Sanpai has quit [Ping timeout: 255 seconds]
goliath has joined #osdev
netbsduser` has joined #osdev
Dead_Bush_Sanpai has joined #osdev
stolen has joined #osdev
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #osdev
netbsduser` has quit [Ping timeout: 255 seconds]
gog has quit [Quit: byee]
housemate has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
PublicWiFi has quit [Ping timeout: 246 seconds]
PublicWiFi has joined #osdev
heat has joined #osdev
karenw has joined #osdev
housemate has quit [Quit: "I saw it in a tiktok video and thought that it was the most smartest answer ever." ~ AnonOps Radio [some time some place] | I AM THE DERIVATIVE I AM GOING TANGENT TO THE CURVE!]
karenw has quit [Ping timeout: 260 seconds]
karenw has joined #osdev
heat_ has joined #osdev
theruran has quit [Quit: Connection closed for inactivity]
heat has quit [Ping timeout: 245 seconds]
housemate has joined #osdev
stolen has quit [Quit: Connection closed for inactivity]
housemate has quit [Quit: "I saw it in a tiktok video and thought that it was the most smartest answer ever." ~ AnonOps Radio [some time some place] | I AM THE DERIVATIVE I AM GOING TANGENT TO THE CURVE!]
benlyn has joined #osdev
leon has quit [Quit: see you later, alligator]
leon has joined #osdev
Left_Turn has joined #osdev
heat has joined #osdev
heat_ has quit [Read error: Connection reset by peer]
GeDaMo has joined #osdev
Left_Turn has quit [Read error: Connection reset by peer]
Left_Turn has joined #osdev
agent314 has joined #osdev
karenw has quit [Ping timeout: 276 seconds]
stolen has joined #osdev
raphaelsc has joined #osdev
orccoin has joined #osdev
<orccoin> Hi,
<orccoin> I have two PC connected to one single monitor, the fedora PC is connected to DP port and the windows PC is connected to the HDMI port, the minitor is set in "left-right" PIP mode, the left to display signals from DP port and the right to display signals from HDMI port, which means the left half and the right half of the minitor are from different sources.
<orccoin> When I change the brightness of the windows PC, only the brightness of the right half changes, but when I change the brightness of the fedora PC (KDE -> Settings -> search Brightness), the brightness of the whole monitor changes, this is not what I want.
<orccoin> I only want the brightness of the left half of the minitor being changed, which I suppose is "per-GPU/per-OS/per-FB" adjustment, "per-monitor" adjustment requires display vendor specific API/ I suppose. Anyone familiar with this matter can point me to the source of how brightness of fedora is controlled exactly?
<clever> orccoin: i think what windows is doing, is just applying a shader to the image before it dumps it out HDMI, so the image the monitor receives is darker
<clever> but i suspect fedora is using DDC (a protocol over the edid lines), to request that the monitor adjust the actual backlight brightness
<orccoin> yes, but any reference in the source code?
heat_ has joined #osdev
heat has quit [Read error: Connection reset by peer]
<vdamewood> orccoin: Are you using X or wayland?
craigo has joined #osdev
spareproject has joined #osdev
vai has joined #osdev
ZipCPU has joined #osdev
edr has joined #osdev
q3lont has joined #osdev
<bslsk06> ​docs.kde.org: Power Management
<orccoin> shoud be related this https://github.com/KDE/powerdevil
<bslsk06> ​KDE/powerdevil - Manages the power consumption settings of a Plasma shell (12 forks/36 stargazers/NOASSERTION)
q3lont has quit [Quit: Leaving]
antranigv has quit [Ping timeout: 252 seconds]
antranigv has joined #osdev
stolen has quit [Quit: Connection closed for inactivity]
eddof13 has joined #osdev
DoubleJ has quit [Quit: Not all those who wander are lost]
DoubleJ has joined #osdev
heat has joined #osdev
heat_ has quit [Ping timeout: 252 seconds]
goliath has quit [Quit: SIGSEGV]
benlyn has quit [Ping timeout: 252 seconds]
the_oz has quit [Remote host closed the connection]
the_oz has joined #osdev
zetef has joined #osdev
zetef has quit [Read error: Connection reset by peer]
pjals has joined #osdev
eddof13 has quit [Quit: eddof13]
<pjals> Hello. I'm initializing my serial (first setting modem control to ready, then disabling interrupts, setting baud) but when I do the loopback check, QEMU refuses to believe the serial is in loopback mode even though PORT+4 = 0b10001, and I need to manually type the loopback test character back in. The weirdest thing is that I can type into the serial and the OS recognizes it (by polling), but when the OS
<pjals> writes into the serial, nothing appears.
<zid`> Time to throw up a log of your writes and then get me to find some serial docs to compare, I'd wager
<zid`> also are we certain qemu emulates the modem part?
<pjals> I'm not sure, but I'm desperately doing any handshake I can find to get the serial initialized. (since QEMU does support serial and linux can use QEMU's serial)
<zid`> quick browse suggests it works at least
eddof13 has joined #osdev
<pjals> Here's my code, the serial init part is aggressively documented out of desperation: https://paste.centos.org/view/c29f80c8
<bslsk06> ​paste.centos.org: thingamabober - Pastebin Service
Starfoxxes has quit [Ping timeout: 265 seconds]
<zid`> serial_outb(com, 3, 0b1000000); // Enable DLAB.
<zid`> is that enough 0s
<zid`> That appears to be 64 and you wanted 128, I believe
<zid`> (fuck binary constants)
zhiayang has quit [Quit: oof.]
<heat> do not use binary constants
<heat> like seriously, why would you
<heat> (1 << 7) is a trillion times more readable version of 1 with 7 0's
<zid`> and 0x80 is very recognisable as "top bit set in a byte"
<FireFly> or 0x80 tbh
<zid`> so literally everything else is better
<heat> actually, not everything
<heat> you could write it in octal
<zid`> octal is better if your bits line up right
<Ermine> 0x80 is not the top bit
<Ermine> 0xF0 is
<heat> what
<zid`> Incorrect
<zid`> F is 15
<Ermine> ah, yes
<heat> 0x80 is most definitely the top bit
<FireFly> that's the top nibble
<zid`> 15 is odd, therefore must have at least 2 bits set lol
<Ermine> my bad
<FireFly> or well a mask for the top nibble
<Ermine> sorry
eddof13 has quit [Quit: eddof13]
<heat> NO
<FireFly> 'sokay, happens
<heat> YOU HAVE BEEN BANNED FROM #OSDEV
<zid`> heat: Can we switch to megahex, I'm tired of typing 0xFFFFFFFF80000000
<heat> what's megahex?
<zid`> base64 pointers
<heat> sgtm
<pjals> Fixing the DLAB bit still does not fix it, and it still freezes at the same place (waiting for a response) :/ (also i will probably tone down the binary constants soon)
<zid`> pjals: I'd go through all your constants and make sure
<heat> tbqh i've reached a point where i can type 0xffffffff80000000 without counting
<zid`> I found a bug already, there's likely more
<zid`> heat: I still go 1234567811234567
<pjals> zid`: I assume (the bug is) related to constants?
<heat> maybe?
zhiayang has joined #osdev
<zid`> very probably
<zid`> also it's weird that you enable the uart as the *first* thing
<zid`> rather than last
<zid`> just generally
<heat> try -trace uart8250* or -trace serial* or -trace uart16650* or whatever they call it
<heat> or look through the qemu code, it's probably readable and will straight up tell you if they implement that or not
<zid`> given the osdev page example code uses it
<zid`> I assume it works in qemu
<zid`> idk if it still delivers interrupts, but they read back what they write after setting it to loopback
Starfoxxes has joined #osdev
<bslsk06> ​github.com: qemu/hw/char/serial.c at master · qemu/qemu · GitHub
<zid`> yea it just straight calls its own generic receive func
<heat> ok it seems you want to pass -trace serial* to qemu to get more debogging data
<zid`> recv() { if(loopbacks) send();
<heat> i don't do any of that shtick, i just use a c p i
<heat> these serial parts all have nice PNP strings you can use
<zid`> cock-parsley investigation
emntn has joined #osdev
<the_oz> 0b fuck heat
<heat> what
<the_oz> I was scrolled up ffs
<the_oz> binary constants because you hate it
eddof13 has joined #osdev
<the_oz> multiple bits at once
<jjuran> zid`: What are the two non-alnum characters in megahex? I'm guessing '_', and what else?
karenw has joined #osdev
<heat> the egyptian penis emoji, ofc
<heat> 𓂸
<pjals> The first is '\0' :P
<zid`> The canonical is =
<zid`> but that'd be awkward
<zid`> maybe we should use ¦ and ¬
goliath has joined #osdev
<zid`> The real question is what should the prefix be
<heat> i vote for 𓂸 and 💀
<zid`> 0sex?
<karenw> What did I log in to?
<zid`> karenw: heat's natural affiliation for penis emojis
<zid`> he brings them up as often as he can shoehorn it into a convo
<karenw> q p
<heat> what did bro log in to 💀
<the_oz> urlsafe drastically limits
<heat> the skull emoji might just be my favourite actually
<heat> forgor energy
<karenw> :white_flag::zwj::transgender: is the best emoji obviously
<zid`> what's a zwj
<Ermine> what did unicode people think of when adding that penis emoji?
<Matt|home> o\
<karenw> Zero width joiner. (The trans flag is 3 code points. So my client mangles it and I can't actually post it. It may work for your client: 🏳️‍⚧️)
<zid`> hah
<zid`> I get.. france flag, prince with tits icon
<zid`> Oh it's a skin tone modifier but for a flag?
<zid`> That's a clever way of doing it
<heat> Ermine, egyptian hieroglyph
xenos1984 has quit [Ping timeout: 248 seconds]
xenos1984 has joined #osdev
Arthuria has joined #osdev
gog has joined #osdev
Matt|home has quit [Read error: Connection reset by peer]
theruran has joined #osdev
\Test_User has quit [Quit: e]
\Test_User has joined #osdev
antranigv_ has joined #osdev
antranigv has quit [Ping timeout: 265 seconds]
spareproject has quit [Remote host closed the connection]
karenw has quit [Ping timeout: 248 seconds]
pjals has quit [Quit: Lost terminal]
xenos1984 has quit [Ping timeout: 252 seconds]
eddof13 has quit [Quit: eddof13]
eddof13 has joined #osdev
benlyn has joined #osdev
xenos1984 has joined #osdev
<zid`> heat what's arroz con maiz in pt
<heat> idk
<zid`> just translate it word for word?
<sortie> compressed rice with compressed maise?
<zid`> or did you forget pt :o
<zid`> and where on earth did sortie get 'compressed' from, and an 's' in maize
<sortie> z for deflate
<zid`> oh god
<zid`> sortie: That one deserves you do some nomitive determinism
<heat> what's maiz?
<zid`> maize
<zid`> shockingly
<heat> arroz = arroz
<heat> con = com
<heat> maiz = whatever that is in portuguese
<zid`> milho
<heat> ok there you go
<heat> arroz com milho
<zid`> heat: arroz com milho for dinner, B+
<kof673> re: min wikipedia is not worse than anything else, which is a very low bar buried under the ocean, but you must ruthlessly cross-reference. https://0x0.st/s/pIctf6NYXPuKa9z4S6qNrA/XkKB.txt
netbsduser` has joined #osdev
cow321 has quit [Ping timeout: 276 seconds]
cow321 has joined #osdev
agent314 has quit [Ping timeout: 264 seconds]
agent314 has joined #osdev
Matt|home has joined #osdev
obrien has joined #osdev
tjf has quit [Quit: l8r]
tjf has joined #osdev
orccoin has quit [Ping timeout: 252 seconds]
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpa1 has joined #osdev
_ngn has quit [Remote host closed the connection]
_ngn has joined #osdev
Dead_Bush_Sanpa1 is now known as Dead_Bush_Sanpai
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
obrien has quit [Remote host closed the connection]
netbsduser` has quit [Ping timeout: 260 seconds]
vinleod has joined #osdev
vdamewood has quit [Ping timeout: 276 seconds]
kof673 has quit [Ping timeout: 240 seconds]
eddof13 has quit [Quit: eddof13]
housemate has joined #osdev
benlyn has quit [Ping timeout: 252 seconds]
Dead_Bush_Sanpa1 has joined #osdev
Dead_Bush_Sanpai has quit [Ping timeout: 245 seconds]
Dead_Bush_Sanpa1 is now known as Dead_Bush_Sanpai
kpel has joined #osdev
kpel has left #osdev [#osdev]
kof673 has joined #osdev
foudfou_ has joined #osdev
foudfou has quit [Ping timeout: 260 seconds]
goliath has quit [Quit: SIGSEGV]
eddof13 has joined #osdev
eddof13 has quit [Quit: eddof13]
eddof13 has joined #osdev
agent314 has quit [Ping timeout: 276 seconds]