Linux HOW-TO setup XBMC and Linux with correct resolution (xorg.conf)

  Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Snaek Offline
Junior Member
Posts: 4
Joined: Aug 2011
Reputation: 0
Post: #121
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")
find quote
X3lectric Offline
Closed Account
Posts: 1,756
Joined: Feb 2006
Location: in a Dropbox
Post: #122
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.
find quote
Snaek Offline
Junior Member
Posts: 4
Joined: Aug 2011
Reputation: 0
Post: #123
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....
find quote
X3lectric Offline
Closed Account
Posts: 1,756
Joined: Feb 2006
Location: in a Dropbox
Post: #124
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.
find quote
jawilljr Offline
Senior Member
Posts: 164
Joined: Jan 2010
Reputation: 5
Post: #125
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
find quote
donniezazen Offline
Junior Member
Posts: 25
Joined: Jul 2011
Reputation: 0
Post: #126
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.
find quote
xbmc@muc Offline
Junior Member
Posts: 1
Joined: Feb 2012
Reputation: 0
Question  Need help with Sony KDL-26EX302 Post: #127
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.
#
#
#
find quote
DarkMorford Offline
Junior Member
Posts: 5
Joined: Feb 2012
Reputation: 0
Post: #128
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.
(This post was last modified: 2012-03-13 06:13 by DarkMorford.)
find quote
mhwilkinson Offline
Junior Member
Posts: 1
Joined: Apr 2012
Reputation: 0
Post: #129
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.
find quote
thothom Offline
Junior Member
Posts: 17
Joined: Apr 2012
Reputation: 0
Post: #130
I get this error
Code:
bash: X-: command not found...

| Windows 7 Professional x86_64 | Ubuntu 13.04 x86_64 |
| Gateway DX4710-UB301A | Intel Core2 Quad Q6700@2.66Ghz w/6 Gb's of ram |
| OCZ-Vertex3 120 Gb SSD | Western Digital 160 Gb HDD | Western Digital 640 Gb HDD |
| Nvidia GeForce GTX 550 Ti |
(This post was last modified: 2012-06-27 23:30 by thothom.)
find quote
Post Reply