Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

X suddenly not working


mauricev

Question

I had a system with X running fine, rebuilt world and now it's no longer working. So I added X to another system, which didn't have it, and on it, too, X won't launch. Both systems are running in VirtualBox.

make.conf

GRUB_PLATFORMS="pc"

VIDEO_CARDS="intel vmware virtualbox"

ego.conf

# This is the ego.conf file

[kits]

# You can set your default kits here. Unset kits will use the Funtoo default prime/master
# branch by default.

# python-kit = 3.6-prime

xorg-kit = 1.19-prime

epro show

=== Enabled Profiles: ===
        arch: x86-64bit
       build: current
     subarch: generic_64
      flavor: desktop
     mix-ins: (not set)

Here is X.org log

matlab log # more Xorg.0.log
[ 26654.527] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[ 26654.530] X Protocol Version 11, Revision 0
[ 26654.531] Build Operating System: Linux 4.8.15-1 x86_64 Gentoo
[ 26654.532] Current Operating System: Linux matlab 4.8.15-1 #1 SMP Tue Dec 27 11:23:57 -00 2016 x86_64
[ 26654.533] Kernel command line: BOOT_IMAGE=/kernel-debian-sources-x86_64-4.8.15-1 dolvm rootfstype=ext4 resume=swap:/dev/mapper/funtoo-swap quiet real_root=/d
ev/funtoo/root rootfstype=ext4
[ 26654.535] Build Date: 10 January 2018  10:56:50PM
[ 26654.536]  
[ 26654.537] Current version of pixman: 0.34.0
[ 26654.540] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 26654.540] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 26654.548] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan 11 02:47:49 2018
[ 26654.549] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 26654.550] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 26654.550] (==) No Layout section.  Using the first Screen section.
[ 26654.550] (==) No screen section available. Using defaults.
[ 26654.550] (**) |-->Screen "Default Screen Section" (0)
[ 26654.550] (**) |   |-->Monitor "<default monitor>"
[ 26654.550] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[ 26654.550] (**) |   |-->Device "Intel Graphics"
[ 26654.550] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[ 26654.550] (==) Automatically adding devices
[ 26654.550] (==) Automatically enabling devices
[ 26654.550] (==) Automatically adding GPU devices
[ 26654.550] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 26654.550] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[ 26654.550] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 26654.550] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 26654.550] (II) Loader magic: 0x808c80
[ 26654.550] (II) Module ABI versions:
[ 26654.550] 	X.Org ANSI C Emulation: 0.4
[ 26654.550] 	X.Org Video Driver: 23.0
[ 26654.550] 	X.Org XInput driver : 24.1
[ 26654.550] 	X.Org Server Extension : 10.0
[ 26654.556] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/16777216, BIOS @ 0x????????/131072
[ 26654.556] (II) LoadModule: "glx"
[ 26654.556] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 26654.557] (II) Module glx: vendor="X.Org Foundation"
[ 26654.558] 	compiled for 1.19.3, module version = 1.0.0
[ 26654.558] 	ABI class: X.Org Server Extension, version 10.0
[ 26654.558] (II) LoadModule: "intel"
[ 26654.558] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 26654.558] (II) Module intel: vendor="X.Org Foundation"
[ 26654.558] 	compiled for 1.19.3, module version = 2.99.917
[ 26654.558] 	Module class: X.Org Video Driver
[ 26654.558] 	ABI class: X.Org Video Driver, version 23.0
[ 26654.558] (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
[ 26654.558] (II) intel: Driver for Intel(R) HD Graphics
[ 26654.558] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 26654.558] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 26654.558] (--) using VT number 7

[ 26654.579] (EE) No devices detected.
[ 26654.579] (EE) 
Fatal server error:
[ 26654.579] (EE) no screens found(EE) 
[ 26654.579] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[ 26654.579] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 26654.579] (EE) 
[ 26654.596] (EE) Server terminated with error (1). Closing log file.

 

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

