Vsync issue Nvidia Prime (UX32VD with GT620 M)
Small Update: Daniel Vetter of the Intel open graphics driver team [url=http://blog.ffwll.ch/2016/01/neat-drmi915-stuff-for-45.html]wrote about the coming changes in Linux 4.5[/url] and mentioned the changes: [quote]There have been some real features though still: Alex Goins from nvidia implementd[i][sic][/i] proper sync for page-flipping dma-buf backed framebuffers, benefitting[i][sic][/i] setups where nVidia renders buffers that the Intel driver displays.[/quote] In other words: The patch will indeed most likely land in kernel 4.5.
Small Update: Daniel Vetter of the Intel open graphics driver team wrote about the coming changes in Linux 4.5 and mentioned the changes:

There have been some real features though still: Alex Goins from nvidia implementd[sic] proper sync for page-flipping dma-buf backed framebuffers, benefitting[sic] setups where nVidia renders buffers that the Intel driver displays.

In other words: The patch will indeed most likely land in kernel 4.5.

#46
Posted 01/11/2016 06:00 PM   
Synchronization won't really be of any use if Nvidia Prime is not actually fixed, as it's totally broken since Xorg 1.18, see this arch linux bug report: https://bugs.archlinux.org/task/47151 A workaround needs to be used (using Screen 1 instead of Screen 0) for it to work, but then it breaks menus in various applications including Firefox. Seems weird that Nvidia didn't fix this yet.
Synchronization won't really be of any use if Nvidia Prime is not actually fixed, as it's totally broken since Xorg 1.18, see this arch linux bug report:

https://bugs.archlinux.org/task/47151


A workaround needs to be used (using Screen 1 instead of Screen 0) for it to work, but then it breaks menus in various applications including Firefox.
Seems weird that Nvidia didn't fix this yet.

#47
Posted 01/11/2016 08:21 PM   
The Linux 4.5 merge window is over and the Kernel-side patches have indeed been merged! [url]https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=fd8e058a27f319d4560529d54bcbf8aec2d72017[/url] [url]https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=3c28ff22f6e20cc946cb5a2b77d14862999f7ba0[/url] [url=https://lwn.net/Articles/673338/]Linux 4.5-rc1 is out[/url]; users of Arch Linux can grab [url=https://aur.archlinux.org/packages/linux-mainline/]linux-mainline[/url] from the AUR. However, without the xserver and nvidia driver changes, this is likely not going to be of much use yet. If somebody from nvidia could let us know what their planned release schedule for the updates drivers is, that would be great.
The Linux 4.5 merge window is over and the Kernel-side patches have indeed been merged!

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=fd8e058a27f319d4560529d54bcbf8aec2d72017
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=3c28ff22f6e20cc946cb5a2b77d14862999f7ba0

Linux 4.5-rc1 is out; users of Arch Linux can grab linux-mainline from the AUR. However, without the xserver and nvidia driver changes, this is likely not going to be of much use yet.

If somebody from nvidia could let us know what their planned release schedule for the updates drivers is, that would be great.

#48
Posted 01/25/2016 04:00 PM   
Big thanks to everybody for keeping us up to date on what's going on! I'm basically still sitting & waiting here with a frackin Win10 on my Laptop and I want to switch so badly everyday. I've even considered buying a copy of Win7 - but no, not this time. Once it's done it will be Linux forever.
Big thanks to everybody for keeping us up to date on what's going on!

I'm basically still sitting & waiting here with a frackin Win10 on my Laptop and I want to switch so badly everyday. I've even considered buying a copy of Win7 - but no, not this time. Once it's done it will be Linux forever.

#49
Posted 01/26/2016 09:07 AM   
Fist of all, I also like to say thanks to all who keep this thread alive. I have nearly the same situation like frMage, excepting to buy a new copy of win7 ;). I really appreciate that it's done soon. I've tried to go on linux serveral times but its not possible yet, with that tearing.
Fist of all, I also like to say thanks to all who keep this thread alive.

I have nearly the same situation like frMage, excepting to buy a new copy of win7 ;).

I really appreciate that it's done soon. I've tried to go on linux serveral times but its not possible yet, with that tearing.

#50
Posted 01/26/2016 09:48 AM   
Thank fratti and all others who follow and working on this issue! It is waiting for changes. It is unclear what will come sooner fixes for xorg or good wayland support under kde.
Thank fratti and all others who follow and working on this issue! It is waiting for changes. It is unclear what will come sooner fixes for xorg or good wayland support under kde.

