Skip Navigation

Posts
245
Comments
167
Joined
2 yr. ago

Linux @lemmy.ml

Firefox Developer Edition and Beta: Try out Mozilla’s .deb package!

Firefox @lemmy.ml

Firefox Developer Edition and Beta: Try out Mozilla’s .deb package!

Pop!_OS (Linux) @lemmy.world

Rising from Unity's Ashes: The Evolution of Pop!_OS and the Birth of the COSMIC DE

Free and Open Source Software @beehaw.org

Shutting down the Matrix bridge to Libera Chat

Open Source @lemmy.ml

Shutting down the Matrix bridge to Libera Chat

Linux @lemmy.ml

Red Hat Enterprise Linux 10 Dropping The X.Org Server Except For XWayland

Linux @lemmy.ml

Ubuntu Budgie switches its approach to Wayland

Linux @lemmy.ml

Selecting the New Face of openSUSE is Underway

Pop!_OS (Linux) @lemmy.world

A COSMIC Thanksgiving

Linux @lemmy.ml

Ubuntu 24.04 LTS Committing Fully To Netplan For Network Configuration

Linux @lemmy.ml

Yes, Ubuntu Is Withholding Security Patches for Some Software

Linux @lemmy.ml

How a kernel developer made my styluses work again on newer kernels!

Pop!_OS (Linux) @lemmy.world

Pop!_OS Cosmic Desktop has AMAZING Theming Support

Linux @lemmy.ml

GNOME Recognized as Public Interest Infrastructure

Linux @lemmy.ml

System76’s Lemur Pro Laptop Is Just a Really Nice Linux Laptop

Pop!_OS (Linux) @lemmy.world

Pop Package Update #290

Firefox @lemmy.ml

Firefox Development Is Moving From Mercurial To Git

Linux @lemmy.ml

LXQt 1.4 Debuts As Last Planned Qt5 Desktop Release

Linux @lemmy.ml

How a kernel update broke my stylus... Need help!

Firefox @lemmy.ml

Firefox Got Faster for Real Users in 2023

  • You can escape the :

     
        
    URLS  = https\://foo.example.com
    URLS += https\://bar.example.com
    URLS += https\://www.example.org
    
      
  • Jeremy does a great job explaining the origin of Pop!_OS and the small, but important role System76 plays in the Linux ecosystem.

    He was also very diplomatic and clear in explaining the reason for moving towards a multi-process for extensions in COSMIC (versus injecting JavaScript in GNOME).

  • Twitter and Reddit may have only lost a few million users to Mastodon and Lemmy so far, but these are nation-sized numbers, comparable to what Scandinavia is to the United States of America. The incumbents have allowed the fediverse to reach critical mass. It's only gonna get bigger, but it already works well enough that I've no need for any other social network. It's nicer here.

    This resonates with me. Although they are still lacking for the long tail of small niche communities, Lemmy and Mastodon now have enough people and content that I rarely find myself going to Reddit or Twitter. The fediverse is not perfect and there is a lot of room for growth, but it is now large enough to be viable and hopefully sustainable.

  • Do you have a searxng folder in the same folder as your docker-compose.yml? If so, perhaps it is not mounting inside the container properly.

  • Here is the Downfall writeup, which includes videos of extracting information in various situations.

    [A] GDS is highly practical. It tooks me 2 weeks to develop an end-to-end attack stealing encryption keys from OpenSSL. It only requires the attacker and victim to share the same physical processor core, which frequently happens on modern-day computers, implementing preemptive multitasking and simultaneous multithreading.

    [A] In addition to normal isolation boundaries e.g., virtual machines, processes, user-kernel isolation, Intel SGX is also affected. Intel SGX is a hardware security feature available on Intel CPUs to protect user’s data against all form of malicious software.

  • Yeah, I already noticed this in the last few days... my texts now show two checkmarks and a lock... at least when I text another Android user.

  • I think this is missing an article link: https://www.phoronix.com/review/downfall

    Downfall, or as Intel prefers to call it is GDS: Gather Data Sampling. GDS/Downfall affects the gather instruction with AVX2 and AVX-512 enabled processors. At least the latest-generation Intel CPUs are not affected but Tigerlake / Ice Lake back to Sandy Bridge is confirmed to be impacted. There is microcode mitigation available but it will be costly for AVX2/AVX-512 workloads with GATHER instructions in hot code-paths and thus widespread software exposure particularly for HPC and other compute-intensive workloads that have relied on AVX2/AVX-512 for better performance.

    Rough day for CPU makers...

    Update: Of course there is a dedicated page for it: https://downfall.page/

  • Is there a reason for using Travis instead of GitHub's built-in CI system?

    With the GitHub CI system, you can specify your own container image which could have GNU Make 4.4 already pre-installed (you build it once and then re-use it).

  • If you are missing the /lib/klibc-*.so files, then you have a broken libklibc package. You can try to reinstall it as follows:

     
        
    sudo apt --reinstall install libklibc
    
      

    After that, you can try to repair the rest of the system with:

     
        
    sudo apt install -f
    sudo dpkg --configure -a
    
      
  • I'm not sure either, but this is on a laptop with an Intel CPU and AMD dGPU (strange mix) and more recently a NVIDIA eGPU.

    The issues only appear with the AMD dGPU.

  • If I just start steam from the terminal, then it uses the iGPU and I still need to use the DRI_PRIME=1 environment varitable. This makes sense, because the DRI_PRIME=1 modifier is not set in the environment.

    The workaround mentioned in that post (ie. changing PrefersNonDefaultGPU=true to PrefersNonDefaultGPU=false) is just a way to change the shortcut (.desktop) in GNOME from using the dGPU to iGPU by default (whereas right clicking on the shortcut and selecting "Launch with Integrated GPU" only temporarily overrides the setting for that single instance).

    It would be nice if was automatically detected on my computer... or rather it would be even better if we didn't have to workaround it at all and Steam just worked :]

  • Hmm... Is that a recent change? That is not true from my experience and most comments online discuss explicitly setting this to take advantage of the dGPU.

    Value itself also mentions using this environment variable: https://github.com/ValveSoftware/steam-runtime/blob/master/doc/steamlinuxruntime-known-issues.md#-multiple-gpu-systems

    Update: So I just tried this with City Skylines. I launched Steam from the dock/panel with the "Integrated Graphics" option and started City Skylines without the DRI_PRIME environment variable. Checking the output of intel_gpu_top it appears that the game was only used my integrated graphics as the Render/3D usage was 100%.

    I then added the DRI_PRIME environment variable to the launch options and restarted City Skylines. With the setting, the FPS counter was higher and the intel_gpu_top output was only around 10%... which probably means it was using my discrete AMD GPU instead of just my integrated Intel one. Also, my fans kicked on, which usually only happens with the dGPU is being used.

    So unfortunately, it does not appear to automatically use the dGPU... at least not on my laptop, with my configuration.

  • You can use strace to track all open system calls, which should give you an idea of what files are being opened.

    To do this, you just need to put strace before the command you normally run. It would be something like this:

     
        
    strace java ...
    
      
  • I'm not 100% sure, but you may want to look into libcosmic, which appears to have the COSMIC widgets.

  • Nice tip! I didn't know you can edit the shortcut image via the three dot menu. I was able to fix one of the shortcuts that has been bugging me for a while.

  • If you suspect that the issue is journald, you can use the following command to check how much space it is using:

     
        
    journalctl --disk-usage
    
      

    Rather than periodically running journalctl --vacuum-size=500 to free up space, you can just limit the journal by adding the following to a new file such as /etc/systemd/journald.conf.d/size.conf:

     
        
    [Journal]
    SystemMaxUse=512M
    
      

    This will limit the journal from using more than 512MB. That said, if journald is filling up fast, then something is spamming your logs and you could run journalctl -a -f to get a sense of what is being written to your logs.

  • Boring answer, but I just use gnome-terminal with a nord theme. I also remove the menu and scroll bars, and add some internal padding.

    The only other thing I do, is I use tdrop so I can have a "scratchpad" or dropdown terminal that I can toggle with gnome-terminal.

  • I have also been experiencing this problem (Steam crashes constantly when trying to use my AMD card, but works fine with my integrated GPU).

    I believe the issue is this: https://github.com/ValveSoftware/steam-for-linux/issues/9383

    Basically, if you have Steam setup to prefer the external / discrete GPU, it currently will crash (at least with AMD... interestingly it works fine with my NVIDIA eGPU). However, if you launch it with the integrated graphics, then it will work as you pointed out.

    So until Valve fixes this, you may need to start Steam with your integrated graphics card, and then add DRI_PRIME=1 to the command options of the games you want to use your external GPU.

  • I don't use Wayland at all, though I am aware of Sway.

    I switched to Pop and GNOME because... for lack of better phrasing, I wanted a more normal experience that I could recommend others. I used Void and i3 for about 6 years (Arch + i3 for years before that) and just wanted something I could recommend to new users and support them as well (hard to support something I don't use myself). Pop and GNOME with the tiling features is a happy medium for me. Far from perfect, but good enough.