this post was submitted on 02 Dec 2023
1318 points (94.2% liked)
linuxmemes
21280 readers
1143 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows.
- No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.
founded 1 year ago
MODERATORS
Extremely outdated, but would still work with fingerprint sensors or NFC readers
Absolutely not outdated. I had a horrible time getting my hands on a working driver for the WiFi card in my brand new laptop last year. Horrible enough to resort to Ubuntu and even that gave me the finger. When I finally had it working I had to manually rebuild the damned thing each kernel update because I couldn't convince DKMS to do it automatically. Had to wait two or three kernel releases for the card to be supported 'out of the box'.
So no, fuck WiFI drivers in Linux. If it is not in the kernel and the manufacturer doesn't provide one, don't expect fun times.
Situations like that aren’t very common these days. It usually happens when your hardware is very much new and drivers aren’t yet in the Linux kernel, or they are in the newest mainline, but your distro wont ship it for some more time. For that matter, it’s always bad when the kernel doesn’t have the drivers built in and it always requires dealing with DKMS or akmod whether it’s wifi, webcam, bluetooth or GPU (that’s why NVIDIA tends to be problematic on some systems).
That being said, the meme only works for anecdotal cases.
Outdated for ~~Linux~~ Intel, still valid for Broadcom, probably not so bad for somewhat recent Realtek and AMD/Mediatek (last I've read is that Mediatek WiFi hardware sucks in general and disconnects happen on Windows, so the same happening on Linux would be the fault of the Linux driver).
EDIT: Accidentally wrote Linux instead of Intel.
I can absolutely confirm it's still valid for Realtek. I had one using the RTL8812AU chipset that basically no kernel version nor distro provided out of the box, so I constantly had to download a third-party driver from Github and manually patch it via dkms, or use a third-party repository containing the driver package... and then the driver broke so badly that it wouldn't let me update at all unless I uninstalled it, which left me without the internet I needed to actually update, effectively leaving me unable to update until I could buy another one from Mediatek that's compatible.
And said Mediatek wifi is really slow, so I just went from the frying pan into the fire...
Yeah, and I was explicitly writing about recent chips. RTL8812AU isn't recent. The very latest Windows driver is from 2018, so the chip itself was released a good while before that.
I know exactly what you had to go through because I had to do the same with mine a couple of years ago but since then for newer chips Realtek started contributing to Linux itself:
USB tethering your WiFi-connected phone would have worked as stop gap just as well. I had to do that a lot.
Ahh I see, thanks for clarifying. It seems that where I live mostly only has the older Realtek chips for sale, so I likely mostly had bad luck.
I tried USB tethering, but it wouldn't work for some reason... I don't remember exactly what happened, but I think either the phone or my computer couldn't detect each other.
USB tethering should look on the PC just like plugging an Ethernet cable.
I installed linux on a new pc 2 days ago, had no problem with the wifi drivers. I don't know if it's the fact that the wifi is integrated on the motherboard, but it was up and running without any tweeking from me (unlike windows)
In my cause it was actually a newer type of Realtek chip. 😞
But was the cause the Linux driver or the hardware? If the fault is the hardware and the experience on Linux is the same as on Windows, it's feature parity.
If in doubt, get an Intel WiFi card. Even in otherwise not upgradeable notebooks those are usually not soldered on. Also whatever is in a Steam Deck OLED looks like a good pick.
Does Intel sell wifi cards that use USB rather than PCI slots? My motherboard doesn't have the slot for a wifi PCIe card, and I've only seen Intel sell those :/
AFAIK the problem is that the chip itself was only developed with the PCI protocol in mind.
I see, that is a shame...
It was the driver, now that support is provided by the kernel it is rock-solid.
Realtek upstreamed their drivers in 2020 or 2021. I got rid of my last notebook with Realtek hardware for unrelated reasons.
This could be shorted to if your device has no driver it wont work which is obviously true.
If you have very recent hardware and you find it doesn't work out of the box on stable options the easiest thing to do is install a more recent kernel. Even current Ubuntu non-LTS is 2-4 releases behind.
https://learnubuntu.com/install-mainline-kernel/ alternatively you can use a third party kernel repo which has a recent build with extras https://xanmod.org/ I'm using the second option.
It's even easier in arch/void where the latest kernel is already available.
Respectfully if DKMS wasn't automatically kicking in then you configured it incorrectly. It's a lot easier to just rely on a package that sets this up for you properly. If for some reason this can't be done the logical thing to do is script the process so that all operations are completed in the appropriate order that way you needn't remember to do one then the other.
What I tried to tell is that if you have to rely on community driver projects, don't expect fun times, at least not when it comes to Realtek in my recent experience.
I already had the latest available kernel at the time, as in: the very latest officially released kernel by kernel.org. Ubuntu was just a last-ditch effort as it will sometimes have drivers included that other distros might not have, normally I wouldn't touch it with a ten-feet pole and go either Arch or Manjaro. The driver simply wasn't included in the kernel. How do I know? Because I stumbled upon some discussions that mentioned the lack of support and 3 kernel releases later support for my card was specifically mentioned in the changelog.
Yes, like a Realtek-XXXX-dkms package, which simply didn't work. I've configured stuff for DKMS before, scripting stuff for Linux is part of my daily workload, so yeah, you don't need to tell me scripting beats doing stuff manually.
The fact that getting an f*cking wifi card to work takes this much effort is what I meant with 'not fun times' and for me validates the meme, anecdotal as it might be.
Resorting to other distros, configuring additional repos so you can install a different kernel version, having to try different community projects to see which gives you a working driver, having to deal with getting DKMS to work, this is all stuff which hampers Linux adoptment. And without more adoptment we won't have to expect more support from manufacturers for desktop related consumer hardware. So yeah, that does make me cry a bit. It's a catch-22 unfortunately.
I do occasionally fall for just buying shtuff without a quick google search to see if my kernel would be cool with it, but I have an even greater number of stories about good experiences with Windows shtuff driving me bonkers.
For example, the Brother ADS-1200 under WIndows beats anything SANE supported scanners can do hands down. Scan to PDF with excellent compression and top of the line OCR. The spousal unit needed a scanner and I found a good deal on an ADS-2100. Under Linux, scan results are totally comparable to the ADS-1200, so the hardware is fine. But the Windows software for this scanner is crap. JPEG and TIFF are identical to the Linux scans, but OCR and PDF compression are atrocious. I'm 100% sure that if I were to edit a table in the ADS-1200 software, it would happily apply the same excellent results to the ADS-2100. But I've had it with hacking Windows goop, been there, done that, got the t-shirt, so onto Craig's list the 2100 goes... Built in obsolescence, welcome to the Windows world.
With Linux, once the kernel accepts it, it's smooth sailign without too many vendor introduced hickups.
And even on Windows, if you need to use third party scan software like VueScan because your scanner happens to be older than your Windows. it'll work but it won't outperform SANE supported scanners.
I had a case where fingerprint sensor was working out of the box fortunately. Although I had a problem where cryptfs would stop authenticating successfully with fingerprint sensor after distro update
What display manager do you use? I have not been able to get Howdy to work without also typing my password with SDDM