You are not logged in.

#1 2012-09-21 22:05:08

raisdead
Member
Registered: 2012-09-15
Posts: 12

Xorg No Screens Found

I am attempting to get the Xorg working (in hopes of using xmonad).

When I try startx get the fatal error: no screens found.

Log file located here: http://pastebin.com/z7g6RjQP

I have followed the instruction on:
https://wiki.archlinux.org/index.php/Intel

Any pointers would be appreciated.

Thanks!

Offline

#2 2012-09-21 22:49:07

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Xorg No Screens Found

Please post the output of

lspci | grep VGA

(edit) and please tell us exactly which packages you installed in the process of installing X

Last edited by 2ManyDogs (2012-09-21 22:50:46)

Offline

#3 2012-09-21 22:49:22

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,143

Re: Xorg No Screens Found

Are you using EFI stub to boot?

Try removing quiet from the kernel command line to get (possibly) helpful output during boot while troubleshooting.

What is $vt_handoff? Is this supposed to show up as an unexpanded variable at this point? Note that I'm not familiar with this booting method so perhaps it is fine. Just looked odd.

I notice you are mounting / read only. What's your partition set up?

You will probably need some fonts at some point.

Did you follow the Beginners' Guide on installing X?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#4 2012-09-22 03:14:59

raisdead
Member
Registered: 2012-09-15
Posts: 12

Re: Xorg No Screens Found

lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
01:00.0 VGA compatible controller: NVIDIA Corporation GT216 [GeForce GT 300M] (rev a2)

I am booting using EFI and here is a quick explanation of my boot parameters.
ro - According to http://www.rodsbooks.com/efi-bootloaders/efistub.html "The ro option tells Linux to mount the root filesystem read-only. (This is standard; initialization scripts later re-mount the filesystem read/write.) "
quite - Didn't Illuminate anything else...
$vt_handoff - Old Parameter from using Grub-EFI that I have since removed.


I followed https://wiki.archlinux.org/index.php/Xorg , however for installation is rather short i.e. (install xorg-server and xorg-apps and run startx).

In addition i have also tried `hwd -xa` and using that config to no avail http://tonylog.altervista.org/2008/12/1 … rch-linux/

Offline

#5 2012-09-22 03:59:59

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

Re: Xorg No Screens Found

Beginners Guide wrote:

# pacman -S xorg-server xorg-xinit xorg-server-utils

https://wiki.archlinux.org/index.php/Be … #Install_X


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2012-09-22 05:51:04

raisdead
Member
Registered: 2012-09-15
Posts: 12

Re: Xorg No Screens Found

I followed the post and got a similar log message.

In particular,

 1707  sudo pacman -S xorg-server xorg-xinit xorg-server-utils
 1709  sudo pacman -S mesa
 1711  sudo pacman -S xf86-video-intel
 1721  sudo pacman -S lib32-intel-dri
 1722  pacman -S xorg-twm xorg-xclock xterm
 1723  sudo pacman -S xorg-twm xorg-xclock xterm
 1724  rm ~/.xinitrc
 1725  startx
 1727  sudo pacman -S ttf-dejavu
 1729  sudo reboot
 1735  startx

Updated Xorg.0.log: https://gist.github.com/3765274

Last edited by raisdead (2012-09-22 05:52:01)

Offline

#7 2012-09-22 06:48:38

ajaykumar
Member
From: India
Registered: 2010-08-04
Posts: 34
Website

Re: Xorg No Screens Found

Hi raisdead,

I had a similar problem with my Intel Chipset when using Zenwalk operating System with older kernel. I dont know whether that solution may help you or not. Just you can try this.

i915.modeset=1

Add the above parameter in grub while booting and run. It may help.

Or if its an old monitor, it may require an xorg.conf file with Screens and Monitor Sections and subsections filled.

And if you are using Nvidia cards, you can also do as drobole has told below and in addition add,

pacman -S nouveau-dri

With regards,
Ajay Kumar G

Last edited by ajaykumar (2012-09-22 07:11:59)


With regards,
Ajay Kumar G
Nanos Gigantum Humeris Insidentis

Offline

#8 2012-09-22 07:10:19

drobole
Member
From: Norway
Registered: 2012-07-23
Posts: 125

Re: Xorg No Screens Found

It looks like you have a nvidia card. Try to install a driver for it

You can use the open source driver

# sudo pacman -S xf86-video-nouveau

or you can use the closed driver as decribed here

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

It doesn't hurt to install the vesa driver either

# sudo pacman -S xf86-video-vesa


The XOrg Wiki has more info about the error you get
http://www.x.org/wiki/FAQErrorMessages# … etected.22

Last edited by drobole (2012-09-22 07:48:19)

Offline

#9 2012-09-22 18:29:29

raisdead
Member
Registered: 2012-09-15
Posts: 12

Re: Xorg No Screens Found

