Monthly Archive:: December 2019

The trials and tribulations of UI scaling on Linux

A little over a month ago I wrote about an issue I was having in Linux, where playing a video would cause processor usage to skyrocket, and hence, increase the heat output considerably, causing the fans in my laptop to spin up loudly. This behaviour was Linux-specific, as it didn’t happen when using the same laptop in Windows. I experienced the problem on KDE Neon and the latest KDE release and on Linux Mint running Cinnamon. After publication of the article, and at the suggestion of lakerssuperman2, I tried the latest release of Ubuntu running GNOME, but there, too, I experienced the problem. Many other readers were quite helpful in trying to get the problem fixed – or at least diagnosed – but I wasn’t getting anywhere. Until just-me pointed something out: I have the same laptop. I watch YouTube daily and don’t remember the fans ever kicking in for that. But I just noticed that you have the 4K screen (my model has the FHD screen – by choice) – so that might explain the difference. This turned out to be an interesting avenue of investigation. I had considered the resolution of my display as a possible culprit before, but disregarded it since I couldn’t imagine the difference between 1080p and 4K having any meaningful impact. After some fiddling with my settings, however, I concluded that while the resolution indeed was not the problem – something related to it was: user interface scaling. As soon as I turned off 200% scaling and set it to 100% – making the user interface near-unusably small in the process – the problem disappeared entirely. Finally, after years of fighting this problem, I seemed to have nailed the cause, with the help of the OSNews readership (thank you!). I couldn’t believe it looked like it was something as simple as UI scaling. Of course, running 4K at 100% scaling on a 13″ display is not exactly ideal, so I set to experiment with different combinations of resolutions and scaling factors to pinpoint if certain combinations were more or less problematic than others. Running a quick command to enable fractional scaling (gsettings set org.gnome.mutter experimental-features "") to give me access to 125%, 150%, and 175% scaling factors, I discovered that setting the factor to anything but 100% would cause the problem. I eventually settled on a decent middle ground of 2048×1152 at 100% scaling, with the UI fonts set to 11. Of course, this doesn’t make optimal use of a 4K display, but things look great and crisp, correctly sized, and completely usable. But most importantly, temperatures and processor usage is now effectively on par with Windows. This means that there is an issue somewhere with how scaling seems to be implemented in either X.org, the Intel driver, the Mutter/Kwin window managers, or any combination thereof. Since both Mutter and Kwin seem to have the problem, my gut feeling is that there’s an issue somewhere in the Intel driver or in how the driver interacts with X.org (as a side note, I tried running Ubuntu with Wayland and GNOME, but performance as a whole seemed problematic there). Ever since, I’ve been running Linux on my XPS 13 without any issues, the fans never even turn on, temperatures remain well within expected values, and I have no more issues playing videos. Thanks to you, OSNews readers, I’ve been able to solve – or at least, circumvent – an issue that has been frustrating me for a long, long time.

The ultimate Acorn Archimedes talk

This talk will cover everything about the Acorn Archimedes, a British computer first released in 1987 and (slightly) famous for being the genesis of the original ARM processor. The audience will get an appreciation for the Arc’s elegant design, the mid-1980s birth of RISC processors, and the humble origins of the now-omnipresent ARM architecture. The weather’s frightful, the fire’s delightful, there’s no place to go, so here’s an hour long technical talk about the Acorn Archimedes by Matt Evans.

The Multicians web site

The Multicians web site presents the story of the Multics operating system for people interested in the system’s history, especially Multicians. The site’s goals are to: • preserve the technical ideas and advances of Multics so others don’t need to reinvent them. • record the history of Multics, its builders, and its users before we all forget. • give credit where it’s due for important innovations. • remember some good times and good people. A great initiative, and a treasure trove of information about MULTICS, the mainfraime timesharing operating system that arguably influenced every single operating system we use today.

Android 11 may finally remove Android’s 4GB file size limit for video recordings

In 2019, smartphone brands have made huge jumps in camera quality, especially when it comes to zoom and low-light. On the other hand, video quality hasn’t been given the same amount of attention. That could change in 2020 with the Qualcomm Snapdragon 865’s improved ISP. Yet, even as Android smartphones are shipping with larger internal storage capacities, have faster modems, and are now supporting 5G networks, an old limitation prevents most of these phones from saving video files that are larger than 4GB in size. However, that could change in Android 11, the next major version of Android that’s set to release in 2020. The reason the limit existed in the first place is far more interesting than its removal – it’s a classic case of “ should be enough for everyone” that’s now been annoying people who record a lot of video on Android for years.

OpenBSD system-call-origin verification

A new mechanism to help thwart return-oriented programming (ROP) and similar attacks has recently been added to the OpenBSD kernel. It will block system calls that are not made via the C library (libc) system-call wrappers. Instead of being able to string together some “gadgets” that make a system call directly, an attacker would need to be able to call the wrapper, which is normally at a randomized location. I understood some of these words.

Microsoft might separate shell experience from Windows CoreOS to deliver faster updates

