Where is xorg.conf?

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
rado84
Level 3
Level 3
Posts: 150
Joined: Sun Aug 19, 2012 9:31 am

Where is xorg.conf?

Post by rado84 » Thu Jun 14, 2018 10:04 am

I need to make my video card to always run in Maximum performance and found this post in nvidia's forum but there's no such a file in the X11 folder. Where is it?

User avatar
thx-1138
Level 6
Level 6
Posts: 1053
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Where is xorg.conf?

Post by thx-1138 » Thu Jun 14, 2018 10:26 am

...there exists no Xorg.conf by default since Ubuntu 10.04 - it's use is optional:
https://wiki.ubuntu.com/X/Config

User avatar
trytip
Level 7
Level 7
Posts: 1867
Joined: Tue Jul 05, 2016 1:20 pm

Re: Where is xorg.conf?

Post by trytip » Thu Jun 14, 2018 10:30 am

old usage is /etc/X11/xorg.conf and newer is in /etc/X11/xorg.conf.d/xorg.conf but user needs create one first
Image

rado84
Level 3
Level 3
Posts: 150
Joined: Sun Aug 19, 2012 9:31 am

Re: Where is xorg.conf?

Post by rado84 » Thu Jun 14, 2018 12:44 pm

trytip wrote:
Thu Jun 14, 2018 10:30 am
old usage is /etc/X11/xorg.conf and newer is in /etc/X11/xorg.conf.d/xorg.conf but user needs create one first
How do I make the X server create that file? I tried creating it manually and putting the options I need inside but the OS hangs on the 4 green dots upon restart while trying to load the desktop.

User avatar
thx-1138
Level 6
Level 6
Posts: 1053
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Where is xorg.conf?

Post by thx-1138 » Thu Jun 14, 2018 1:25 pm

https://wiki.archlinux.org/index.php/NV ... figuration

Code: Select all

The proprietary NVIDIA graphics card driver does not need any Xorg server configuration file.
.........................read the rest as well..............
&
https://wiki.archlinux.org/index.php/Xo ... _xorg.conf

Code: Select all

You can also generate a skeleton for xorg.conf with:
# Xorg :0 -configure

This should create a xorg.conf.new file in /root/ that you can copy over to /etc/X11/xorg.conf.
Tip: If you are already running an X server, use a different display, for example Xorg :2 -configure.

Alternatively, your proprietary video card drivers may come with a tool to automatically configure Xorg: 
see the article of your video driver, NVIDIA or AMD Catalyst, for more details. 
Ie. generally speaking, it's not recommended (i think you already found out why)...
So, make sure to read above carefully first (unless you want to spend your time in ttys rm-ing xorg files...) :wink:

User avatar
trytip
Level 7
Level 7
Posts: 1867
Joined: Tue Jul 05, 2016 1:20 pm

Re: Where is xorg.conf?

Post by trytip » Thu Jun 14, 2018 4:27 pm

if you have nvidia you can try sudo nvidia-xconfig
Image

rado84
Level 3
Level 3
Posts: 150
Joined: Sun Aug 19, 2012 9:31 am

Re: Where is xorg.conf?

Post by rado84 » Thu Jun 14, 2018 7:00 pm

trytip wrote:
Thu Jun 14, 2018 4:27 pm
if you have nvidia you can try sudo nvidia-xconfig
That was all I needed. I saved this command in a file for the next time I need it. Thanks, trytip! :D And now, with the options

Code: Select all

Option  "Coolbits" "13"
  Option  "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerDefaultAC=0x1"
in "Device" section the video card always runs in Maximum performance. Finally, ATS will run as it's supposed and not as if I'm running it on a Pentium 1.

Post Reply

Return to “Software & Applications”