This is odd, but for the previously working other machine going back in time, I had to really go back before I could find a snapshot where X would work. Here are the differences:

Working epro show has mix-in set to xfce whereas failing one has nothing for the mix-in.

Working epro doesn't have an X-kit whereas the failing one has xorg-kit = 1.19-prime.

Make.conf seems to be the same, indicating VIDEO_CARDS="intel vmware" (this machine runs under VMWare.)

Failing x log

Xorg log
[ 15128.083] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[ 15128.083] X Protocol Version 11, Revision 0
[ 15128.083] Build Operating System: Linux 4.8.15-1 i686 Gentoo
[ 15128.084] Current Operating System: Linux vm 4.8.15-1 #2 SMP Thu May 11 11:08:16 Local time zone must be set--see zic  i686
[ 15128.084] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86-4.8.15-1 root=/dev/sda3 rootfstype=ext4
[ 15128.084] Build Date: 19 January 2018  04:08:31AM
[ 15128.084]  
[ 15128.084] Current version of pixman: 0.34.0
[ 15128.084] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 15128.084] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 15128.085] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 19 16:39:03 2018
[ 15128.085] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 15128.085] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 15128.086] (==) No Layout section.  Using the first Screen section.
[ 15128.086] (==) No screen section available. Using defaults.
[ 15128.086] (**) |-->Screen "Default Screen Section" (0)
[ 15128.086] (**) |   |-->Monitor "<default monitor>"
[ 15128.086] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[ 15128.086] (**) |   |-->Device "Intel Graphics"
[ 15128.086] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[ 15128.086] (==) Automatically adding devices
[ 15128.086] (==) Automatically enabling devices
[ 15128.086] (==) Automatically adding GPU devices
[ 15128.086] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 15128.086] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 15128.086] 	Entry deleted from font path.
[ 15128.086] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 15128.086] 	Entry deleted from font path.
[ 15128.086] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 15128.086] 	Entry deleted from font path.
[ 15128.086] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 15128.086] 	Entry deleted from font path.
[ 15128.086] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 15128.086] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 15128.086] 	Entry deleted from font path.
[ 15128.086] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 15128.086] (==) FontPath set to:
	/usr/share/fonts/misc/
[ 15128.086] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 15128.086] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 15128.086] (II) Loader magic: 0x8291640
[ 15128.086] (II) Module ABI versions:
[ 15128.086] 	X.Org ANSI C Emulation: 0.4
[ 15128.086] 	X.Org Video Driver: 23.0
[ 15128.086] 	X.Org XInput driver : 24.1
[ 15128.086] 	X.Org Server Extension : 10.0
[ 15128.086] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 15128.112] (--) PCI:*(0:0:15:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xe8000000/134217728, 0xfe000000/8388608, I/O @ 0x00001070/16, BIOS @ 0x????????/131072
[ 15128.112] (II) LoadModule: "glx"
[ 15128.112] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 15128.115] (II) Module glx: vendor="X.Org Foundation"
[ 15128.115] 	compiled for 1.19.3, module version = 1.0.0
[ 15128.115] 	ABI class: X.Org Server Extension, version 10.0
[ 15128.115] (II) LoadModule: "intel"
[ 15128.115] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 15128.115] (II) Module intel: vendor="X.Org Foundation"
[ 15128.115] 	compiled for 1.19.3, module version = 2.99.917
[ 15128.115] 	Module class: X.Org Video Driver
[ 15128.115] 	ABI class: X.Org Video Driver, version 23.0
[ 15128.115] (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
[ 15128.115] (II) intel: Driver for Intel(R) HD Graphics
[ 15128.115] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 15128.115] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 15128.115] (--) using VT number 7

[ 15128.118] (EE) No devices detected.
[ 15128.118] (EE) 
Fatal server error:
[ 15128.118] (EE) no screens found(EE) 
[ 15128.118] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[ 15128.118] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 15128.118] (EE) 
[ 15128.120] (EE) Server terminated with error (1). Closing log file.