#51
Posted 01/28/2016 09:31 PM   
Yes, this has been a long time coming! As an avid laptop user, I have been putting off Linux for years because of poor performance and issues. I finally feel we are so close, everything works wonderfully except screen tearing!
Yes, this has been a long time coming! As an avid laptop user, I have been putting off Linux for years because of poor performance and issues. I finally feel we are so close, everything works wonderfully except screen tearing!

#52
Posted 02/04/2016 01:45 AM   
Hey everybody, Thanks so much for following my work so closely! It means a lot to see you so excited about the changes. As you may know, I recently sent out v3 of my upstream X patches: http://lists.x.org/archives/xorg-devel/2016-February/048677.html . It's hard to say how many revisions it will take before they are finally accepted, but hopefully it will be soon. Once the pieces land in their respective mainlines, and we release a driver to take advantage of it, I'll post here with a recipe for what versions of what software components are needed, if people want to try it out before the bits propagate to their distros.
Hey everybody,

Thanks so much for following my work so closely! It means a lot to see you so excited about the changes.

As you may know, I recently sent out v3 of my upstream X patches: http://lists.x.org/archives/xorg-devel/2016-February/048677.html . It's hard to say how many revisions it will take before they are finally accepted, but hopefully it will be soon.

Once the pieces land in their respective mainlines, and we release a driver to take advantage of it, I'll post here with a recipe for what versions of what software components are needed, if people want to try it out before the bits propagate to their distros.

Alex Goins
NVIDIA Linux Graphics

#53
Posted 02/05/2016 04:42 AM   
Thanks for the update Alex! I'll be sure to try this out as soon as the driver is released, and will try to post instructions specific to Arch Linux on how to best acquire the right versions of the packages as soon as I do. As for the release of the stable 4.5 kernel version, LWN writes: [quote="LWN"]If the usual 63-day cycle holds, the release of the final 4.5 kernel can be expected to happen on March 13. Between now and then, though, there are certainly numerous bugs to be found and fixed.[/quote][i]Source: [url=https://lwn.net/Articles/673312/]lwn.net: 4.5 merge window part 3[/url][/i] Speaking of Kernel 4.5, [url=https://lkml.org/lkml/2016/2/7/266]rc3 was released on time yesterday[/url], which is a good sign. Unfortunately, apparently [url=https://wiki.ubuntu.com/KernelTeam/Newsletter#KernelTeam.2BAC8-Newsletter.2BAC8-2016-02-02.Devel_Kernel_Announcements]Ubuntu 16.04 (release due in April) is targeting Kernel 4.4[/url], which means Ubuntu users most likely have to wait until October (16.10) for the kernel-side changes if I understand correctly.
Thanks for the update Alex! I'll be sure to try this out as soon as the driver is released, and will try to post instructions specific to Arch Linux on how to best acquire the right versions of the packages as soon as I do.

As for the release of the stable 4.5 kernel version, LWN writes:
LWN said:If the usual 63-day cycle holds, the release of the final 4.5 kernel can be expected to happen on March 13. Between now and then, though, there are certainly numerous bugs to be found and fixed.
Source: lwn.net: 4.5 merge window part 3

Speaking of Kernel 4.5, rc3 was released on time yesterday, which is a good sign.

Unfortunately, apparently Ubuntu 16.04 (release due in April) is targeting Kernel 4.4, which means Ubuntu users most likely have to wait until October (16.10) for the kernel-side changes if I understand correctly.

#54
Posted 02/08/2016 10:43 AM   
As far as I understand, need to wait for the next release Xorg?
As far as I understand, need to wait for the next release Xorg?

#55
Posted 02/08/2016 01:21 PM   
[quote=""]Hey everybody, Thanks so much for following my work so closely! It means a lot to see you so excited about the changes. As you may know, I recently sent out v3 of my upstream X patches: http://lists.x.org/archives/xorg-devel/2016-February/048677.html . It's hard to say how many revisions it will take before they are finally accepted, but hopefully it will be soon. Once the pieces land in their respective mainlines, and we release a driver to take advantage of it, I'll post here with a recipe for what versions of what software components are needed, if people want to try it out before the bits propagate to their distros.[/quote] Will this fix Nvidia Prime with Xorg 1.18? This is currently broken and none is able to have a fully working Nvidia-only setup on Arch. It just results in a black screen, or broken menus in applications. See https://bugs.archlinux.org/task/47151
said:Hey everybody,

