You are not logged in.

#1 2020-01-22 15:27:22

Xwang
Member
Registered: 2012-05-14
Posts: 353

Prime issue betwwen Nvidia and Intel

Hi,
I've an asus n752vx with Nvidia 950m.
I've added the nvidia-drm.modeset=1 option to the kernel line which is:

BOOT_IMAGE=/vmlinuz-linux root=UUID=74296c4e-84df-4eda-87a1-09be9d8e114b rw quiet loglevel=3 rd.systemd.show_status=auto rd.udev.log_priority=3 splash mitigations=auto,nosmt pci=noaer nvidia-drm.modeset=1

but it seems that the syncronization is not active for the screen in use (the laptop one) and I see a lot of tearing watching videos:

xrandr --prop
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
        EDID: 
                00ffffffffffff0030e4e80400000000
                00190104952615780a0bb5a35955a027
                0c505400000001010101010101010101
                0101010101012e3680a070381f403020
                35007ed71000001a0000000000000000
                00000000000000000000000000fe004c
                4720446973706c61790a2020000000fe
                004c503137335746342d53504633004f
        PRIME Synchronization: 0 
                supported: 0, 1

This is the output of dmesg |grep drm:

[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=74296c4e-84df-4eda-87a1-09be9d8e114b rw quiet loglevel=3 rd.systemd.show_status=auto rd.udev.log_priority=3 splash mitigations=auto,nosmt pci=noaer nvidia-drm.modeset=1
[    0.139358] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=74296c4e-84df-4eda-87a1-09be9d8e114b rw quiet loglevel=3 rd.systemd.show_status=auto rd.udev.log_priority=3 splash mitigations=auto,nosmt pci=noaer nvidia-drm.modeset=1
[    1.348443] fb0: switching to inteldrmfb from EFI VGA
[    1.349484] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.349484] [drm] Driver supports precise vblank timestamp query.
[    1.350483] [drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin (v1.27)
[    1.361714] [drm] Initialized i915 1.6.0 20190822 for 0000:00:02.0 on minor 0
[    1.375223] fbcon: i915drmfb (fb0) is primary device
[    1.375226] i915 0000:00:02.0: fb0: i915drmfb frame buffer device
[    1.530462] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    1.935323] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.935324] [drm] No driver support for vblank timestamp query.
[    1.935326] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1

When I activated PRIME syncronization a lot of months ago (as soon as it was available), it worked.
Can you please help me?
Is it a bug?


I'm still learning English so please excuse me if my English is not good enough and feel free to correct me via PM if you want.

Offline

#2 2020-01-22 15:38:05

zaxmyth
Member
From: Seattle / San Francisco
Registered: 2019-03-25
Posts: 25
Website

Re: Prime issue betwwen Nvidia and Intel

Are you running kernel 5.4? Looks like synchronization is broken without a patch: https://bbs.archlinux.org/viewtopic.php?id=251032

Offline

#3 2020-01-22 16:25:27

Xwang
Member
Registered: 2012-05-14
Posts: 353

Re: Prime issue betwwen Nvidia and Intel

Yes, I'm am.
Switching to LTS has solved the issue.
If nobody has opened a bug, I'll open it.
Thanks.


I'm still learning English so please excuse me if my English is not good enough and feel free to correct me via PM if you want.

Offline

#4 2020-01-22 16:27:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,426

Re: Prime issue betwwen Nvidia and Intel

As established it is known a patch is available and nvidia fixed it already in the vulkan branch, so please don't open a bug it will be fixed in the next stable nvidia release.

Online

#5 2020-01-22 16:36:09

Xwang
Member
Registered: 2012-05-14
Posts: 353

Re: Prime issue betwwen Nvidia and Intel

V1del wrote:

As established it is known a patch is available and nvidia fixed it already in the vulkan branch, so please don't open a bug it will be fixed in the next stable nvidia release.

OK


I'm still learning English so please excuse me if my English is not good enough and feel free to correct me via PM if you want.

Offline

Board footer

Powered by FluxBB