Danke für den Tipp, boospy! Ich kannte PRIME noch nicht. Mal sehen was da sich machen lässt. Hab meinen Firmen-Notebook auch mit solch hybridem Chip
EDIT: Einzelne Anwendungen laufen schon mal damit
Was habe ich gemacht:
- Freie Treiber, also intel+nouveu beide geladen
- X-Server ohne eine xorg.conf gestartet
Dann folgendes ausgeführt:
|
Quellcode
|
1
2
3
4
|
# xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x8c cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 3 outputs: 3 associated providers: 0 name:Intel
Provider 1: id: 0x66 cap: 0x7, Source Output, Sink Output, Source Offload crtcs: 2 outputs: 5 associated providers: 0 name:nouveau
|
Mit einer xorg.conf war da nur ein Eintrag, ohne die xorg.conf, sind beide da
Dann die beiden ID's genommen, hier die 0x8c und 0x66 und damit ein
|
Quellcode
|
1
|
xrandr --setprovideroffloadsink 0x66 0x8c
|
Jetzt sieht xrandr --listproviders so aus:
|
Quellcode
|
1
2
|
Provider 0: id: 0x8c cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 3 outputs: 3 associated providers: 1 name:Intel
Provider 1: id: 0x66 cap: 0x7, Source Output, Sink Output, Source Offload crtcs: 2 outputs: 5 associated providers: 1 name:nouveau
|
Da ist also eine "1" hinten angegangen.
Jetzt prüfen:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# DRI_PRIME=1 glxinfo | grep OpenGL
OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NVD9
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.7
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.3.7
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.3.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
OpenGL ES profile extensions:
# glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL core profile version string: 3.1 (Core Profile) Mesa 10.3.7
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.3.7
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.3.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
OpenGL ES profile extensions:
|
Zum Vergleich dann auch glxinfo mit und ohne DRI_PRIME=1 ausprobiert, unterschied ist spührbar.
Keine Ahnung was die Befehle machen, hatte ich in einem russischen Forum gefunden. Auch wie man den Desktop darauf komplett draufsetzt weiss ich nicht, habe ich auch nicht vor.
Die "xrandr" Geschichten sind wahrscheinlich irgend wie in der xorg.conf machbar
Interessant wäre für mich ob damit auch der HDMI-Port angesprochen werden kann der nur am Nvidia-Chip hängt. Aber nicht mehr heute