[Desktop-packages] [Bug 1959995] Re: present: Crash in 'present_scmd_get_crtc' and 'present_flush' (NVIDIA 495.46)

2022-03-24 Thread Mazen Mardini
If you don't like to wait for the patch to be applied, here is what you
can do (for focal):

1. mkdir xorg-server && cd xorg-server
2. git clone -b applied/ubuntu/focal-security 
https://git.launchpad.net/ubuntu/+source/xorg-server 
3. cd xorg-server/debian/patches
4. wget 
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1959995/+attachment/5572420/+files/nvidia-495-fix.patch
5. echo "nvidia-495-fix.patch" >> series
6. cd ../..
7. dpkg-buildpackage -us -uc
8. cd ..
9. sudo dpkg -i ./*.deb
10. sudo systemctl reboot

Done. Next you can install newer Nvidia drivers and there shouldn't be
any issues.

Note: This is the patch from
https://gitlab.freedesktop.org/xorg/xserver/-/issues/1275

** Patch added: "nvidia-495-fix.patch"
   
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1959995/+attachment/5572420/+files/nvidia-495-fix.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1959995

Title:
  present: Crash in 'present_scmd_get_crtc' and 'present_flush' (NVIDIA
  495.46)

Status in X.Org X server:
  Unknown
Status in xorg-server package in Ubuntu:
  Fix Committed
Status in xorg-server source package in Focal:
  Confirmed
Status in xorg-server source package in Impish:
  Confirmed
Status in xorg-server source package in Jammy:
  Fix Committed

Bug description:
  This bug causes xserver to crash when using newer Nvidia drivers
  (NVIDIA 495.46+) with Optimus. It's apparently triggered when using
  the MATE desktop environment. It has been noticed on xorg-server-21.1,
  but it's likely affecting version 1.20.13 as well.

  It has been fixed already, but could you please backport the fix?

  Patch that fixes it is here:
  
https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/841/diffs?commit_id=22d5818851967408bb7c903cb345b7ca8766094c

  The bug report at freedesktop.org is here:
  https://gitlab.freedesktop.org/xorg/xserver/-/issues/1275

  Thank you!

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1959995/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1959995] Re: present: Crash in 'present_scmd_get_crtc' and 'present_flush' (NVIDIA 495.46)

2022-02-08 Thread Mazen Mardini
I can confirm that this patch works. It fixed the crash on my computer.
I'm running the Nvidia 510.47 drivers.

** Attachment added: "it works.png"
   
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1959995/+attachment/5559655/+files/it%20works.png

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1959995

Title:
  present: Crash in 'present_scmd_get_crtc' and 'present_flush' (NVIDIA
  495.46)

Status in X.Org X server:
  Unknown
Status in xorg-server package in Ubuntu:
  Triaged

Bug description:
  This bug causes xserver to crash when using newer Nvidia drivers
  (NVIDIA 495.46+) with Optimus. It's apparently triggered when using
  the MATE desktop environment. It has been noticed on xorg-server-21.1,
  but it's likely affecting version 1.20.13 as well.

  It has been fixed already, but could you please backport the fix?

  Patch that fixes it is here:
  
https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/841/diffs?commit_id=22d5818851967408bb7c903cb345b7ca8766094c

  The bug report at freedesktop.org is here:
  https://gitlab.freedesktop.org/xorg/xserver/-/issues/1275

  Thank you!

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1959995/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp