# I am using Ubuntu 22, When I change the nvidia PRIME PROFILE to performance mode time to time screen is freezes, but in on demand mode it works well

**URL:** <https://forums.developer.nvidia.com/t/i-am-using-ubuntu-22-when-i-change-the-nvidia-prime-profile-to-performance-mode-time-to-time-screen-is-freezes-but-in-on-demand-mode-it-works-well/255770>\
**Category:** General Topics & Other SDKs\
**Tags:** ubuntu\
**Created:** [June 6, 2023, 5:04pm UTC](https://forums.developer.nvidia.com/t/i-am-using-ubuntu-22-when-i-change-the-nvidia-prime-profile-to-performance-mode-time-to-time-screen-is-freezes-but-in-on-demand-mode-it-works-well/255770 "2023-06-06T17:04:31Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sajeewadilshansl](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@sajeewadilshansl](https://forums.developer.nvidia.com/u/sajeewadilshansl)\
**Post date:** [June 6, 2023, 5:04pm UTC](https://forums.developer.nvidia.com/t/i-am-using-ubuntu-22-when-i-change-the-nvidia-prime-profile-to-performance-mode-time-to-time-screen-is-freezes-but-in-on-demand-mode-it-works-well/255770/1 "2023-06-06T17:04:31Z")

</div>

I am using Ubuntu 22, i tried nvidia drivers 530, 525, 510, 470. but in all when change the PRIME PROFILE to Performance mode screen is freezes, cannot work any more. Moreover, after i install any of nvidia driver windowing system is changed to x11 from Wayland.

My laptop is - Asus Rog Strix  
My GPU is - Geforce RTX 3050 Ti Mobile

---

<div class="post-metadata">

**Author:** ![MarkusHoHo](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/markushoho/32/233145_2.png) [@MarkusHoHo](https://forums.developer.nvidia.com/u/MarkusHoHo)\
**Post date:** [June 7, 2023, 2:33pm UTC](https://forums.developer.nvidia.com/t/i-am-using-ubuntu-22-when-i-change-the-nvidia-prime-profile-to-performance-mode-time-to-time-screen-is-freezes-but-in-on-demand-mode-it-works-well/255770/2 "2023-06-07T14:33:42Z")

</div>

Hello @sajeewadilshansl and welcome to the NVIDIA developer forums.

If there are screen freezes in performance mode you should first try to check temperatures and power limits. Possibly contact the Laptop manufacturer if there are limitations for using it with Linux.

You can use the extensive monitoring capabilities of `nvidia-smi` to check power and power states as well as temperature.

Regarding Wayland you should be able to re-enable it. But since Wayland support is still considered Beta, it might be that the current driver automatically falls back to X11, I am not certain.

---

<div class="post-metadata">

**Author:** ![sajeewadilshansl](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@sajeewadilshansl](https://forums.developer.nvidia.com/u/sajeewadilshansl)\
**Post date:** [June 14, 2023, 6:21pm UTC](https://forums.developer.nvidia.com/t/i-am-using-ubuntu-22-when-i-change-the-nvidia-prime-profile-to-performance-mode-time-to-time-screen-is-freezes-but-in-on-demand-mode-it-works-well/255770/3 "2023-06-14T18:21:13Z")

</div>

@MarkusHoHo Thank you very much for your comment. I will try it and update the status soon.

---

<div class="post-metadata">

**Author:** ![sajeewadilshansl](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@sajeewadilshansl](https://forums.developer.nvidia.com/u/sajeewadilshansl)\
**Post date:** [July 5, 2023, 5:35pm UTC](https://forums.developer.nvidia.com/t/i-am-using-ubuntu-22-when-i-change-the-nvidia-prime-profile-to-performance-mode-time-to-time-screen-is-freezes-but-in-on-demand-mode-it-works-well/255770/4 "2023-07-05T17:35:09Z")

</div>

I checked the temperatures and power limits, but there are no issues with them. The screen freezes more often with Nvidia drivers 530, 525, and 510, but with Nvidia 470, the screen rarely freezes. Could you please explain why this is happening?

---

<div class="post-metadata">

**Author:** ![MarkusHoHo](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/markushoho/32/233145_2.png) [@MarkusHoHo](https://forums.developer.nvidia.com/u/MarkusHoHo)\
**Post date:** [July 6, 2023, 2:35pm UTC](https://forums.developer.nvidia.com/t/i-am-using-ubuntu-22-when-i-change-the-nvidia-prime-profile-to-performance-mode-time-to-time-screen-is-freezes-but-in-on-demand-mode-it-works-well/255770/5 "2023-07-06T14:35:25Z")

</div>

> Could you please explain why this is happening?

That is something I cannot answer to be honest.

Can you share the detailed specs of your Laptop please, including Display refresh rate?  
Then also run `nvidia-bug-report.sh` and attach the resulting log file here.

Do these screen freezes happen only with the internal monitor or is it with an external monitor?  
Did you update to the latest Laptop BIOS and did you check with the Laptop manufacturer for Linux compatibility?

---

<div class="post-metadata">

**Author:** ![sajeewadilshansl](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@sajeewadilshansl](https://forums.developer.nvidia.com/u/sajeewadilshansl)\
**Post date:** [July 16, 2023, 6:27am UTC](https://forums.developer.nvidia.com/t/i-am-using-ubuntu-22-when-i-change-the-nvidia-prime-profile-to-performance-mode-time-to-time-screen-is-freezes-but-in-on-demand-mode-it-works-well/255770/7 "2023-07-16T06:27:08Z")

</div>

My laptop specs

 ![Screenshot from 2023-07-16 11-48-36](https://global.discourse-cdn.com/nvidia/original/4X/4/c/9/4c9a47c25130988b51c97e897cf9e8f0269e6108.png)

This screen freezes happens in internal display. yes i updated the BIOS.  
[nvidia-bug-report.log](https://forums.developer.nvidia.com/uploads/short-url/gzxrzgp4W0dHOl5pofWvI68H0Eq.log) (1.6 MB)

---

<div class="post-metadata">

**Author:** ![sajeewadilshansl](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@sajeewadilshansl](https://forums.developer.nvidia.com/u/sajeewadilshansl)\
**Post date:** [July 16, 2023, 6:27am UTC](https://forums.developer.nvidia.com/t/i-am-using-ubuntu-22-when-i-change-the-nvidia-prime-profile-to-performance-mode-time-to-time-screen-is-freezes-but-in-on-demand-mode-it-works-well/255770/8 "2023-07-16T06:27:48Z")

</div>

sorry, I was unable to fix it

---

<div class="post-metadata">

**Author:** ![MarkusHoHo](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/markushoho/32/233145_2.png) [@MarkusHoHo](https://forums.developer.nvidia.com/u/MarkusHoHo)\
**Post date:** [August 14, 2023, 2:44pm UTC](https://forums.developer.nvidia.com/t/i-am-using-ubuntu-22-when-i-change-the-nvidia-prime-profile-to-performance-mode-time-to-time-screen-is-freezes-but-in-on-demand-mode-it-works-well/255770/9 "2023-08-14T14:44:00Z")

</div>

Hi again,

sorry for the delay, I was out for some time.

Looking at the log there is not much to go by, but two things stand out:

```auto
(EE) AMDGPU(G0): Setting DRM property blob failed with errno -13
(EE) AMDGPU(G0): Setting Gamma LUT failed with errno 1
(EE) AMDGPU(G0): Setting DRM property blob failed with errno -13
(EE) AMDGPU(G0): Setting Gamma LUT failed with errno 1

```

and

```auto
kernel: [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership

```

This seems like some driver mismatch or authentication issue. So the recommendation now would be to make sure to get the latest BIOS update for the laptop as well as the latest AMD GPU driver for Ubuntu and the latest NVIDIA driver. Most of all make sure to either disable secure boot or to _exactly_ follow the signing requirements during driver installations to avoid the DRM errors.

I hope that helps!

---

<div class="post-metadata">

**Author:** ![hitbuyi](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@hitbuyi](https://forums.developer.nvidia.com/u/hitbuyi)\
**Post date:** [July 23, 2024, 10:27am UTC](https://forums.developer.nvidia.com/t/i-am-using-ubuntu-22-when-i-change-the-nvidia-prime-profile-to-performance-mode-time-to-time-screen-is-freezes-but-in-on-demand-mode-it-works-well/255770/10 "2024-07-23T10:27:21Z")

</div>

Some problem to me, ubuntu20.04+nvidia v535,randomly crash/freeze when selecting “performance” mode