Working x log

[    20.392] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[    20.392] X Protocol Version 11, Revision 0
[    20.392] Build Operating System: Linux 3.19.3-1~exp1 i686 Gentoo
[    20.392] Current Operating System: Linux vm 4.8.15-1 #2 SMP Thu May 11 11:08:16 Local time zone must be set--see zic  i686
[    20.392] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86-4.8.15-1 root=/dev/sda3 rootfstype=ext4
[    20.392] Build Date: 11 May 2017  05:42:50AM
[    20.392]  
[    20.393] Current version of pixman: 0.34.0
[    20.393] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    20.393] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    20.394] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 20 02:03:24 2018
[    20.404] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    20.404] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    20.406] (==) No Layout section.  Using the first Screen section.
[    20.407] (==) No screen section available. Using defaults.
[    20.407] (**) |-->Screen "Default Screen Section" (0)
[    20.407] (**) |   |-->Monitor "<default monitor>"
[    20.407] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    20.407] (==) Automatically adding devices
[    20.407] (==) Automatically enabling devices
[    20.407] (==) Automatically adding GPU devices
[    20.407] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    20.415] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[    20.415] 	Entry deleted from font path.
[    20.415] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    20.415] 	Entry deleted from font path.
[    20.415] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    20.415] 	Entry deleted from font path.
[    20.415] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    20.415] 	Entry deleted from font path.
[    20.415] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    20.416] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    20.416] 	Entry deleted from font path.
[    20.416] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    20.416] (==) FontPath set to:
	/usr/share/fonts/misc/
[    20.416] (==) ModulePath set to "/usr/lib/xorg/modules"
[    20.416] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    20.416] (II) Loader magic: 0x82904e0
[    20.416] (II) Module ABI versions:
[    20.416] 	X.Org ANSI C Emulation: 0.4
[    20.416] 	X.Org Video Driver: 20.0
[    20.416] 	X.Org XInput driver : 22.1
[    20.416] 	X.Org Server Extension : 9.0
[    20.417] (II) xfree86: Adding drm device (/dev/dri/card0)
[    20.442] (--) PCI:*(0:0:15:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xe8000000/134217728, 0xfe000000/8388608, I/O @ 0x00001070/16, BIOS @ 0
x????????/131072
[    20.442] (II) LoadModule: "glx"
[    20.461] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    20.500] (II) Module glx: vendor="X.Org Foundation"
[    20.500] 	compiled for 1.18.4, module version = 1.0.0
[    20.500] 	ABI class: X.Org Server Extension, version 9.0
[    20.500] (==) AIGLX enabled
[    20.500] (==) Matched vmware as autoconfigured driver 0
[    20.500] (==) Matched vmware as autoconfigured driver 1
[    20.500] (==) Matched modesetting as autoconfigured driver 2
[    20.500] (==) Matched fbdev as autoconfigured driver 3
[    20.500] (==) Matched vesa as autoconfigured driver 4
[    20.500] (==) Assigned the driver to the xf86ConfigLayout
[    20.500] (II) LoadModule: "vmware"
[    20.500] (II) Loading /usr/lib/xorg/modules/drivers/vmware_drv.so
[    20.729] (II) Module vmware: vendor="X.Org Foundation"
[    20.729] 	compiled for 1.18.4, module version = 13.1.0
[    20.729] 	Module class: X.Org Video Driver
[    20.729] 	ABI class: X.Org Video Driver, version 20.0
[    20.729] (II) LoadModule: "modesetting"
[    20.729] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    20.730] (II) Module modesetting: vendor="X.Org Foundation"
[    20.730] 	compiled for 1.18.4, module version = 1.18.4
[    20.730] 	Module class: X.Org Video Driver
[    20.730] 	ABI class: X.Org Video Driver, version 20.0
[    20.730] (II) LoadModule: "fbdev"
[    20.731] (WW) Warning, couldn't open module fbdev
[    20.731] (II) UnloadModule: "fbdev"
[    20.731] (II) Unloading fbdev
[    20.731] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    20.731] (II) LoadModule: "vesa"
[    20.731] (WW) Warning, couldn't open module vesa
[    20.731] (II) UnloadModule: "vesa"
[    20.731] (II) Unloading vesa
[    20.731] (EE) Failed to load module "vesa" (module does not exist, 0)
[    20.731] (II) vmware: driver for VMware SVGA: vmware0405, vmware0710
[    20.731] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    20.731] (--) using VT number 7

