Hello, I recently changed my monitor from DVI to HDMI. After that in tty the background is a horrible green color, which is very difficult to work with the terminal.
In the X11 based session there were color problems, but I fixed it by adjusting the configuration file, now everything is fine. The wayland based session also works fine, so this problem only shows up in tty .
Does anyone have any idea how to fix this ? I tried to find the answer on the internet and on this forum, but only found an old thread with no answer.
I am using a nvidia 1650 video card, driver version 530.41.03. All kernel modules are loaded and work correctly
Yeah that is right. I remember a Problem with amdgpu, where you get a greenish screen when you switch from DVI to HDMI: no color format choice in amdgpu (#476) · Issues · drm / amd · GitLab It seems to prefer YCrCb instead of RGB, but when you screen runs in RGB and driver runs in YCrCb then you get such a greenish screen. There is a parameter for the amdgpu module now, but no idea about NVIDIA.
Maybe, I read the section in arch wiki , it says that colord.service is not compatible with the nvidia driver. I have added some profiles via colormgr device-add-profile but I cannot switch them. I tried colord-kde (no visible effect) and dispwin gives an error Dispwin: Error - file name.icc is not a valid ICC profile or Argyll .cal file. I’m even thinking of installing windows 11 on an external drive and taking the profile from there.
I did some tests with video drivers, including installing windows 11 to go on my external drive. This problem does not show up on open drivers, it seems to be a problem specifically with the nvidia drivers, but I have no idea how to fix it. If anyone has any ideas I would love to know.
nvidia-drm.modeset=1 nvidia-drm.modeset=0 nvidia_drm.modeset=1 nomodeset and not use modeset
in case I do not use
modeset or nvidia-drm.modeset=0 , nomodeset
. There is no problem with displaying tty in the terminal. This can be used as a workaround, but I want to understand the cause of the problem.
I tried disabling framebuffer in grub and adding variables
I thought about using open source kernel modules, but at the moment that seems redundant to me and they still have beta status. Unfortunately, I don’t know the C language well enough to understand the driver’s device. I heard that nvidia is planning to move away from proprietary modules and go for open source implementation, that would be a good solution but it might take years.
I will create a thread in nvidia forum , maybe they will come up with some solution , if an acceptable solution is found i think i will post in this thread .
Well, for all the time on the nvidia forum I have not received an answer, it seems that no one simply does not care. I found a questionable solution to replace getty with kmscon for tty starting from 3. It’s not a perfect solution, but it works for me.
Note: don’t use this as @tty1.service.
By default, you can’t login as root, but you can use su