by askonomm · 3y ago · 0 comments
Why? The hardware people at companies like NVIDIA or Apple already have to write detailed documentation for their stuff anyway so that the software people can do their side.
Assuming they do a good enough job at writing documentation and testing their hardware, it should not be a problem for Linux developers to write appropriate drivers. Hell there are a very few select people able to write high quality drivers even with zero documentation (see Asahi Linux).
The only ones in trouble would be the vendors of crap SoCs who ship extremely buggy hardware and make up for the lack of QA in software quirks instead.
2. Good documentation and testing is probably not as common as you think.
3. It takes a huge amount of effort to write high quality drivers by reverse engineering. The thing about Asahi Linux is that the hardware does not have many variants, but there are a lot more different hardware for PCs.
They can also open source their testing bench code. The only ones who have to be afraid are those who don't care about quality. "Sunlight is the best disinfectant" also applies here - I'd really like to be able as a consumer to choose the product that demonstrates the better engineering!
> 2. Good documentation and testing is probably not as common as you think.
Oh, I'm aware of that, and the consequences of that are becoming more and more dire as electronic waste from defunct companies or unsupported and unsecure devices piles up, together with hacked IoT devices causing mayhem on the wide Internet in botnets.
It's high time for that to stop.
> 3. It takes a huge amount of effort to write high quality drivers by reverse engineering. The thing about Asahi Linux is that the hardware does not have many variants, but there are a lot more different hardware for PCs.
So what? Ordinary PC hardware at its core still conforms to decades old standards that can be used as a fallback. Given a sufficient supply of beers, coffee and pizza, every CS student worth their money can throw up a basic graphical OS that runs on any mainstream (i.e. non-embedded) x86 system. Input, output (video, serial, audio, keyboard, mice, accessories) and storage all have standardized interfaces - the only thing that does not is networking.
There is no reason at all to say that the ARM world can't standardize on basic components or at least interfaces. Apple can - their UART implementation, according to rumors, dates back to the early iPod/iPhone days, while Samsung has something like five or six completely different implementation, and Mediatek and all the other SoC vendors run their completely own stuff.
Not to mention that documentation != the actual behavior of the card. both nvidia and AMD release a ton of day-one driver fixes for new games being released that provide stability and sometimes double-digit performance gains over a pre-patched driver. The only way this works in a disintegrated ecosystem is if game devs become pros at creating driver bug workarounds.
They already are, they have to because that is the reality on mobile games. IIRC the devs of Real Racing (or another Android car race game) made a blog post on that.
How are those Android updates working out compared to iPhones?
Way way too long, but to be fair a huge part of the issue are carriers and their insistence to pack the phones full of bloatware that needs to be tested against each update.
> and Windows manufacturers to take advantage of the latest OS features?
Windows device manufacturers tend to do what Microsoft demands of them.
> How are those Android updates working out compared to iPhones?
Samsung is fairly decent, although I'd be happier if they'd ... consolidate their lineup a bit and instead offer longer availability for spare parts.
Google’s first party phones don’t have third party bloat ware and still have a piss poor history of updates
>The only ones in trouble would be the vendors of crap SoCs who ship extremely buggy hardware and make up for the lack of QA in software quirks instead.
I.e. the every single vendor currently on the market...
I agree with you, no system (particularly not something as complex as an entire SoC) is free of bugs.
> I.e. the every single vendor currently on the market...
And yet, we have Apple, whose hardware quality alone is good enough for a dedicated team to reverse engineer and write drivers for, with almost zero documentation available.
The problem, as I expanded below, is the complete lack of competition in the SoC space. Everyone gets away with mediocrity because the largest players in town (Apple and Samsung) refuse to sell their chips to externals. The result is that the mobile ecosystem as a whole suffers, because that is what happens in markets where entities get too large.
Apple own software is pretty janky, my current MacBook cannot bring up GPU after sleep about once a month and needs a reboot to begin drawing GUI correctly again, used to be dying completely waking up before it was fixed couple OS updates back. My previous MacBook could not stay on WiFi for more than a couple hours straight, never had been fixed.
Also, reversing an existing working driver is different from writing a driver from scratch. In one case you just need to repeat the functionality, produce the same outputs for the same inputs, the quality of hardware is orthogonal here since it's already worked around in the existing driver. It's orders of magnitude easier than writing the thing from scratch.
I am guessing that AirDrop, Sidecar, etc have absolutely nothing to do with hardware-software integration, and have ≥ Layer 3 implementations. KDE Connect and Microsoft My Phone are competitors.
How to make this work in practice is a really interesting question. Community and employee representatives on the board would be a good start. But I think just having the requirement that open specifications be made available, and writing that into legislation, would be great.
Maybe.
> Case in point
But this does not really support your statement no? What you described seems to me SW only functionality no? And if in requires any special HW (BT? I have no idea how it works under the hood), why does it need tight integration? I do not see a technical reason why Android and Windows could not provide the same feature out of the box, despite neither the Google nor Microsoft making the HW.
> Non-obvious is a requirement for patent protection that literally means your invention is not obvious to someone who is in the same industry. A new invention needs to be unexpected or surprising and cannot be anticipated by looking at the existing technology or prior art.
https://userbase.kde.org/KDEConnect
Also gsconnect can provide integration with gnome.
https://extensions.gnome.org/extension/1319/gsconnect/
KDE Connect is a project that enables all your devices to communicate with each other. Here are a few things KDE Connect can do:
Receive your phone notifications on your desktop computer and reply to messages
Control music playing on your desktop from your phone
Use your phone as a remote control for your desktop
Run predefined commands on your PC from connected devices. See the list of example commands for more details.
Check your phones battery level from the desktop
Ring your phone to help finding it
Share files and links between devices
Browse your phone from the desktop
Control the desktop's volume from the phone
Also you can read and reply to messages on your Android phone by navigating to messages.google.com without installing anythingFirefox and I presume chrome let you push tabs from one machine to the other or with forefox simply pull up a list of tabs currently open on the other device.
Unified remote also gives you a great remote for our multimedia pc.
Basically every email service abd chat app has good integration between desktop and phone.
Mpd and mafa lets me easily listen to my music
Calibre and calibre companion let's me easily sync my books
I doubt one person making these things would make them better
Apple's clipboard/handoff/continuity automatically works as long as the devices are within wifi/bluetooth range.
It doesn't seem to be enabled by default though. I'm not totally familiar with the situation, but I'd assume it's a problem with multi-device handling and switching to the best backend. For most people/situations, the Wifi Direct option will be faster and lower-latency.
Circumstantially, yes. I am a KDE user though, on GNOME you do have to install a little app for it.
How else would it work across different devices? Apple devices can not connect to e.g. Android devices without a 'special program and configuration' nor can they do so with Linux or Windows or whatever other devices.
> Also, KDE Connect needs both devices to be in the same network - which is not needed for Apple devices
KDE Connect and other similar tools work fine over a VPN which is the preferred solution for such setups. You can choose which VPN you want to use, OpenVPN and Wireguard are two popular choices. Here again that VPN can be used to connect disparate devices - Linux, Windows, Android, Apple-things, whatever. Apple devices only talk to other Apple devices which is far more restrictive.
If you are a happy camper in the walled garden then things are good for you. I prefer the freedom of camping in the wild even if that means I may have to build my own fire and cook my own food since it enables me to go where I please without being held back by that wall and without having to pay the ferryman. To each his own I guess?
I was talking about Mac and iPhone having seamless integration - something I have not noticed of any other ecosystem. I have not been able to share clipboards with an android and a PC (Win and Linux) without installing an app, or doing some other hacky things. The integration, while possible, doesn't exist by default. It's not seamless. It doesn't _just work_.
> KDE Connect and other similar tools work fine over a VPN
I don't want to use a VPN? I want to use my regular home wifi or phone network, like a normal person.
moreover, apple's software is generally very buggy.
Just copying them on the iPhone and pasting them on the mac is super convenient.