5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
PBO seems to result in some wild power spikes that don't ever happen with manual static OC. Try raising various overcurrent limits, that worked for me.
comment 5y ago · link · parent
https://www.kernel.org/doc/html/latest/driver-api/surface_ag...
https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git/...
Well at least it is HID inside I guess.
Meanwhile Apple used a custom simple protocol over SPI for the Broadwell-Kaby Lake generations (and now Apple Silicon), but the few "T2" generations went back to USB… over some truly cursed custom T2 USB host controller https://github.com/MCMrARM/mbp2018-bridge-drv (WTF)
---
Also many Surface devices used awful Marvell Wi-Fi :/ At least the "Laptop 3" generation switched to Intel on Intel models and Qualcomm (seems like ath10k) on AMD ones.
comment 5y ago · link · parent
Also, I've fixed the framebuffer thing, you no longer have to disable it!!
(Not everybody even had to ever do it. The issue was that we did not disable our simple framebuffer when the driver expected it (our Linux compat layer would only try to kill other Linux framebuffers) so our framebuffer would literally just overwrite device memory that the driver was using to initialize all the GPU firmware. On my Vega card, this would only happen at 1440p/4K. With smaller EFI framebuffer resolution, the memory would luckily not overlap :D)
comment 5y ago · link · parent
upd: oh also in the HPC world, Fujitsu with the A64FX seems to be like the best thing ever now
comment 5y ago · link · parent
No, fractional is handled by applications just rendering at 2x and getting downscaled to 1.5x or whatever.
Yeah, the "Windows" way looks sharper on fractional, but the "Apple" downscaling is easier to handle and it looks fine – there were iPhones that did everything like that.
> DDX drivers can make use of vendor specific 2D acceleration
Ah, I remember Intel's various native 2D accelerations (UXA, SNA) – each with its own unique horrific bugs (artifacts all over the screen, all text turning into junk), all eventually sorta deprecated in favor of glamor (OpenGL) with the generic modesetting driver.
There's not much to 2D accelerate with modern applications that all do their own rendering. Compositing acceleration is possible in a vendor-agnostic way via KMS planes and we'll have that in wlroots.
> Ever used OS X on those? They are barely usable because of severe lag and stuttering.
I have an iBook G4 :) Leopard runs perfectly smoothly. Yeah, the very first generation of hardware when OS X was just introduced wasn't ready. The next one was.
comment 5y ago · link · parent
Intel and AMD, the arch-rivals they are, coexist and collaborate on the kernel stack and Mesa. Even embedded companies join in (see Broadcom hiring Eric Anholt to make V3D a thing for the RPi4, even Qualcomm vaguely supporting Freedreno and Arm starting to show some kind of interest in Panfrost IIRC). Microsoft is in for virtualization and GL-on-D3D.
None of these vendors "owe anybody anything" yet they've joined the party. Turns out sharing is beneficial for everyone.
comment 5y ago · link · parent
comment 5y ago · link · parent
Only the "Windows" kind of scaling where the app works in non-scaled, real pixels and does everything by itself. Not the "Apple" kind of scaling that Wayland supports, where you have logical pixels backed by 2x/3x/… the physical pixels. (Like many things Apple does, this was invented for good reasons. Positioning a window to be on both a 1x and a 2x monitor just works with that kind of scaling, without the app ever having to consider the displays it touches.)
> Solved since ages. Just enable Tearfree in your Xorg.conf.
That's a driver-specific hack that kinda maybe works sometimes. Sometimes you need to juggle compositor options combined with that and nothing works anyway.
> X11 runs even on 386's and beats Wayland in every performance metric, especially latency.
Any composited X11 desktop is slower than a Wayland one, with the Xorg server acting as a bloated IPC broker in between the compositor and the client.
Yeah, you can get really low latency if you just don't composite at all. Go back to Windows 95 if you think that's acceptable :)
> X11 is capable of using hardware layers that has the effect that you can smoothly move your mouse even on heavy load and OOM events. Wayland still completely craps out in that regard.
I'm sure pretty much all production Wayland compositors use the cursor layer. wlroots for sure does. (But I don't think it's a big deal under heavy load, there the problem is the display server even processing the mouse events at all first.)
Weston goes further and can use HW layers for actual surface compositing when possible. wlroots is going to gain that power soon-ish with libliftoff.
> The wrong philosophy ("every frame is perfect")
Again, feel free to use Windows 95.
For anyone used to current commercial desktop and mobile UIs, any imperfect frames are unacceptable, artifacts like tearing make your system look like a complete joke. Apple computers didn't show imperfect frames since the early early 2000s PowerPC era. Not matching that is a complete shame.
comment 5y ago · link · parent
Upd: well, that problem doesn't seem to be fixed there, still no constraints are set on the kde/5.15 branch
comment 5y ago · link · parent
But seriously, the "competition" between these compositors is awesome. This is like web standards again. Testing your client across different compositors reveals bugs (either in them, or in your client) and everything evolves together in standard ways. With the single Xorg server, everything got completely ossified, if anyone wanted to rewrite a full "production ready" X11 server they'd have to be bug-compatible with Xorg.
comment 5y ago · link · parent
https://bugreports.qt.io/browse/QTBUG-87303
https://bugreports.qt.io/browse/QTBUG-87332
If KDE patches actually make menus work okay, that's great. I've been wondering how KDE deals with the bugginess of the wayland QPA, turns out the answer's simple and not KDE-exclusive, nice.
upd: seems like no popup constraint adjustment is set on the kde/5.15 branch. Hopefully there are other improvements though…
comment 5y ago · link · parent
For regular people, it seems that voice is a somewhat important interface these days. "Ok google remind me to buy toilet paper" and so on. And honestly… isn't that already better than implanted magic in some ways? People (who can) naturally communicate with other people using voice, not telepathy.
comment 5y ago · link · parent
https://github.com/unrelentingtech/es-module-devserver
which is a tiny middleware that uses regexps to accomplish the task instead of dragging in a JS parser :)
comment 5y ago · link · parent
comment 5y ago · link · parent
Not many device trees written yet (really only Sony devices) though
comment 5y ago · link · parent
https://chromium.googlesource.com/chromiumos/third_party/hdc...
(but that's with a special cable)
comment 5y ago · link · parent
The unfortunate thing is that Thunderbolt was created, and instead of a simple way to make PCIe external, we have this Intel-created mess that tunnels PCIe over some cursed "MPLS-like network" or whatever it is. And it was completely Intel-proprietary until recently. At least now the spec is open.