infosec.pub

possiblylinux127, to linuxmemes in Cmake me!

I’ll just use make

Uriah, to linuxmemes in Cmake me!

I’m growing fond of xmake.

Simple language, simple buildscripts.

riodoro1,

And everyone checking out your code is like „what the fuck is this?”.

Uriah,

But it works and the language is well known!

Join the dark side; there are dozens of us!

ace, to linuxmemes in Cmake me!
@ace@lemmy.ananace.dev avatar

People love to complain about CMake, often with valid complaints as well. But it - to this day - remains the only build system where I’ll actually trust a project when they say they are cross-platform.

Being the Windows maintainer for OpenMW, it used to be absolute hell back a decade and half ago when an indirect dependency changed - and used something like SCons or Premake while claiming to be “cross-platform”, used to be that I had to write my own build solutions for Windows since it was all hardcoded against Linux paths and libraries.

CMake might not be the coolest, most hip, build system, but it delivers on actually letting you build your software regardless of platform. So it remains my go-to for whenever I need to actually build something that’s supposed to be used.
For personal things I still often hack together a couple of Makefiles though, it’s just a lot faster to do.

rostby,

Wasn’t WSL supposed to solve this problem

ace,
@ace@lemmy.ananace.dev avatar

Not really, WSL seems like it was mainly supposed to stop people leaping ship to be able to develop Node without the horribly painful Windows JS experience. And wouldn’t you know it, Microsoft has been making their own JavaScript language in Typescript.

uis,
@uis@lemmy.world avatar

CMake and meson aren’t build systems, they are generators. If you want to use Ninja, just add -G Ninja.

AMDIsOurLord,

Cross platform

(*As long as your platform isn’t shite)

riodoro1, to linuxmemes in Cmake me!

CMake has been around forever and is flexible enough to build really complex software. You just need to pull out enough hair when you want it to do something.

pewgar_seemsimandroid, to linuxmemes in Cmake me!

i thought this was a fortnight meme XD

uis, to linuxmemes in Cmake me!
@uis@lemmy.world avatar

Why you compile build system with build file generators?

lolcatnip,

If you’re compiling something huge like Chrome, having a separate compilation stage for the build files makes sense. For a normal sized project it’s overkill.

uis,
@uis@lemmy.world avatar

Meson does the same…

SeeMinusMinus, to linuxmemes in It's OK if you cry
@SeeMinusMinus@lemmy.world avatar

Just wait for the nvidia drivers lol

KISSmyOS,

I haven’t had any recent issue with those either. Just make sure both the nvidia driver and the kernel are from your distros repository, and you always update them both at the same time.

SeeMinusMinus,
@SeeMinusMinus@lemmy.world avatar

My new laptop has a nvidia card in it. One time it stopped working after a update so I downgraded the drivers so I can wait entail the next update they do work. Besides that it have worked great. I am on fedora so rpmfusion is where the drivers are from.

AVincentInSpace, (edited ) to linuxmemes in It's OK if you cry

Those have gotten a lot better in recent years. Last time I had an issue with WiFi drivers was in 2016.

Graphics drivers, on the other hand, especially Optimus…

9point6,

Some of us are still recovering from the trauma

state_electrician,

I sometimes still think about the time I was trying to print in 1996.

rostby,

Iwlwifi firmware-a0-gf has not been detected… 😔

remotelove, (edited )
@remotelove@lemmy.ca avatar

I never have. Just thinking about WiFi and Bluetooth drivers on random laptops still puts me into a full flashback state. (My first experience was back in 2002, I think?)

However, getting all of that stuff working was the best learning experience I ever had. At the time, I was just learning about IT security and WiFi pcap was all the rage back then.

0x4E4F,

I never have. Just thinking about WiFi and Bluetooth drivers on random laptops still puts me into a full flashback state. (My first experience was back in 2002, I think?)

https://infosec.pub/pictrs/image/9c44f85c-31dc-4ce4-8696-ffbb3b7b82d3.webm

