You are not logged in.

#1 2015-11-28 19:27:15

nadav96
Member
Registered: 2015-11-28
Posts: 25

[SOLVED] Xorg failing "no screens found"

Hey there! this is my first post on the forum, so please be gentle smile

Ok, so I already installed arch on my new laptop (Dell inspiron 15 5559), dual boot with windows 10, works perfectly.
I proceeded to install GUI, but for some reason I couldn't get pass xorg installation..

the narrow specs of my laptop are:
CPU - core i7-6500U
GPU - AMD Radeon R5 M335 4GB DDR3

lspci output:

00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 07)

so I installed the xf86-video-intel driver (and vesa)

installed xorg-server and xorg-xinit
The problem began when I tried to make the xorg.conf file

sudo X -configure output (pasted /var/log/xorg.0.log)

[   151.507] 
X.Org X Server 1.18.0
Release Date: 2015-11-09
[   151.507] X Protocol Version 11, Revision 0
[   151.507] Build Operating System: Linux 4.2.3-1-ARCH x86_64 
[   151.507] Current Operating System: Linux localhost 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64
[   151.507] Kernel command line: initrd=\initramfs-linux.img root=/dev/sda4 rw
[   151.507] Build Date: 18 November 2015  08:07:09AM
[   151.507]  
[   151.507] Current version of pixman: 0.32.8
[   151.507] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   151.507] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   151.507] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Nov 28 20:33:11 2015
[   151.507] (II) Loader magic: 0x819d40
[   151.507] (II) Module ABI versions:
[   151.507] 	X.Org ANSI C Emulation: 0.4
[   151.507] 	X.Org Video Driver: 20.0
[   151.507] 	X.Org XInput driver : 22.1
[   151.507] 	X.Org Server Extension : 9.0
[   151.507] (--) using VT number 2

[   151.507] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   151.508] (II) xfree86: Adding drm device (/dev/dri/card0)
[   151.510] (--) PCI:*(0:0:2:0) 8086:1916:1028:06b2 rev 7, Mem @ 0xd1000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64
[   151.510] (--) PCI: (0:1:0:0) 1002:6660:1028:06b2 rev 129, Mem @ 0xc0000000/268435456, 0xd0000000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[   151.510] List of video drivers:
[   151.510] 	intel
[   151.510] 	vesa
[   151.510] 	modesetting
[   151.510] (II) LoadModule: "intel"
[   151.510] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   151.510] (II) Module intel: vendor="X.Org Foundation"
[   151.510] 	compiled for 1.18.0, module version = 2.99.917
[   151.510] 	Module class: X.Org Video Driver
[   151.510] 	ABI class: X.Org Video Driver, version 20.0
[   151.510] (II) LoadModule: "vesa"
[   151.510] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   151.510] (II) Module vesa: vendor="X.Org Foundation"
[   151.510] 	compiled for 1.18.0, module version = 2.3.4
[   151.510] 	Module class: X.Org Video Driver
[   151.510] 	ABI class: X.Org Video Driver, version 20.0
[   151.510] (II) LoadModule: "modesetting"
[   151.510] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   151.510] (II) Module modesetting: vendor="X.Org Foundation"
[   151.510] 	compiled for 1.18.0, module version = 1.18.0
[   151.510] 	Module class: X.Org Video Driver
[   151.510] 	ABI class: X.Org Video Driver, version 20.0
[   151.510] (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
[   151.510] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[   151.510] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[   151.510] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[   151.510] (II) VESA: driver for VESA chipsets: vesa
[   151.510] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   151.764] (++) Using config file: "/root/xorg.conf.new"
[   151.764] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   151.764] (==) ServerLayout "X.org Configured"
[   151.764] (**) |-->Screen "Screen0" (0)
[   151.764] (**) |   |-->Monitor "Monitor0"
[   151.764] (**) |   |-->Device "Card0"
[   151.764] (**) |-->Screen "Screen1" (1)
[   151.764] (**) |   |-->Monitor "Monitor1"
[   151.764] (**) |   |-->Device "Card1"
[   151.764] (**) |-->Input Device "Mouse0"
[   151.764] (**) |-->Input Device "Keyboard0"
[   151.764] (==) Automatically adding devices
[   151.764] (==) Automatically enabling devices
[   151.764] (==) Automatically adding GPU devices
[   151.764] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   151.764] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   151.764] 	Entry deleted from font path.
[   151.764] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   151.764] 	Entry deleted from font path.
[   151.764] (**) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/,
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[   151.764] (**) ModulePath set to "/usr/lib/xorg/modules"
[   151.764] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   151.764] (WW) Disabling Mouse0
[   151.764] (WW) Disabling Keyboard0
[   151.766] (WW) Falling back to old probe method for modesetting
[   151.766] Number of created screens does not match number of detected devices.
  Configuration failed.

