Apply X Server Display Configuration in Nvidia settings - Twice??
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Apply X Server Display Configuration in Nvidia settings - Twice??
I am using a dual screen windows/ubuntu system with an nvidia gfx card and use the proprietary settings from ubuntu settings.
I am able to us the 'nvidia-settings' applet to configure the card settings and i make sure ubuntu Display settings match. However, after saving the settings to 'X Configuration File' via the applet and then going to the 'quit' I am asked if I really want to quit. This popup tells me: You have pending changes on following page(s): X Server Configuration - Apply and asks if I really want to quit.
I am unable to find a place within the applet to do this and usually just quit. But, I have niggling problems and want to get rid of this 'Apply' nag.
Does anyone know how to do this?
In the corresponding terminal I have this output which does not seem to apply to ubuntu 21.10:
Code:
makem@makems-TUF:~$ sudo nvidia-settings
[sudo] password for makem:
(nvidia-settings:7860): GLib-GObject-CRITICAL **: 13:01:36.382: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 13:01:36.532: PRIME: No offloading required. Abort
** Message: 13:01:36.532: PRIME: is it supported? no
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
makem@makems-TUF:~$
Well as the error messages sais "Package xorg-server was not found in the pkg-config search path.".
So either you donīt have Xorg package installed? or the path or some config files are messed up some how...
Looks like there are some mayor issues in your system any how...
You could of cause try to rename your Xorg.conf file to like Xorg.conf.old
and then try to run "nvidia-settings" again?
Alternatively install both Xorg if you are sure you have this installed and then reinstall the nvidia drivers?
Last edited by Minime_2003; 02-05-2022 at 01:01 PM.
You could of cause try to rename your Xorg.conf file to like Xorg.conf.old
and then try to run "nvidia-settings" again?
I have tried that in the past and the system produces an identical file down to the letter!
I am so disheartened against my better judgement I have taken to windows for games. :-(
I thought the result x11 showed that xorg was installed and running.
Is there any other way to prove/disprove this?
I though the missing path entry was related to Prime which apparently is not required. I also see the note 'xorg-server.pc' may need to be added to the Path but I have no idea what this relates to, nor how to add/check if it is needed in the Path.
Given that Inxi says they are already running X.Org server I would be surprised if its package was not installed, also (as Ondoho points out) unless Ubuntu has renamed the Debian package, there is no such package as xorg-server.
Running "dpkg -l '*xorg*'" will likely confirm that apt package xserver-xorg is already installed.
A quick search for "xorg-server.pc" and "nvidia-settings" suggests that this part may be a red herring (it's only a warning, not necessarily the cause of the issue), but might be resolvable by installing xserver-xorg-dev.
In any case, this would appear to be a bug that should be reported (even if the above happens to resolve it, since it would suggest nvidia-settings has incorrect dependencies).
makem@makems-TUF:~$ sudo dpkg -l '*xorg*'
[sudo] password for makem:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============================-===============================-============-==================================================
ii xorg 1:7.7+22ubuntu2 amd64 X.Org X Window System
un xorg-docs <none> <none> (no description available)
ii xorg-docs-core 1:1.7.1-1.2 all Core documentation for the X.org X Window System
un xorg-driver-binary <none> <none> (no description available)
un xorg-driver-input <none> <none> (no description available)
un xorg-driver-synaptics <none> <none> (no description available)
un xorg-driver-video <none> <none> (no description available)
un xorg-input-abi-24 <none> <none> (no description available)
ii xorg-sgml-doctools 1:1.11-1.1 all Common tools for building X.Org SGML documentation
un xorg-video-abi-10 <none> <none> (no description available)
un xorg-video-abi-11 <none> <none> (no description available)
un xorg-video-abi-12 <none> <none> (no description available)
un xorg-video-abi-13 <none> <none> (no description available)
un xorg-video-abi-14 <none> <none> (no description available)
un xorg-video-abi-15 <none> <none> (no description available)
un xorg-video-abi-18 <none> <none> (no description available)
un xorg-video-abi-19 <none> <none> (no description available)
un xorg-video-abi-20 <none> <none> (no description available)
un xorg-video-abi-23 <none> <none> (no description available)
un xorg-video-abi-24 <none> <none> (no description available)
un xorg-video-abi-6.0 <none> <none> (no description available)
un xorg-video-abi-8 <none> <none> (no description available)
ii xserver-xorg 1:7.7+22ubuntu2 amd64 X.Org X server
ii xserver-xorg-core 2:1.20.13-1ubuntu1.1 amd64 Xorg X server - core server
un xserver-xorg-driver-all <none> <none> (no description available)
ii xserver-xorg-input-all 1:7.7+22ubuntu2 amd64 X.Org X server -- input driver metapackage
un xserver-xorg-input-evtouch <none> <none> (no description available)
ii xserver-xorg-input-libinput 1.1.0-1 amd64 X.Org X server -- libinput input driver
ii xserver-xorg-input-synaptics 1.9.1-1ubuntu3 amd64 Synaptics TouchPad driver for X.Org server
ii xserver-xorg-input-wacom 1:0.39.0-0ubuntu2 amd64 X.Org X server -- Wacom input driver
ii xserver-xorg-legacy 2:1.20.13-1ubuntu1.1 amd64 setuid root Xorg server wrapper
ii xserver-xorg-video-all 1:7.7+22ubuntu2 amd64 X.Org X server -- output driver metapackage
ii xserver-xorg-video-amdgpu 21.0.0-1 amd64 X.Org X server -- AMDGPU display driver
ii xserver-xorg-video-ati 1:19.1.0-2build1 amd64 X.Org X server -- AMD/ATI display driver wrapper
ii xserver-xorg-video-fbdev 1:0.5.0-1ubuntu3 amd64 X.Org X server -- fbdev display driver
ii xserver-xorg-video-intel 2:2.99.917+git20200714-1ubuntu2 amd64 X.Org X server -- Intel i8xx, i9xx display driver
un xserver-xorg-video-mach64 <none> <none> (no description available)
un xserver-xorg-video-modesetting <none> <none> (no description available)
ii xserver-xorg-video-nouveau 1:1.0.17-1build1 amd64 X.Org X server -- Nouveau display driver
ii xserver-xorg-video-nvidia-470 470.86-0ubuntu0.21.10.1 amd64 NVIDIA binary Xorg driver
ii xserver-xorg-video-qxl 0.1.5+git20200331-1build1 amd64 X.Org X server -- QXL display driver
un xserver-xorg-video-r128 <none> <none> (no description available)
ii xserver-xorg-video-radeon 1:19.1.0-2build1 amd64 X.Org X server -- AMD/ATI Radeon display driver
ii xserver-xorg-video-vesa 1:2.5.0-1build2 amd64 X.Org X server -- VESA display driver
ii xserver-xorg-video-vmware 1:13.3.0-3 amd64 X.Org X server -- VMware display driver
makem@makems-TUF:~$
I am not confident in reporting a bug.
Distribution: Manjaro Linux, Ubuntu in Windows 11 WSL2
Posts: 35
Rep:
Quote:
Originally Posted by boughtonp
Is that a known solution or a guess?
Whenever I clean-install Manjaro (another Linux distribution), I install the NVIDIA driver, and try to run nvidia-xconfig, it produces a similar message, that a xorg development package is missing.
After I install the missing package, nvidia-xconfig works without a warning.
This is not shown on the download page of Download xserver-xorg-dev.
If I try with apt:
Code:
makem@makems-TUF:~$ sudo apt install xserver-xorg-dev
[sudo] password for makem:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
libdrm-dev : Depends: libdrm2 (= 2.4.107-8ubuntu1) but 2.4.107+git2110211339.d77ccd~oibaf~f is to be installed
Depends: libdrm-intel1 (= 2.4.107-8ubuntu1) but 2.4.107+git2110211339.d77ccd~oibaf~f is to be installed
Depends: libdrm-radeon1 (= 2.4.107-8ubuntu1) but 2.4.107+git2110211339.d77ccd~oibaf~f is to be installed
Depends: libdrm-nouveau2 (= 2.4.107-8ubuntu1) but 2.4.107+git2110211339.d77ccd~oibaf~f is to be installed
Depends: libdrm-amdgpu1 (= 2.4.107-8ubuntu1) but 2.4.107+git2110211339.d77ccd~oibaf~f is to be installed
E: Unable to correct problems, you have held broken packages.
makem@makems-TUF:~$
Whenever I clean-install Manjaro (another Linux distribution), I install the NVIDIA driver, and try to run nvidia-xconfig, it produces a similar message, that a xorg development package is missing.
After I install the missing package, nvidia-xconfig works without a warning.
Fair enough, but Arch and Debian are different (those being the base distros of Manjaro and Ubuntu respectively), so it can be useful to search the package repos - Ubuntu, Debian, and Arch all maintain an online interface to these.
I repeat my advice that this should be reported as a bug to the maintainer of the package - installing a second package to make the first one work is a bug - either the first package should just install the extra needed parts, or the software isn't supposed to have that dependency - that it occurs for both Ubuntu and Manjaro makes me think the latter is the case (maybe some debug code accidentally left in), but I'd still suggest going via the distro bug tracking channel.
The best way to gain confidence in anything is to do that thing.
Reporting a bug isn't something to worry about - there is very little difference between reporting a bug and making a forum post. Some projects request a bit more structure/information (it helps streamline the process when they're dealing with lots of reports), but it's basically just a slightly formal discussion.
As for the Apt conflict, no idea whether it's worth trying to resolve that - guess you need someone who knows about Ubuntu+Nvidia stuff to say either way - again, the package maintainer presumably has more knowledge than what we can offer here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.