Ubuntu 23.10 Nvidia 535.129.03 external monitor puple tint colour!

Upgraded Ubuntu to 23.10 to a bad surprise! The external monitor is showing purple tint colour!

$ nvidia-smi
Tue Nov  7 13:48:08 2023       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.129.03             Driver Version: 535.129.03   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA RTX A2000 Laptop GPU    Off | 00000000:01:00.0  On |                  N/A |
| N/A   57C    P5              10W /  60W |    815MiB /  4096MiB |     31%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A     26704      G   /usr/lib/xorg/Xorg                          437MiB |
|    0   N/A  N/A     28908    C+G   ...416580964,443157025533222934,262144      366MiB |
+---------------------------------------------------------------------------------------+

$ dpkg -l |grep -i nvidia
ii  libaccinj64-12.0:amd64                        12.0.146~12.0.1-2                       amd64        NVIDIA ACCINJ Library (64-bit)
ii  libcu++-dev                                   1.9.0-3                                 all          NVIDIA C++ Standard Library
ii  libcublas12:amd64                             12.0.2.224~12.0.1-2                     amd64        NVIDIA cuBLAS Library
ii  libcublaslt12:amd64                           12.0.2.224~12.0.1-2                     amd64        NVIDIA cuBLASLt Library
ii  libcudart12:amd64                             12.0.146~12.0.1-2                       amd64        NVIDIA CUDA Runtime Library
ii  libcufft11:amd64                              11.0.1.95~12.0.1-2                      amd64        NVIDIA cuFFT Library
ii  libcufftw11:amd64                             11.0.1.95~12.0.1-2                      amd64        NVIDIA cuFFTW Library
ii  libcuinj64-12.0:amd64                         12.0.146~12.0.1-2                       amd64        NVIDIA CUINJ Library (64-bit)
ii  libcupti-dev:amd64                            12.0.146~12.0.1-2                       amd64        NVIDIA CUDA Profiler Tools Interface development files
ii  libcupti-doc                                  12.0.146~12.0.1-2                       all          NVIDIA CUDA Profiler Tools Interface documentation
ii  libcupti12:amd64                              12.0.146~12.0.1-2                       amd64        NVIDIA CUDA Profiler Tools Interface runtime library
ii  libcurand10:amd64                             11.1.1+~10.3.1.124~12.0.1-2             amd64        NVIDIA cuRAND Library
ii  libcusolver11:amd64                           11.4.3.1~12.0.1-2                       amd64        NVIDIA cuSOLVER Library
ii  libcusolvermg11:amd64                         11.4.3.1~12.0.1-2                       amd64        NVIDIA cuSOLVERmg Library
ii  libcusparse12:amd64                           12.0.1.140~12.0.1-2                     amd64        NVIDIA cuSPARSE Library
ii  libnppc12:amd64                               12.0.1.104~12.0.1-2                     amd64        NVIDIA Performance Primitives core runtime library
ii  libnppial12:amd64                             12.0.1.104~12.0.1-2                     amd64        NVIDIA Performance Primitives lib for Image Arithmetic and Logic
ii  libnppicc12:amd64                             12.0.1.104~12.0.1-2                     amd64        NVIDIA Performance Primitives lib for Image Color Conversion
ii  libnppidei12:amd64                            12.0.1.104~12.0.1-2                     amd64        NVIDIA Performance Primitives lib for Image Data Exchange and Initialization
ii  libnppif12:amd64                              12.0.1.104~12.0.1-2                     amd64        NVIDIA Performance Primitives lib for Image Filters
ii  libnppig12:amd64                              12.0.1.104~12.0.1-2                     amd64        NVIDIA Performance Primitives lib for Image Geometry transforms
ii  libnppim12:amd64                              12.0.1.104~12.0.1-2                     amd64        NVIDIA Performance Primitives lib for Image Morphological operations
ii  libnppist12:amd64                             12.0.1.104~12.0.1-2                     amd64        NVIDIA Performance Primitives lib for Image Statistics
ii  libnppisu12:amd64                             12.0.1.104~12.0.1-2                     amd64        NVIDIA Performance Primitives lib for Image Support
ii  libnppitc12:amd64                             12.0.1.104~12.0.1-2                     amd64        NVIDIA Performance Primitives lib for Image Threshold and Compare
ii  libnpps12:amd64                               12.0.1.104~12.0.1-2                     amd64        NVIDIA Performance Primitives for signal processing runtime library
ii  libnvidia-cfg1-535:amd64                      535.129.03-0ubuntu0.23.10.1             amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-535                          535.129.03-0ubuntu0.23.10.1             all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-535:amd64                   535.129.03-0ubuntu0.23.10.1             amd64        NVIDIA libcompute package
ii  libnvidia-decode-535:amd64                    535.129.03-0ubuntu0.23.10.1             amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-535:amd64                    535.129.03-0ubuntu0.23.10.1             amd64        NVENC Video Encoding runtime library
ii  libnvidia-extra-535:amd64                     535.129.03-0ubuntu0.23.10.1             amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-535:amd64                      535.129.03-0ubuntu0.23.10.1             amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-535:amd64                        535.129.03-0ubuntu0.23.10.1             amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-ml-dev:amd64                        12.0.140~12.0.1-2                       amd64        NVIDIA Management Library (NVML) development files
ii  libnvjitlink12:amd64                          12.0.140~12.0.1-2                       amd64        NVIDIA Compiler JIT LTO Library
ii  libnvjpeg12:amd64                             12.0.1.102~12.0.1-2                     amd64        NVIDIA JPEG library (nvJPEG)
ii  libnvrtc-builtins12.0:amd64                   12.0.140~12.0.1-2                       amd64        CUDA Runtime Compilation (NVIDIA NVRTC Builtins Library)
ii  libnvrtc12:amd64                              12.0.140~12.0.1-2                       amd64        CUDA Runtime Compilation (NVIDIA NVRTC Library)
ii  libnvtoolsext1:amd64                          12.0.140~12.0.1-2                       amd64        NVIDIA Tools Extension Library
ii  libnvvm4:amd64                                12.0.140~12.0.1-2                       amd64        NVIDIA NVVM Library
ii  nsight-compute                                2022.4.1.6~12.0.1-2                     amd64        NVIDIA Nsight Compute
ii  nsight-compute-target:amd64                   2022.4.1.6~12.0.1-2                     amd64        NVIDIA Nsight Compute (target specific libraries)
ii  nsight-systems                                2022.4.2.50~12.0.1-2                    amd64        NVIDIA Nsight Systems
ii  nsight-systems-target:amd64                   2022.4.2.50~12.0.1-2                    amd64        NVIDIA Nsight Systems (target specific libraries)
ii  nvidia-compute-utils-535                      535.129.03-0ubuntu0.23.10.1             amd64        NVIDIA compute utilities
ii  nvidia-cuda-dev:amd64                         12.0.146~12.0.1-2                       amd64        NVIDIA CUDA development files
ii  nvidia-cuda-gdb                               12.0.140~12.0.1-2                       amd64        NVIDIA CUDA Debugger (GDB)
ii  nvidia-cuda-toolkit                           12.0.140~12.0.1-2                       amd64        NVIDIA CUDA development toolkit
ii  nvidia-cuda-toolkit-doc                       12.0.1-2                                all          NVIDIA CUDA and OpenCL documentation
ii  nvidia-dkms-535                               535.129.03-0ubuntu0.23.10.1             amd64        NVIDIA DKMS package
ii  nvidia-driver-535                             535.129.03-0ubuntu0.23.10.1             amd64        NVIDIA driver metapackage
ii  nvidia-firmware-535-535.113.01                535.113.01-0ubuntu3                     amd64        Firmware files used by the kernel module
ii  nvidia-firmware-535-535.129.03                535.129.03-0ubuntu0.23.10.1             amd64        Firmware files used by the kernel module
ii  nvidia-kernel-common-535                      535.129.03-0ubuntu0.23.10.1             amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-535                      535.129.03-0ubuntu0.23.10.1             amd64        NVIDIA kernel source package
ii  nvidia-opencl-dev:amd64                       12.0.140~12.0.1-2                       amd64        NVIDIA OpenCL development files
ii  nvidia-prime                                  0.8.17.2                                all          Tools to enable NVIDIA's Prime
ii  nvidia-profiler                               12.0.146~12.0.1-2                       amd64        NVIDIA Profiler for CUDA and OpenCL
ii  nvidia-settings                               510.47.03-0ubuntu1                      amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-535                              535.129.03-0ubuntu0.23.10.1             amd64        NVIDIA driver support binaries
ii  nvidia-visual-profiler                        12.0.146~12.0.1-2                       amd64        NVIDIA Visual Profiler for CUDA and OpenCL
ii  screen-resolution-extra                       0.18.3                                  all          Extension for the nvidia-settings control panel
ii  xserver-xorg-video-nvidia-535                 535.129.03-0ubuntu0.23.10.1             amd64        NVIDIA binary Xorg driver
$ sudo modprobe -vvv nvidia
modprobe: INFO: ../libkmod/libkmod.c:404 kmod_set_log_fn() custom logging function 0x560c0e3cf0e0 registered
modprobe: DEBUG: ../libkmod/libkmod-index.c:757 index_mm_open() file=/lib/modules/6.5.0-10-generic/modules.dep.bin
modprobe: DEBUG: ../libkmod/libkmod-index.c:757 index_mm_open() file=/lib/modules/6.5.0-10-generic/modules.alias.bin
modprobe: DEBUG: ../libkmod/libkmod-index.c:757 index_mm_open() file=/lib/modules/6.5.0-10-generic/modules.symbols.bin
modprobe: DEBUG: ../libkmod/libkmod-index.c:757 index_mm_open() file=/lib/modules/6.5.0-10-generic/modules.builtin.alias.bin
modprobe: DEBUG: ../libkmod/libkmod-index.c:757 index_mm_open() file=/lib/modules/6.5.0-10-generic/modules.builtin.bin
modprobe: DEBUG: ../libkmod/libkmod-module.c:579 kmod_module_new_from_lookup() input alias=nvidia, normalized=nvidia
modprobe: DEBUG: ../libkmod/libkmod.c:634 kmod_search_moddep() use mmaped index 'modules.dep' modname=nvidia
modprobe: DEBUG: ../libkmod/libkmod.c:442 kmod_pool_get_module() get module name='nvidia' found=(nil)
modprobe: DEBUG: ../libkmod/libkmod.c:450 kmod_pool_add_module() add 0x560c0f3adfa0 key='nvidia'
modprobe: DEBUG: ../libkmod/libkmod.c:442 kmod_pool_get_module() get module name='drm' found=(nil)
modprobe: DEBUG: ../libkmod/libkmod.c:442 kmod_pool_get_module() get module name='drm' found=(nil)
modprobe: DEBUG: ../libkmod/libkmod.c:450 kmod_pool_add_module() add 0x560c0f3ae0e0 key='drm'
modprobe: DEBUG: ../libkmod/libkmod-module.c:196 kmod_module_parse_depline() add dep: /lib/modules/6.5.0-10-generic/kernel/drivers/gpu/drm/drm.ko.zst
modprobe: DEBUG: ../libkmod/libkmod-module.c:202 kmod_module_parse_depline() 1 dependencies for nvidia
modprobe: DEBUG: ../libkmod/libkmod-module.c:584 kmod_module_new_from_lookup() lookup=nvidia found=1
modprobe: DEBUG: ../libkmod/libkmod.c:539 lookup_builtin_file() use mmaped index 'modules.builtin' modname=nvidia
modprobe: DEBUG: ../libkmod/libkmod-module.c:469 kmod_module_unref() kmod_module 0x560c0f3adfa0 released
modprobe: DEBUG: ../libkmod/libkmod.c:458 kmod_pool_del_module() del 0x560c0f3adfa0 key='nvidia'
modprobe: DEBUG: ../libkmod/libkmod-module.c:469 kmod_module_unref() kmod_module 0x560c0f3ae0e0 released
modprobe: DEBUG: ../libkmod/libkmod.c:458 kmod_pool_del_module() del 0x560c0f3ae0e0 key='drm'
modprobe: INFO: ../libkmod/libkmod.c:371 kmod_unref() context 0x560c0f3ad490 released

What should I do?

nvidia-bug-report.log.gz (390.7 KB)

Hi there @KHTeh,

You will find this in your log:

(EE) modeset(0): Failed to set CTM property: -13

which is connected to incorrect color management settings in your xorg.conf file. Check out the Linux Readme on that topic and follow the instructions to create a new one.

This might already address this issue.