And the now created xorg.conf.new:

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF/"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "Backlight"          	# <str>
        #Option     "CustomEDID"         	# <str>
        #Option     "DRI"                	# <str>
        #Option     "Present"            	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "VideoKey"           	# <i>
        #Option     "Tiling"             	# [<bool>]
        #Option     "LinearFramebuffer"  	# [<bool>]
        #Option     "HWRotation"         	# [<bool>]
        #Option     "VSync"              	# [<bool>]
        #Option     "PageFlip"           	# [<bool>]
        #Option     "SwapbuffersWait"    	# [<bool>]
        #Option     "TripleBuffer"       	# [<bool>]
        #Option     "XvPreferOverlay"    	# [<bool>]
        #Option     "HotPlug"            	# [<bool>]
        #Option     "ReprobeOutputs"     	# [<bool>]
        #Option     "XvMC"               	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "VirtualHeads"       	# <i>
        #Option     "TearFree"           	# [<bool>]
        #Option     "PerCrtcPixmaps"     	# [<bool>]
        #Option     "FallbackDebug"      	# [<bool>]
        #Option     "DebugFlushBatches"  	# [<bool>]
        #Option     "DebugFlushCaches"   	# [<bool>]
        #Option     "DebugWait"          	# [<bool>]
        #Option     "BufferCache"        	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	BusID       "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "kmsdev"             	# <str>
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "PageFlip"           	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
	Identifier  "Card1"
	Driver      "modesetting"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

And finally, the startx/X output:

...
radeon 000:01:00.0: VCE init error (-22) 
[drm:radeon_pm_late_init [radeon]] *ERROR* failed to create device file for dpm state
[drm:radeon_pm_late_init [radeon]] *ERROR* failed to create device file for dpm state
[drm:radeon_pm_late_init [radeon]] *ERROR* failed to create device file for power profile
[drm:radeon_pm_late_init [radeon]] *ERROR* failed to create device file for power method

X.Org X Server 1.18.0
Release Date: 2015-11-09
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.2.3-1-ARCH x86_64 
Current Operating System: Linux localhost 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64
Kernel command line: initrd=\initramfs-linux.img root=/dev/sda4 rw
Build Date: 18 November 2015  08:07:09AM
 
Current version of pixman: 0.32.8
	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 Nov 28 21:06:46 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) no screens found(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.

Well, normally I try to avoid posting in forums, and search and experiment until I eventually find a solution.
But this problem got me for reasons of time and difficulty, so I would be glad if someone could help me figure out what causing the problem.

Thanks in advance!
Nadav

Last edited by nadav96 (2015-12-06 00:01:23)

Offline

#2 2015-11-28 19:41:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Xorg failing "no screens found"


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-11-28 19:46:33

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [SOLVED] Xorg failing "no screens found"

Welcome.

1) Don't create an xorg.conf, it's not needed for most cases.

2) You don't want to use the laptop's Radeon GPU? Then don't forget to blacklist the radeon module.


1000

Offline

#4 2015-11-28 20:16:38

nadav96
Member
Registered: 2015-11-28
Posts: 25

Re: [SOLVED] Xorg failing "no screens found"

