Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] xorg.conf missing [solved]  (Read 39984 times)

Offline oneself

  • User
  • Posts: 70
[EN] xorg.conf missing [solved]
« 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.
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.
« Last Edit: 2016/02/07, 06:13:05 by oneself »
There are 10 types of people, those who know binary and those who don't.

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: xorg: No devices to configure. Configuration failed.
« Reply #1 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
« Last Edit: 2016/02/07, 02:37:44 by piper »
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
Re: xorg: No devices to configure. Configuration failed.
« Reply #2 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

greetings
musca
« Last Edit: 2016/02/07, 03:00:10 by musca »
β€žEs irrt der Mensch, solang er strebt.β€œ  (Goethe, Faust)

Offline oneself

  • User
  • Posts: 70
Re: xorg: No devices to configure. Configuration failed.
« Reply #3 on: 2016/02/07, 06:12:30 »
That worked perfectly, thank you.
There are 10 types of people, those who know binary and those who don't.