WIP: Vulkan: Device Selection #109001

Draft
Jeroen Bakker wants to merge 2 commits from Jeroen-Bakker/blender:vulkan-device-selection into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Member

This PR allows to select a device to be used by the Vulkan backend.
Current approach is that it is a command line argument.
--gpu-device folowing the index of the device you want to select

I added it this way as currently I am installing different GPUs all
the time to test compatibility between different vendors.

TODO

  • Provide a list of devices to choose from
  • Selecting a non presenting device has artifacts
  • Add user pref option
  • User decision, should we select device even when it doesn't have
    all needed requirements. eg exit on wrong choice.
  • Document the API
This PR allows to select a device to be used by the Vulkan backend. Current approach is that it is a command line argument. `--gpu-device` folowing the index of the device you want to select I added it this way as currently I am installing different GPUs all the time to test compatibility between different vendors. **TODO** - [ ] Provide a list of devices to choose from - [ ] Selecting a non presenting device has artifacts - [ ] Add user pref option - [ ] User decision, should we select device even when it doesn't have all needed requirements. eg exit on wrong choice. - [ ] Document the API
Jeroen Bakker added this to the 4.0 milestone 2023-06-15 09:59:54 +02:00
Jeroen Bakker added the
Interest
Vulkan
label 2023-06-15 09:59:54 +02:00
Jeroen Bakker self-assigned this 2023-06-15 09:59:54 +02:00
Jeroen Bakker added 1 commit 2023-06-15 10:00:01 +02:00
This PR allows to select a device to be used by the Vulkan backend.
Current approach is that it is a command line argument.
`--gpu-device` folowing the index of the device you want to select

**TODO**

- [ ] Provide a list of devices to choose from
- [ ] Selecting a non presenting device has artifacts
- [ ] Add user pref option
- [ ] User decision, should we select device even when it doesn't have
      all needed requirements. eg exit on wrong choice.
- [ ] Document the API
Jeroen Bakker added 1 commit 2023-06-16 15:25:37 +02:00
Brecht Van Lommel removed this from the 4.0 milestone 2024-01-02 11:10:33 +01:00
This pull request has changes conflicting with the target branch.
  • intern/ghost/intern/GHOST_ContextVK.cc
  • intern/ghost/intern/GHOST_ContextVK.hh
  • intern/ghost/intern/GHOST_SystemCocoa.mm
  • intern/ghost/intern/GHOST_SystemWayland.cc
  • intern/ghost/intern/GHOST_SystemWin32.cc
  • intern/ghost/intern/GHOST_SystemX11.cc
  • intern/ghost/intern/GHOST_WindowCocoa.mm
  • intern/ghost/intern/GHOST_WindowWayland.cc
  • intern/ghost/intern/GHOST_WindowWayland.hh
  • intern/ghost/intern/GHOST_WindowWin32.cc

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u vulkan-device-selection:Jeroen-Bakker-vulkan-device-selection
git checkout Jeroen-Bakker-vulkan-device-selection
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#109001
No description provided.