Now, Walking Cat has uncovered a change in the latest Fast Ring build that indicates a shift in the way new features are delivered to the users. Microsoft recently published a new app on the Microsoft Store called the “Windows Feature Experience Pack”. The app looks like a dummy at the moment but it does coincide with a small change made to the About section of the Settings app. The About section now shows Windows Feature Experience Pack under Windows Specifications. The version number is entirely different from the OS Build number which currently is 19536.1000. According to Walking Cat, this indicates a shift in the way shell features are delivered to the users. It looks like Microsoft might deliver shell experiences separately in the future. This is one of the unicorns Microsoft seems to have been chasing for a very, very lone time. The ability to more easily update core parts of the operating system without interrupting users, and outside of large operating system updates, has been improving with every single major release – from XP to today – but Microsoft is still a long way off. In fairness to Microsoft, Apple is still tying things like Safari to operating system updates in both iOS and macOS, and Google is also slowly but surely untangling Android to bypass OEMs and carriers to deliver updates faster. This is an industry-wide trend.

The Cape Cod disaster

Here’s a motherboard Intel very quickly wanted to forget about. It’s the Intel CC820—or Cape Cod—desktop board, a product that was late to market (not unusual) and within a few months, the subject of a recall (quite unusual). As the CC820 designation suggests, the board was built on the ill-fated Intel 820 ‘Camino’ chipset. Fascinating story.

Sailfish OS 3.2.1 released

We’ve included many reliability improvements in Nuuksio especially targeting Email, Calendar synchronisation and VPN settings. In addition to reliability improvements, the Email app now has enhanced support for handling HTML formatted messages. Audio routing for Android apps has been improved on Android app support 8.1, fixing issues with applications such as WhatsApp calls and Youtube. The operating system now supports hardware MPEG2, VP9 and h.265/HEVC video decoding (the exact support depends on the device). The detailed release notes are also available.

Twelve million phones, one dataset, zero privacy

Every minute of every day, everywhere on the planet, dozens of companies — largely unregulated, little scrutinized — are logging the movements of tens of millions of people with mobile phones and storing the information in gigantic data files. The Times Privacy Project obtained one such file, by far the largest and most sensitive ever to be reviewed by journalists. It holds more than 50 billion location pings from the phones of more than 12 million Americans as they moved through several major cities, including Washington, New York, San Francisco and Los Angeles. Each piece of information in this file represents the precise location of a single smartphone over a period of several months in 2016 and 2017. The data was provided to Times Opinion by sources who asked to remain anonymous because they were not authorized to share it and could face severe penalties for doing so. The sources of the information said they had grown alarmed about how it might be abused and urgently wanted to inform the public and lawmakers. We all know this is happening, yet there’s very little we can do about it – save for living far away in the woods, disconnected from everything. There’s cameras everywhere, anything with any sort of wireless connection – from smartphone to dumbphone – is tracked at the carrier level, and even our lightbulbs are ‘smart’ these days. Yet, despite knowing this is happening, it’s still eye-opening to see it in such detail as discovered by The New York Times.

Facebook creates its own Operating System from scratch

Linking to The Verge, because the original report is stuck behind a paywall: Facebook is developing its own operating system that could one day reduce the company’s reliance on Google’s Android, according to a new report by The Information. Development is currently being led by Mark Lucovsky, a Microsoft veteran who co-authored the Windows NT operating system. The report provides a limited amount of information about how the new operating system could be used, but it notes that both Facebook’s Oculus and Portal devices currently run on a modified version of Android. According to one of Facebook’s AR and VR heads, Ficus Kirkpatrick, “it’s possible” that Facebook’s future hardware won’t need to rely on Google’s software, which would reduce or remove entirely the control Google has over Facebook’s hardware. Nope. Nope. Nope. Nope. Nope.

Amazon, Apple, Google, Zigbee Alliance and board members form working group to develop open standard for smart home devices

Amazon, Apple, Google, and the Zigbee Alliance today announced a new working group that plans to develop and promote the adoption of a new, royalty-free connectivity standard to increase compatibility among smart home products, with security as a fundamental design tenet. Zigbee Alliance board member companies such as IKEA, Legrand, NXP Semiconductors, Resideo, Samsung SmartThings, Schneider Electric, Signify (formerly Philips Lighting), Silicon Labs, Somfy, and Wulian are also onboard to join the working group and contribute to the project. This really was about damn time. I’d love to add more smart devices to our home, but the varying standards and questionable security has always made me think twice. A royalty-free, secure, and interoperable standard that everyone can use and adhere to sounds like music to my ears.

Undocumented Catalina file access change

It’s well known that if you drag a file from Finder and drop it into Terminal, the full path of the file will output in Terminal. The same behavior occurs with copy and paste too. This has always been a very convenient but innocuous operation… until macOS 10.15 Catalina. I’ve discovered that on Catalina, pasting a file from Finder not only outputs the file path in Terminal, it also invisibly and permanently grants Terminal access to the file, bypassing any macOS privacy protections! This is such a weird bug… Or feature?

The internet’s name regulator says it’s ‘uncomfortable’ with the .org deal

