I’m running Ubuntu 18.04, and whenever the PC starts it’s like the drivers aren’t properly run, lines on for instance on Facebook and Nvidia Developer all lines (borders, hr(HTML), bgcolors etc) are gone. Once i start the nvidia x-server settings program, then the drivers are instantly applied and i can quit it again.
This issue also occurs when the PCs been running for a couple of hours, like when i went back to write this ticket.
Seen on latest Firefox, i’ll check on chrome next time the issue appears.
I’m a little confused by your reported symptoms. Is the issue that colors on the screen are displayed incorrectly until you start nvidia-settings?
Based on those symptoms, it sounds as if your desktop environment is loading a strange color profile and nvidia-settings is overriding it when it loads. As an experiment, can you please try running xrandr --output DVI-D-0 --brightness 1 to see if it fixes the problem?
Thanks for your answer.
It’s hard to say what goes wrong, maybe incorrect parsing of CSS, bgcolor of tables/dvis are gone until the nvidia-settings are started.
I guess the statusbar on this page with created, last reply etc will miss the grey backgroud and the border aswell, i’ll make screendumps next time.
I’ll test the xrandr command next time too, thanks.
Kind regards
Kim
Now it’s getting wierd, cause border and grey background where gone when i took the screenshot, and still missing afterwards, but not in the screenshot itself?
After opening nvidia-settings i saw 3 lines in syslog:
Mar 18 13:55:04 test050 nvidia-settings[13243]: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
Mar 18 13:55:04 test050 nvidia-settings[13243]: PRIME: No offloading required. Abort
Mar 18 13:55:04 test050 nvidia-settings[13243]: PRIME: is it supported? no
After starting nvidia-settings it displays border and background correct again (aaaand i’m only allowed to upload one image as new user…?) screenshot after
A set of 390 packages was still installed, i removed them and i altered /etc/default/grub, removed “quiet splash” from GRUB_CMDLINE_LINUX_DEFAULT and added nvidia-drm.modeset=1, now it’s constant that (some) background colors are not shown, for instance in Facebook messenger, my own words are in blue background, but the other persons chatlines are white (no) background, instead of grey.
Do you have a converter/kvm switch between gpu and monitor? This really sounds like some color profile issue, Gnome’s color-manager getting confused, loading an incorrect profile. You can check the loaded one in Gnome’s control center. IIRC, starting nvidia-settings resets the color profile.
I have two monitors connected to the PC, one (Samsung Syncmaster) is connected to a KVM, and I’ve just discovered that it works on the Syncmaster, but only the other monitor (Samsung Curved C27F591), connected to the HDMI port has the problem. If i move the affected browser to the syncmaster bgcolors are shown. Maybe a monitor issue? I’ll look into that now.
Here’s my xorg.conf:
nvidia-settings: X configuration file generated by nvidia-settings
Now that i understand the command a bit better xrandr --output HDMI-0 --brightness 2 will change brigtness on the affected monitor. xrandr --output HDMI-0 --brightness 1 to set it back. But the bgcolor is still not shown. From what i’ve read it could relate to an HDMI issue once nvidia modeset is set to 1 and i did try to change /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT=“nvidia-drm.modeset=1” (and update-grub, then reboot), and i believe it was after this i permanently got the missing bgcolors. Starting nvidia-settings wont do a difference no more.
If i do cat /sys/module/nvidia_drm/parameters/modeset returns ‘N’, i would expect Y
I also tried GRUB_CMDLINE_LINUX_DEFAULT=“nvidia-drm.modeset=0”, update-grub and reboot, still the same issue with the HDMI.
Found a cure. In nvidia-settings, i’ve changed the brigtness to -0.20 - It’s not the optimal solution, since it affects colors on this monitor (for instance default color of terminal is purple, but it’s nearly black now), so a better solution would be fine. But it works for now.
YES! Found it. The Samsung C27F591 had a mode in the picture menu called “HDMI Black Level”, this was set to Low. Changing this to Normal gave the result i expect.
I do find it strange that it at my first post worked if i started the nvidia-settings, this program can’t manipulate the monitor can it? I’ve never messed with this setting my self.
Anyway, thanks for your help, both the xrandr tip and the color profile tip led me in the right direction :-)
Ok, it was the HDMI color range setting then. Is either ‘full’ or ‘limited’. Monitor and gpu have to have the same setting, it should be automatically detected but sometimes (like in your case) this doesn’t work.
Setting your monitor to ‘full’ aka ‘normal’ is the better setting anyway.