You are not logged in.

#1 Yesterday 22:32:48

Dreamkey
Member
Registered: 2010-08-28
Posts: 54

Screen tearing with prime-run

Hello, I have an issue with my optimus laptop. It has a i7-4710MQ (Haswell) with a nVidia 970M (Maxwell).
Still on Xorg with Awesome WM and picom.

I guess the tearing comes from a synchronisation issue, glxgears should be around 50FPS but it's clearly not:

$ prime-run glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
632 frames in 5.0 seconds = 126.272 FPS

I tried adding "nvidia_drm.modeset=1 nvidia_drm.fbdev=1" to my cmdline, but I believe it's useless because "nvidia_drm" is not loaded; if I modprobe it manually my screen freezes completely, I found that inside my logs:

nvidia 0000:01:00.0: [drm] No compatible format found
nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizes

And setting it through xrandr also doesn't work (it needs nvidia_drm?):

$ xrandr --output HDMI-2 --set "PRIME Synchronization" 1
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  11 (RRQueryOutputProperty)
  Serial number of failed request:  38
  Current serial number in output stream:  38

Also I was using nvidia-xrun some times ago, but now even if unigine-heaven shows 100+FPS the screen itself is refreshed at 1FPS, even inside a terminal.
Maybe since moving the legacy drivers to dkms?

Thanks in advance smile

Offline

Board footer

Powered by FluxBB