<sven>
or just set req->value > 1 if your binary starts with X i guess
<sven>
but that's quite a hack. X must've screwed up pretty badly :D
<ar>
dottedmag: wait, so xf86-video-modesetting has broken idea of atomic, and they decide to break atomic for everyone?
<dottedmag>
ar: For every binary with name starting with capital X
<sven>
nah, not everyone. only every process that starts with X! :-P
<sven>
but seriously, enabling a workaround depending on the process name kinda sounds like X messed up in truly horrible ways
<j_ey>
is that actually in the kernel?
<j_ey>
or is it april fools or something
<sven>
pretty sure it's in the kernel
<j_ey>
wow
<sven>
yeah. that's why I assume that X must've messed up pretty badly
kode54 has quit [Quit: Ping timeout (120 seconds)]
grange_c has quit [Quit: Ping timeout (120 seconds)]
kenzie has quit [Quit: Ping timeout (120 seconds)]
vx^ has quit [Quit: :)~]
blasty has quit [Remote host closed the connection]
nico_32 has quit [Remote host closed the connection]
akemin_dayo has quit [Ping timeout: 480 seconds]
Ziemas has quit [Remote host closed the connection]
nico_32 has joined #asahi-dev
blasty has joined #asahi-dev
vx^ has joined #asahi-dev
Ziemas has joined #asahi-dev
kode54 has joined #asahi-dev
grange_c has joined #asahi-dev
kenzie has joined #asahi-dev
akemin_dayo has joined #asahi-dev
<marcan>
amazing
<marcan>
this is windows driver process name hacks level
<mjg59>
Kind of amazed that got in, yeah
<j_ey>
linus must have missed it :P
<mjg59>
Not sure there's an actually better solution, though
<chadmed>
yeah doesnt linus have a thing about userspace stuff imposing itself on kernel decisions? seems like a pretty big thing for him to miss given that
<ar>
chadmed: "don't break userspace, ever"?
<chadmed>
well that but also the obverse. i remember him kicking up a massive stink about lennart trying to get kernel maintainers to change stuff to accommodate systemd's design decisions. maybe i am misremembering
<ar>
yeah, lennart tried to hijack "debug" kernel commandline argument
<JTL>
chadmed: I seem to remember that too?
<sven>
it sounds like this was just a terrible situation with no good solution. and i guess that hack was just the least bad solution in the end
<chadmed>
well i mean we could just all move to wayland and have cute puppies and no more war and hunger :P
<chadmed>
but the green gpus wont let us have those nice things
<kettenis>
off-topic, but boy it is amazing how Intel keeps pushing out broken hardware
<chadmed>
dhewg: thats filthy lmao. october 18 baby i say goodbye to amd64 forever
<chadmed>
(hopefully)
<kettenis>
there literally isn't any single clock that you can use on x86 systems that isn't broken on some systems
<kettenis>
I think ARM got it spot on with have the architecturally defined timer that includes a register that tells you the frequency it runs at
<kettenis>
(admittedly only with armv7 and later)
<chadmed>
the solution is simple. intel needs to add yet another clock source that is a tiny bit broken in some use cases but fixes the use cases in which the other clocks are broken. its all about "flexibility" after all!
<ar>
i'm reasonably happy with all my private x86 systems, but the only intel chips in them are NICs (wifi or wired) or thunderbolt controllers
<chadmed>
yeah ive been having this discussion with my mates. in the grand scheme of things this stuff doesnt _really_ affect the platform's usability. i type "emerge libreoffice" on both and get a working office suite. its not a matter of being unhappy with the performance of my x86 box, (for me) its more a growing dissatisfaction with the platform's design philosophy.
<kettenis>
well, AMD CPUs and chipsets have similar issues
<chadmed>
yeah wasnt too happy when i found out about the platform "security" processor...
<arnd>
kettenis: The hardware timer is supposed to be there on ARMV7VE (Cortex-A7/A15) or later, but there are enough examples of it being broken in certain SoCs, I don't think there is any hope of ARM being less of a trainwreck in this area than Intel
<kettenis>
arnd: well, so far, in my experience it is less of a trainwreck
<kettenis>
yes, there are hardware bugs, but in most cases they can be worked around
<kettenis>
although I suppose that when I'd try to do more aggressive power management, more bugs will pop up
<arnd>
Documentation/devicetree/bindings/timer/arm,arch_timer.yaml in Linux lists a number of errata for the timer. In most cases this ends up meaning that we can't use it from user space because it's unreliable
<arnd>
also, timer bugs are notoriously hard to find, because you can't rely on the timer to tell you when it goes wrong. One example is the Samsung Exynos, which has a timer that almost always has the correct values, but once in a blue moon produces nonsense
<arnd>
(I assume newer versions fixed it, this was exynos5 IIRC)
<arnd>
I'd also include the way that Apple hooks up the timer to the FIQ in this, regardless of whether this is technically compliant or not
<psykose>
timers must just be very hard for almost every vendor to have a bunch of broken timers
<psykose>
i don't think they intentionally want to consistently have a bunch of broken things every release
<dottedmag>
psydroid: I might be talking out of my ass here, because I really have no clue... But isn't it due to grafting new timer-changing features onto existing ISA? E.g. virtualization and power management change everything related to timers.
jbowen has joined #asahi-dev
<krbtgt>
it's all about implementation
yuyichao_ has quit [Ping timeout: 480 seconds]
el0y has joined #asahi-dev
yuyichao_ has joined #asahi-dev
bps has quit [Ping timeout: 480 seconds]
bps has joined #asahi-dev
bps has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi-dev
yuyichao_ has quit [Ping timeout: 480 seconds]
yuyichao_ has joined #asahi-dev
yuyichao has quit [Ping timeout: 480 seconds]
jbowen has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi-dev
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
yuyichao has joined #asahi-dev
yuyichao_ has quit [Ping timeout: 480 seconds]
yuyichao_ has joined #asahi-dev
yuyichao has quit [Ping timeout: 480 seconds]
bps has joined #asahi-dev
rgort10[m] has joined #asahi-dev
yuyichao has joined #asahi-dev
yuyichao_ has quit [Ping timeout: 480 seconds]
bps has quit [Ping timeout: 480 seconds]
yuyichao_ has joined #asahi-dev
erincandescent has quit [Remote host closed the connection]