• 1
  • 7
  • 8
  • 9(current)
  • 10
  • 11
  • 12
Linux HOW-TO setup XBMC and Linux with correct resolution (xorg.conf)
Heya,

I'm having trouble locating the xorg.conf...

I installed XBMC from the LiveCD.
/etc/X11/xorg.conf does not exist, neither any file called "xorg.conf" (checked using find / | grep "xorg\.conf")
Reply
Snaek Wrote:Heya,

I'm having trouble locating the xorg.conf...

I installed XBMC from the LiveCD.
/etc/X11/xorg.conf does not exist, neither any file called "xorg.conf" (checked using find / | grep "xorg\.conf")

follow the instructions on first post please for xbmclive install.
Reply
I would, but I cant since xorg.conf does not exist altho XBMC is able to change the resolution via "settings"....

all I need to know is the path to XBMC's xorg.conf...

currently I'm trying to find a workaround with xrandr and xauth... works but the smaller screen is flickering and cuts the output... or basicly it doest seem to bother resizing the output of XBMC....
Reply
you dont need one to exits to create one, IF you follow the instructions one will be created for you, no need for workarounds or hack jobs...

suit yourself.
Reply
Snaek what video card do you have?

If you have an Nvidia card the type this at the command line:

Code:
sudo nvidia-xconfig

Jerry
Reply
The-Boxhead Wrote:What tv do you have and how do you connect it ?
EDID is not supported on VGA cable.

Any way i can get a decent resolution like 1280x800 or 720 over VGA? I have Dell Inspiron 6400 E1505 with Nvidia GeForce Go 7300 and Westinghouse 42" TV with 1920x1080p Full HD native resolution.

Thanks.
Amor cuerdo, no es Amor.
Reply
Question 
After trying for hours, I'm giving up! Maybe someone knows the reason, why I can't get 1080i or 1080p running with CrystalHD@ATV1?

Following above guide, xlog.txt states that my display does not support such resolutions. But actually it does!
- http://www.sony.co.uk/product/tv-66-26-l...nicalSpecs
- I have a satellite recv. also connected to the 2nd HDMI-port and the TV confirms 1080i.

Assuming this is a mistake from Sony, I tried to override the settings in xorg.conf, with no luck yet!

Also, hoping not to need the "updated Crystal-drivers", since I need audio-over-HDMI.

Any solving advice highly appreciated!

THX