Added the boot parameter (following https://wiki.archlinux.org/index.php/Kernel_parameters)

GRUB_CMDLINE_LINUX_DEFAULT="quiet i915.preliminary_hw_support=1"

Issued grub-mkconfig, and then rebooted.
After that I tried startx again, but it still producing the same errors...
The errors:

radeon 000:01:00.0: VCE init error (-22) 
[drm:radeon_pm_late_init [radeon]] *ERROR* failed to create device file for dpm state
[drm:radeon_pm_late_init [radeon]] *ERROR* failed to create device file for dpm state
[drm:radeon_pm_late_init [radeon]] *ERROR* failed to create device file for power profile
[drm:radeon_pm_late_init [radeon]] *ERROR* failed to create device file for power method

...

(EE) Fatal server error:(EE) no screens found(EE) (EE) please consult the.... 

.

byte wrote:

Welcome.

1) Don't create an xorg.conf, it's not needed for most cases.

2) You don't want to use the laptop's Radeon GPU? Then don't forget to blacklist the radeon module.

I saw that in a lot of posts regrading the issue, the commenters requested the xorg.conf file, so I wanted to skip this step in advance.
I do want the Radeon GPU. How do I enable it? What should I modify?

Offline

#5 2015-11-28 20:56:01

nadav96
Member
Registered: 2015-11-28
Posts: 25

Re: [SOLVED] Xorg failing "no screens found"

Actually I saw in the logs the error "Device(s) detected, but none match those in the config file."
Any idea what does it mean? I guess the config file is the xorg.config, but why wouldn't it match? What xorg expecting?

Offline

#6 2015-11-28 21:21:13

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Xorg failing "no screens found"

nadav96 wrote:

I do want the Radeon GPU. How do I enable it? What should I modify?

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


Jin, Jîyan, Azadî

Offline

#7 2015-12-03 13:01:40

nadav96
Member
Registered: 2015-11-28
Posts: 25

Re: [SOLVED] Xorg failing "no screens found"

Head_on_a_Stick wrote:
nadav96 wrote:

I do want the Radeon GPU. How do I enable it? What should I modify?

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

I tried following the wiki, but it involves the use of xrandr, which returns ''Can't open display", I read that xorg server should be running in order for it to work, but as I mentioned, it fails in startup.

Can someone please give me more pointers? I added skylake support boot parameter, enabled early kms, tried with or without xorg.conf file, and when I did, I modified the hell out of it , but none fixed my problem.
Is the Radeon GPU causing the failure? There isn't much info regarding this issue online.

I know the Error is very general, but I sure it can be narrowed with the right commands..

Edit: On my expriments I found this error, which might suggest it's related to the driver?

(II)LoadModule: "intel"
(WW)Warning, couldn't open module intel
(II)UnloadModule: "intel"
(II)Unloading intel
(EE) Failed to load module "intel" (module does not exist, 0)
(EE) No drivers available
(EE)
Fatal server error:
(EE) no screens found (EE)
...

Deleted Xorg.conf, and edited instead the /etc/xorg.conf.d/20-intel.conf:

Section "Device"
	Identifier	"Intel Graphics"
	Driver		"Intel"
	#Option		"AccelMethod"	"uxa"
	Option		"AccelMethod"	"sna"
	BusID		"PCI:0:2:0"
EndSection

Last edited by nadav96 (2015-12-03 13:41:37)

Offline

#8 2015-12-03 17:41:54

nadav96
Member
Registered: 2015-11-28
Posts: 25

Re: [SOLVED] Xorg failing "no screens found"

ewaller wrote:

I have never owned a hybrid graphics system, so I cannot be of much help.   You did not mention it, so I will ask if you have worked through this wiki article.

Yes, I tried using the PRIME method, but now that I look at it again, it designed for Nvidia not AMD!

So from a brief overview of the wiki (crawling to other articles as I go), I saw that Intel+AMD hybrid is not supported in linux
(more proof came from this table, the model R5, which my laptop have, does not support the hybrid graphics feature).

So... it bring up questions:
1. will it be supported in the future? (The xorg table says it will never be, but it sound too determined while windows support it fully...).
2. Is this the cause of my Xorg failure? I do have to mention that during poweroff and in the beginning of startx, few errors regarding radeon pop up:

