Pop!_OS (Linux)
- A Blog to Satisfy Your Monthly COSMIC Fix(es)blog.system76.com A Blog to Satisfy Your Monthly COSMIC Fix(es)
Display mirroring, ARM support, and a long list of repairs for the new COSMIC desktop environment.
- COSMIC Project Collection
I created a GitHub repository to showcase COSMIC projects.
I included the projects I could find but if you have an project and want to include it, please open a pull request with your project added to the
applications.ron
orapplets.ron
file. - Pop Package Updates (Week of July 30, 2023)
Here is a summary of the Pop!_OS package updates for the week starting July 30, 2023.
Overview
This was a big week in updates with an updated linux kernel and mesa (ie. graphics stack). Besides this, we also saw upgrades to firefox and a number of developer tools such as GCC, Python, and docker.
July 31, 2023
Pop!_OS (265)
-
amd64-microcode: Update from
3.20220411.1
to3.20230719.1
- Fixes for CVE-2023-20593 "Zenbleed" on AMD Zen2 processors
-
keyboard-configurator: Update from
1.3.7~1689344951
to1.3.7~1690556019
- Fixes, adds
darp9
, switches internal data structure for consistent keymap ordering
- Fixes, adds
-
firefox: Update from
115.0
to115.0.3
- Miscellaneous fixes
Ubuntu
-
gcc-10: Update from
10.4.0
to10.5.0
(Ubuntu) -
gcc-11: Update from
11.3.0
to11.4.0
(Ubuntu) -
gcc-12: Update from
12.1.0
to12.3.0
(Ubuntu) -
python3.10: Update from
3.10.6
to3.10.12
(Ubuntu) -
openjdk-11-jre: Update from
11.0.19+7
to11.0.20+8
(Ubuntu)- Fix CVE-2023-22041, CVE-2023-25193, CVE-2023-22045, CVE-2023-22049, CVE-2023-22036, CVE-2023-22006
-
thermald: Update from
2.4.9-1ubuntu0.2
to2.4.9-1ubuntu0.3
(Ubuntu)- Add support for Alder Lake N
- Fix throttled GPU and shutdown when running Prime95
August 02, 2023
Pop!_OS (266)
-
desktop: Update from
2.0.0~1690475545
to2.0.0~1690839996
:- Remove desktop-base conflict
- Add bash-completion
-
packaging-firefox: Update from
115.0.3
to116.0
- Release Notes
- Version now includes a
1:
prefix to ensure it always overrides Ubuntu's snap transitional package (55)
-
systemd: Update from
249.11-0ubuntu3.7
to249.11-0ubuntu3.9
- Fixes network device naming and subnet routing
Ubuntu
- docker.io: Update from
20.10.21
to20.10.25
(Ubuntu)
August 03, 2023
Pop!_OS (267)
-
linux: Update from
6.2.6
to6.4.6
-
mesa: Update from
22.3.5
to23.1.3
Ubuntu
-
gtk4: Update from
4.6.6
to4.6.9
(Ubuntu) -
vim: Update from
2:8.2.3995-1ubuntu2.9
tovim 2:8.2.3995-1ubuntu2.10
(Ubuntu)
August 04, 2023
Pop!_OS (268)
- nvidia-graphics-drivers-470: Update from
470.161.03-1
to470.199.02-1
Notes
-
Information for this post was collected from pop-os/repo-release and Ubuntu Updates.
-
The draft for this post can be found at pbui/pop-package-updates.
-
Feel free to let me know what you think of the weekly update or to share your experiences with this week's updates.
-
- 7.1 virtual surround sound with any headphones
Pipewire natively supports a filter to create a 7.1 virtual surround sound device that will work with any headphones or earphones. It's not well documented, so I decided to write a step-by-step guide for enabling it in Pop!
How it Works
Sound is distorted by your head and shoulders relative to your ears in slightly different ways based on the direction the sound is coming from. The distortion, which is known as HRIR (head-related impulse response), is how our brains are able to interpret sound spatially, despite ours ears only being capable of receiving stereo audio.
Pipewire is able to achieve a convincing 7.1 surround sound effect either by using either a SOFA (spatially oriented acoustic data) spatializer, or a HRTF (head-related transfer function) convolver to interpolate a replicated 7.1 HRIR input onto a 7.1 surround input, mimicking the natural process by which we hear sound spatially.
A replicated 7.1 HRIR input is created by placing microphones in the ears of an artificial dummy, and measuring the differences in sound it experienced while listening to a 7.1 surround sound system. Which is why we perceive surround sound in headphones.
SOFA takes this technology to the next level with a more advanced algorithm that can process many additional forms of data inputs to improve the surround sound effect.
Option 1: SOFA Spatializer
Step 1: Copy the following 7.1 SOFA spatializer filter-chain config locally. This creates a virtual output sink with 7.1 surround sound channels.
mkdir -p ~/.config/pipewire/filter-chain.conf.d/ curl -o ~/.config/pipewire/filter-chain.conf.d/spatializer.conf \ https://gist.githubusercontent.com/mmstick/039422a63c73a09e998d08608abaee43/raw/9c4dfef5a447fe25a47e3492e518e134e57ee9d4/7.1-spatializer.conf
Step 2: Download a SOFA DTF for the filter to utilize as its input.
sudo mkdir -p /usr/share/pipewire/sofa/ sudo curl -o /usr/share/pipewire/sofa/dtf.sofa \ https://sofacoustics.org/data/database_sofa_0.6/ari/dtf%20b_nh724.sofa
Then go to Step 4 belowOption 2: HRIR Convolver
Step 1: Copy the 7.1 filter-chain config locally. This creates a virtual output sink with 7.1 surround sound channels.
sh mkdir -p ~/.config/pipewire/filter-chain.conf.d/ cp /usr/share/pipewire/filter-chain/sink-virtual-surround-7.1-hesuvi.conf \ ~/.config/pipewire/filter-chain.conf.d/virtual-surround.conf
--- Step 2: Download a 7.1 HRIR wav file from the HRTF Database, such as Atmos or CMSS-3D. Then move it into your local pipewire configuration.sh mkdir -p ~/.config/pipewire/hrir/ mv ~/Downloads/atmos.wav ~/.config/pipewire/hrir/atmos.wav
--- Step 3: Edit the copied virtual-surround config to use this wav file.sh sed -i "s#hrir_hesuvi/hrir.wav#${HOME}/.config/pipewire/hrir/atmos.wav#g" \ ~/.config/pipewire/filter-chain.conf.d/virtual-surround.conf
Start the filter and test it
--- Step 4: Start pipewire with the filter-chain config. The virtual surround device will now exist as long as this is running in the background.
sh pipewire -c filter-chain.conf
--- Step 5: Select the virtual surround sink output device and try it out.- https://www2.iis.fraunhofer.de/AAC/7.1auditionOutLeader_v2_rtb.mp4
- https://www.youtube.com/watch?v=ClpEj1ayNSs
Side Effects
There's a slight audio latency increase from using virtual surround sound, depending on how fast the CPU is. It is a simple process though so the performance cost is slight.
Stereo audio sources should have the same sound before and after. Surround sound content will sound as they were intended to be heard, and it could help with dialogue in some movies being difficult to hear. Especially if you are able to configure the volume of the center speaker channel where dialogue is usually played.
Help
Any help with finding a way to automate this when plugging in headphones would be great.
- How to install apps in other locations?
So just got my computer switched over to Pop! OS.
When I open the Pop Shop, the installers don't give me an option to change the location of the app installs. I have 4 disks, 2 nvmes, 2 hard disks. I would prefer to install some of my apps to the 2nd nvme, which I have mounted to /Apps. Mainly the games I will play, along with Stream and Lutris.
Would I need to install from the terminal with apt or nala? I installed nala because it looks cleaner, but we'll see.
- Because I haven't seen it posted here yet, the new COSMIC theming looks amazing!blog.system76.com Pop!_OS :popos: (@pop_os_official@fosstodon.org)
Attached: 1 image COSMIC Alpha is almost here! In the meantime, get new COSMIC swag with any System76 laptop or desktop order thru July 9th. Gear includes this sweet new T-shirt and sticker sheet. https://s76.co/utMSfTcO
- Cosmic apps all freeze after latest update
Hi all, I've been running the latest Pop_OS 22.04 LTS, and recently discovered all the new cosmic apps from the upcoming Cosmic DE. They are seriously impressive in both UI/UX and performance, but I got updates to all of the cosmic apps yesterday, and now when i try and launch any of them, they simply hard lock my computer, forcing a hard reboot to recover.
I noticed a few recent reports of similar behavior over on Reddit, but Reddit 'tis a silly place, so I'm posting to Lemmy instead.
Since I cannot copy/paste any errors, i took a picture and hand typed out what happens when i launch
cosmic-store
from a terminal. It appears to be a json-ish error.ERROR winit::platform_impl::platform] X11 error: XError { description: "BadMatch (invalid parameter attributes)", error_code: 8, request_code: 149, minor_code: 4 )
os info: ```sh kernel: 6.9.3-76060903-genericdistro: DISTRIB_ID=Pop DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Pop!_OS 22.04 LTS" ```
There are no updates available via
sudo apt update && apt upgrade
as of time of this post, and this is from an xorg session. ```sh ~$ ps -e | grep -E '(Xorg|wayland)'2207 tty2 00:00:12 Xorg ```
- Cosmic epoch build instructions for void linux
I wanted to build and use cosmic epoch on my void linux system with seatd, but i could not find build and install instructions on the project's
README.md
. Although it did have installation instructions for PopOs, fedora and arch based distros. If someone has already installed it, can you please tell me if it is possible to install it on void with seatd and how do I install it... - My libcosmic calculator is now an MVP.
I have written a calculator in Rust and libcosmic, the design is copied from gnome-calculator; I discovered 2 things:
- I don't like working on UIs.
- I have no idea how to transform
cosmic::widget::button::Builder
to
cosmic::widget::Button
;this code would be so much cleaner if I could return a button::standard() from a function.
- Should I be switching to Wayland for gaming?
I’m not super familiar with the differences between x11 and Wayland, but I’ve been experiencing some screen tearing in games with x11 that I don’t remember experiencing in the past. I’ve heard Wayland is more performant, but does that mean anything when gaming?
I am using an AMD gpu with just out-of-the-box settings. No additional drivers or tinkering.
- Charge thresholds not working on Oryx Pro 8
After updating system76-power yesterday, today charge thresholds aren't working. Running
system76-power charge-thresholds
gives this:org.freedesktop.DBus.Error.Failed: Not running System76 firmware with charge threshold support
Anything I can do besides wait for a fix? - How do you use cpusets on pop?
I've been trying to create a new cpuset to run some programs with a reduced set of cpu cores, but I seem to be fighting with something my system is already doing because the instructions from the kernel manual don't work. I find cpuset is already mounted, but when I create a directory in /sys/fs/cgroup/cpuset it does not end up with cpuset.cpus in it. It seems cpusets are aleady being used by something else, so not sure how I'd go about this?
Manual with step by step tutorial: https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v1/cpusets.html
- Can Anyone Connect to Proton VPN on COSMIC?
The only thing that is stopping me from daily driving the pre-alpha is the fact that I can't get my VPN to connect.
Troubleshooting steps so far:
- Everything suggested on the notification in the screenshot, including restarting, signing out, and trying other servers.
- Using the Advanced Network Configuration app as suggested by @mmstick in a Reddit post. Tried importing a Proton VPN configuration and entering the OpenVPN info manually.
It connects just fine in the current Gnome DE, and I don't have enough know-how to understand what's not working in COSMIC.
- BIG announcement?
back in March, I saw someone posted about this.. now that few weeks had passed, what was the announcement? Did I miss something?
- It had been a peaceful week with updates
there was no updates in last week. I'm sure the team is working hard on the cosmic de and other refinements.
👍
- Gamescope on pop!_os
Hi, I recently installed pop!_os on my shiny new gaming desktop and I'm loving it so far. But I'm now trying to get some games to work (mostly Helldivers 2 right now, which does work after a fresh install, but then freezes on a blackscreen with all subsequent launches. I'm assuming this is due to that awful kernel level anti cheat somehow)
Long story short, according to the fine folks over at protonDB, gamescope can help. But I can't find it on the pop shop or with apt-get. If anyone can point me to some trusted PPA I can use, or the dependencies I need to build it from source, that would be very appreciated (or even, just how to find out what dependencies I am missing. I lost my linux-fu after a long period of using Windows exclusively but I'm not a complete noob)
Additional infos : I used the Nvidia installer, 550 drivers (I have the RTX 3080 Ti), have the Nvidia drm modeset enabled, and I'm using the pop_os Steam package.
I also enabled "force full composition pipeline" in Nvidia settingsactually I just disabled it because it was causing issues with some other games that were running fine without it - Why are cosmic apps so slow to load?
My laptop is running modern hardware with NVME drive and has 64GB of RAM. Running Pop!_OS 22.04 with Gnome/Wayland.
When I launch the cosmic-store or cosmic-edit (for example) via command line or launcher, each takes about 25 seconds for its app window to load. Loading the Pop Shop in the same fashion takes less than 1 second.
I saw a few lines indicating files couldn't be opened, and thought at first maybe my ulimit was set incorrectly, but there is plenty of headroom on my user (soft limit: 4096, hard limit: 1048576).
I do see a handful of logs that look questionable:
May 04 07:50:59 rosie systemd[2109]: app-gnome-com.system76.CosmicEdit-17126.scope: Couldn't move process 17126 to requested cgroup '/user.slice/user-1000.slice/user@1000.service/app.slice/app-gnome-com.system76.CosmicEdit-17126.scope': No such process May 04 07:50:59 rosie systemd[2109]: app-gnome-com.system76.CosmicEdit-17126.scope: Failed to add PIDs to scope's control group: No such process May 04 07:50:59 rosie systemd[2109]: app-gnome-com.system76.CosmicEdit-17126.scope: Failed with result 'resources'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ The unit UNIT has entered the 'failed' state with result 'resources'. May 04 07:50:59 rosie systemd[2109]: Failed to start Application launched by gnome-shell.
What could be causing the cosmic apps to load so slowly?
- Announcing COSMIC Tweaks! 🎉
COSMIC Tweaks gives you granular control over everything you can do in COSMIC.
This app aims to help you tweak settings that are not currently available in COSMIC Settings.
Here's what the app can do so far:
-
✨ Color schemes: Save your current theme and import other themes to use anytime you want.
-
⚙️ Panels: Fine-tune your panel padding and spacing.
COSMIC Tweaks is just getting started, and more features are on the way!
Let me know what you think in the comments below!
-
- Pop!_OS Cosmic Desktop by System76: Alpha Incoming..
YouTube Video
Click to view this content.
> RUST Cosmic Desktop on Pop!_OS will be also available on Asahi Linux, Fedora and on NixOS as a Nix Package in the main repo.. Let's talk about the quality o...
- WAM Rust (WebApp Manager) for Cosmic desktop.
Hey,
Lately there was a post on reddit about request for WebApp Manager for Cosmic desktop.
Few months ago I was working on WAM Rust so "web app manager" written in Rust and Iced-rs. Yesterday I decided to rewrite it to libcosmic so it will looks nicer and integrate with Cosmic desktop better.
The result is awesome. I'm happy how it looks.
This is very first working version of this app, so it's working with mainly mainstream browser and maybe there will be some fuckups. However I will try to do my best to finish it so it will work better and just like Linux Mint's "WAM".
If you are interested in this app, you can follow my progress on github: https://github.com/elevenhsoft/cosmic-wam
Have a nice day and wait patiently for Cosmic desktop :)
p.s.
Sorry for copy paste from reddit. It just faster to do than uploading again and again :)
- Cosmic & GNOME 46 Alpha, Linux 6.7 & new SteamOS device: Linux & Open Source Newstilvids.com Cosmic & GNOME 46 Alpha, Linux 6.7 & new SteamOS device: Linux & Open Source News
Get 50% off your lifetime secure, private and open source cloud storage: https://internxt.com/lifetime?utm_source=youtube+&utm_campaign=LinuxEXP Grab a brand new laptop or desktop running Linux: https://www.tuxedocomputers.com/en# 👏 SUPPORT THE CHANNEL: Get access to a weekly podcast, vote on t...
- Printing in grayscale in POP!_OS
I'm trying to print some documents in grayscale / black & white but it keeps printing my documents in colour instead, even if I select grayscale in one of the drop down menus in the settings (under Color > Color Model).
Does anyone know if there is a specific setting I need to change for it to print in grayscale correctly? If it helps, I have a Canon MX420 printer.
Thanks so much for your help!
- Kernel 6.8.2 Updategithub.com Linux 6.8.2 for Jammy by mmstick · Pull Request #306 · pop-os/linux
Pop!_OS fork of https://launchpad.net/ubuntu/+source/linux - Linux 6.8.2 for Jammy by mmstick · Pull Request #306 · pop-os/linux
- Bluetooth and Wifi problems.
My Bluetooth isn't working. It's not even detected by the
rfkill list
command. Since installing various Linux distributions, I've had persistent Wi-Fi issues. To fix those, I used this repository: repo: https://github.com/lwfinger/rtw88.Important: This
rtw88
repository is for Wi-Fi only. The kernel driversbtusb
andbtrtl
(located in thedrivers/bluetooth
directory) are used for Realtek Bluetooth devices.While Bluetooth works after manually loading
btusb
, it doesn't load automatically. Here's my question:- How can I configure
btusb
to load automatically at boot? - Alternatively, what might be causing
btusb
not to load automatically?
- How can I configure
- How to revert back to an older NVIDIA driver?
Hello, I'm making this post because I'm having some issues with NVIDIA driver and I want to revert back to an older version.
Since version 535 I've been having troubles with the driver on XWayland, specifically while playing games (black horizontal bars flickering on the screen, tearing, stuttering). The last version of the driver that was working well was version 525.
Is there any way I can install nvidia version 525? Executing
$ ubuntu-drivers devices
the last version I can find is 535.Thanks to anyone willing to help
Update: I tried to add the ppa from here "https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages" and manually install the desired nvidia driver version, alongside all the dependencies needed, but the linux kernel it was targeting was version 6.2. I don't know if the problem was generated because of this, but after I finished the installation, only one monitor was working, animations were choppy and
nvidia-smi
was not working. Basically something was wrong and the driver was not working.Update 2: Posted solution in the comments.
- Display Settings shows Unknown Display
I only have one monitor plugged into my desktop PopOS 22.04 LTS install. Recently my display settings shows two displays with one being the correct Samsung one and another just as "Unknown Display".
I am running NVIDIA Graphics and the About reads:
NVIDIA Corporation TU106 [GeForce RTX 2060 Rev. A]
With nvidia-driver-550 installed. Any help would be appreciated!
- Displays are not working right
Hi, I brought this up to support and they haven't been able to figure it out, so i figured I'd put some more lines in the water.
Specs: Oryx Pro 11 (2024, i think its 11) Nvidia RTX 4060 Laptop, 545 firmware 24-core Intel i9 CPU 16” 1200p display (165Hz)
I have display issues, I'm running two monitors. One monitor through the HDMI port and the other through usb-c. The HDMI port typically always works. The usb-c port generally doesn't. The computer also usually resets my monitor positions and then changes my resolution.
I have looked through journalctl, and did Nvidia logs and that yielded nothing of use (at least from what I can tell). Looked at dmesg and didn't find anything wrong (at least from what i can tell). Couldn't pinpoint one specific thing. I made system76 logs (gave it to them) and they say the monitor is indeed being seen as connected and there is nothing out of the ordinary.
Most of the time i have to try and restart a few times for the usb-c monitor to catch in the right resolution, but most of the time it is either in the wrong really low resolution, or a black screen. When it does work, it works as long as i have the computer on (granted i don't have it go to sleep or suspend).
I have tried multiple Linux flavors, but generally I will get the same type of issues. I did Ubuntu and rolled back to the 535 Nvidia Driver, and that didn't seem to fix the issue. I've bought multiple cables and tried multiple monitors.
At this point I'm not sure where I should look and support hasn't been able to really help me fix this issue. Anyone have any ideas?
Thanks
- Shout out to the COSMIC devs for the latest updates
I just noticed two finger scrolling with my touchpad now has momentum... I haven't noticed this in other distros and I forgot how much I missed it since moving from macOS. Hell yeah, amazing work folks!
- Is it possible to change the View in the file picker on pop os?
When I'm trying to pick a file say when I click Browse on the Image section of making a Lemmy post the file manager doesnt have a button to change the View to Grid so I can see what the image I'm selecting is. I can't tell what image is what by the tiny preview
- Why does google think I own CrowdSupply once I started using Pop OS?
Ever since I switched to Pop OS whenever I google certain stuff I get this message where google thinks I own crowdsupply
- Why is the new 6.8.0 kernel package named "daily"?
I noticed the newest kernel package is named "linux-image-6.8.0-76060800daily20240311-generic".
Why is it named daily? Does it mean we will be getting more frequent kernel updates? Or just some daily build that someone forgot to change its name?
- unable to install kernel 6.8
github says it is done but i donnot see it in pop store when is it available?
- Apps many to big on popos..?
I started using linux a couple of years ago and it was pop os that im still using today. When i started, apps many was across all screen, it was big and strange to me that on desktop computer its all so big and apps icons are to big.. But luckly that was changed after some time and now we have much smaller widow with apps and thats much better, but i think that its still to big and that it should be smaller. Im i the only one that think this way..? Is there a chance that it could be updated with new cosmic “Rust” release?