getsolus / getsolus/packages

Modernise hybrid GPU management (T10519)

Open
#175 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

State: Stale Topic: Hardware Support Topic: Platform Integration
Dominant language
Python
Stars
141
Forks
146
Avg merge
11h 7m
Merged PRs (30d)
407

Description

Ikey Doherty (@ikeycode), 2023-05-03 11:58:12 UTC

linux-driver-management will be brought back to life with a number of small changes.
The existing implementation predates widespread adoption (and viability) of glvnd, thus forces uses onto the dGPU when proprietary
drivers are installed, resulting in reduced efficiency.

  • Default to iGPU in xorg.conf

  • Support switcheroo-control compatibility:

    • Symlink for supporting list and launch commands
    • Expose same D-BUS service, using the working logic of LDM
  • Implement launching using env vars:

    • NVIDIA: __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1
    • Intel/AMD: DRI_PRIME=1
  • Test integration with GNOME

  • Investigate Plasma integration work

  • Ensure Budgie compatibility

  • Document the launch commands for other desktops

  • Potentially integrate into Brisk Menu for MATE

  • Investigate Caja compat.

  • Investigate whether we need to forcibly enable PRIME_SYNCHRONIZATION in ldm-session-init, otherwise drop these integrations.

  • Test @TraceyC77 and @ikeycode laptops

  • Get AMD testers (@ermo ?)

Unknown: MATE desktop

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing linux-driver-management implementation and the ldm-session-init entry point mentioned in the issue. Review the xorg.conf, switcheroo-control, and desktop-integration requirements, then determine which checklist items are in scope. Done requires agreed behavior for iGPU defaults, launch commands, and supported desktop environments, with integration testing documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
desktop-dev, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.