...
[    156.873569] [drm:radeon_pm_late_init [radeon]] *ERROR* failed to create device file for dpm state
[    156.873569] [drm:radeon_pm_late_init [radeon]] *ERROR* failed to create device file for dpm state
[    156.873763] [drm:radeon_pm_late_init [radeon]] *ERROR* failed to create device file for power profile
[    156.873958] [drm:radeon_pm_late_init [radeon]] *ERROR* failed to create device file for power method
....

In the case it is the cause, should I disable it and return to the intel integrated graphics? Or that would just bring more problems?

Offline

#9 2015-12-03 18:11:18

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [SOLVED] Xorg failing "no screens found"

If you set the intel integrated display to be primary / active whatever the bios option may be labelled for your system does that remove the AMD GPU from the list provided by lspci?

Offline

#10 2015-12-03 18:21:48

nadav96
Member
Registered: 2015-11-28
Posts: 25

Re: [SOLVED] Xorg failing "no screens found"

loqs wrote:

If you set the intel integrated display to be primary / active whatever the bios option may be labelled for your system does that remove the AMD GPU from the list provided by lspci?

I guess it would be possible, but here's the thing, I don't want to disable the GPU for the laptop (as I mentioned I'm dual booting with windows and I want to take advantage of the GPU), I would prefer disable the gpu internally, only for the Arch OS, i'm sure it could be managed somehow..

The question remains whether it will solve the problem, if it's not related to the fact that Xorg failing I don't see the urgency in investigating this subject, so what do you think?

lspci:

00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 07)
...
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330] (rev 81)

Offline

#11 2015-12-03 18:36:24

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [SOLVED] Xorg failing "no screens found"

So leaving the discrete card as primary with both xf86-video-ati and xf86-video-intel installed and no config files what is the full Xorg.log?

Offline

#12 2015-12-03 18:51:35

nadav96
Member
Registered: 2015-11-28
Posts: 25

Re: [SOLVED] Xorg failing "no screens found"

loqs wrote:

So leaving the discrete card as primary with both xf86-video-ati and xf86-video-intel installed and no config files what is the full Xorg.log?

Hmm I only have the xf86-video-intel and xf86-video-vesa (I thought they both parallel, if one work the other is disabled ), anyway I think I've tried with the ati driver as well, but it still produced an error..

Here is the xorg.o.log after startx:

[   119.504] 
X.Org X Server 1.18.0
Release Date: 2015-11-09
[   119.505] X Protocol Version 11, Revision 0
[   119.505] Build Operating System: Linux 4.2.3-1-ARCH x86_64 
[   119.505] Current Operating System: Linux localhost 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64
[   119.505] Kernel command line: initrd=\initramfs-linux.img root=/dev/sda4 rw
[   119.505] Build Date: 18 November 2015  08:07:09AM
[   119.505]  
[   119.505] Current version of pixman: 0.32.8
[   119.505] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   119.505] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   119.505] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec  3 20:47:16 2015
[   119.513] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   119.514] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   119.535] (==) No Layout section.  Using the first Screen section.
[   119.535] (==) No screen section available. Using defaults.
[   119.535] (**) |-->Screen "Default Screen Section" (0)
[   119.535] (**) |   |-->Monitor "<default monitor>"
[   119.535] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   119.535] (**) |   |-->Device "Card0"
[   119.535] (**) |   |-->GPUDevice "Intel Graphics"
[   119.535] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   119.535] (==) Automatically adding devices
[   119.535] (==) Automatically enabling devices
[   119.535] (==) Automatically adding GPU devices
[   119.535] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   119.588] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   119.588] 	Entry deleted from font path.
[   119.600] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[   119.600] (==) ModulePath set to "/usr/lib/xorg/modules"
[   119.600] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   119.600] (II) Loader magic: 0x819d40
[   119.600] (II) Module ABI versions:
[   119.600] 	X.Org ANSI C Emulation: 0.4
[   119.600] 	X.Org Video Driver: 20.0
[   119.600] 	X.Org XInput driver : 22.1
[   119.600] 	X.Org Server Extension : 9.0
[   119.600] (++) using VT number 1

