Top
Best
New

Posted by transpute 15 hours ago

QNX Self-Hosted Developer Desktop(devblog.qnx.com)
190 points | 100 commentspage 2
lukeh 10 hours ago|
Oddly Swift appears to support QNX but there’s not much information about it.

https://github.com/swiftlang/swift-testing/issues/868

harhargange 9 hours ago|
Does this mean QNX supports at least some of the Apple software?
f1shy 8 hours ago|||
Not at all. Swift is just a programming language.
lukeh 9 hours ago|||
Hard to say. May be related to CarPlay.
zerr 6 hours ago||
Is GTK their go to GUI toolkit nowadays? (mentioned in the examples)
JohnAtQNX 1 hour ago|
GTK support for sure, but also Qt, Godot, and others. Commercially, also support for Unity & Unreal.
supermatt 6 hours ago||
If you want to fall for the QNX bait and switch a 3rd time, more fool you.
qznc 4 hours ago||
They don't promise anything "Open Source" here.
samiv 5 hours ago||
Can you elaborate on this?
roryirvine 4 hours ago||
They've moved back and forth between being partially source-available and fully closed source at least twice. It's a similar story with usage licenses, with hobbyist and non-commercial access variously being granted and then pulled away multiple times.

On at least one occasion, the license was changed overnight leaving a large enthusiast community in the lurch.

Given the history, there's every reason to suspect that there'll be yet more rug-pulls in the future.

noAnswer 2 hours ago||
They also had a desktop version you could install at home before.
written-beyond 9 hours ago||
PREEMPT_RT, Toyota's IVI shell for flutter and the AGL efforts has made qnx compete again
bregma 4 hours ago|
It's not a hard-running race. PREEMPT_RT is soft realtime and if you rely on it for your brakes you're going to crash. AGL has not yet produced any kind of usable system that can be certified for functional safety under ISO 26262 or IEC 61508. Just a core kernel with no drivers.

We run into a lot of OEMs who switch to Linux because of AGL and come crawling back to QNX many expensive months later to start over with a viable solution so they can deliver.

inamberclad 10 hours ago||
Wow, this could be quite useful for poking at the head unit in my car. It's also running QNX.
harhargange 9 hours ago|
I hope you don’t end up diagnosing issues on the highway.
itvision 7 hours ago||
What compositor is being used?
JohnAtQNX 1 hour ago|
Hiya! It's Weston. Here's the port: https://github.com/qnx-ports/build-files/tree/main/ports/wes...
itvision 1 hour ago||
Thank you!
tombert 12 hours ago||
I've only ever used QNX in the form of Blackberry products (mostly the Playbook), so I am afraid I don't what the advantages of it would be compared to Linux or something.

I know it's a microkernel which is inherently cool to me, but I don't know what else it buys you.

Can anyone here give me a high-level overview of why QNX is cool?

