Skip to content

Commit af9b2b1

Browse files
committed
Add good output example in windows faq wrong gpu
1 parent 1f67199 commit af9b2b1

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

website/faq/windows.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,27 @@ icon: material/microsoft
99

1010
Hybrid systems might offload lightweight tasks to the weaker or integrated gpu for performance, battery life, and efficiency reasons. Since ShaderFlow is a _'generic'_ Python application that simply uses [moderngl](https://github.com/moderngl/moderngl) contexts, the operating system is being lazy (in a good way) with its choice.
1111

12+
Using the integrated card in a hybrid system can cause crashes or poor performance.
13+
1214
=== ":simple-nvidia: Nvidia"
1315
> - Open the Nvidia Control Panel, go to _Manage 3D settings_ and either:
14-
> 1. Find the Python interpreter or ShaderFlow executable being run
16+
> 1. Find the Python interpreter or project executable being run
1517
> 2. Go for the _Global Settings_ tab (discouraged)
1618
> - Set the preferred graphics to the Nvidia GPU, apply settings.
1719
=== ":simple-amd: AMD"
1820
> Unknown, consider improving this answer if you have one!
1921
=== ":simple-intel: Intel"
2022
> Unknown, consider improving this answer if you have one!
2123

24+
On every scene initialization, it prints the renderer in use, a good output is eg.:
25+
26+
```
27+
$ shaderflow basic main
28+
│0'00.936├┤info │ Initializing scene Basic with backend WindowBackend.GLFW
29+
│0'01.186├┤info │ OpenGL Renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2
30+
...
31+
```
32+
2233
### **Q:** Artifacts in uint16 textures {#amd-u16}
2334

2435
Seems to only happen in AMD cards, setting `texture.anisotropy = 1` fixes it.

0 commit comments

Comments
 (0)