Thanks so much for following my work so closely! It means a lot to see you so excited about the changes.

As you may know, I recently sent out v3 of my upstream X patches: http://lists.x.org/archives/xorg-devel/2016-February/048677.html . It's hard to say how many revisions it will take before they are finally accepted, but hopefully it will be soon.

Once the pieces land in their respective mainlines, and we release a driver to take advantage of it, I'll post here with a recipe for what versions of what software components are needed, if people want to try it out before the bits propagate to their distros.


Will this fix Nvidia Prime with Xorg 1.18? This is currently broken and none is able to have a fully working Nvidia-only setup on Arch. It just results in a black screen, or broken menus in applications.
See https://bugs.archlinux.org/task/47151

#56
Posted 02/08/2016 03:30 PM   
[quote="fratti"]Unfortunately, apparently [url=https://wiki.ubuntu.com/KernelTeam/Newsletter#KernelTeam.2BAC8-Newsletter.2BAC8-2016-02-02.Devel_Kernel_Announcements]Ubuntu 16.04 (release due in April) is targeting Kernel 4.4[/url], which means Ubuntu users most likely have to wait until October (16.10) for the kernel-side changes if I understand correctly.[/quote] AFAIK Canonical is releasing Kernel 4.5 for Ubuntu: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.5-rc3-wily/
fratti said:Unfortunately, apparently Ubuntu 16.04 (release due in April) is targeting Kernel 4.4, which means Ubuntu users most likely have to wait until October (16.10) for the kernel-side changes if I understand correctly.

AFAIK Canonical is releasing Kernel 4.5 for Ubuntu: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.5-rc3-wily/

#57
Posted 02/08/2016 05:16 PM   
[quote="Doaxan"]As far as I understand, need to wait for the next release Xorg?[/quote] Yes. Which release it will be in is not yet known, as the patches have not been merged into Xorg yet. I'm not familiar with Xorg release cycles, so I can't give you an estimate. [quote="AnAkkk"]Will this fix Nvidia Prime with Xorg 1.18? This is currently broken and none is able to have a fully working Nvidia-only setup on Arch. It just results in a black screen, or broken menus in applications. See https://bugs.archlinux.org/task/47151[/quote] Since PRIME needs to work for this patch to even matter, the issue you're pointing to will most likely be resolved either before or at the same time as this patch lands. In any case, it's hardly related to this thread as it is a separate issue.
Doaxan said:As far as I understand, need to wait for the next release Xorg?

Yes. Which release it will be in is not yet known, as the patches have not been merged into Xorg yet. I'm not familiar with Xorg release cycles, so I can't give you an estimate.

AnAkkk said:Will this fix Nvidia Prime with Xorg 1.18? This is currently broken and none is able to have a fully working Nvidia-only setup on Arch. It just results in a black screen, or broken menus in applications.
See https://bugs.archlinux.org/task/47151


Since PRIME needs to work for this patch to even matter, the issue you're pointing to will most likely be resolved either before or at the same time as this patch lands. In any case, it's hardly related to this thread as it is a separate issue.

#58
Posted 02/08/2016 05:24 PM   
[quote=""] Since PRIME needs to work for this patch to even matter, the issue you're pointing to will most likely be resolved either before or at the same time as this patch lands. In any case, it's hardly related to this thread as it is a separate issue.[/quote] The fact that nvidia has still not commented on this issue could also mean that they're not able to reproduce it and that it works perfectly fine for them. It doesn't mean that this'll get resolved.
said:
Since PRIME needs to work for this patch to even matter, the issue you're pointing to will most likely be resolved either before or at the same time as this patch lands. In any case, it's hardly related to this thread as it is a separate issue.


The fact that nvidia has still not commented on this issue could also mean that they're not able to reproduce it and that it works perfectly fine for them. It doesn't mean that this'll get resolved.

#59
Posted 02/09/2016 09:42 AM   
So will this solution only work with Xorg? Or is it just a shortcoming of Xorg that needed to be patched? I've heard Nvidia is working on support for mir with canonical.. Will it be able to work with mir too in the future?
So will this solution only work with Xorg? Or is it just a shortcoming of Xorg that needed to be patched?
I've heard Nvidia is working on support for mir with canonical.. Will it be able to work with mir too in the future?

#60
Posted 02/09/2016 09:25 PM   
Scroll To Top

Add Reply