[   119.600] (--) controlling tty is VT number 1, auto-enabling KeepTty
[   119.602] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[   119.602] (II) xfree86: Adding drm device (/dev/dri/card0)
[   119.603] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[   119.605] (--) PCI:*(0:0:2:0) 8086:1916:1028:06b2 rev 7, Mem @ 0xd1000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64
[   119.605] (--) PCI: (0:1:0:0) 1002:6660:1028:06b2 rev 129, Mem @ 0xc0000000/268435456, 0xd0000000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[   119.605] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   119.605] (II) LoadModule: "glx"
[   119.627] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   119.690] (II) Module glx: vendor="X.Org Foundation"
[   119.690] 	compiled for 1.18.0, module version = 1.0.0
[   119.690] 	ABI class: X.Org Server Extension, version 9.0
[   119.690] (==) AIGLX enabled
[   119.690] (II) LoadModule: "intel"
[   119.690] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   119.746] (II) Module intel: vendor="X.Org Foundation"
[   119.746] 	compiled for 1.18.0, module version = 2.99.917
[   119.746] 	Module class: X.Org Video Driver
[   119.746] 	ABI class: X.Org Video Driver, version 20.0
[   119.746] (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
[   119.746] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[   119.746] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[   119.746] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[   119.750] (EE) No devices detected.
[   119.750] (EE) 
Fatal server error:
[   119.750] (EE) no screens found(EE) 
[   119.750] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   119.750] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   119.750] (EE) 

Offline

#13 2015-12-03 19:14:41

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [SOLVED] Xorg failing "no screens found"

[   119.505] Kernel command line: initrd=\initramfs-linux.img root=/dev/sda4 rw

If that is accurate the lack of

i915.preliminary_hw_support=1

Would explain no intel devices detected

There are only references to /dev/dri/card0 are there any other entries in the /dev/dri directory?

nadav96 wrote:

anyway I think I've tried with the ati driver as well, but it still produced an error.

This is not clear to me was the ati driver installed when the log was made?

Offline

#14 2015-12-03 19:31:39

nadav96
Member
Registered: 2015-11-28
Posts: 25

Re: [SOLVED] Xorg failing "no screens found"

loqs wrote:
[   119.505] Kernel command line: initrd=\initramfs-linux.img root=/dev/sda4 rw

If that is accurate the lack of

i915.preliminary_hw_support=1

Would explain no intel devices detected

There are only references to /dev/dri/card0 are there any other entries in the /dev/dri directory?

nadav96 wrote:

anyway I think I've tried with the ati driver as well, but it still produced an error.

This is not clear to me was the ati driver installed when the log was made?

No, the ati driver was not installed when the log was made. Only the intel and vesa.

But I seems odd that i915.preliminary_hw_support=1 is lacking.. I added it to the kernel boot parameters following this guide (my bootloader is GRUB)

/etc/default/grub:

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet i915.preliminary_hw_support=1 i915.modeset=1"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter 
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx" 
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper 
# modes only.  Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

#GRUB_SAVEDEFAULT="true"

and after that issued

grub-mkconfig -o /boot/grub/grub.cfg

What am I missing?

Offline

#15 2015-12-03 19:40:51

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [SOLVED] Xorg failing "no screens found"

grub_Menu_interface
You can check what the entry actually being used is being pressing e with the menu entry selected

Offline

#16 2015-12-03 20:01:34

nadav96
Member
Registered: 2015-11-28
Posts: 25

Re: [SOLVED] Xorg failing "no screens found"

loqs wrote:

grub_Menu_interface
You can check what the entry actually being used is being pressing e with the menu entry selected

Quick question, I have i UEFI firmware, and my grub menu only allows me to select an os (arrows and enter key).
Do I need to configure something in the /etc/default/grub in order to add this functionality?

Anyway what do you think? you said that the problem is the boot parameter, which you saw I added.. Did I set the parameter wrong? is there alternative way to confirm the parameter is set?

Last edited by nadav96 (2015-12-03 20:06:30)

Offline

#17 2015-12-03 20:19:24

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [SOLVED] Xorg failing "no screens found"

$ cat /proc/cmdline

Also check if the EFI System Partition is mounted usually /boot or /boot/efi (if it is not and /boot/grub/grub.cfg exists compare with the one after mounting /boot)

nadav96 wrote:

Anyway what do you think? you said that the problem is the boot parameter, which you saw I added.. Did I set the parameter wrong? is there alternative way to confirm the parameter is set?

I think that would explain why the intel driver is failing it does not explain why there is no evidence of the amd card

loqs wrote:

There are only references to /dev/dri/card0 are there any other entries in the /dev/dri directory?

Offline

#18 2015-12-03 20:29:20

nadav96
Member
Registered: 2015-11-28
Posts: 25

Re: [SOLVED] Xorg failing "no screens found"

loqs wrote:
$ cat /proc/cmdline

Also check if the EFI System Partition is mounted usually /boot or /boot/efi (if it is not and /boot/grub/grub.cfg exists compare with the one after mounting /boot)

nadav96 wrote:

Anyway what do you think? you said that the problem is the boot parameter, which you saw I added.. Did I set the parameter wrong? is there alternative way to confirm the parameter is set?

I think that would explain why the intel driver is failing it does not explain why there is no evidence of the amd card

loqs wrote:

There are only references to /dev/dri/card0 are there any other entries in the /dev/dri directory?

Yeah I mounted the EFI partition to /boot (in fstab)

/dev/dri/card0 entries are:

card0   controlD64   renderD128
 

But didn't lspci mentioned amd display driver in it's output (below)?

lspci -v output:

00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 08)
	Subsystem: Dell Device 06b2
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>

00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 07) (prog-if 00 [VGA controller])
	DeviceName:  Onboard IGD
	Subsystem: Dell Device 06b2
	Flags: bus master, fast devsel, latency 0, IRQ 255
	Memory at d1000000 (64-bit, non-prefetchable) [size=16M]
	Memory at b0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>
	Kernel modules: i915
...

01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330] (rev 81)
	Subsystem: Dell Device 06b2
	Flags: fast devsel, IRQ 279
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at d0000000 (64-bit, non-prefetchable) [size=256K]
	I/O ports at e000 [size=256]
	Expansion ROM at d0040000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
	Kernel modules: radeon

And, lsmod | grep radeon:

radeon               1482752  0
ttm                    77824  1 radeon
i2c_algo_bit           16384  2 i915,radeon
drm_kms_helper        102400  2 i915,radeon
drm                   286720  5 ttm,i915,drm_kms_helper,radeon

Last edited by nadav96 (2015-12-03 20:38:56)

Offline

#19 2015-12-03 20:56:12

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [SOLVED] Xorg failing "no screens found"

nadav96 wrote:
loqs wrote:
$ cat /proc/cmdline

Also check if the EFI System Partition is mounted usually /boot or /boot/efi (if it is not and /boot/grub/grub.cfg exists compare with the one after mounting /boot)

nadav96 wrote:

Anyway what do you think? you said that the problem is the boot parameter, which you saw I added.. Did I set the parameter wrong? is there alternative way to confirm the parameter is set?

I think that would explain why the intel driver is failing it does not explain why there is no evidence of the amd card

loqs wrote:

There are only references to /dev/dri/card0 are there any other entries in the /dev/dri directory?

Yeah I mounted the EFI partition to /boot (in fstab)

Does this mean /boot was already mounted or you had to manually mount it.
You did not mention the output of $ cat /proc/cmdline

loqs wrote:

There are only references to /dev/dri/card0 are there any other entries in the /dev/dri directory?

nadav96 wrote:

/dev/dri/card0 entries are:

The directory /dev/dri/card0 is not /dev/dri

Perhaps there is for example a /dev/dri/card1 entry and you just need to install the xf86-video-ati package

Perhaps someone else might be able to help more

Offline

#20 2015-12-03 21:07:10

nadav96
Member
Registered: 2015-11-28
Posts: 25

Re: [SOLVED] Xorg failing "no screens found"

loqs wrote:
nadav96 wrote:
loqs wrote:
$ cat /proc/cmdline

Also check if the EFI System Partition is mounted usually /boot or /boot/efi (if it is not and /boot/grub/grub.cfg exists compare with the one after mounting /boot)


I think that would explain why the intel driver is failing it does not explain why there is no evidence of the amd card

