RTX3070 Laptop GPU on Ubuntu 20.04 doesn't work properly with AMD Ryzen 7 5800H

Recently i bought a laptop ASUS TUF Gaming A15 FA506QR and can’t get working laptop monitor when Nvidia 460.39 driver installed.

So to clarify what is going on:

  • when installed clear Ubuntu 20.04 the laptop monitor works perfectly but connected external monitor by type-c not.
  • then when i installed Nvidia 460.39 driver and reboot, the laptop monitor freezes with cursor on the top left corner (not blinking) but the external monitor works.nvidia-bug-report.log.gz (370.2 KB)

Two threads further down:

Done all described here
Looks like something is changed, laptop monitor is not freezing but just turning off.
nvidia-bug-report.log.gz (381.3 KB)
kernel.txt (148.9 KB)

Output of “glxinfo |grep OpenGL”

OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce RTX 3070 Laptop GPU/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 460.39
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 460.39
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 460.39
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

Please delete /etc/X11/xorg.conf

Thank you a lot @generix !)

So the solution is to remove the xorg.conf when you done all the described here

Does the power management work properly with this laptop? In the documentation it talks about cofeelake chipsets or higher but does not mention AMD.

The question has nothing to do with the problem but it is something that is not clear to me.