Archive:Minimal NVidia xorg.conf: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>UNiversal
mNo edit summary
 
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{cleanup}}
{{-}}
{{greenv|Information:|This page contains minimal xorg.conf which can be used as examples or to further tweak.}}
{{bluev|Advanced:|The information contained in this page is considered advanced.}}
{{redv|Warning:|The information contained herein can cause issues with your X if any errors or incorrect information is entered.}}
{| style="border: 1px solid #aaa;background-color: #f9f9f9;color: black;margin: 0.5em 0 0.5em 1em;padding: 0.5em;clear: all; float: right;"
! colspan="2" | {{bigger|xorg table of contents:}}
|-
| '''Configuration guides:'''
* [[Archive:Configuring_resolution_via_xorg.conf]]
* [[Archive:Creating_and_using_edid.bin_via_xorg.conf]]
| '''Modeline references:'''
* [[Archive:Minimal_NVidia_xorg.conf]]
* [[Archive:Xorg_Modelines]]
|}
== '''Outline''' ==
The xorg.conf is a integral part of running Kodi in X via for e.g. xinit in some controllable manner.
While in recent Linux the device drivers have improved considerably and deem xorg.conf unneeded, it still has its niche.
This is a known working NVidia '''xorg.conf''' using some recommended settings from the forums.
This is a known working NVidia '''xorg.conf''' using some recommended settings from the forums.


==Example==
== '''Introduction''' ==
<u>Use this guide on your own risk</u>. if you end up without a picture on your screen restore the backup xorg.conf or rename existing if no backup exists.
 
 
== Example ==


<pre>Section "Module"
<pre>Section "Module"
Line 28: Line 53:
     DefaultDepth    24
     DefaultDepth    24
     Option        "TwinView" "0"
     Option        "TwinView" "0"
    Option        "FlatPanelProperties" "Scaling = Native"
     Option        "SWCursor" "on"
     Option        "SWCursor" "on"
     Option        "HWCursor" "off"
     Option        "HWCursor" "off"
Line 41: Line 65:
EndSection</pre>
EndSection</pre>


==Example==
== Example ==
Only for drivers 30x.x, '''not guaranteed''' If NVidia changes the way they do things again. The HorizSync and VertRefresh must be validated properly by the connected TV or AVR.
Only for drivers 30x.x, '''not guaranteed''' If NVidia changes the way they do things again. The HorizSync and VertRefresh must be validated properly by the connected TV or AVR.


Line 72: Line 96:
     #Option              "HorizSync"            "DFP-0: 25-100"
     #Option              "HorizSync"            "DFP-0: 25-100"
     DefaultDepth          24
     DefaultDepth          24
     Option                "ColorRange" "Full"
     #ColorRange and ColorSpace are default already
     Option                "ColorSpace" "RGB"
    #Option                "ColorRange" "Full"
     #Option                "ColorSpace" "RGB"
     Option                "DynamicTwinView" "false"
     Option                "DynamicTwinView" "false"
    #Option                "FlatPanelProperties" "Scaling = Native"
     Option                "ModeValidation" "NoVesaModes, NoXServerModes"
     Option                "ModeValidation" "NoVesaModes, NoXServerModes"
     Option                "ExactModeTimingsDVI" "True"
     Option                "ExactModeTimingsDVI" "True"
Line 93: Line 117:
     VertRefresh   24-75
     VertRefresh   24-75
     # 1920x1080p @ 23.976Hz (EIA/CEA-861B)
     # 1920x1080p @ 23.976Hz (EIA/CEA-861B)
     ModeLine "1920x1080_23.976" 74.175 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
     ModeLine "1920x1080_23.976" 74.11 1920 2557 2602 2750 1080 1084 1089 1124 +hsync +vsync
     ModeLine "1920x1080_24"    74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
     ModeLine "1920x1080_24"    74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
     # Remove # from below to use
     # Remove # from below to use