[    20.734] (WW) Falling back to old probe method for modesetting
[    20.735] (II) vmware(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    20.735] (--) vmware(0): DRM driver version is 2.10.0
[    20.735] (==) vmware(0): Depth 24, (--) framebuffer bpp 32
[    20.735] (==) vmware(0): RGB weight 888
[    20.735] (==) vmware(0): Default visual is TrueColor
[    20.735] (--) vmware(0): Min width 1, Max Width 4096.
[    20.735] (--) vmware(0): Min height 1, Max Height 4096.
[    20.736] (II) vmware(0): Output Virtual1 has no monitor section
[    20.736] (II) vmware(0): Output Virtual2 has no monitor section
[    20.736] (II) vmware(0): Output Virtual3 has no monitor section
[    20.736] (II) vmware(0): Output Virtual4 has no monitor section
[    20.736] (II) vmware(0): Output Virtual5 has no monitor section
[    20.736] (II) vmware(0): Output Virtual6 has no monitor section
[    20.736] (II) vmware(0): Output Virtual7 has no monitor section
[    20.737] (II) vmware(0): Output Virtual8 has no monitor section
[    20.737] (II) vmware(0): Modeline "800x600"x60.0   42.75  800 850 900 950  600 650 700 750 -hsync +vsync (45.0 kHz eP)

 

Link to comment
Share on other sites

  • 0

I started a fresh install under virtualbox and errors are piling up. First, 

Messages for package x11-drivers/xf86-video-virtualbox-5.1.30:

 * You need to edit the file /etc/X11/xorg.conf and set:
 * 
 *   Driver  "vboxvideo"
 * 
 * in the Graphics device section (Section "Device")

I've never seen that before. This file doesn't even exist.

Second, it complains 

ERROR: app-emulation/virtualbox-guest-additions-5.1.30::xorg-kit failed

/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/vbox_drv.c:285:5: error: unknown field ‘
set_busid’ specified in initializer
     .set_busid = drm_pci_set_busid,
     ^
/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/vbox_drv.c:285:18: error: ‘drm_pci
_set_busid’ undeclared here (not in a function)
     .set_busid = drm_pci_set_busid,
                  ^
/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/vbox_drv.c: In function ‘vbox_init’:
/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/vbox_drv.c:329:12: error: implicit decla
ration of function ‘drm_pci_init’ [-Werror=implicit-function-declaration]
     return drm_pci_init(&driver, &vbox_pci_driver);
            ^
/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/vbox_drv.c: In function ‘vbox_exit’:
/var/tmp/portage/app-emulation/virtualbox-guest-additions-5.1.30/work/vboxvideo/vbox_drv.c:333:5: error: implicit declar
ation of function ‘drm_pci_exit’ [-Werror=implicit-function-declaration]
     drm_pci_exit(&driver, &vbox_pci_driver);
     ^

 

Link to comment
Share on other sites

  • 0

I confirmed the original issue is a bug. When "intel" is supplied to VIDEO_CARDS for X11, it inappropriately installs an unnecessary file, 20-intel.conf in xorg.conf.d. The presence of this file overrides the normal device detection in X11 and forces it to think the video card is intel. If there is not an actual Intel video card, X11 will throw up its hands and fail.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...