[ Linux/ Wayland ] Cannot use evee with nvidia #111121

Closed
opened 2023-08-14 19:11:33 +02:00 by sailesh-poudel · 6 comments

System Information
Operating System: Arch Linux
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-9300H CPU @ 2.40GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630 + Nvidia GTX 1660 ti

Blender Version
Broken: Blender 3.6 (in wayland session)
Worked: Works in X11 session with nvidia prime.

Short description of error
In x11 i can use blender evee with nvidia-prime but in wayland i cannot use blender evee with nvidia prime. The blender window
doesn't open at all.

I have two graphics card, one integrated intel & another discrete graphics card nvidia.
Cycles works fine with nvidia in wayland session but when i try to use evee it uses integrated graphics instead of
nvidia card.

Exact steps for others to reproduce the error

  1. Login to wayland session.
  2. Open blender with nvidia-prime to run the program with nvidia. ( $ prime-run blender )
  3. Try to render using evee
**System Information** Operating System: Arch Linux KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 Kernel Version: 6.4.10-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i5-9300H CPU @ 2.40GHz Memory: 15.3 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 630 + Nvidia GTX 1660 ti **Blender Version** Broken: Blender 3.6 (in wayland session) Worked: Works in X11 session with nvidia prime. **Short description of error** In x11 i can use blender evee with nvidia-prime but in wayland i cannot use blender evee with nvidia prime. The blender window doesn't open at all. I have two graphics card, one integrated intel & another discrete graphics card nvidia. Cycles works fine with nvidia in wayland session but when i try to use evee it uses integrated graphics instead of nvidia card. **Exact steps for others to reproduce the error** 1. Login to wayland session. 2. Open blender with nvidia-prime to run the program with nvidia. ( $ prime-run blender ) 3. Try to render using evee
sailesh-poudel added the
Type
Report
Severity
Normal
Status
Needs Triage
labels 2023-08-14 19:11:34 +02:00
Member

Hi! I'm kinda confused about the report...

In wayland session, is your blender

  • not opening in wayland at all?
  • or can open in wayland, but crashed at eevee rendering while cycles is fine?

Intel UHD630 should by itself capable of OpenGL 4.6 which is more than enough for eevee (as long as you have enough memory).

Could you give us system information (Help > Save System Info, please upload the system info from X11 and Wayland, if blender can open) and (if crashes) crash log? You can find instructions here. Thanks!

Hi! I'm kinda confused about the report... In wayland session, is your blender - not opening in wayland at all? - or can open in wayland, but crashed at eevee rendering while cycles is fine? Intel UHD630 should by itself capable of OpenGL 4.6 which is more than enough for eevee (as long as you have enough memory). Could you give us system information (Help > Save System Info, please upload the system info from X11 and Wayland, if blender can open) and (if crashes) crash log? You can find [instructions here](https://docs.blender.org/manual/en/3.6/troubleshooting/crash.html#linux). Thanks!
Author

By default, in wayland cycles uses nvidia and evee uses intel UHD 630 graphics card.
I want to make use of nvidia for both rendering engine.

Evee is super slow while using UHD 630 graphics.

For example, i can make use of nvidia card in x11 session with nvidia-prime to open blender &
render using nvidia only, without use of UHD 630 graphics card.

But for some reason, i cannot make use of nvidia card in wayland session using nvidia prime.
Blender main window doesn't show up at all.

By default, in wayland cycles uses nvidia and evee uses intel UHD 630 graphics card. I want to make use of nvidia for both rendering engine. Evee is super slow while using UHD 630 graphics. For example, i can make use of nvidia card in x11 session with nvidia-prime to open blender & render using nvidia only, without use of UHD 630 graphics card. But for some reason, i cannot make use of nvidia card in wayland session using nvidia prime. Blender main window doesn't show up at all.

@ChengduLittleA The user responded. I think they just want to use their GTX card with Eevee? They're saying that the Nvidia card can run Eevee on X11 using PRIME but it doesn't work with Wayland.

I don't have a laptop with hybrid graphics, nor do I use Wayland, so I don't have much to say here. Just judging by the context here I think this is less of a Blender problem and more of a Wayland and/or PRIME problem.

@ChengduLittleA The user responded. I think they just want to use their GTX card with Eevee? They're saying that the Nvidia card can run Eevee on X11 using [PRIME](https://wiki.archlinux.org/title/PRIME) but it doesn't work with Wayland. I don't have a laptop with hybrid graphics, nor do I use Wayland, so I don't have much to say here. Just judging by the context here I think this is less of a Blender problem and more of a Wayland and/or PRIME problem.
Member

Humm I agree, this probably should be reported to Wayland then.

Humm I agree, this probably should be reported to Wayland then.
https://bugs.archlinux.org/task/79415

Closing as issues with GPU switching aren't something Blender can resolve, further NVIDIA support under Wayland is known to be incomplete (see comments on #103999).

Closing as issues with GPU switching aren't something Blender can resolve, further NVIDIA support under Wayland is known to be incomplete (see comments on #103999).
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-12-05 23:38:24 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
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
5 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#111121
No description provided.