Nvidia driver issues for certain apps

I am unfortunately running into issues with a brand new nonguix setup, and with an Nvidia card.

I have followed the instructions to add the nvidia transformation to both my OS and Home setups, and that seems to work fine. In fact, it seems some apps are working properly with Nvidia:

  • Blender seems to be fine.
  • KDE Plasma seems fine
  • Firefox from within Flatpak only works great.

However, I am having significant issues with many of the apps I’ve tried to directly install via my (non)guix home configuration, which again is wrapped in the nvidia transformation:

  • Firefox - No hardware acceleration, so scrolling is sluggish and WebGL is software rendered and choppy.

    Application Basics
    ------------------
    
    Name: Firefox
    Version: 158.0.1
    Build ID: 20261020011928
    Distribution ID:
    User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:158.0) Gecko/20100101 Firefox/158.0
    OS: Linux 7.2.14 #1 SMP PREEMPT_DYNAMIC 1
    OS Theme: Adwaita / Adwaita
    Multiprocess Windows: 2/2
    Fission Windows: 2/2 Enabled by default
    Remote Processes: 7
    Enterprise Policies: Inactive
    Google Location Service Key: Missing
    Google Safebrowsing Key: Missing
    Mozilla Location Service Key: Missing
    Safe Mode: true
    Memory Size (RAM): 62.7 GB
    Disk Space Available: 525 GB
    
    Remote Features
    ---------------
    
    Remote Processes
    ----------------
    
    Type: Extension
    Count: 1
    
    Type: Isolated Web Content
    Count: 1
    
    Type: Fork Server
    Count: 1
    
    Type: Isolated Service Worker
    Count: 1
    
    Type: Socket
    Count: 1
    
    Type: RDD
    Count: 1
    
    Type: Privileged About
    Count: 1
    
    Add-ons
    -------
    
    Name: Add-ons Search Detection
    Type: extension
    Version: 3.0.0
    Enabled: true
    Location: app-builtin-addons
    ID: addons-search-detection@mozilla.com
    
    Name: Form Autofill
    Type: extension
    Version: 1.0.1
    Enabled: true
    Location: app-builtin-addons
    ID: formautofill@mozilla.org
    
    Name: IPP Activator
    Type: extension
    Version: 0.3
    Enabled: true
    Location: app-builtin-addons
    ID: ipp-activator@mozilla.com
    
    Name: New Tab
    Type: extension
    Version: 158.2.0
    Enabled: true
    Location: app-builtin-addons
    ID: newtab@mozilla.org
    
    Name: Picture-In-Picture
    Type: extension
    Version: 1.0.0
    Enabled: true
    Location: app-builtin-addons
    ID: pictureinpicture@mozilla.org
    
    Name: Web Compatibility Interventions
    Type: extension
    Version: 158.0.0
    Enabled: true
    Location: app-builtin-addons
    ID: webcompat@mozilla.org
    
    Name: Default
    Type: theme
    Version: 1.4.2
    Enabled: true
    Location: app-builtin
    ID: default-theme@mozilla.org
    
    Name: Awesome RSS
    Type: extension
    Version: 1.3.6resigned1
    Enabled: false
    Location: app-profile
    ID: {97d566da-42c5-4ef4-a03b-5a2e5f7cbcb2}
    
    Name: ClearURLs
    Type: extension
    Version: 1.27.3
    Enabled: false
    Location: app-profile
    ID: {74145f27-f039-47ce-a470-a662b129930a}
    
    Name: Dark Reader
    Type: extension
    Version: 4.9.134
    Enabled: false
    Location: app-profile
    ID: addon@darkreader.org
    
    Name: DownThemAll!
    Type: extension
    Version: 4.16.1
    Enabled: false
    Location: app-profile
    ID: {DDC359D1-844A-42a7-9AA1-88A850A938A8}
    
    Name: Facebook Container
    Type: extension
    Version: 2.3.12
    Enabled: false
    Location: app-profile
    ID: @contain-facebook
    
    Name: Firefox Color
    Type: extension
    Version: 2.1.7
    Enabled: false
    Location: app-profile
    ID: FirefoxColor@mozilla.com
    
    Name: GNOME Shell integration
    Type: extension
    Version: 12.1
    Enabled: false
    Location: app-profile
    ID: chrome-gnome-shell@gnome.org
    
    Name: Hister
    Type: extension
    Version: 0.32.0
    Enabled: false
    Location: app-profile
    ID: {f0bda7ce-0cda-42dc-9ea8-126b20fed280}
    
    Name: human.json Verifier
    Type: extension
    Version: 0.1.5
    Enabled: false
    Location: app-profile
    ID: human-json-verifier@robida.net
    
    Name: Indie Wiki Buddy
    Type: extension
    Version: 4.0.1
    Enabled: false
    Location: app-profile
    ID: {cb31ec5d-c49a-4e5a-b240-16c767444f62}
    
    Name: Reader View
    Type: extension
    Version: 0.8.9.1
    Enabled: false
    Location: app-profile
    ID: {2495d258-41e7-4cd5-bc7d-ac15981f064e}
    
    Name: Right-Click Borescope
    Type: extension
    Version: 0.0.4
    Enabled: false
    Location: app-profile
    ID: {1772ab92-844c-4a81-9804-89e4fffa5054}
    
    Name: SponsorBlock for YouTube - Skip Sponsorships
    Type: extension
    Version: 6.1.7
    Enabled: false
    Location: app-profile
    ID: sponsorBlocker@ajay.app
    
    Name: Stylus
    Type: extension
    Version: 2.4.17
    Enabled: false
    Location: app-profile
    ID: {7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}
    
    Name: Tampermonkey
    Type: extension
    Version: 5.5.0
    Enabled: false
    Location: app-profile
    ID: firefox@tampermonkey.net
    
    Name: uBlock Origin
    Type: extension
    Version: 1.75.4
    Enabled: false
    Location: app-profile
    ID: uBlock0@raymondhill.net
    
    Name: Vue.js devtools
    Type: extension
    Version: 7.7.7
    Enabled: false
    Location: app-profile
    ID: {5caff8cc-3d2e-4110-a88a-003cc85b3858}
    
    Name: YouTube™ for TV
    Type: extension
    Version: 0.0.3
    Enabled: false
    Location: app-profile
    ID: {d2bcedce-889b-4d53-8ce9-493d8f78612a}
    
    Name: Dark
    Type: theme
    Version: 1.3.4
    Enabled: false
    Location: app-builtin
    ID: firefox-compact-dark@mozilla.org
    
    Name: Firefox Alpenglow
    Type: theme
    Version: 1.5.3
    Enabled: false
    Location: app-builtin
    ID: firefox-alpenglow@mozilla.org
    
    Name: Light
    Type: theme
    Version: 1.3.4
    Enabled: false
    Location: app-builtin
    ID: firefox-compact-light@mozilla.org
    
    Name: vv andromeda
    Type: theme
    Version: 1.1
    Enabled: false
    Location: app-profile
    ID: {03a816e1-c952-49f5-bb43-814723ec4829}
    
    Legacy User Stylesheets
    -----------------------
    
    Active: false
    Stylesheets: No stylesheets found
    
    Graphics
    --------
    
    Features
    Window Device Pixel Ratios: 1.4634146341463414,1.4634146341463414
    Compositing: WebRender (Software)
    Font Visibility Debug Info: Linux Unknown - ID=guix
    Asynchronous Pan/Zoom: wheel input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled; smooth pinch-zoom enabled
    WebGL 1 Driver WSI Info: -
    WebGL 1 Driver Renderer: WebGL is currently disabled.
    WebGL 1 Driver Version: -
    WebGL 1 Driver Extensions: -
    WebGL 1 Extensions: -
    WebGL 2 Driver WSI Info: -
    WebGL 2 Driver Renderer: WebGL is currently disabled.
    WebGL 2 Driver Version: -
    WebGL 2 Driver Extensions: -
    WebGL 2 Extensions: -
    Window Protocol: wayland
    Desktop Environment: kde
    Target Frame Rate: 60
    WebGPU Default Adapter: { "navigator.gpu": null }
    WebGPU Fallback Adapter: { "navigator.gpu": null }
    GPU #1
    Active: Yes
    Description: llvmpipe (LLVM 18.1.8, 256 bits)
    Vendor ID: Mesa
    Device ID: llvmpipe (LLVM 18.1.8, 256 bits)
    Driver Vendor: mesa/llvmpipe
    Driver Version: 26.0.2.0
    RAM: 0
    GPU #2
    Active: No
    Vendor ID: 0x10de
    Device ID: 0x2488
    Diagnostics
    AzureCanvasBackend: skia
    AzureContentBackend: skia
    AzureFallbackCanvasBackend: skia
    CMSOutputProfile: Empty profile data
    CMSOutputProfileInUse: configured CMSOutputProfile
    Display0: 1920x1080@60Hz scales:0.849934|0.849934 SDR
    Display1: 3840x2160@60Hz scales:1.450151|1.450151 SDR
    DisplayCount: 2
    Font Visibility Debug Info: Linux Unknown - ID=guix
    Decision Log
    HW_COMPOSITING:
    default: available,
    runtime: blocked, Acceleration blocked by safe-mode, Blocklisted; failure code FEATURE_FAILURE_COMP_SAFEMODE
    OPENGL_COMPOSITING:
    default: unavailable, Hardware compositing is disabled, Blocklisted; failure code FEATURE_FAILURE_OPENGL_NEED_HWCOMP
    WEBRENDER:
    default: available,
    env: blocklisted, Blocklisted by gfxInfo, Blocklisted; failure code FEATURE_FAILURE_SOFTWARE_GL
    runtime: unavailable-in-safe-mode, Safe-mode is enabled, Blocklisted; failure code FEATURE_FAILURE_SAFE_MODE
    WEBRENDER_COMPOSITOR:
    default: available,
    env: blocklisted, Blocklisted by gfxInfo, Blocklisted; failure code FEATURE_FAILURE_WEBRENDER_COMPOSITOR_DISABLED
    WEBRENDER_PARTIAL:
    default: available,
    WEBRENDER_SHADER_CACHE:
    default: disabled, Disabled by default, Blocklisted; failure code FEATURE_FAILURE_DISABLED
    runtime: unavailable, WebRender disabled, Blocklisted; failure code FEATURE_FAILURE_WR_DISABLED
    WEBRENDER_OPTIMIZED_SHADERS:
    default: available,
    runtime: unavailable, WebRender disabled, Blocklisted; failure code FEATURE_FAILURE_WR_DISABLED
    WEBRENDER_ANGLE:
    default: disabled, Disabled by default, Blocklisted; failure code FEATURE_FAILURE_DISABLED
    env: unavailable, OS not supported, Blocklisted; failure code FEATURE_FAILURE_OS_NOT_SUPPORTED
    WEBRENDER_DCOMP_PRESENT:
    default: available,
    user: disabled, User disabled via pref, Blocklisted; failure code FEATURE_FAILURE_DCOMP_PREF_DISABLED
    env: unavailable, Requires GPU process, Blocklisted; failure code FEATURE_FAILURE_NO_GPU_PROCESS
    runtime: unavailable, Requires ANGLE, Blocklisted; failure code FEATURE_FAILURE_DCOMP_NOT_ANGLE
    WEBRENDER_SCISSORED_CACHE_CLEARS:
    default: available,
    WEBGPU:
    default: available,
    X11_EGL:
    default: available,
    DMABUF:
    default: available,
    runtime: failed, Failed to configure, Blocklisted; failure code FEATURE_FAILURE_NO_DRM_DEVICE
    HARDWARE_VIDEO_DECODING:
    default: available,
    env: blocklisted, Blocklisted by gfxInfo, Blocklisted; failure code FEATURE_FAILURE_VIDEO_DECODING_TEST_FAILED
    runtime: unavailable, Requires DMABUF, Blocklisted; failure code FEATURE_FAILURE_REQUIRES_DMABUF
    HARDWARE_VIDEO_DECODING_VULKAN:
    default: available,
    user: disabled, User disabled via media.hardware-video-decoding-vulkan.enabled, Blocklisted; failure code FEATURE_HARDWARE_VIDEO_DECODING_VULKAN_PREF_DISABLED
    env: blocklisted, Blocklisted by gfxInfo, Blocklisted; failure code FEATURE_HARDWARE_VIDEO_DECODING_VULKAN_PREF_DISABLED
    runtime: unavailable, Force disabled by gfxInfo, Blocklisted; failure code FEATURE_HARDWARE_VIDEO_DECODING_VULKAN_PREF_DISABLED
    HARDWARE_VIDEO_ENCODING:
    default: available,
    runtime: unavailable, Requires DMABUF, Blocklisted; failure code FEATURE_FAILURE_REQUIRES_DMABUF
    DMABUF_SURFACE_EXPORT:
    default: available,
    env: blocked, Blocklisted by gfxInfo, Blocklisted; failure code FEATURE_FAILURE_BROKEN_DRIVER
    BACKDROP_FILTER:
    default: available,
    CANVAS_RENDERER_THREAD:
    default: available,
    ACCELERATED_CANVAS2D:
    default: available,
    env: blocked, Disabled by Software WebRender, Blocklisted; failure code FEATURE_FAILURE_DISABLED_BY_SOFTWARE_WEBRENDER
    DMABUF_WEBGL:
    default: available,
    GL_NORM16_TEXTURES:
    default: available,
    WEBGPU_EXTERNAL_TEXTURE:
    default: disabled, Disabled by default, Blocklisted; failure code FEATURE_FAILURE_DISABLED
    runtime: blocked, WebGPU external textures are not supported on this Operating Sy, Blocklisted; failure code WEBGPU_EXTERNAL_TEXTURE_UNSUPPORTED_OS
    MESA_THREADING:
    default: available,
    WEBGL:
    default: available,
    VIDEO_HDR:
    default: available,
    env: blocklisted, Blocklisted by gfxInfo, Blocklisted; failure code FEATURE_VIDEO_HDR_DISABLED
    
    Media
    -----
    
    Audio Backend: pulse-rust
    Max Channels: 2
    Preferred Sample Rate: 48000
    Roundtrip latency (standard deviation): ...
    Codec Support Information:
    Codec Name: Software Decoding, Hardware Decoding, Software Encoding, Hardware Encoding
    H264: Supported, Unsupported, Unsupported, Unsupported
    VP9: Supported, Unsupported, Unsupported, Unsupported
    VP8: Supported, Unsupported, Unsupported, Unsupported
    AV1: Supported, Unsupported, Unsupported, Unsupported
    HEVC: Supported, Unsupported, Unsupported, Unsupported
    AAC: Supported, Unsupported, Unsupported, Unsupported
    MP3: Supported, Unsupported, Unsupported, Unsupported
    Opus: Supported, Unsupported, Unsupported, Unsupported
    Vorbis: Supported, Unsupported, Unsupported, Unsupported
    FLAC: Supported, Unsupported, Unsupported, Unsupported
    Wave: Supported, Unsupported, Unsupported, Unsupported
    Output Devices
    Name: Group, Vendor, State, Preferred, Format, Channels, Rate, Latency
    Built-in Audio Digital Stereo (IEC958): /devices/pci0000:00/0000:00:1f.3/sound/card0, Intel Corporation, Enabled, All, default: F32LE, support: S16LE S16BE F32LE F32BE, 2, default: 48000, support: 1 - 384000, 0 - 0
    GA104 High Definition Audio Controller Digital Stereo (HDMI): /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1, NVIDIA Corporation, Enabled, None, default: F32LE, support: S16LE S16BE F32LE F32BE, 2, default: 48000, support: 1 - 384000, 0 - 0
    Input Devices
    Name: Group, Vendor, State, Preferred, Format, Channels, Rate, Latency
    Built-in Audio Analog Stereo: /devices/pci0000:00/0000:00:1f.3/sound/card0, Intel Corporation, Unplugged, All, default: F32LE, support: S16LE S16BE F32LE F32BE, 2, default: 48000, support: 1 - 384000, 0 - 0
    Monitor of Built-in Audio Digital Stereo (IEC958): /devices/pci0000:00/0000:00:1f.3/sound/card0, Intel Corporation, Enabled, None, default: F32LE, support: S16LE S16BE F32LE F32BE, 2, default: 48000, support: 1 - 384000, 0 - 0
    Monitor of GA104 High Definition Audio Controller Digital Stereo (HDMI): /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1, NVIDIA Corporation, Enabled, None, default: F32LE, support: S16LE S16BE F32LE F32BE, 2, default: 48000, support: 1 - 384000, 0 - 0
    Content Decryption Modules Information
    Key System Name: Video Robustness, Audio Robustness, Capabilities, Clear Lead
    org.w3.clearkey: {"persistent":"Optional","distinctive":"NotAllowed","sessionType":"[Temporary]","codec":{"decodingAndDecrypting":[],"decryptingOnly":["h264(all)","aac(all)","flac(all)","opus(all)","vp9(all)","av1(all)","vorbis(all)","vp8(all)"]}}, No
    com.widevine.alpha: SW_SECURE_CRYPTO,SW_SECURE_DECODE, SW_SECURE_CRYPTO, {"persistent":"Optional","distinctive":"NotAllowed","sessionType":"[Temporary]","codec":{"decodingAndDecrypting":["h264(all)","vp9(all)","av1(all)","vp8(all)"],"decryptingOnly":["aac(all)","flac(all)","opus(all)","vorbis(all)"]}}, Yes
    
    Environment Variables
    ---------------------
    
    MOZ_LEGACY_PROFILES: 1
    MOZ_ALLOW_DOWNGRADE: 1
    DISPLAY: :1
    MOZ_ASSUME_USER_NS: 1
    MOZ_LAUNCHED_CHILD:
    MOZ_APP_SILENT_START:
    XRE_START_OFFLINE:
    XRE_RESTARTED_BY_PROFILE_MANAGER:
    MOZ_SAFE_MODE_RESTART:
    MOZ_APP_RESTART: 1
    
    Remote Settings
    ---------------
    
    Status: OK
    
    Status: 2026-11-06T03:16:10.000Z
    
    Status: 1793933822410
    
    Status: Status Date Infos successThu Nov 05 2026 21:57:02 GMT-0500 (Eastern Standard Time){}successWed Nov 04 2026 04:19:51 GMT-0500 (Eastern Standard Time){}
    Date: success
    Infos: Thu Nov 05 2026 21:57:02 GMT-0500 (Eastern Standard Time)
    {}
    success
    Wed Nov 04 2026 04:19:51 GMT-0500 (Eastern Standard Time)
    {}
    
    Status: success
    Date: Thu Nov 05 2026 21:57:02 GMT-0500 (Eastern Standard Time)
    Infos: {}
    
    Status: success
    Date: Wed Nov 04 2026 04:19:51 GMT-0500 (Eastern Standard Time)
    Infos: {}
    
    Remote Experiments
    ------------------
    
    Important Modified Preferences
    ------------------------------
    
    accessibility.typeaheadfind.flashBar: 0
    browser.contentblocking.category: standard
    browser.search.region: US
    browser.sessionstore.upgradeBackup.latestBuildID: 20261020011928
    browser.startup.homepage: localhost:4433
    browser.startup.homepage_override.buildID: 20261020011928
    browser.startup.homepage_override.mstone: 158.0.1
    browser.tabs.groups.smart.enabled: false
    browser.tabs.groups.smart.userEnabled: false
    browser.theme.toolbar-theme: 0
    browser.urlbar.lastUrlbarSearchSeconds: 1793934802
    browser.urlbar.placeholderName: DuckDuckGo
    browser.urlbar.placeholderName.private: DuckDuckGo
    browser.urlbar.quickactions.timesShownOnboardingLabel: 3
    browser.urlbar.quicksuggest.migrationVersion: 7
    browser.urlbar.recentsearches.lastDefaultChanged: 1793787169654
    browser.urlbar.suggest.quicksuggest.all: false
    browser.urlbar.tipShownCount.searchTip_onboard: 1
    doh-rollout.doneFirstRun: true
    doh-rollout.home-region: US
    doh-rollout.mode: 0
    doh-rollout.self-enabled: true
    doh-rollout.uri: https://mozilla.cloudflare-dns.com/dns-query
    dom.forms.autocomplete.formautofill: true
    extensions.lastAppVersion: 158.0.1
    general.autoScroll: true
    idle.lastDailyNotification: 1793791421
    media.eme.enabled: true
    media.gmp-gmpopenh264.abi: x86_64-gcc3
    media.gmp-gmpopenh264.hashValue: f5246bf14d038adf4ce0c4360262ab722bc3de4220f047c3d542b4c564074b4877dc8659e3125c5171c749e7ce93f20cc63777eb5e1539e960670cbc
    media.gmp-gmpopenh264.lastDownload: 1793787034
    media.gmp-gmpopenh264.lastInstallStart: 1793787034
    media.gmp-gmpopenh264.lastUpdate: 1793787034
    media.gmp-gmpopenh264.version: 2.6.0
    media.gmp-manager.buildID: 20261020011928
    media.gmp-manager.lastCheck: 1793934625
    media.gmp-manager.lastEmptyCheck: 1793934625
    media.gmp-widevinecdm.abi: x86_64-gcc3
    media.gmp-widevinecdm.hashValue: 4bc44f7e2010ff1dec995ab496702467ec02f45db2f4d977822be89e40043ee0dd75f3d777539ecf243617029bbe5b41a1171d293b2fa615ffeacf5c
    media.gmp-widevinecdm.lastDownload: 1793787084
    media.gmp-widevinecdm.lastDownloadFailed: 1793934445
    media.gmp-widevinecdm.lastDownloadFailReason: Error: Failed downloading via ServiceRequest, status: 0, channelStatus: 2152398878, errorCode: 2, reason: error
    media.gmp-widevinecdm.lastInstallStart: 1793934445
    media.gmp-widevinecdm.lastUpdate: 1793787084
    media.gmp-widevinecdm.version: 4.10.3112.0
    media.gmp.storage.version.observed: 1
    network.cookie.CHIPS.lastMigrateDatabase: 2
    network.cookie.validation.lastEpoch: 1
    network.dns.disablePrefetch: true
    network.http.speculative-parallel-limit: 0
    network.prefetch-next: false
    places.database.lastMaintenance: 1793791421
    places.frecency.accelerateRecalculation: true
    privacy.bounceTrackingProtection.hasMigratedUserActivationData: true
    privacy.clearOnShutdown_v2.formdata: true
    privacy.purge_trackers.date_in_cookie_database: 0
    privacy.purge_trackers.last_purge: 1793791421528
    privacy.sanitize.clearOnShutdown.hasMigratedToNewPrefs3: true
    privacy.sanitize.pending: [{"id":"newtab-container","itemsToClear":[],"options":{}}]
    privacy.trackingprotection.allow_list.hasMigratedCategoryPrefs: true
    privacy.userContext.extension: @contain-facebook
    services.sync.declinedEngines:
    services.sync.engine.addresses: true
    services.sync.engine.addresses.available: true
    services.sync.engine.creditcards: true
    services.sync.engine.prefs.modified: false
    services.sync.lastPing: 1793787072
    services.sync.lastSync: Wed Nov 04 2026 07:08:32 GMT-0500 (Eastern Standard Time)
    signon.firefoxRelay.feature: disabled
    signon.generation.enabled: false
    signon.storage.rust.active: true
    storage.vacuum.last.index: 0
    storage.vacuum.last.places.sqlite: 1793791421
    
    Important Locked Preferences
    ----------------------------
    
    fission.autostart.session: true
    media.utility-process.enabled: true
    
    Places Database
    ---------------
    
    Last Idle Maintenance Date: 11/4/2026, 6:23 AM
    Last Vacuum Date: 11/4/2026, 6:23 AM
    Last Integrity Corruption Date: Missing
    
    Accessibility
    -------------
    
    Activated: false
    Prevent Accessibility: 0
    
    PDF Viewer
    ----------
    
    PDF.js Version: 6.4.195
    Enabled: true
    Annotation Editor Enabled: true
    XFA Forms Enabled: true
    Open PDF Attachments Inline: false
    
    Library Versions
    ----------------
    
    NSPR
    Expected minimum version: 4.36
    Version in use: 4.36
    
    NSS
    Expected minimum version: 3.130
    Version in use: 3.130
    
    NSSSMIME
    Expected minimum version: 3.130
    Version in use: 3.130
    
    NSSSSL
    Expected minimum version: 3.130
    Version in use: 3.130
    
    NSSUTIL
    Expected minimum version: 3.130
    Version in use: 3.130
    
  • Chrome - Scrolling is sluggish, WebGL entirely broken, causes a crash in the JS because it can’t make a surface

  • Luanti/minetest - Crashes at boot with glx errors

    pci id for fd 10: 10de:2488, driver (null)
    pci id for fd 11: 10de:2488, driver (null)
    pci id for fd 13: 10de:2488, driver (null)
    glx: failed to create dri3 screen
    failed to load driver: nvidia-drm
    Segmentation fault
    
  • glxgears - Crashes at boot with glx errors

    pci id for fd 4: 10de:2488, driver (null)
    pci id for fd 5: 10de:2488, driver (null)
    pci id for fd 6: 10de:2488, driver (null)
    glx: failed to create dri3 screen
    failed to load driver: nvidia-drm
    Segmentation fault
    
  • glxinfo - Crashes at boot:

    name of display: :1
    pci id for fd 4: 10de:2488, driver (null)
    pci id for fd 5: 10de:2488, driver (null)
    pci id for fd 6: 10de:2488, driver (null)
    glx: failed to create dri3 screen
    failed to load driver: nvidia-drm
    Segmentation fault
    