Yeah I mounted the EFI partition to /boot (in fstab)

Does this mean /boot was already mounted or you had to manually mount it.
You did not mention the output of $ cat /proc/cmdline

loqs wrote:

There are only references to /dev/dri/card0 are there any other entries in the /dev/dri directory?

nadav96 wrote:

/dev/dri/card0 entries are:

The directory /dev/dri/card0 is not /dev/dri

Perhaps there is for example a /dev/dri/card1 entry and you just need to install the xf86-video-ati package

Perhaps someone else might be able to help more

sorry mate, it's late in my country and i'm a little tired and not fully focused..

*What I posted before are the contents of /dev/dri not /dev/dri/card0, so no card1 as it seems...
*the /boot is already mounted.

*And the output of cat /proc/cmdline is:

initrd=\initramfs-linux.img root=/dev/sda4 rw

So you suggest I will try to disable the amd GPU?

I hope I'm not causing you to much headache hmm

Offline

#21 2015-12-03 21:48:51

nadav96
Member
Registered: 2015-11-28
Posts: 25

Re: [SOLVED] Xorg failing "no screens found"

loqs wrote:

grub_Menu_interface
You can check what the entry actually being used is being pressing e with the menu entry selected

I got into the grub menu entry editor, checked and the boot parameter for the skylake support is there (i915.preliminary_hw_support=1)
So what else could it be?

Offline

#22 2015-12-03 22:00:01

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [SOLVED] Xorg failing "no screens found"

nadav96 wrote:
loqs wrote:

grub_Menu_interface
You can check what the entry actually being used is being pressing e with the menu entry selected

I got into the grub menu entry editor, checked and the boot parameter for the skylake support is there (i915.preliminary_hw_support=1)
So what else could it be?

Sorry out of ideas at this point

Offline

#23 2015-12-03 22:14:16

nadav96
Member
Registered: 2015-11-28
Posts: 25

Re: [SOLVED] Xorg failing "no screens found"

loqs wrote:
nadav96 wrote:
loqs wrote:

grub_Menu_interface
You can check what the entry actually being used is being pressing e with the menu entry selected

I got into the grub menu entry editor, checked and the boot parameter for the skylake support is there (i915.preliminary_hw_support=1)
So what else could it be?

Sorry out of ideas at this point

hmm

Well thanks anyway for your time and patience!

Offline

#24 2015-12-03 22:24:52

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Xorg failing "no screens found"

Does the parameter get added to /boot/grub/grub.cfg after `grub-mkconfig` is run?

Post the output of:

# efibootmgr -v

Jin, Jîyan, Azadî

Offline

#25 2015-12-03 22:28:38

nadav96
Member
Registered: 2015-11-28
Posts: 25

Re: [SOLVED] Xorg failing "no screens found"

Head_on_a_Stick wrote:

Does the parameter get added to /boot/grub/grub.cfg after `grub-mkconfig` is run?

Post the output of:

# efibootmgr -v

Yep, I checked in the /boot/grub/grub.cfg and found the parameter.

Here is the output

BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0002,0003,0001,0000,000C
Boot0000* Windows Boot Manager	HD(1,GPT,be4e8c18-4f82-459a-a890-afb8180ea8ac,0x800,0xfa000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001  ubuntu	HD(1,GPT,be4e8c18-4f82-459a-a890-afb8180ea8ac,0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)
Boot0002* Linux Boot Manager	HD(1,GPT,be4e8c18-4f82-459a-a890-afb8180ea8ac,0x800,0xfa000)/File(\EFI\systemd\systemd-bootx64.efi)
Boot0003* grub	HD(1,GPT,be4e8c18-4f82-459a-a890-afb8180ea8ac,0x800,0xfa000)/File(\EFI\grub\grubx64.efi)
Boot000C* UEFI: ST2000LM003 HN-M201RAD, Partition 1	HD(1,GPT,be4e8c18-4f82-459a-a890-afb8180ea8ac,0x800,0xfa000)/File(EFI\Microsoft\Boot\bootmgfw.efi)..BO

Last edited by nadav96 (2015-12-03 22:30:30)

Offline

Board footer

Powered by FluxBB