I managed to get xorg to detect the intel and vesa drivers, but when I run `startx` or `xinit` I get a black screen with a non-flashing cursor.

xorg.conf: http://pastebin.ca/2206777
xorg.log.0: http://pastebin.ca/2206777

It also turns out that I cannot use the nvidia driver when booting EFI.
I could also install the nouveau, but I would rather stick with the integrated graphics for power consumption reasons.

Offline

#10 2012-09-22 18:42:01

Dans564
Member
From: New Jersey, USA
Registered: 2011-02-04
Posts: 109

Re: Xorg No Screens Found

Raisdead, I would take a look into Bumblebee. https://wiki.archlinux.org/index.php/Bumblebee
It's designed for optimus tech on linux.  You can also use it with nouveau, since official nvidia drivers will not work with EFI.

Offline

#11 2012-09-22 19:47:57

raisdead
Member
Registered: 2012-09-15
Posts: 12

Re: Xorg No Screens Found

Thanks for the suggestion, I have looked at Bumblebee and more specifically the scripts I would need to use with it to get it to work. https://github.com/ah-/gmux-scripts

However, before I try something as advanced as this I would like to get it working, even suboptimaly, so that I can use it for everyday tasks.
Once X is working I will back it up and then try a more optimized performance.

For these reasons, I only want one graphics card working for now.

Offline

#12 2012-09-22 20:18:26

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Xorg No Screens Found

Did I miss the part where you told us exactly what hardware you are using? Can I assume you are not able to physically disable the nvidia graphics (by removing the card) and are using something like the Dell XPS15 and optimus? Have you searched the wiki for "optimus" ? There are many topics, including

https://wiki.archlinux.org/index.php/Dell_XPS_15
https://wiki.archlinux.org/index.php/NV … IA_Optimus

Offline

#13 2012-09-22 20:58:51

raisdead
Member
Registered: 2012-09-15
Posts: 12

Offline

#14 2012-09-22 21:09:24

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Xorg No Screens Found

So are you unsable to physically disable the nvdia card (remove it)? Your main problem seems to be that you have two competing graphics systems. I just briefly looked at the links you posted, but I did not see anything about dual graphics cards.

Last edited by 2ManyDogs (2012-09-22 21:09:35)

Offline

#15 2012-09-22 21:51:30

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,143

Re: Xorg No Screens Found

Some systems seem to allow people to disable the additional card via BIOS. (Do Macs have BIOS now?)

Did you tell us what you actually installed to get X working? Is it just the stuff in #6 or have you installed nvidia and/or nouveau stuff as well?

Have you tried without xorg.conf? It would probably be best, for example, to try getting it to work with one monitor to start with.

Last edited by cfr (2012-09-22 21:55:14)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#16 2013-11-23 03:25:31

lukemartinlogan
Member
Registered: 2013-11-05
Posts: 5

Re: Xorg No Screens Found

Try

 rm /etc/X11/xorg.conf
rm -r /etc/X11/xorg.conf.d

and then do startx, it worked for me

Offline

#17 2013-11-23 04:32:21

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,143

Re: Xorg No Screens Found

lukemartinlogan wrote:

Try

 rm /etc/X11/xorg.conf
rm -r /etc/X11/xorg.conf.d

and then do startx, it worked for me

Please do not suggest people start randomly deleting files from their systems without checking whether they are tracked by pacman. This is an excellent way to break your system. *Especially* don't remove rather than moving them. Although it is a Bad Idea even so, you should at least move them rather than removing them.

Here is why you should not move or remove these particular files unless you are very sure you know what you are doing:

$ pacman -Qo /etc/X11/xorg.conf.d/*
error: No package owns /etc/X11/xorg.conf.d/00-keyboard.conf
/etc/X11/xorg.conf.d/10-evdev.conf is owned by xorg-server 1.14.4-1
/etc/X11/xorg.conf.d/10-quirks.conf is owned by xorg-server 1.14.4-1
error: No package owns /etc/X11/xorg.conf.d/20-intel.conf
/etc/X11/xorg.conf.d/50-synaptics.conf is owned by xf86-input-synaptics 1.7.1-1

Those which are not owned could be safely deleted *if* I'm not depending on them. The others are tracked by pacman and should *not* be deleted as you suggest. Moreover, the directory itself is also owned by at least two packages.

Of course, *if* none of the files there are owned, you could delete them if you didn't need them. But you'd need to check.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#18 2013-11-23 04:40:13

Gulver
Member
Registered: 2013-05-24
Posts: 208

Re: Xorg No Screens Found

How about copying the default xinitrc from /etc/X11/... to your home dir in case you installed X before creating your user account.

Offline

#19 2013-11-23 04:45:50

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Xorg No Screens Found

And this thread is well over 12 months old. Leave the dead to rest in peace please. https://wiki.archlinux.org/index.php/Fo … Bumping.22

Closing.

Offline

Board footer

Powered by FluxBB