quantumantics,

Same, flashbacks to being in college trying to get Wi-Fi working in Fedora on my laptop and then struggling to get it to work with my uni’s new Wi-Fi system. Frustrating, but a great learning experience as you said.

Vqhm,

Even a decade ago it usually meant ticking a box that you also allowed nonfree drivers.

Even Debian allowed you to download the specific nonfree driver you needed and add it (without Internet) at imaging so post install you could connect with wifi and not just Ethernet.

It’s come a long way. But doesn’t anyone else remember when windows did not have drivers and you’d constantly be confronted with “have disk”?

I mean, the amount of drivers for old hardware I still have saved… Because before win10 nothing would reliability always fetch the driver you need from the net…

bjorney,

Ticking the non-free driver box was child’s play. As late as like 2012 I remember needing to download NDISwrapper so I could make the windows drivers work through a compatibility layer

KISSmyOS,

Oh god, why did you have to trigger that memory???

be_excellent_to_each_other,
@be_excellent_to_each_other@kbin.social avatar

I mean, if you buy broadcom you reap what you sow. And 2012 was 11 years ago. ;-)

bjorney,

When I bought my laptop i was using windows and didn’t research Linux compatibility :(

And yup. A decade ago was when Linux turned a corner on the wifi driver front, 11 years ago was hell

be_excellent_to_each_other,
@be_excellent_to_each_other@kbin.social avatar

When I bought my laptop i was using windows and didn’t research Linux compatibility :(

I apologize for my general grumpiness this morning. Totally reasonable. :-)

And yup. A decade ago was when Linux turned a corner on the wifi driver front, 11 years ago was hell

I lol'd. :-)

Cenzorrll,

I recall jaunty jackalope being the Ubuntu version that became my full time os. It was that version that my IBM x31 had everything taken care of on install with the third party drivers checked. I feel like the LTS version following that was where you could buy a generation previous of any hardware and it’d work without much fuss.

DannyBoy,

This reminds me of the big USB drive of drivers that we had at a PC repair shop. When Windows 7 failed to find drivers, we’d stick that in and give it a scan.

AtariDump,

I remember that, but for Xp. Downloading a “driver pack”, pointing windows at the root of the folder, and praying.

SorryQuick,

The nvidia driver has had this bug for a year now, still unfixed. Games will randomly crash with an Xid 109 error in dmesg. Some people (including myself) are unable to play games like Cyberpunk, Resident Evil 2-3-4-7-8 and Metro Exodus. And it’s not linked to proton either, it sometimes also crashes xorg itself, forcing a reboot. I’m starting to think nvidia will never bother fixing it.

LemmysMum,

3% desktop marketshare, it’s stop to pick up money, not go out of your way money.

KSPAtlas,
@KSPAtlas@sopuli.xyz avatar

I just had to deal with nvidia breaking xwayland and making it unusable with an update

ryannathans, to linuxmemes in It's OK if you cry

If you think that’s bad, try wifi on FreeBSD

KISSmyOS,

I’ve read that the only way to get usable speeds is to set your wifi device up inside a linux container.

MigratingtoLemmy,

set your wifi device up inside a linux container

Could you tell me how I could do that? I don’t think FreeBSD jails support anything other than the linux compatibility layer

KISSmyOS, (edited )
MigratingtoLemmy,

At least I found someone who likes Yorushika!

Cut her some slack, she’s barely 21. At 21 I was a nugget of dung when it came to technicalities like this

ryannathans, (edited )

Or to get anything past wifi 4, or to use 5ghz

It’s bullshit because there are many products on the market running freebsd with great wifi (PlayStation as one example)

0x4E4F,

Just goes to show you that permissive licenses are generally not a good thing 🤷.

ryannathans,

Meh, I still generally prefer them. Not like everyone would be able to use the PlayStation wifi hardware anyway

0x4E4F,

Each to his own ☺️ 🤷.

possiblylinux127,

Wait, what’s past 5Ghz

seaQueue, to linuxmemes in It's OK if you cry
@seaQueue@lemmy.world avatar

Jesus Christ OP use trigger warnings

CowsLookLikeMaps,

Broadcom
shudders

seaQueue,
@seaQueue@lemmy.world avatar

Broadcom looks good next to Realtek, and both of them stand head and shoulders above Mediatek.

0x4E4F,

🤣🤣🤣

possiblylinux127,

WiFi be like that

KISSmyOS, to linuxmemes in It's OK if you cry

You should switch to rolling release memes, yours are outdated.

cyanarchy,

Have some respect for the classics

Moobythegoldensock, (edited )

Please get this bad boy working well on rolling release, then:

gitlab.com/TuxThePenguin0/bes2600

KISSmyOS, (edited )

This isn’t a Linux compatibility issue. You bought a device where the manufacturer told you in advance that a driver for the built-in wifi module doesn’t exist yet. It’s a product at the development stage.

So just follow the manufacturer’s recommendation from the product page: use a wifi dongle for now and pat yourself on the back for being an early adopter.

Moobythegoldensock, (edited )

Having the device, I already tether the wifi. But it is indeed a compatibility issue: the old kernel drivers for the chip were janky and it’s doubtful how well they even worked the time. The code is apparently such a hot mess that the people who were working on it have stopped making progress. There is now skepticism that it will ever be fully functional.

0x4E4F,

Yeah, you’re too young to remember the glory days 😂.

KISSmyOS,

I’m old enough but it’s not the case anymore.

maiskanzler, to linuxmemes in It's OK if you cry

Gotta love notebooks and their weird and rarely wonderful Wifi-Chips attached via SDIO. Even the intel cards can have problems!

kautau,

Now we’re in the realm of weird sound drivers from integrated chipsets. Thankfully sof-firmware exists

ilovesatan, to linuxmemes in It's OK if you cry
@ilovesatan@lemmy.world avatar

Am I the only person who doesn’t have WiFi problems?

be_excellent_to_each_other,
@be_excellent_to_each_other@kbin.social avatar

I don't think I have for more than a decade and I'm kinda amazed at how many upvotes this meme got.

Montagge,
@Montagge@kbin.social avatar

The one I had was completely minor. The wifi on my NUC doesn't work if you use the proprietary driver but it does work with whatever the kernel for Mint 21.2 has in it.

seaQueue,
@seaQueue@lemmy.world avatar

It’s not so bad if you’re running a major distro kernel and they do some prerelease testing before cutting new kernel packages. But if you’re using the latest release from the kernel.org stable tree WiFi driver regressions happen somewhat regularly.

be_excellent_to_each_other,
@be_excellent_to_each_other@kbin.social avatar

Ah, a very common use case.

folkrav,

Why tho

chaogomu,

10-15 years ago, it was a problem dire enough to drive me back to windows until about the start of the pando, and I've not even thought about Wi-Fi drivers since coming back to Linux.

I did have issues with a cheap USB Wi-Fi dongle thing a few years back, but that was likely the fault of the dongle more than anything else, I know because it didn't really work under widows either.

possiblylinux127, (edited ) to linuxmemes in It's OK if you cry

The good news: Broadcom got out of the labtop industry

Bad news: Broadcom is in the phone industry

0x4E4F,

Really? They don’t do Wi-Fi and BT chips any more?

possiblylinux127,

I think they still do some but its rare to find a Broadcom device

CowsLookLikeMaps, (edited ) to linuxmemes in It's OK if you cry

If you want some irony, on a recent Ubuntu install I was able to access WiFi out of the box but the small windoze dual boot partition refused to connect to a WiFi 6 router. Tried upgrading driver, downgrading drivers, nothing… The computer came shipped with windows 10.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 22550552 bytes) in /var/www/kbin/kbin/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 174

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10502144 bytes) in /var/www/kbin/kbin/vendor/symfony/error-handler/Resources/views/logs.html.php on line 36