Siduction Forum

Siduction Forum => Installation - Support => Topic started by: oneself on 2016/02/07, 02:17:24

Title: xorg.conf missing [solved]
Post by: oneself on 2016/02/07, 02:17:24
Hi,


I'm trying to change my xorg configuration since I need to add some options to prevent horizontal tearing (http://askubuntu.com/questions/418398/tear-free-disabled-in-intel-graphics-tearing-in-xubuntu).
Looking in /etc/X11, I don't seem to have an xorg.conf file, although, xorg starts with no problem what I boot up.


So, I am trying to generate a default configuration by using Xorg -configure.  However, that seems to fail for some reason, and no file is generated.  Do I need to generate a default configuration file to add this option?  If I do need one, why is it not generating it?


Code: [Select]
$ service slim stop
$ Xorg -configure



X.Org X Server 1.18.0
Release Date: 2015-11-09
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.2.0-25-generic x86_64 Debian
Current Operating System: Linux eyal 4.1.2-towo.1-siduction-amd64 #1 SMP PREEMPT siduction 4.1-5 (2015-07-10) x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.1.2-towo.1-siduction-amd64 root=/dev/mapper/vgc-root ro cryptopts=source=/dev/mapper/vg-crypt,target=vgc,lvm=/dev/vgc/root quiet i915.enable_ips=0
Build Date: 27 January 2016  04:54:13PM
xorg-server 2:1.18.0-3 (http://www.debian.org/support)
Current version of pixman: 0.33.6
        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: Sat Feb  6 20:05:00 2016
List of video drivers:
        mga
        intel
        neomagic
        trident
        ati
        mach64
        nouveau
        r128
        radeon
        amdgpu
        sisusb
        vmware
        savage
        tdfx
        cirrus
        vesa
        fbdev
        modesetting
No devices to configure.  Configuration failed.
(EE) Server terminated with error (2). Closing log file.
Title: Re: xorg: No devices to configure. Configuration failed.
Post by: piper on 2016/02/07, 02:26:53
xorg.conf has been gone for a few years now

/etc/X11/xorg.conf.d   is the place to be

Be very careful reading anything related to ubuntu,  as ubuntu and debian are not binary compatible, some things are useful and can be used but not all, most distro's moved on from xorg.conf  years ago

Edit:

This might help 

http://forums.debian.net/viewtopic.php?t=104149

https://wiki.archlinux.org/index.php/intel_graphics

I don't have Intel so no help here, perhaps someone else will chime in
Title: Re: xorg: No devices to configure. Configuration failed.
Post by: musca on 2016/02/07, 02:50:19
Hello oneself,
you still don't need an xorg.conf,
just put the section in a conf file under /etc/X11/xorg.conf.d/ and autoconfiguration will apply it.
Please keep the comments in place, it's fine for listing all configs with
Code: [Select]
cat /etc/X11/xorg.conf.d/*.conf
# /etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
  Identifier  "IntelGraphics"
  Driver      "intel"
  Option      "AccelMethod" "sna"
  Option      "TearFree" "true"
EndSection
# end of 20-intel.conf


see http://www.x.org/releases/X11R7.7/doc/man/man5/xorg.conf.5.xhtml#heading10 (http://www.x.org/releases/X11R7.7/doc/man/man5/xorg.conf.5.xhtml#heading10)

greetings
musca
Title: Re: xorg: No devices to configure. Configuration failed.
Post by: oneself on 2016/02/07, 06:12:30
That worked perfectly, thank you.