You are not logged in.

#1 2013-11-12 18:22:34

henny
Member
Registered: 2011-06-15
Posts: 10

[SOLVED] X.org dies with Intel UXA

Hello guys,

X.org started to die on me, calling startx just throws me back to my terminal.

I'm using UXA because e17 has issues with SNA.

/etc/X11/xorg.conf.d/20-intel.conf:

Section "Device"
     Identifier "Intel Graphics"
     Driver "intel"
     Option "AccelMethod" "uxa"
EndSection

Relevant bits from /var/log/Xorg.0.log:

[   157.348] 
X.Org X Server 1.14.4
Release Date: 2013-10-31
[   157.348] X Protocol Version 11, Revision 0
[   157.348] Build Operating System: Linux 3.11.6-1-ARCH x86_64 
[   157.348] Current Operating System: Linux elite 3.11.6-1-ARCH #1 SMP PREEMPT Fri Oct 18 23:22:36 CEST 2013 x86_64
[   157.348] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=abad4dd3-74b8-4a8a-b132-2820f0190fe9 rw quiet
[   157.348] Build Date: 01 November 2013  05:10:48PM
[   157.348]  
[   157.348] Current version of pixman: 0.30.2
[   157.348] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   157.348] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   157.348] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 12 19:02:12 2013
[   157.348] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   157.348] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   157.349] (==) No Layout section.  Using the first Screen section.
[   157.349] (==) No screen section available. Using defaults.
[   157.349] (**) |-->Screen "Default Screen Section" (0)
[   157.349] (**) |   |-->Monitor "<default monitor>"
[   157.349] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   157.349] (**) |   |-->Device "Intel Graphics"
[   157.349] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   157.349] (==) Automatically adding devices
[   157.349] (==) Automatically enabling devices
[   157.349] (==) Automatically adding GPU devices
[   157.349] (==) 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/
[   157.349] (==) ModulePath set to "/usr/lib/xorg/modules"
[   157.349] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   157.349] (II) Loader magic: 0x7fdc20
[   157.349] (II) Module ABI versions:
[   157.349] 	X.Org ANSI C Emulation: 0.4
[   157.349] 	X.Org Video Driver: 14.1
[   157.349] 	X.Org XInput driver : 19.1
[   157.349] 	X.Org Server Extension : 7.0
[   157.349] (II) xfree86: Adding drm device (/dev/dri/card0)
[   157.349] setversion 1.4 failed
[   157.350] (--) PCI:*(0:0:2:0) 8086:0126:103c:161c rev 9, Mem @ 0xd4000000/4194304, 0xc0000000/268435456, I/O @ 0x00004000/64
[   157.350] Initializing built-in extension Generic Event Extension
[   157.350] Initializing built-in extension SHAPE
[   157.350] Initializing built-in extension MIT-SHM
[   157.350] Initializing built-in extension XInputExtension
[   157.350] Initializing built-in extension XTEST
[   157.350] Initializing built-in extension BIG-REQUESTS
[   157.350] Initializing built-in extension SYNC
[   157.350] Initializing built-in extension XKEYBOARD
[   157.351] Initializing built-in extension XC-MISC
[   157.351] Initializing built-in extension SECURITY
[   157.351] Initializing built-in extension XINERAMA
[   157.351] Initializing built-in extension XFIXES
[   157.351] Initializing built-in extension RENDER
[   157.351] Initializing built-in extension RANDR
[   157.351] Initializing built-in extension COMPOSITE
[   157.351] Initializing built-in extension DAMAGE
[   157.351] Initializing built-in extension MIT-SCREEN-SAVER
[   157.351] Initializing built-in extension DOUBLE-BUFFER
[   157.351] Initializing built-in extension RECORD
[   157.351] Initializing built-in extension DPMS
[   157.351] Initializing built-in extension X-Resource
[   157.351] Initializing built-in extension XVideo
[   157.351] Initializing built-in extension XVideo-MotionCompensation
[   157.351] Initializing built-in extension XFree86-VidModeExtension
[   157.351] Initializing built-in extension XFree86-DGA
[   157.351] Initializing built-in extension XFree86-DRI
[   157.351] Initializing built-in extension DRI2
[   157.351] (II) "glx" will be loaded by default.
[   157.351] (II) LoadModule: "dri2"
[   157.351] (II) Module "dri2" already built-in
[   157.351] (II) LoadModule: "glamoregl"
[   157.351] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   157.352] (II) Module glamoregl: vendor="X.Org Foundation"
[   157.352] 	compiled for 1.14.2, module version = 0.5.1
[   157.352] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   157.352] (II) LoadModule: "glx"
[   157.352] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   157.352] (II) Module glx: vendor="X.Org Foundation"
[   157.352] 	compiled for 1.14.4, module version = 1.0.0
[   157.352] 	ABI class: X.Org Server Extension, version 7.0
[   157.352] (==) AIGLX enabled
[   157.352] Loading extension GLX
[   157.352] (II) LoadModule: "intel"
[   157.352] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   157.353] (II) Module intel: vendor="X.Org Foundation"
[   157.353] 	compiled for 1.14.2, module version = 2.21.15
[   157.353] 	Module class: X.Org Video Driver
[   157.353] 	ABI class: X.Org Video Driver, version 14.1
[   157.353] (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, HD Graphics,
	HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
	HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
	HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
	HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
[   157.353] (++) using VT number 2

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

GPU is 2nd Generation Integrated Graphics Controller (rev 09) a.k.a. Intel HD Graphics 3000.

I used to successfully start X into e17 with this setup and i'm not aware of any related config changes, but who knows.

Any ideas what to look for?

EDIT and solution:
Downgrade kmscon to version 7 solved the problems for me. Version 8 is causing all the trouble.

Last edited by henny (2013-11-12 19:00:35)

Offline

#2 2013-11-12 18:27:51

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] X.org dies with Intel UXA

