LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-12-2015, 02:40 AM   #1
JackDinn
Member
 
Registered: May 2015
Posts: 236

Rep: Reputation: Disabled
xorg.conf not seen/run at boot ?


Hi,

I wont go into just how much trouble iv had trying to migrate over to linux but this line is just to give an idea (months and months of reading & searching).

I still have a pounding headache from yesterdays 12 hour marathon of searching to figure out how to shrink a LVM partition (still not solved yet) so im just going to ask and give my head a little rest.

problem:-
mint mate does not set my xorg.conf at boot. If i load nvidia configs GUI after boot it then adjusts all my video settings (gamma of 2nd monitor mainly) to how they should be i dont need to touch anything in the GUI just start it and then close it.

I have my xorg.conf at /etc/X11/xorg.conf

why does it not configure my video settings at boot?

cheers

Last edited by JackDinn; 09-12-2015 at 02:57 AM. Reason: syntax
 
Old 09-12-2015, 05:55 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
It may depend on your distribution, and what you are trying to do.

Normally, there is no xorg.conf as the X server has been able to determine for itself what to do based on the hardware. Tweaks to what it is to do is usually in /etc/X11/xorg.conf.d where only the sections being tweaked are put.

Some things that can cause problems is if you have two different video devices installed at the same time.

Very likely you won't get much help until you include what is reported during startup (the Xorg.conf file, the Xorg log entries...)

Last edited by jpollard; 09-12-2015 at 05:56 AM.
 
Old 09-12-2015, 06:05 AM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Warning, this may cause issues:
What I tend to do is run nvidia-settings as root the first time and tell it to write xorg-conf and other settings. Then reboot and run nvidia-settings as the normal user and confirm settings are OK, saving the nvidia settings only if not.
 
Old 09-12-2015, 08:29 AM   #4
JackDinn
Member
 
Registered: May 2015
Posts: 236

Original Poster
Rep: Reputation: Disabled
well iv spent a lot of time working with the xorg because of a problem on KDE with screen tearing on my secondary output (TV) so im a little accustomed with them (but still much a newbie). However i never could figure it out so i ended up just switching from mint KDE to mint Mate

Iv just reset the comp several times and noticed it only sometimes starts out dark but others its starts fine , just more confusion

were on:-
Mint 17.2
DE mate
Nvidia GFX 770; driver propitiatory 355
using:- compiz+emerald+ciaroDock+conky

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 346.72  (buildd@toyol)  Tue May 19 14:39:51 UTC 2015


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Idek Iiyama PL2480H"
    HorizSync       30.0 - 83.0
    VertRefresh     55.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 770"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DVI-I-1: 1920x1080_60 +0+0, HDMI-0: 1920x1080_60i +1920+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Code:
#
# /home/greg/.nvidia-settings-rc
#
# Configuration file for nvidia-settings - the NVIDIA X Server Settings utility
# Generated on Sat Sep 12 14:14:11 2015
#

# ConfigProperties:

RcFileLocale = C
ToolTips = Yes
DisplayStatusBar = Yes
SliderTextEntries = Yes
IncludeDisplayNameInConfigFile = No
ShowQuitDialog = Yes
UpdateRulesOnProfileNameChange = Yes
Timer = Memory_Used_(GPU_0),Yes,3000
Timer = Thermal_Monitor_(GPU_0),Yes,1000
Timer = PowerMizer_Monitor_(GPU_0),Yes,1000

# Attributes:

0/SyncToVBlank=1
0/LogAniso=0
0/FSAA=0
0/TextureSharpen=0
0/TextureClamping=1
0/FXAA=0
0/AllowFlipping=1
0/FSAAAppControlled=1
0/LogAnisoAppControlled=1
0/OpenGLImageSettings=1
0/FSAAAppEnhanced=0
0/XVideoSyncToDisplayID=DVI-I-0
[DPY:DVI-I-0]/Dithering=0
[DPY:DVI-I-0]/DitheringMode=0
[DPY:DVI-I-0]/DitheringDepth=0
[DPY:DVI-I-0]/SynchronousPaletteUpdates=0
[DPY:DVI-I-1]/RedBrightness=0.000000
[DPY:DVI-I-1]/GreenBrightness=0.000000
[DPY:DVI-I-1]/BlueBrightness=0.000000
[DPY:DVI-I-1]/RedContrast=0.000000
[DPY:DVI-I-1]/GreenContrast=0.000000
[DPY:DVI-I-1]/BlueContrast=0.000000
[DPY:DVI-I-1]/RedGamma=1.000000
[DPY:DVI-I-1]/GreenGamma=1.000000
[DPY:DVI-I-1]/BlueGamma=1.000000
[DPY:DVI-I-1]/Dithering=0
[DPY:DVI-I-1]/DitheringMode=0
[DPY:DVI-I-1]/DitheringDepth=0
[DPY:DVI-I-1]/DigitalVibrance=0
[DPY:DVI-I-1]/ColorSpace=0
[DPY:DVI-I-1]/ColorRange=0
[DPY:DVI-I-1]/SynchronousPaletteUpdates=0
[DPY:HDMI-0]/RedBrightness=0.000000
[DPY:HDMI-0]/GreenBrightness=0.000000
[DPY:HDMI-0]/BlueBrightness=0.000000
[DPY:HDMI-0]/RedContrast=0.000000
[DPY:HDMI-0]/GreenContrast=0.000000
[DPY:HDMI-0]/BlueContrast=0.000000
[DPY:HDMI-0]/RedGamma=1.818182
[DPY:HDMI-0]/GreenGamma=1.818182
[DPY:HDMI-0]/BlueGamma=1.818182
[DPY:HDMI-0]/Dithering=0
[DPY:HDMI-0]/DitheringMode=0
[DPY:HDMI-0]/DitheringDepth=0
[DPY:HDMI-0]/DigitalVibrance=0
[DPY:HDMI-0]/ColorSpace=0
[DPY:HDMI-0]/ColorRange=0
[DPY:HDMI-0]/SynchronousPaletteUpdates=0
[DPY:DP-0]/Dithering=0
[DPY:DP-0]/DitheringMode=0
[DPY:DP-0]/DitheringDepth=0
[DPY:DP-0]/ColorSpace=0
[DPY:DP-0]/ColorRange=0
[DPY:DP-0]/SynchronousPaletteUpdates=0
[DPY:DVI-D-0]/Dithering=0
[DPY:DVI-D-0]/DitheringMode=0
[DPY:DVI-D-0]/DitheringDepth=0
[DPY:DVI-D-0]/ColorSpace=0
[DPY:DVI-D-0]/ColorRange=0
[DPY:DVI-D-0]/SynchronousPaletteUpdates=0
[DPY:DP-1]/Dithering=0
[DPY:DP-1]/DitheringMode=0
[DPY:DP-1]/DitheringDepth=0
[DPY:DP-1]/ColorSpace=0
[DPY:DP-1]/ColorRange=0
[DPY:DP-1]/SynchronousPaletteUpdates=0
if you need the xorg.0.log I'll post it on pastebin as it to long to post here.

Many thx all

Last edited by JackDinn; 09-12-2015 at 08:40 AM.
 
Old 09-12-2015, 08:35 AM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Have to admit I use XFCE because it just works with NVIDIA as two separate X servers. The others seem to be aware but don't always like to let you use both for panels and windows.
 
Old 09-12-2015, 08:38 AM   #6
JackDinn
Member
 
Registered: May 2015
Posts: 236

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
Have to admit I use XFCE because it just works with NVIDIA as two separate X servers. The others seem to be aware but don't always like to let you use both for panels and windows.
yea iv taken several months to figure that one out , i have no screen tearing on xfce or gnome or mate straight "out of the box", I love the looks of KDE but i just could not for the life of me stop the tearing no matter what suggestions i tried (and there are loads of them :-/ )
 
Old 09-12-2015, 01:21 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
lets back up a bit FIRST

you DID!!! blacklist Nouveau and REBUILD the boot image WITHOUT NOUVEAU!!!
-- RIGHT!!!!

then you installed the proprietary nvidia driver
( after disabling the OPENSOURCE nvidia driver )
 
Old 09-12-2015, 01:26 PM   #8
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by John VV View Post
lets back up a bit FIRST

you DID!!! blacklist Nouveau and REBUILD the boot image WITHOUT NOUVEAU!!!
-- RIGHT!!!!

then you installed the proprietary nvidia driver
( after disabling the OPENSOURCE nvidia driver )
I don't think that should be necessary on Mint -- the uninstalling of nouveau and rebuilding boot images is part of the installation of the proprietary driver.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X starts without xorg.conf, however with aticonfig, resultant xorg.conf hangs linuxbird Linux - Desktop 3 08-23-2012 05:28 AM
Accidentally deleted /etc/X11/xorg.conf from run level 1...solutions? morelandjs Linux - Newbie 6 12-10-2009 10:28 PM
Why does xorg.conf seem to be ignored on boot up? Schumacher7 Debian 9 01-03-2008 10:53 AM
Can't boot due to changes in xorg.conf. fanfrank Slackware - Installation 5 10-05-2006 01:57 AM
xorg.conf to run X in two different Slack Kernels BobNutfield Slackware 15 05-15-2006 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration