Hallo,
Ich bekomme einfach das Tearing nicht weg. Im Computer ist die onboard Grafik (INTEL HD Graphics 530 primär aktiviert). Dann steckt noch eine MSI GTX1070 Karte im PCI-E Slot:
System: Host: user-pc Kernel: 4.17.14-arch1-1-ARCH x86_64 bits: 64 Desktop: Xfce 4.12.4
Machine: Type: Desktop Mobo: ASUSTeK model: Z170-A v: Rev 1.xx serial: <root required>
CPU: Quad Core: Intel Core i7-6700K type: MT MCP speed: 1706 MHz min/max: 800/4200 MHz
Graphics: Card-1: Intel HD Graphics 530 driver: i915 v: kernel
Card-2: NVIDIA GP104 [GeForce GTX 1070] driver: nvidia v: 396.51
Display: x11 server: X.Org 1.20.0 driver: intel resolution: 2560x1440~60Hz
OpenGL: renderer: N/A v: N/A
Die primäre Grafik ist also INTEL, sekundär NVIDIA. Zuerst habe ich versucht mit "compton" das Tearing wegzubekommen. Tipps sind ja auch hier im Forum zu finden.
Der Komposit wurde deaktiviert und dann mit Compton getestet.
Ich habe alle VSync Methoden getestet:
# Set VSync method. VSync methods currently available:
# none: No VSync
# drm: VSync with DRM_IOCTL_WAIT_VBLANK. May only work on some drivers.
# opengl: Try to VSync with SGI_video_sync OpenGL extension. Only work on some drivers.
# opengl-oml: Try to VSync with OML_sync_control OpenGL extension. Only work on some drivers.
# opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesn’t have the effect of --sw-opti unlike other methods. Experimental.
# opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use.
# (Note some VSync methods may not be enabled at compile time.)
vsync = "opengl-swc";
unredir-if-possible = true;
Keine Verbesserung.
Dann die Tearfree-Methode:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
Option "SwapbuffersWait" "true"
Option "AccelMethod" "sna"
EndSection
Arch blieb dann beim Booten hängen mit der Fehlermeldung: "failed to start Light Display Manager".
Dann habe ich zusätzlich die BusID angegeben:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
Option "SwapbuffersWait" "true"
Option "AccelMethod" "sna"
BusID "PCI:0:2:0"
EndSection
Ok, Tearing war weg, allerdings auf Kosten der Bildqualität. Die Videowiedergabe wirkte leicht unscharf/milchig. Ok, hätte ich mit leben können. Aber durch die TearFree Option wird die Videoausgabe meiner NVidiakarte deaktiviert. Und das geht gar nicht.
Ich weiß echt nicht mehr weiter und brauche Tipps wie man dieses ver*luchte Tearing wegbekommt ohne das die Ausgabe der NVidiakarte deaktiviert wird.
Gruß ggrub