Ubuntu can't set further 60hz refresh rate, RTX 3070ti-ubuntu 22.10

The Problem

All the systems specs and error logs can be found at the bottom.
Ubuntu 22.10 with nvidia-driver-* is capped at 60hz on a 240hz screen.

Some symptoms

  1. Tried every single one of the nvidia-driver- XX series 525, 510, 470, xserver-xorg-nouvenau none seems working.
  2. xrandr --output eDP-1 --mode 2560x1440 --rate 120 does not affect.

System specs

System:
Kernel: 5.19.0-35-generic x86_64 bits: 64 compiler: gcc (Ubuntu 12.2.0-3ubuntu1) 12.2.0
Desktop: ubuntu 43.1 Distro: Ubuntu 22.10
Machine:
Type: System:
CPU:
Model: 12th Gen Intel(R) Core™ i7-12800H
Graphics:
Device-1: Intel Corporation
NVIDIA Corporation driver: nvidia bus ID: 00:02.0
01:00.0
Device-2: vendor: controller:
controller: driver: bus ID:
Display: server: :1 driver: 8 resolution: primary
OpenGL: renderer: v: direct render: Yes
Info:
Memory: 62Gi

Error Log

nvidia-bug-report.log.old.gz (332.0 KB)

Your internal display is connected to the intel igpu, th nvidia driver has no influence on this.
The intel i915 driver has a known bug, preventing usage of high refresh rates. I don’t know if the fix for it has already been committed to the kernel, please use the liquorix ppa to upgrade to the latest.

I updated ubuntu kernel to “6.2.9-060209-generic” with the tool “mainline”, and everything got back to normal even 240hz is now supported. Thank you for your help.