Line 105: Line 129:
EndSection</pre>
EndSection</pre>


[[Category:nVidia]]
[[Category:Development-Archived]]

Latest revision as of 01:24, 22 July 2020

Cleanup.png This page or section may require cleanup, updating, spellchecking, reformatting and/or updated images. Please improve this page if you can. The discussion page may contain suggestions.



Information: This page contains minimal xorg.conf which can be used as examples or to further tweak.
Advanced: The information contained in this page is considered advanced.
Warning: The information contained herein can cause issues with your X if any errors or incorrect information is entered.


xorg table of contents:
Configuration guides: Modeline references:

Outline

The xorg.conf is a integral part of running Kodi in X via for e.g. xinit in some controllable manner. While in recent Linux the device drivers have improved considerably and deem xorg.conf unneeded, it still has its niche.

This is a known working NVidia xorg.conf using some recommended settings from the forums.

Introduction

Use this guide on your own risk. if you end up without a picture on your screen restore the backup xorg.conf or rename existing if no backup exists.


Example

Section "Module"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "NoLogo" "True"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "SWCursor" "on"
    Option         "HWCursor" "off"
    SubSection     "Display"
        Option         "DynamicTwinView" "false"
        Depth          24
    EndSubSection
EndSection

Section "Extensions"
          Option "Composite" "Disable"
EndSection

Example

Only for drivers 30x.x, not guaranteed If NVidia changes the way they do things again. The HorizSync and VertRefresh must be validated properly by the connected TV or AVR.

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 304.60  (buildmeister@swio-display-x86-rhel47-13)  Sun Oct 14 21:19:18 PDT 2012
# Deprecated on 30X.X NVIDIA DRIVERS - Option                "FlatPanelProperties" "Scaling = Native"

Section "Device"
    Identifier            "Device0"
    Driver                "nvidia"
    VendorName            "NVIDIA Corporation"
    Option                "NoLogo"                "true"
    Option                "DynamicTwinView"       "false"
    Option                "NoFlip"                "false"
    Option                "ConnectToAcpid"        "0"
    Option                "ModeValidation"        "NoVesaModes, NoXServerModes"
    Option                "ModeDebug"             "true"
    Option                "HWCursor"              "false"
    Option                "SWCursor"              "false"
    Option                "RenderAccel"           "1"
EndSection


Section "Screen"
    Identifier            "Screen0"
    Device                "Device0"
    Monitor               "Monitor0"
    #Option               "VertRefresh"           "DFP-0: 23-60"
    #Option               "HorizSync"             "DFP-0: 25-100"
    DefaultDepth          24
    #ColorRange and ColorSpace are default already
    #Option                "ColorRange" "Full"
    #Option                "ColorSpace" "RGB"
    Option                "DynamicTwinView" "false"
    Option                "ModeValidation" "NoVesaModes, NoXServerModes"
    Option                "ExactModeTimingsDVI" "True"
    SubSection            "Display"
        Depth             24
    EndSubSection
EndSection


Section "Monitor"
    Identifier		  "Monitor0"
    VendorName		  "Unknown"
    ModelName		  "Unknown"
    #HorizSync		  28.0 - 33.0
    #VertRefresh          23.0 - 72.0
    HorizSync		  26-81
    VertRefresh		  24-75
    # 1920x1080p @ 23.976Hz (EIA/CEA-861B)
    ModeLine "1920x1080_23.976" 74.11 1920 2557 2602 2750  1080 1084 1089 1124 +hsync +vsync
    ModeLine "1920x1080_24"     74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
    # Remove # from below to use
    #Modeline "1920x1080_25"	74.25  1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
    #Modeline "1920x1080_60"	148.35 1920 2008 2052 2200 1080 1084 1089 1125 -hsync +vsync
	Option		  "DPI" "96 x 96"
EndSection

Section "Extensions"
    Option               "Composite" "Disable"
EndSection