I am sure there are other apps with issues as well but I have stopped trying at that point.

So something seems to be off with the driver, even though when I run some diagnostics it does register that the driver is the nvidia open source driver.

Are there any pointers I can have to get me going? Here’s my config:

(define-module (vv machines lily)
  #:use-module (vv home common)
  #:use-module (vv home pipewire)
  #:use-module (gnu)
  #:use-module (gnu bootloader)
  #:use-module (gnu home)
  #:use-module (gnu home services sound)
  #:use-module (gnu packages)
  #:use-module (gnu services)
  #:use-module (gnu services base)
  #:use-module (gnu services cups)
  #:use-module (gnu services desktop)
  #:use-module (gnu services games)
  #:use-module (gnu services pm)
  #:use-module (gnu services virtualization)
  #:use-module (gnu services sddm)
  #:use-module (gnu services sound)
  #:use-module (gnu services xorg)
  #:use-module (gnu system)
  #:use-module (gnu system accounts)
  #:use-module (gnu system file-systems)
  #:use-module (gnu system mapped-devices)
  #:use-module (nonguix transformations)
  #:use-module (nongnu packages linux)
  #:use-module (nongnu packages nvidia)
  #:use-module (nongnu system linux-initrd)
  #:export (lily-os lily-home))

(define* (package-with-pw-wrapper pkg #:optional (program (package-name pkg)))
  (package
    (name (package-name pkg))
    (version (package-version pkg))
    (source #f)
    (build-system trivial-build-system)
    (arguments
     (list
      #:modules '((guix build union)
                  (guix build utils))
      #:builder
      #~(begin
          (use-modules (ice-9 match)
                       (guix build union)
                       (guix build utils))
          (let* ((program (string-append #$output "/bin/" #$program))
                 (desktop (string-append #$output "/share/applications/"
                                         #$program ".desktop"))
                 (pw-lib (string-append #$pipewire "/lib")))
            (union-build #$output (list #$pkg)
                         #:create-all-directories? #t)
            (when (file-exists? desktop)
              (substitute* desktop
                (("Exec=.*")
                 (string-append "Exec=" program "\n"))))
            (wrap-program program
              #:sh (string-append #$bash-minimal "/bin/sh")
              `("LD_LIBRARY_PATH" ":" prefix (,pw-lib)))))))
    (synopsis (package-synopsis pkg))
    (description (package-description pkg))
    (home-page (package-home-page pkg))
    (license (package-license pkg))))

(define nvidia-transform
  (nonguix-transformation-nvidia
   #:driver nvda-595
   #:configure-xorg? sddm-service-type))

(define lily-os
  (nvidia-transform
   (operating-system
     (locale "en_US.utf8")
     (timezone "America/New_York")
     (keyboard-layout (keyboard-layout "us"))
     (host-name "lily")
     (bootloader (bootloader-configuration
                  (bootloader grub-efi-bootloader)
                  (targets (list "/boot/efi"))
                  (keyboard-layout keyboard-layout)))
     (kernel linux)
     (initrd microcode-initrd)
     (firmware (list sof-firmware linux-firmware))
     (users (cons* (user-account
                    (name "vv")
                    (comment "Vivianne Langdon")
                    (group "users")
                    (home-directory "/home/vv")
                    (supplementary-groups
                     '("audio"
                       "kvm"            ; for VMs
                       "lp"             ; for bluetooth
                       "netdev"
                       "realtime"       ; for realtime prioritization
                       "video"
                       "docker"
                       "wheel")))       ; for sudo
                   %base-user-accounts))
     (groups (cons* (user-group
                     (name "realtime")
                     (system? #t))
                    (user-group
                     (name "docker")
                     (system? #t))
                    %base-groups))
     (packages %base-packages)
     (services (modify-services
	                 (cons* (service plasma-desktop-service-type)
                          (service bluetooth-service-type)
                          (service thermald-service-type)
                          (service cups-service-type
                                   (cups-configuration
                                    (web-interface? #t)
                                    (extensions
			                               (map specification->package '("cups-filters" "brlaser")))))
		                      (service pam-limits-service-type
			                             (list
			                              (pam-limits-entry "@realtime"
					                                            'both 'rtprio 99)
			                              (pam-limits-entry "@realtime"
					                                            'both 'memlock 'unlimited)))
                          (service sddm-service-type)
                          %desktop-services)
                 (delete gdm-service-type)
	               (delete pulseaudio-service-type)
                 (guix-service-type config =>
                                    (guix-configuration
                                     (inherit config)
                                     (substitute-urls
                                      (append (list "https://substitutes.nonguix.org")
                                              %default-substitute-urls))
                                     (authorized-keys
                                      (append (list (local-file "../../keys/nonguix-signing-key.pub"))
                                              %default-authorized-guix-keys))))))
     (mapped-devices (list (mapped-device
                            (source (uuid "547c83f0-9677-47c0-905a-bacef422090d"))
                            (target "cryptroot")
                            (type luks-device-mapping))))
     (file-systems (cons* (file-system
                            (mount-point "/boot/efi")
                            (device (uuid "2185-15D5" 'fat32))
                            (type "vfat"))
                          (file-system
                            (mount-point "/")
                            (device "/dev/mapper/cryptroot")
                            (type "btrfs")
                            (dependencies mapped-devices)))
                          %base-file-systems))
     (name-service-switch %mdns-host-lookup-nss))))

(define lily-home
  (nvidia-transform
   (home-environment
    (packages
     (cons* (package-with-pw-wrapper (specification->package "firefox"))
            (specifications->packages
             '("audacity"
               "blender"
               "cmake"
               "direnv"
               "dragonfly-reverb"
               "easyeffects"
               "emacs"
               "emacs-guix"
               "fennel"
               "ffmpeg-nvidia@595"
               "fish"
               "flatpak"
               "font-google-noto-emoji"
               "font-google-noto-sans-cjk"
               "font-google-noto-serif-cjk"
               "font-inconsolata"
               "fzf"
               "gajim"
               "ghc"
               "gimp"
               "git"
               "git-annex"
               "go"
               "google-chrome-stable"
               "guile-colorized"
               "guile-hall"
               "guile-hoot"
               "guile-proba"
               "guile-readline"
               "haunt"
               "htop"
               "imagemagick"
               "inkscape"
               "janet"
               "libreoffice"
               "libresprite"
               "lsp-plugins"
               "lua"
               "m8c"
               "milkytracker"
               "mpv-nvidia"
               "ncurses"
               "node"
               "obs-nvidia"
               "openssh"
               "pavucontrol"
               "pipx"
               "projectm"
               "qjackctl"
               "qpwgraph"
               "racket"
               "rust"
               "schismtracker"
               "sfxr"
               "starship"
               "steam-nvidia@595"
               "strace"
               "supercollider"
               "tor"
               "vlc"
               "wine"
               "x42-plugins"
               "xdg-desktop-portal"
               "xdg-desktop-portal-gtk"
               "zig"
               "zoxide"
               "yt-dlp"))))
    (services (cons (service home-pipewire-service-type)
                    common-services)))))

lily-os

And:

vv@lily ~$ inxi -G
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3070 Lite Hash Rate] driver: nvidia
    v: 595.112.07
  Display: wayland server: N/A compositor: kwin_wayland driver: X:
    loaded: nvidia unloaded: fbdev,modesetting,nouveau,nv,vesa
    gpu: nv_platform,nvidia,nvidia-nvswitch resolution: 1: 3840x2160~60Hz
    2: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: N/A platforms: wayland,x11
  API: OpenGL Message: No GL data available.
  Info: Tools: api: eglinfo,glxinfo de: kscreen-console,kscreen-doctor
    gpu: nvidia-settings,nvidia-smi wl: wayland-info
    x11: xdpyinfo, xprop, xrandr

I have just seen that the 595 driver has been deprecated. Pulling now, really hope that fixes things…

Okay! I think I have sorted it out. It was three things:

  • The custom Firefox pipewire profile that I snarfed from @dthompson is not nvidia-aware – presumably there is some modification that I would have to do, if that is even still necessary. I switched to a standard firefox, and logged in again, and it works!
  • Seems I was not properly wrapping apps that I installed using guix install. I have switched to adding them via the profile and it works properly now. I think there’s some steps that are in the nonguix README that I can follow if I need to install 3d apps one-off for the future. I had mistakenly thought that if I was using a guix home configured with the nvidia transformation, that even guix install would auto-wrap the packages, but I seem to have been mistaken.
  • For Chrome, I had to add the flag --use-webgpu-adapter=opengles in order to disable Vulkan, which for some reason doesn’t work

So happy to have it all working as expected now.

I think the Chrome issue is:

[5080:5080:1105/232129.703477:ERROR:ui/ozone/platform/wayland/gpu/wayland_surface_factory.cc:248] '--ozone-platform=wayland' is not compatible with Vulkan. Consider switching to '--ozone-platform=x11' or disabling Vulkan

Indeed: If I add --use-webgpu-adapter=opengles to the chrome launch args, my test fluid simulation is smooth as butter again.