Are you sure that this has anything to do with uxa?  I just configured my machine to use uxa and started up Xorg with bspwm and i3 just fine.

Maybe you should try launching the test environment that the beginners guide walks you through.  This part.

Offline

#3 2013-11-12 18:37:56

henny
Member
Registered: 2011-06-15
Posts: 10

Re: [SOLVED] X.org dies with Intel UXA

WonderWoofy wrote:

Are you sure that this has anything to do with uxa?  I just configured my machine to use uxa and started up Xorg with bspwm and i3 just fine.

Maybe you should try launching the test environment that the beginners guide walks you through.  This part.

Tried that. Xorg-twm, xorg-xclock and xterm are installed, so i moved away my .xinitrc and tried startx. Same problem, X.orgs log looks the same as before, no devices detected and no screens found.

EDIT: With SNA i'm simply getting a different behaviour: after calling startx i see some log output flying by, see some corrupted graphics, get thrown back to the terminal with the last lines of the log output. After switching to another terminal(vt1) and switching back(vt2) i can see twm with a focused xterm. But if i start typing i get thrown back to the terminal with the log output(vt2).

EDIT2 and SOLUTION:
Looking through pacmans log i found the offender: it's kmscon! Somehow version 8 is causing troubles.

Last edited by henny (2013-11-12 18:59:07)

Offline

#4 2013-11-12 23:25:45

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] X.org dies with Intel UXA

I don't think kmscon is meant to be used in combination with startx.  If you want to use X and have kmscon handle your tty/console, you need to start Xorg as a service (as in, use a login manager).

Offline

#5 2013-11-13 12:04:36

henny
Member
Registered: 2011-06-15
Posts: 10

Re: [SOLVED] X.org dies with Intel UXA

WonderWoofy wrote:

I don't think kmscon is meant to be used in combination with startx.  If you want to use X and have kmscon handle your tty/console, you need to start Xorg as a service (as in, use a login manager).

Looks like you're right: https://github.com/dvdhrm/kmscon/issues/65. I'm back to agetty but looks like kmscon 7 works for me, too. So somehow kmscon + startx used to work (at least for me) but with kmscon 8 it stopped working.

Offline

Board footer

Powered by FluxBB