Remember when the organization in charge of .org domain names traditionally used by non-profits decided to sell itself to a for-profit company? It surprised everyone because up to that point, there was little indication that the Internet Society (ISOC) was shopping the Public Interest Registry (PIR) for sale. Among those surprised, it appears, was ICANN, the organization that oversees the internet’s top-level domains, which now says it is “uncomfortable” with the lack of transparency around the deal and wants ISOC to pump the brakes. “ICANN’s role is to ensure that the .org top-level domain remains secure, reliable, and stable under the proposed acquisition of Public Interest Registry (PIR) by Ethos Capital,” Göran Marby, ICANN President and CEO, said in a statement to The Verge. “We also urge transparency, which is why we sent the 9 December correspondence to PIR and the Internet Society (ISOC).” This whole saga is a stark reminder that the internet and world wide web are mostly under corporate control, in a thick and complicated web of government agencies and private interests.

CP/NC: control program for Amstrad NC100 notepad computers

CP/NC is a CP/M-compatible operating system for the Amstrad NC100 Notepad Computer. It is based on Russell Marks’ ZCN operating system, but focuses more on CP/M compatibility and makes the computer “feel” more like an old-fashioned CP/M box. While ZCN is a rather playful system that adopts lots of features and external programs from DOS and Unix, CP/NC goes back to the roots: you will find a rather minimal CCP and the usual external commands, such as DUMP, PIP, STAT, and SYSGEN. CP/NC also changes the layout of the LCD console from 120×10 characters to a more readable 80×8. Here is a summary of what CP/NC is and is not as well as a list of differences between CP/NC and ZCN. This is such an oddly specific operating system.

Catalina 10.15.2 has changed Gatekeeper’s dialogs to confuse notarization status

If you’ve updated to macOS Catalina 10.15.2 and installed any notarized apps since, you might have noticed that something has gone missing. Do you remember that dialog shown by Gatekeeper when you first open a notarized app, telling you that “Apple checked it for malicious software and none was detected”? Well, that sentence has now vanished. Instead, that dialog now looks very similar to the pre-Catalina dialog for non-notarized apps. I had to read this post twice to fully comprehend what was going on, but once you get it – and most of you will get it without multiple reads because you’re not stupid like me – it’s an interesting look at how seemingly subtle changes in security dialogs – especially undocumented changes – can actually have very serious consequences if you take them at face-value.

Wireless networking in DOS

My need was seemingly simple: I set up an old ThinkPad 760XL (166 MHz Pentium MMX) running DOS for my son to play 1990s games on, especially but not exclusively Sierra and LucasArts adventures; for that purpose, the laptop is quite suitable, it has a decent ESS sound chip and a CD-ROM. Moving data to the laptop on a CF card with a PCMCIA adapter is not difficult, but it gets old; it would be really handy to have the laptop on the network, accessing the home NAS via either SMB or NFS. The laptop is of course old enough that it has no built-in Ethernet or WiFi, although it has two PCMCIA/CardBus (at least I believe they’re also functional as CardBus) slots. But the laptop is portable, and it’s in a corner of the house where there’s no Ethernet socket nearby. So WiFi would be really great. But is it even possible to get a DOS laptop on a WiFi network in 2019? The short answer is “yes, but”. The long answer follows. That link points to part 1 – part 2 has also been published. Setting up modern wireless networking on older devices or operating systems can be a major stumbling block – there’s not only hardware and its support to consider, but also things like encryption and support for modern wireless security standards. Many of the devices in my Palm OS and PocketPC collection, for instance, have wireless support, but will often lack support for WPA2. Often, the only viable solution is to create a pretty much open guest network, which is not something I’m a big fan of. I’m glad I’m not into MS-DOS like the author is, because I certainly wouldn’t want to tussle with this problem.

Teams is now available on Linux as Microsoft’s first Office Linux app

Starting today, Microsoft Teams is available for Linux users in public preview, enabling high quality collaboration experiences for the open source community at work and in educational institutions. Users can download the native Linux packages in .deb and .rpm formats here. We are constantly improving based on community feedback, so please download and submit feedback based on your experience. The Microsoft Teams client is the first Microsoft 365 app that is coming to Linux desktops, and will support all of Teams’ core capabilities. Teams is the hub for teamwork that brings together chat, video meetings, calling, and collaboration on Office 365 documents and business processes within a single, integrated experience. I genuinely hope this is the harbinger of the rest of Microsoft Office also finding its way to Linux natively. LibreOffice is workable in a pinch, but for proper compatibility nothing beats the real Office (sadly). I wouldn’t be surprised if Microsoft has long had Linux versions of Word, Excel, PowerPoint, and so on, much like how Mac OS X has been running on Intel all along before Apple made the switch.

Google warns Turkish partners over new Android phones amid dispute

Google has told its Turkish business partners it will not be able to work with them on new Android phones to be released in Turkey, after the Turkish competition board ruled that changes Google made to its contracts were not acceptable. Totalitarian governments are increasingly using their subjects’ smartphones as tools for exerting their totalitarian control. Don’t be surprised if the Turkish government will soon mandate Turkish-made software on smartphones sold in the country, just like Russia mandated not too long ago.