On Mon, Dec 19, 2022 at 09:20:53PM +0530, Mayuresh wrote: > I do not know if there is a way to make a running X dump its conf. I > searched for it, though could not find.
On Linux, when X11 works (i.e. when xorg.conf is absent) I am attaching its log - just in case if there is any way to figure out which driver and options it might be using. -- Mayuresh
[ 142.152] X.Org X Server 1.21.1.4 X Protocol Version 11, Revision 0 [ 142.158] Current Operating System: Linux asus2 6.0.10_1 #1 SMP PREEMPT_DYNAMIC Mon Nov 28 03:42:58 UTC 2022 x86_64 [ 142.158] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.0.10_1 root=UUID=4147e9fb-400b-449c-a1b0-a64b6b720900 ro loglevel=4 [ 142.163] [ 142.165] Current version of pixman: 0.40.0 [ 142.170] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 142.170] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 142.180] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec 20 02:34:34 2022 [ 142.180] (II) Module ABI versions: [ 142.180] X.Org ANSI C Emulation: 0.4 [ 142.180] X.Org Video Driver: 25.2 [ 142.180] X.Org XInput driver : 24.4 [ 142.180] X.Org Server Extension : 10.0 [ 142.181] (II) xfree86: Adding drm device (/dev/dri/card0) [ 142.181] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0 [ 142.198] (--) PCI:*(0@0:2:0) 8086:3184:1043:1232 rev 6, Mem @ 0xa0000000/16777216, 0x90000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072 [ 142.200] List of video drivers: [ 142.201] amdgpu [ 142.201] ati [ 142.202] dummy [ 142.203] intel [ 142.204] nouveau [ 142.205] radeon [ 142.206] vmware [ 142.208] modesetting [ 142.210] fbdev [ 142.211] vesa [ 142.211] (II) LoadModule: "amdgpu" [ 142.231] (II) Loading /usr/lib64/xorg/modules/drivers/amdgpu_drv.so [ 142.314] (II) Module amdgpu: vendor="X.Org Foundation" [ 142.314] compiled for 1.21.1.3, module version = 22.0.0 [ 142.314] Module class: X.Org Video Driver [ 142.314] ABI class: X.Org Video Driver, version 25.2 [ 142.314] (II) LoadModule: "ati" [ 142.315] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so [ 142.331] (II) Module ati: vendor="X.Org Foundation" [ 142.331] compiled for 1.21.1.3, module version = 19.1.0 [ 142.331] Module class: X.Org Video Driver [ 142.331] ABI class: X.Org Video Driver, version 25.2 [ 142.331] (II) LoadModule: "dummy" [ 142.332] (II) Loading /usr/lib64/xorg/modules/drivers/dummy_drv.so [ 142.345] (II) Module dummy: vendor="X.Org Foundation" [ 142.345] compiled for 1.21.1.3, module version = 0.3.8 [ 142.345] Module class: X.Org Video Driver [ 142.345] ABI class: X.Org Video Driver, version 25.2 [ 142.345] (II) LoadModule: "intel" [ 142.345] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so [ 142.393] (II) Module intel: vendor="X.Org Foundation" [ 142.393] compiled for 1.21.1.3, module version = 2.99.917 [ 142.393] Module class: X.Org Video Driver [ 142.393] ABI class: X.Org Video Driver, version 25.2 [ 142.393] (II) LoadModule: "nouveau" [ 142.393] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so [ 142.395] (II) Module nouveau: vendor="X.Org Foundation" [ 142.395] compiled for 1.21.1.3, module version = 1.0.17 [ 142.395] Module class: X.Org Video Driver [ 142.395] ABI class: X.Org Video Driver, version 25.2 [ 142.395] (II) LoadModule: "radeon" [ 142.395] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so [ 142.414] (II) Module radeon: vendor="X.Org Foundation" [ 142.414] compiled for 1.21.1.3, module version = 19.1.0 [ 142.414] Module class: X.Org Video Driver [ 142.414] ABI class: X.Org Video Driver, version 25.2 [ 142.414] (II) LoadModule: "vmware" [ 142.414] (II) Loading /usr/lib64/xorg/modules/drivers/vmware_drv.so [ 143.631] (II) Module vmware: vendor="X.Org Foundation" [ 143.631] compiled for 1.21.1.4, module version = 13.3.0 [ 143.631] Module class: X.Org Video Driver [ 143.631] ABI class: X.Org Video Driver, version 25.2 [ 143.631] (II) LoadModule: "modesetting" [ 143.631] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so [ 143.649] (II) Module modesetting: vendor="X.Org Foundation" [ 143.649] compiled for 1.21.1.4, module version = 1.21.1 [ 143.649] Module class: X.Org Video Driver [ 143.649] ABI class: X.Org Video Driver, version 25.2 [ 143.649] (II) LoadModule: "fbdev" [ 143.649] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so [ 143.650] (II) Module fbdev: vendor="X.Org Foundation" [ 143.650] compiled for 1.21.1.3, module version = 0.5.0 [ 143.650] Module class: X.Org Video Driver [ 143.650] ABI class: X.Org Video Driver, version 25.2 [ 143.650] (II) LoadModule: "vesa" [ 143.650] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so [ 143.650] (II) Module vesa: vendor="X.Org Foundation" [ 143.650] compiled for 1.21.1.3, module version = 2.5.0 [ 143.650] Module class: X.Org Video Driver [ 143.650] ABI class: X.Org Video Driver, version 25.2 [ 143.650] (WW) Falling back to old probe method for dummy [ 143.651] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45, 4 Series, G45/G43, Q45/Q43, G41, B43 [ 143.651] (II) intel: Driver for Intel(R) HD Graphics [ 143.651] (II) intel: Driver for Intel(R) Iris(TM) Graphics [ 143.651] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics [ 143.651] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 143.651] (II) FBDEV: driver for framebuffer: fbdev [ 143.651] (II) VESA: driver for VESA chipsets: vesa [ 143.757] (++) Using config file: "/root/xorg.conf.new" [ 143.758] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 143.790] (==) ServerLayout "X.org Configured" [ 143.790] (**) |-->Screen "Screen0" (0) [ 143.790] (**) | |-->Monitor "Monitor0" [ 143.791] (**) | |-->Device "Card0" [ 143.791] (**) |-->Input Device "Mouse0" [ 143.791] (**) |-->Input Device "Keyboard0" [ 143.791] (==) Automatically adding devices [ 143.791] (==) Automatically enabling devices [ 143.791] (==) Automatically adding GPU devices [ 143.791] (==) Automatically binding GPU devices [ 143.804] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 143.822] (WW) The directory "/usr/share/fonts/X11/OTF" does not exist. [ 143.822] Entry deleted from font path. [ 143.855] (WW) The directory "/usr/share/fonts/X11/OTF" does not exist. [ 143.855] Entry deleted from font path. [ 143.855] (**) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/TTF, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, /usr/share/fonts/X11/misc, /usr/share/fonts/X11/TTF, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi [ 143.855] (**) ModulePath set to "/usr/lib64/xorg/modules" [ 143.855] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. [ 143.855] (WW) Disabling Mouse0 [ 143.855] (WW) Disabling Keyboard0 [ 143.877] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103 [ 143.879] [ 143.883] Xorg detected your mouse at device /dev/input/mice. Please check your config if the mouse is still not operational, as by default Xorg tries to autodetect the protocol. [ 143.886] Your xorg.conf file is /root/xorg.conf.new [ 143.888] To test the server, run 'X -config /root/xorg.conf.new' [ 143.888] (EE) Server terminated with error (2). Closing log file.