---xlog.txt---
#
#
#
(--) NVIDIA(0): Connected display device(s) on GeForce Go 7300 at PCI:1:0:0:
(--) NVIDIA(0): SONY TV (DFP-0)
(--) NVIDIA(0): SONY TV (DFP-0): 165.0 MHz maximum pixel clock
(--) NVIDIA(0): SONY TV (DFP-0): Internal Single Link TMDS
(--) NVIDIA(0): SONY TV (DFP-0): Native FlatPanel Scaling is supported
(--) NVIDIA(0): SONY TV (DFP-0): DFP modes are not limited to 60 Hz refresh
(--) NVIDIA(0): rate
(--) NVIDIA(0): SONY TV (DFP-0): DFP is not internal to notebook
(--) NVIDIA(0):
(--) NVIDIA(0): --- EDID for SONY TV (DFP-0) ---
(--) NVIDIA(0): EDID Version : 1.3
(--) NVIDIA(0): Manufacturer : SNY
(--) NVIDIA(0): Monitor Name : SONY TV
(--) NVIDIA(0): Product ID : 54017
(--) NVIDIA(0): 32-bit Serial Number : 16843009
(--) NVIDIA(0): Serial Number String :
(--) NVIDIA(0): Manufacture Date : 2009, week 1
(--) NVIDIA(0): DPMS Capabilities :
(--) NVIDIA(0): Prefer first detailed timing : Yes
(--) NVIDIA(0): Supports GTF : No
(--) NVIDIA(0): Maximum Image Size : 1600mm x 900mm
(--) NVIDIA(0): Valid HSync Range : 14.0 kHz - 70.0 kHz
(--) NVIDIA(0): Valid VRefresh Range : 48 Hz - 62 Hz
(--) NVIDIA(0): EDID maximum pixel clock : 150.0 MHz
#
#
#
(II) NVIDIA(0): Validating Mode "1920x1080":
(II) NVIDIA(0): 1920 x 1080 @ 50 Hz
(II) NVIDIA(0): For use as DFP backend.
(II) NVIDIA(0): Mode Source: EDID
(II) NVIDIA(0): Pixel Clock : 148.50 MHz
(II) NVIDIA(0): HRes, HSyncStart : 1920, 2448
(II) NVIDIA(0): HSyncEnd, HTotal : 2492, 2640
(II) NVIDIA(0): VRes, VSyncStart : 1080, 1084
(II) NVIDIA(0): VSyncEnd, VTotal : 1089, 1125
(II) NVIDIA(0): H/V Polarity : +/+
(WW) NVIDIA(0): Mode is rejected: Modes from the SONY TV (DFP-0)'s EDID
(WW) NVIDIA(0): are not allowed.
(II) NVIDIA(0):
(II) NVIDIA(0): Validating Mode "1920x1080":
(II) NVIDIA(0): 1920 x 1080 @ 60 Hz
(II) NVIDIA(0): For use as DFP backend.
(II) NVIDIA(0): Mode Source: EDID
(II) NVIDIA(0): Pixel Clock : 148.35 MHz
(II) NVIDIA(0): HRes, HSyncStart : 1920, 2008
(II) NVIDIA(0): HSyncEnd, HTotal : 2052, 2200
(II) NVIDIA(0): VRes, VSyncStart : 1080, 1084
(II) NVIDIA(0): VSyncEnd, VTotal : 1089, 1125
(II) NVIDIA(0): H/V Polarity : +/+
(WW) NVIDIA(0): Mode is rejected: Modes from the SONY TV (DFP-0)'s EDID
(WW) NVIDIA(0): are not allowed.
(II) NVIDIA(0):
(II) NVIDIA(0): Validating Mode "1920x1080":
(II) NVIDIA(0): 1920 x 1080 @ 24 Hz
(II) NVIDIA(0): For use as DFP backend.
(II) NVIDIA(0): Mode Source: EDID
(II) NVIDIA(0): Pixel Clock : 74.16 MHz
(II) NVIDIA(0): HRes, HSyncStart : 1920, 2558
(II) NVIDIA(0): HSyncEnd, HTotal : 2602, 2750
(II) NVIDIA(0): VRes, VSyncStart : 1080, 1084
(II) NVIDIA(0): VSyncEnd, VTotal : 1089, 1125
(II) NVIDIA(0): H/V Polarity : +/+
(WW) NVIDIA(0): Mode is rejected: VertRefresh (24.0 Hz) out of range
(WW) NVIDIA(0): (48.000-62.000 Hz).
(II) NVIDIA(0):
(II) NVIDIA(0): Validating Mode "1920x1080":
(II) NVIDIA(0): 1920 x 1080 @ 25 Hz
(II) NVIDIA(0): For use as DFP backend.
(II) NVIDIA(0): Mode Source: EDID
(II) NVIDIA(0): Pixel Clock : 74.25 MHz
(II) NVIDIA(0): HRes, HSyncStart : 1920, 2448
(II) NVIDIA(0): HSyncEnd, HTotal : 2492, 2640
(II) NVIDIA(0): VRes, VSyncStart : 1080, 1084
(II) NVIDIA(0): VSyncEnd, VTotal : 1089, 1125
(II) NVIDIA(0): H/V Polarity : +/+
(WW) NVIDIA(0): Mode is rejected: VertRefresh (25.0 Hz) out of range
(WW) NVIDIA(0): (48.000-62.000 Hz).


Output: /etc/X11/xorg.conf

#
#
#
#
Section "Monitor"
Identifier "Monitor0"
VendorName "SONY TV"
ModelName "DFP-0"
HorizSync 14 - 70
VertRefresh 24 - 120
ModeLine "1920x1080@24" 74.16 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
ModeLine "1920x1080@25" 74.25 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
ModeLine "1920x1080@50" 148.50 1920 2448 2492 2640 540 542 547 562 +hsync +vsync Interlace
ModeLine "1920x1080@60" 148.35 1920 2008 2052 2200 540 542 547 562 +hsync +vsync Interlace
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080@24"
Modes "1920x1080@25"
Modes "1920x1080@50"
Modes "1920x1080@60"
EndSubSection
EndSection



Output: /var/log/Xorg.0.log:

