From your bug report log, it looks like your laptop uses a hybrid graphics configuration, where the internal panel is connected to an Intel integrated GPU and the external screen is connected to the NVIDIA discrete GPU.
In order to use both displays simultaneously, you’ll need to use a configuration that uses both GPUs simultaneously. There are two options there:
- dGPU primary - the desktop is rendered on the NVIDIA GPU and displayed on the external panel directly, frames are sent to the Intel GPU for display on the internal panel. This mode is often referred to as “PRIME”.
- iGPU primary - the desktop is rendered on the Intel GPU and displayed on the internal panel directly. Frames are sent to the NVIDIA GPU for display on the external panel. This mode is often referred to as “Reverse PRIME”. In this mode, you can choose to run specific graphics-heavy applications on the NVIDIA GPU.
Looking at your system configuration, it looks like there’s a configuration file that would set your system up in a dGPU-primary configuration: /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf (note the “PrimaryGPU” option that overrides the default Intel primary GPU).
However, you have a configuration file in /etc/X11/xorg.conf that overrides this automatic configuration and specifies a configuration that only uses the NVIDIA GPU. This is likely why your internal panel isn’t working.
Given your system setup, I would recommend using an iGPU-primary “render offload” configuration, which you should be able to do by deleting both /etc/X11/xorg.conf and /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf and instead letting the system autoconfigure itself.
You might also want to look into enabling the runtime power management options documented in Chapter 22 of the README. Combined with render offload, this will allow the NVIDIA GPU to be powered off when no applications are running on it and the external display is disabled.