Kodi Community Forum

Full Version: Can't create xorg.conf
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm using Ubuntu 12.10 mini install with Bram77's auto-install script (http://forum.xbmc.org/showthread.php?tid=141369). Everything is fine except one small problem. I'm trying to use emulators through Advanced Launcher but I've run into the problem where the screen blacks out after a few minutes of playing. In the past I've used an XBMCbuntu install and was able to edit the /etc/X11/xorg.conf as described in the end of TehCrucible's guide (http://forum.xbmc.org/showthread.php?tid=129256) and it solved the problem.

With my current system I'm not able to do this because /etc/X11/xorg.conf doesn't exist. I searched around and found this may be because X runs without this file in a "default" mode but you are able to create an xorg.conf file by running Xorg -configure. At first try, it returned "Fatal server error: Server is already active for display 0". I stopped XBMC, ran Xorg -configure again, and it has error below.

Code:
X.Org X Server 1.13.0
Release Date: 2012-09-05
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-32-generic x86_64 Ubuntu
Current Operating System: Linux WesHTPC 3.5.0-25-generic #39-Ubuntu SMP Mon Feb 25 18:26:58 UTC 2013 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.5.0-25-generic root=UUID=452b7061-5ae7-40e8-ad03-d4e928e8d792 ro nomodeset usbcore.autosuspend=-1 video=uvesafb:mode_option=1920x1080-24,mtrr=3,scroll=ywrap splash quiet vt.handoff=7
Build Date: 27 November 2012  07:44:35AM
xorg-server 2:1.13.0-0ubuntu6.1 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.26.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 22 15:53:41 2013
List of video drivers:
        fglrx
No devices to configure.  Configuration failed.
Server terminated with error (2). Closing log file.

I just need to get an xorg.conf file where I can make the changes from TehCrucible's guide.

I'm not at all proficient with Linux. I think this may be something embarrassingly simple and maybe XBMC forums is not the right place to ask since this isn't directly related to XBMC. Blush
Have you tried setting the DISPLAY environment variable before running the commands to generate the xorg.conf? I dont have the exact command as I'm not at home.
(2013-03-23, 08:11)teeedubb Wrote: [ -> ]Have you tried setting the DISPLAY environment variable before running the commands to generate the xorg.conf? I dont have the exact command as I'm not at home.

Thanks for the tip. I'll give it a try as soon as I can and post results.
seems you are using AMD. fglrx doesn't really use xorg.conf, its configuration is amdconfig/amdcccle

edit: for fglrx to work, you need to create a minimal xorg.conf with amdconfig --initial
(2013-03-23, 11:55)wsnipex Wrote: [ -> ]seems you are using AMD. fglrx doesn't really use xorg.conf, its configuration is amdconfig/amdcccle

edit: for fglrx to work, you need to create a minimal xorg.conf with amdconfig --initial

That did the trick. Thank you so much!