#
#
#
(II) NVIDIA(0): NVIDIA GPU GeForce Go 7300 (G72) at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 131072 kBytes
(--) NVIDIA(0): VideoBIOS: 05.72.22.68.00
(II) NVIDIA(0): Detected PCI Express Link width: 2X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce Go 7300 at PCI:1:0:0:
(--) NVIDIA(0): SONY TV (DFP-0)
(--) NVIDIA(0): SONY TV (DFP-0): 165.0 MHz maximum pixel clock
(--) NVIDIA(0): SONY TV (DFP-0): Internal Single Link TMDS
(II) NVIDIA(0): Assigned Display Device: DFP-0
(WW) NVIDIA(0): No valid modes for "1920x1080@24"; removing.
(WW) NVIDIA(0): No valid modes for "1920x1080@25"; removing.
(WW) NVIDIA(0): No valid modes for "1920x1080@50"; removing.
(WW) NVIDIA(0): No valid modes for "1920x1080@60"; removing.
(WW) NVIDIA(0):
(WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
(WW) NVIDIA(0): "nvidia-auto-select".
(WW) NVIDIA(0):
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): "nvidia-auto-select"
(II) NVIDIA(0): Virtual screen size determined to be 1360 x 768
(--) NVIDIA(0): DPI set to (21, 21); computed from "UseEdidDpi" X config
(--) NVIDIA(0): option
(==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
#
#
#
Reply
I'm fighting with a projector at my school to get XBMC Live working at the right resolution. Looking at the manual on the mfr's web site, I found that it has a native resolution of 1280x800. I followed the instructions in the first post, and I found this in xlog.txt:
Code:
(--) Mar 09 11:30:20 NVIDIA(0): --- EDID for NEC NP510WSeries (CRT-0) ---
(--) Mar 09 11:30:20 NVIDIA(0): EDID Version                 : 1.3
(--) Mar 09 11:30:20 NVIDIA(0): Manufacturer                 : NEC
(--) Mar 09 11:30:20 NVIDIA(0): Monitor Name                 : NEC NP510WSeries
(--) Mar 09 11:30:20 NVIDIA(0): Product ID                   : 31144
.
.
.
(--) Mar 09 11:30:20 NVIDIA(0): Detailed Timings:
(--) Mar 09 11:30:20 NVIDIA(0):   1280 x 800  @ 60 Hz
(--) Mar 09 11:30:20 NVIDIA(0):     Pixel Clock      : 83.50 MHz
(--) Mar 09 11:30:20 NVIDIA(0):     HRes, HSyncStart : 1280, 1352
(--) Mar 09 11:30:20 NVIDIA(0):     HSyncEnd, HTotal : 1480, 1680
(--) Mar 09 11:30:20 NVIDIA(0):     VRes, VSyncStart : 800, 803
(--) Mar 09 11:30:20 NVIDIA(0):     VSyncEnd, VTotal : 809, 831
(--) Mar 09 11:30:20 NVIDIA(0):     H/V Polarity     : -/+
.
.
.
(--) Mar 09 11:30:20 NVIDIA(0): --- End of EDID for NEC NP510WSeries (CRT-0) ---
Perfect. Exactly the numbers I need to create a ModeLine, straight from the EDID information itself!

So I added this information to a fresh xorg.conf.
Code:
Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       30.0 - 82.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
    Option         "ExactModeTimingsDVI" "TRUE"
    ModeLine "1280x800_60" 83.50 1280 1352 1480 1680 800 803 809 831 -hsync +vsync
EndSection
.
.
.
Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1280x800_60"
    EndSubSection
EndSection
After rebooting the machine, Xorg.0.log indicates that it is using the "1280x800_60" mode that I gave it, and XBMC does start up at that resolution. However, XBMC is insisting on running at 50 fps instead of 60.

What's going on?

EDIT: The computer in question has an NVIDIA GeForce 8600 GTS (G84) and I'm running XBMC from a USB flash drive, if that makes any difference.
Reply
I found this thread because I was trying to work out how to have X and xbmc start even when the connected TV set is switched off. The instructions here worked for me to set the correct resolution under Ubuntu 12.04, but X would still fail to start because the nvidia driver didn't detect a display. The extra configuration option needed was to add

Option "ConnectedMonitor" "DFP"

in the "Device" section. With that added the X server will start with the TV turned off.

Reply
I get this error
Code:
bash: X-: command not found...
| Cooler Master MasterCase Maker 5 | Gigabyte Aorus X299 Ultra Gaming Motherboard | Intel Core i7 [email protected] | Corsair Vengence 16GB x 2 Ram | Samsung SSD 960 PRO 512GB M.2 |
| Western Digital 1TB HDD | HGST Ultrastar 4TB HDD | Gigabyte GeForce GTX 950 Extreme | Ubuntu 20.04 x86_64 | Windows 10 Pro 1909 |
Reply
I just wanted to say thank you for all your info!
between this and couple other site iv managed to get my setup running at 1360x768.... i can tell you it took some tinkering! (only been using linux for a few days)
im using onboard nvidia gforce 7025/nforce 630a and yes this was connected to my 32LG3000 via VGA running nvidia driver version 302.17 and im using ubuntu 10.04.
like some of the others i had MASSIVE overpan/scan or what ever ya call it so this is my xorg.conf settings..........

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Thu May 31 12:36:44 PDT 2012

Section "Monitor"
Identifier "Monitor0"
VendorName "LG"
ModelName "32LG3000"
HorizSync 31.0 - 67.0
VertRefresh 59.0 - 76.0
ModeLine "[email protected]" 84.72 1360 1424 1568 1776 768 769 772 795 -hsync +vsync
Option "DPMS"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Option "FlatPanelProperties" "Scaling = 1360x768"
Modes "1360x768"
Depth 24
EndSubSection
EndSection

Section "Module"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

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

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

Section "Device"
Identifier "Device0"
VendorName "NVIDIA Corporation"
Driver "nvidia"
Option "NoLogo" "True"
Option "ModeValidation" "NoEdidModes"
Option "DynamicTwinView" "Fasle"
EndSection


NOTICE i use Option "FlatPanelProperties" "Scaling = 1360x768" instead of Option "FlatPanelProperties" "Scaling = NATIVE"
i dont know if this will help anyone else out due to me using vga and only inputting enough info for 1 modeline
also one last thing i KNOW my modeline is NOT QUITE right as thats the numbers for the hmdi modeline but i thought sod it i will give it a try and it works, but if anyone can see and mistakes or anything that does not need to be included then please please let me know

many thanks again

paul
Reply
Hello

i am completely stuck. i installed xbmcfreaks xbmcbuntu and cannot achieve 1920x1080 resolution (my televisions native res) via HDMI passthrough through a Yamaha receiver. Highest resolution in settings i can choose is 1280x720.

i followed the instructions in the first post, but my xlog.txt is 0 bytes.

Any help would be greatly appreciated.
*EDIT* Sorry didnt give u my hardware specs. Wink
Acer Aspire Revo R3610
Nvidia ION
4 GB RAM
500GB HD


TV: Samsung PN50B650S
Receiver: Yamaha HTR-6060

xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 295.40 ([email protected]) Thu Apr 5 22:33:07 PDT 2012


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
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"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
Option "ExactModeTimingDVI" TRUE
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "ModeValidation" "NoEdidModes"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "HWCursor" "Off"
Option "NoLogo" "True"
Option "DynamicTwinView" "False"
Option "FlatPanelProperties" "Scaling = Native"
SubSection "Display"
Depth 24
EndSubSection
EndSection

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



Reply
Code:
Option "ModeValidation" "NoEdidModes"

This is wrong, you won't get EDID modes. Should be: Option "ModeValidation" "NoVesaModes, NoXServerModes"

Code:
VertRefresh 43.0 - 72.0

This is also wrong in case you want to have e.g. the 23.976 mode.

Reply
Hi guys, I'm trying to change the resolution on my Revo R3700 running XBMCBuntu to 1080i but am struggling with the guide. My telly is a Panasonic plasma, 720p/1080i.

I've got this far;

Code:
First of all make sure you backup you original xorg.conf.
your xorg conf is found here:
Code:
/etc/X11/xorg.conf

Then generate a new clean xorg.conf by doing this in a terminal:
Code:
sudo nvidia-xconfig

Now you have a new clean xorg.conf.
Do the following
Code:
sudo nano /etc/X11/xorg.conf

then add the following lines in the correct section of that file:
Section "monitor"
Code:
Option "ExactModeTimingsDVI" "TRUE"

Section "Device"
Code:
Option "ModeValidation" "NoEdidModes"

but then for the next steps there are no folders with the paths for either of these;
sudo /etc/init.d/xbmc-live stop
In the root of your home directory you will find a xlog.txt (/home/xbmc/xlog.txt)

Presumably XBMCbuntu is slightly different to the normal XBMC on Linux? Once I get this far and reboot I get a black screen for XBMC, but it's on as I can SSH into it. Huh
Reply
I am trying to set the resolution on my raspberry Pi (using OpenElec).

ANybody know how to do this? I cannot find "nvidia-xconfig" and don't know what it would be on the rpi?
Reply
  • 1
  • 7
  • 8
  • 9(current)
  • 10
  • 11
  • 12

Logout Mark Read Team Forum Stats Members Help
HOW-TO setup XBMC and Linux with correct resolution (xorg.conf)6