jacquesm 8 hours ago||
Hard real time (so latency guarantees), microkernel (and they actually mean it, so your device drivers can't hose your system), standardized networked IPC including network transparency for all services, ISRs at the application level.
m132 7 hours ago||
>IPC including network transparency

Sadly not anymore, Qnet was removed in 8.0

jacquesm 6 hours ago||
Oh! I only worked with it commercially prior to that so I never got the memo. What an insanely stupid move. That was one of their USPs.

In general QnX was commercially mismanaged and technically excellent. I'm imagining a world where they clued in early on that an open source real time OS would have run circles around the rest of the offerings and they'd have cleaned up on commercial licensing. Since the 80's they've steadily lost mind and marketshare though I suspect they'll always be around in some form.

JohnAtQNX 1 hour ago||
There's been talk about this on Reddit too, where our chief architect of QNX 8 broke down the decision. He mentioned it was ultimately a tough decision, but that in the end the cons outweighed the pros.
jacquesm 59 minutes ago||
Such decisions should always involve the customers. A chief architect that knocks one of the foundation stones out from under a building isn't doing the bureau they work for any favors.
cyberax 11 hours ago||
QNX is hard realtime. At one point, its kernel had O(1) guarantees for message passing and process switching. It could have been rewritten without any loops. I'm not sure if that's still true.

It's also really compact. This used to be a great selling point for underpowered car infotainment systems. Some cars had around 1Mb of RAM for their infotainment, yet they were able to run fairly complex media systems.

QNX is also used for non-UI components, just as a good realtime OS.

jacquesm 56 minutes ago||
I think it is mostly used for non-UI stuff. I could be wrong but outside of car infotainment I've never seen it used for UI stuff. Mostly it just sits headless quietly running some branch of industry that we all depend on. The joke used to be that if QnX had a y2k bug that had been missed civilization would end and never mind windows because you won't have any water, food, energy or transportation anymore.
ngcc_hk 13 hours ago||
Totally miss this.
LargoLasskhyfv 14 hours ago||
We'll see if it reaches bare metal some time, instead of relying on QEMU(on Ubuntu).

In theory I'd be tempted to try, in practice not, because of all the back and forth between changing owners in the past, and resulting policies regarding availability.

I'm also very well served by some 'gaming distro', where nothing ever stutters or lags, on almost obsolete hardware, mostly clocked down to 800Mhz, with uptimes of up to 150 days. More isn't really useful anyways, because of updates.

But hey, Wayland! On QNX! With XFCE on top of that! Who would have thought?

What about photonic Plasma instead of some Generic ToolKit?

yjftsjthsd-h 13 hours ago||
> We'll see if it reaches bare metal some time, instead of relying on QEMU(on Ubuntu).

They do list "A native Desktop image on Raspberry Pi" under What's Next, so hopefully soon:)

> In theory I'd be tempted to try, in practice not, because of all the back and forth between changing owners in the past, and resulting policies regarding availability.

Yeah, that gives me pause too. There was some noise earlier about open sourcing it; I do wish they'd actually do that.

bregma 4 hours ago|||
> We'll see if it reaches bare metal some time, instead of relying on QEMU

You can already get a free license for QNX and grab a BSP (board support package) to create a bare metal image. You have been able to for quite a while. People who understand how a computer works, what a device driver is and how and when to use one, are not the target for this demo. It's targeted at the people who think the user interface is the software and the desktop GUI is the operating system.

LargoLasskhyfv 3 hours ago||
Yah, I know that. But the licensing swings aside, I've just thought 'are you on crack?' because of the Eclipse on Windows cross- compiling thing, which they've done when I last looked.

And stopped.

wmf 13 hours ago|||
QNX is running on bare metal in a lot of cars.
cbsks 12 hours ago|||
It’s also running virtualized in a lot of cars! Although I’ve seen more and more US car companies switching from QNX to Linux. Chinese car companies I’ve worked with all use Linux instead of QNX, so perhaps that is the future.
m132 6 hours ago|||
Out of curiosity, do you mean Linux on bare metal, or Linux on top of QVM?

The latter is actually a common setup, used by Mercedes-Benz and Hangsheng if I'm not mistaken.

cbsks 14 minutes ago||
Linux on top of a hypervisor. There are several companies providing hypervisors, including the one I work at, so my experience is biased.
xvilka 7 hours ago||||
Linux now supports real time too, even mainline. And there are open source RTOSes for smaller chips and critical applications like FreeRTOS.
jacquesm 8 hours ago|||
QnX is expensive for commercial use, that's most likely the driver for this.
speed_spread 12 hours ago|||
Bare metal! So, if you just give it enough time, it will run on Rust?
xvilka 11 hours ago||
Only if it's exposed to elements. Meanwhile Rust already works on QNX[1][2].

[1] https://www.qnx.com/developers/docs/8.0/com.qnx.doc.neutrino...

[2] https://doc.rust-lang.org/rustc/platform-support/nto-qnx.htm...

JohnAtQNX 1 hour ago|||
Bare metal is on the short-term roadmap!
m132 7 hours ago|||
QT is supported too, and actually upstream!

https://hackaday.com/2017/05/03/your-next-desktop-qnx/

Granted, this is not the full Plasma shell, but you can run a lot of KDE software on it just fine.

fud101 12 hours ago||
which 'gaming' distro is that out of curiousity?
LargoLasskhyfv 5 hours ago||
CachyOS.

Running on Core i5 7500t and Core i7 7700t with integrated intel HD630 graphics on Lenovo M910q tiny with 32GB RAM. Mostly clocked down to 800Mhz. Chosen path: systemd-boot, Btrfs, ZRAM, Plasma/KDE.

Edit:

I'm also not gaming btw, just heavy browser use, and some LibreOffice. So if you expect to get insane FPS in 4K(on old systems!), that probably wouldn't work. What does work is having (a heavily customized) FF working with uBo with usually 4 FF-windows open, and each of them at least several dozen tabs, almost always one of them playing some music from YT without a hitch. Doing other stuff on other virtual desktops (I run 3 by 3). 4K videos with mpv no problem. With VLC neither, but I deinstalled that because I don't need so much UI and features. Matter of taste. Shrug. Remoting by whichever means. Even experimenting with small local LLMs like Deepseek R1:8B via Ollama. Though that brings the systems to their limits, spinning up the fan hard, and going allcore 3.1GHz :-)

Feels like BBSsing in the days of analog modems :-)

(Because 'thinking' for minutes, and answers trickle in like text at 300 to 1200 baud, or so)

But still, while doing so, music from YT doodling on, even whith EasyEffects, no scratches, klicks, distortions, whatever.

System stays responsive, no matter if I'm shuffling files in Dolphin/Krusader, torturing LibreOffice Calc, reading some website, PDF, downloading something, be it via browser/Kget or Ktorrent, remote desking, conferencing...

It's all just flowing very smoothly.

Bliss.

Because it just works.

(On my hardware, which may change if you have to use other drivers for AMD, Nvidia, or later intel graphics. Or your firmware/UEFI is buggy/broken.)

Editoftheedit:

Oh! Did I mention suspend to RAM and wakeup is working perfectly? Every single time! The same goes for Wake on LAN, or netbooting.

(cackling madly)

upvotenow 14 hours ago|
[flagged]