this post was submitted on 02 Dec 2023
1365 points (94.1% liked)

linuxmemes

21410 readers
1267 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

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
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] [email protected] 27 points 11 months ago (2 children)

    Extremely outdated, but would still work with fingerprint sensors or NFC readers

    [–] [email protected] 11 points 11 months ago (4 children)

    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.

    [–] [email protected] 4 points 11 months ago

    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.

    [–] [email protected] 3 points 11 months ago* (last edited 11 months ago) (3 children)

    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.

    [–] [email protected] 2 points 11 months ago* (last edited 11 months ago) (1 children)

    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...

    [–] [email protected] 1 points 11 months ago* (last edited 11 months ago) (1 children)

    I can absolutely confirm it’s still valid for Realtek. I had one using the RTL8812AU chipset

    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:

    which left me without the internet I need

    USB tethering your WiFi-connected phone would have worked as stop gap just as well. I had to do that a lot.

    [–] [email protected] 1 points 11 months ago (1 children)

    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.

    [–] [email protected] 2 points 11 months ago

    USB tethering should look on the PC just like plugging an Ethernet cable.

    [–] [email protected] 1 points 11 months ago (1 children)

    In my cause it was actually a newer type of Realtek chip. 😞

    [–] [email protected] 2 points 11 months ago (2 children)

    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.

    [–] [email protected] 1 points 11 months ago (1 children)

    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 :/

    [–] [email protected] 2 points 11 months ago (1 children)

    Does Intel sell wifi cards that use USB rather than PCI slots?

    AFAIK the problem is that the chip itself was only developed with the PCI protocol in mind.

    [–] [email protected] 1 points 11 months ago

    I see, that is a shame...

    [–] [email protected] 1 points 11 months ago (1 children)

    It was the driver, now that support is provided by the kernel it is rock-solid.

    [–] [email protected] 1 points 11 months ago

    Realtek upstreamed their drivers in 2020 or 2021. I got rid of my last notebook with Realtek hardware for unrelated reasons.

    [–] [email protected] 1 points 11 months ago

    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)

    [–] [email protected] 2 points 11 months ago (1 children)

    If it is not in the kernel and the manufacturer doesn’t provide one, don’t expect fun times.

    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.

    [–] [email protected] 1 points 11 months ago* (last edited 11 months ago)

    This could be shorted to if your device has no driver it wont work which is obviously true.

    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.

    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.

    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.

    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.

    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.

    [–] [email protected] 1 points 11 months ago

    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.

    [–] [email protected] 4 points 11 months ago (1 children)

    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

    [–] [email protected] 1 points 11 months ago

    What display manager do you use? I have not been able to get Howdy to work without also typing my password with SDDM