#1 Le 15/05/2020, à 18:23
- thib1984
tearing sur GeForce GTX 1050 Ti / Ubuntu 20.04
Sur une installation fraîche de Ubuntu je constate un problème de tearing, notamment sur molotov mais pas sur mpv.
Initialement, le problème était visible partout mais en modifiant les options du kernel, le problème sur mpv a été résolu.
tga@gf75:~$ sudo inxi -F
System: Host: gf75 Kernel: 5.4.0-29-generic x86_64 bits: 64 Desktop: Gnome 3.36.1 Distro: Ubuntu 20.04 LTS (Focal Fossa)
Machine: Type: Laptop System: Micro-Star product: GF75 Thin 8RD v: REV:1.0 serial: 9S717F112050ZIC000067
Mobo: Micro-Star model: MS-17F1 v: REV:1.0 serial: BSS-0123456789 UEFI: American Megatrends v: E17F1IMS.101
date: 11/23/2018
Battery: ID-1: BAT1 charge: 49.5 Wh condition: 50.1/51.3 Wh (98%)
CPU: Topology: Quad Core model: Intel Core i5-8300H bits: 64 type: MT MCP L2 cache: 8192 KiB
Speed: 2489 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 1000 2: 997 3: 998 4: 976 5: 997 6: 995 7: 998 8: 999
Graphics: Device-1: Intel UHD Graphics 630 driver: i915 v: kernel
Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Max-Q] driver: nvidia v: 440.64
Display: server: X.Org 1.20.8 driver: modesetting,nvidia unloaded: fbdev,nouveau,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce GTX 1050 Ti with Max-Q Design/PCIe/SSE2 v: 4.6.0 NVIDIA 440.64
Audio: Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
Sound Server: ALSA v: k5.4.0-29-generic
Network: Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi
IF: wlo1 state: up mac: 1c:1b:b5:d3:bd:6e
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
IF: enp3s0 state: down mac: 00:d8:61:05:ef:b2
IF-ID-1: docker0 state: down mac: 02:42:f1:ef:d2:b9
Drives: Local Storage: total: 1.14 TiB used: 97.97 GiB (8.4%)
ID-1: /dev/nvme0n1 vendor: Kingston model: RBUSNS8154P3256GJ size: 238.47 GiB
ID-2: /dev/sda vendor: Western Digital model: WD10SPZX-17Z10T1 size: 931.51 GiB
Partition: ID-1: / size: 230.92 GiB used: 7.50 GiB (3.2%) fs: ext4 dev: /dev/nvme0n1p3
ID-2: /home size: 915.89 GiB used: 90.46 GiB (9.9%) fs: ext4 dev: /dev/sda1
ID-3: swap-1 size: 1.91 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p2
Sensors: System Temperatures: cpu: 59.0 C mobo: N/A gpu: nvidia temp: 52 C
Fan Speeds (RPM): N/A
Info: Processes: 340 Uptime: 2h 40m Memory: 15.49 GiB used: 1.98 GiB (12.8%) Shell: bash inxi: 3.0.38
tga@gf75:~$ more /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=2
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="nvidia-drm.modeset=1"
GRUB_CMDLINE_LINUX=""
tga@gf75:~$ more /etc/mpv/mpv.conf
#hwdec=vaapi
hwdec=vdpau
vo=vdpau
speed=1
save-position-on-quit
#reglage des sous titres jaune avec police ubuntu
sub-font="Ubuntu Mono Regular"
sub-font-size=36
sub-color="#FFD700"
sub-border-color="#000000"
#sous titre et audio par defaut
slang=fre,fr,eng,en
alang=eng,en,fre,fr
#dossier des captures
screenshot-directory=/home/tga/Images
tga@gf75:~$ sudo cat /sys/module/nvidia_drm/parameters/modeset
Y
Je ne sais pas comment configurer correctement la carte graphique...
L'un d'entre vous pourrait-il m'aider?
Hors ligne
#2 Le 16/05/2020, à 11:56
- LukePerp
Re : tearing sur GeForce GTX 1050 Ti / Ubuntu 20.04
Malheureusement, il y a du screen tearing par défaut avec les GPU nvidia sous 20.04. Pour ma part, c'est inacceptable et ça me met en colère, étant donné que c'est un vieux problème et que les GPU nvidia sont répandue avec la dernière version d'Ubuntu. Pour limiter le problème, faut utiliser le dernier pilote nvidia dispo dans pilotes additionnels et suivre ces instructions :
Fix screen tearing for nvidia GPU:
Use the NVIDIA proprietary driver (version maybe affect 4.)
Select NVIDIA X Server Settings from control center
Select the X Server Display Configuration
Click on the advanced button and check Force Composition Pipeline
Click on the button Save to X configuration file to set it at startup.Fix for Firefox:
about:config
Set layers.acceleration.force-enabled to true
Dernière modification par LukePerp (Le 16/05/2020, à 12:00)
Desktop & Laptop - Ubuntu Mate dernière LTS - Intel i5 - 16 Go - Dual boot Windows offline
Hors ligne
#3 Le 17/05/2020, à 11:10
- Chaosphere
Re : tearing sur GeForce GTX 1050 Ti / Ubuntu 20.04
Salut, j'ai moi aussi du tearing avec Ubuntu 20.04 sur un ASUS X556U
Click on the advanced button and check Force Composition Pipeline
Par contre j'ai pas "Force composition pipeline" quand je clique sur "advanced"
Hors ligne
#4 Le 17/05/2020, à 13:49
- LukePerp
Re : tearing sur GeForce GTX 1050 Ti / Ubuntu 20.04
faut avoir une version très récente du pilote nvidia
Desktop & Laptop - Ubuntu Mate dernière LTS - Intel i5 - 16 Go - Dual boot Windows offline
Hors ligne
#5 Le 19/05/2020, à 14:55
- Chaosphere
Re : tearing sur GeForce GTX 1050 Ti / Ubuntu 20.04
Je suis en version 440, c'est la dernière version disponible dans "Pilotes additionnels"...
Hors ligne
#6 Le 19/05/2020, à 19:46
- LukePerp
Re : tearing sur GeForce GTX 1050 Ti / Ubuntu 20.04
Cherches bien. Vérifie que tu utilises le pilote version 440 puis va dans nvidia settings.
En image :
Option avancée :
https://i.imgur.com/3DlCQsj.png
Force composite :
https://i.imgur.com/NqRRraA.png
Desktop & Laptop - Ubuntu Mate dernière LTS - Intel i5 - 16 Go - Dual boot Windows offline
Hors ligne
#7 Le 19/05/2020, à 19:49
- Chaosphere
Re : tearing sur GeForce GTX 1050 Ti / Ubuntu 20.04
Oui j'ai bien vérifié, mais j'ai pas cette option...
Ma carte graphique c'est une Geforce 940MX, c'est peut être pour ca ?
Hors ligne
#8 Le 20/05/2020, à 10:32
- LukePerp
Re : tearing sur GeForce GTX 1050 Ti / Ubuntu 20.04
C'est bizarre. Essayez de le réinstaller :
sudo apt remove nvidia-settings
sudo apt install nvidia-settings
Desktop & Laptop - Ubuntu Mate dernière LTS - Intel i5 - 16 Go - Dual boot Windows offline
Hors ligne
#9 Le 20/05/2020, à 10:44
- Chaosphere
Re : tearing sur GeForce GTX 1050 Ti / Ubuntu 20.04
hmm... c'est pareil...
Hors ligne