Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Xorg Fatal server error: no screens found
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
b4gumby
n00b
n00b


Joined: 28 Sep 2009
Posts: 41

PostPosted: Fri Oct 02, 2009 8:39 am    Post subject: [Solved] Xorg Fatal server error: no screens found Reply with quote

Hi Guys,

I recently did a stage 3 install and that worked fine. I now have kinda 2 issues and I think they might be related to each other. Once I finished the stage 3 install, I pulled the monitor out and begain getting cacti working. Then I though I would get X working with VNC and eventually KDE.

I followed the xorg guide and the nvidia guide.

When I made the Xorg I didnt have a screen plugged in for all the 100+ packages to be compliled. X -configure fails indicating there is a....

Number of created screens does not match number of detected devices.
Configuration failed.

And when I try to startx....

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30-gentoo-r6 i686
Current Operating System: Linux eye11 2.6.30-gentoo-r6 #1 SMP Thu Oct 1 11:57:12 EST 2009 i686
Build Date: 28 September 2009 03:22:43PM

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: Fri Oct 2 18:28:14 2009
(==) Using config file: "/etc/X11/xorg.conf"
(EE) No devices detected.

Fatal server error:
no screens found
giving up.

Any Ideas how to tackle this one?


Issue two, In hte nvidia guide they told me to use gtk use flag. When I looked at my make.conf file I had built Xorg with -gtk :( Now I get a circular dependance error everytime I add it in. See below. Any ideas how to get around this??

eye11 ~ # emerge --update --deep --newuse world

* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Calculating dependencies... done!


[nomerge ] x11-libs/qt-qt3support-4.5.1 USE="accessibility kde -debug -pch -phonon"
[nomerge ] x11-libs/qt-core-4.5.1 USE="glib iconv qt3support ssl -debug -doc -pch"
[nomerge ] x11-libs/qt-gui-4.5.1 USE="accessibility cups dbus glib gtkstyle qt3support xinerama -debug -mng -nas -nis -pch -raster -tiff"
[nomerge ] x11-libs/gtk+-2.16.6 USE="X cups jpeg xinerama -debug -doc -jpeg2k -test -tiff -vim-syntax"
[nomerge ] net-print/cups-1.3.10-r2 USE="X acl avahi jpeg pam perl php python ssl -dbus -gnutls -java -kerberos -ldap -png -ppds -samba -slp -static -tiff -xinetd -zeroconf" LINGUAS="-de -en -es -et -fr -he -id -it -ja -pl -sv -zh_TW"
[ebuild N ] net-dns/avahi-0.6.24-r2 USE="gdbm gtk ipv6 python qt3 qt4 -autoipd -bookmarks -dbus -doc -howl-compat -mdnsresponder-compat -mono -test"
[ebuild N ] x11-libs/qt-3.3.8b-r1 USE="cups ipv6 mysql xinerama -debug -doc -examples -firebird -immqt -immqt-bc -nas -nis -odbc -opengl -postgres -sqlite"
[ebuild N ] net-print/cups-1.3.10-r2 USE="X acl avahi jpeg pam perl php python ssl -dbus -gnutls -java -kerberos -ldap -png -ppds -samba -slp -static -tiff -xinetd -zeroconf" LINGUAS="-de -en -es -et -fr -he -id -it -ja -pl -sv -zh_TW"
[ebuild N ] dev-python/pygtk-2.14.1-r1 USE="X -doc -examples"
[ebuild N ] gnome-base/libglade-2.6.4 USE="-debug -doc"
[ebuild N ] x11-libs/gtk+-2.16.6 USE="X cups jpeg xinerama -debug -doc -jpeg2k -test -tiff -vim-syntax"

* Error: circular dependencies:

('ebuild', '/', 'x11-libs/qt-3.3.8b-r1', 'merge') depends on
('ebuild', '/', 'net-print/cups-1.3.10-r2', 'merge') (buildtime)
('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') depends on
('ebuild', '/', 'net-print/cups-1.3.10-r2', 'merge') (buildtime)
('ebuild', '/', 'net-print/cups-1.3.10-r2', 'merge') depends on
('ebuild', '/', 'net-dns/avahi-0.6.24-r2', 'merge') (buildtime)
('ebuild', '/', 'net-dns/avahi-0.6.24-r2', 'merge') depends on
('ebuild', '/', 'x11-libs/qt-3.3.8b-r1', 'merge') (buildtime)
('ebuild', '/', 'dev-python/pygtk-2.14.1-r1', 'merge') (buildtime)
('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
('ebuild', '/', 'gnome-base/libglade-2.6.4', 'merge') (buildtime)
('ebuild', '/', 'dev-python/pygtk-2.14.1-r1', 'merge') depends on
('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)
('ebuild', '/', 'gnome-base/libglade-2.6.4', 'merge') (buildtime)
('ebuild', '/', 'gnome-base/libglade-2.6.4', 'merge') depends on
('ebuild', '/', 'x11-libs/gtk+-2.16.6', 'merge') (buildtime)

* Note that circular dependencies can often be avoided by temporarily
* disabling USE flags that trigger optional dependencies.

* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.


Im not really keen on starting again as I have cacti working with all my logging working now.


Last edited by b4gumby on Sat Oct 03, 2009 2:54 am; edited 1 time in total
Back to top
View user's profile Send private message
b4gumby
n00b
n00b


Joined: 28 Sep 2009
Posts: 41

PostPosted: Fri Oct 02, 2009 9:13 am    Post subject: Reply with quote

Ok, Ive gotten around the circular dependancies, by changing my use flags, ill add them back in one at a time now that gtk is working.

I took out qt3,qt4,cups and avahi.

Ill put the qt's then the rest back in.

The monitor is also now plugged in so hopefully this will resolve itsself by the time I have all the use flags back in working happily.

Ill update on the issue.
Back to top
View user's profile Send private message
b4gumby
n00b
n00b


Joined: 28 Sep 2009
Posts: 41

PostPosted: Sat Oct 03, 2009 12:11 am    Post subject: Reply with quote

Ok, so overnight all the compling for the use flags got done, then did a revdep rebuild then a env-update and source, but Im still having this fundimental issue of X not detecting the screen.

The system starts up with picture fine with grub, then halfway through the boot process the monitor attached resizes itsself in the init3 part of the boot (to a nice readable size), but still when i run the X -configure it says.....

Number of created screens does not match number of detected devices.
Configuration failed.

Does anyone know what packages/modules/kernel thingy would be giving this information to X ? What more info could I provide to help the troubleshoot this issue?
Back to top
View user's profile Send private message
b4gumby
n00b
n00b


Joined: 28 Sep 2009
Posts: 41

PostPosted: Sat Oct 03, 2009 12:23 am    Post subject: Reply with quote

eye11 ~ # emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-i686-Pentium_III_-Coppermine-with-gentoo-1.12.11.1
Timestamp of tree: Fri, 02 Oct 2009 08:15:02 +0000
app-shells/bash: 4.0_p28
dev-lang/python: 2.4.4-r13, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.63-r1
sys-devel/automake: 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://mirror.internode.on.net/gentoo-portage/"
USE="3dnow X acl alsa apache2 avahi berkdb bzip2 cdr cli cracklib crypt cups dbus dri dvd force-cgi-redirect fortran gdbm gpm gtk hal iconv ipv6 isdnlog jpeg kde modules mudflap mysql ncurses nls nptl nptlonly opengl openmp pam pcre perl php pppd python qt3 qt4 readline reflection session snmp sockets spl ssl svg svga symlink sysfs system-libvncserver tcpd threads unicode v4l vhosts x86 xinerama xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Hope this helps.
Back to top
View user's profile Send private message
b4gumby
n00b
n00b


Joined: 28 Sep 2009
Posts: 41

PostPosted: Sat Oct 03, 2009 12:54 am    Post subject: Reply with quote

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31.5 - 48.5
VertRefresh 50-90
EndSection

Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV11 [GeForce2 MX/MX 400]"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
Virtual 1600 1280
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
Virtual 1280 1024
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768"
ViewPort 0 0
Virtual 1152 900
EndSubsection
EndSection
:(
Back to top
View user's profile Send private message
b4gumby
n00b
n00b


Joined: 28 Sep 2009
Posts: 41

PostPosted: Sat Oct 03, 2009 1:09 am    Post subject: Reply with quote

Ahhhhhhhhhh!!!!!!!!!!!!!!!!!11

I was logging though the Xorg log and I found this error before I got to the 'cant find screen error'

(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)

Knowing this was the power management utility I decided to have a google as what this was all about exactly.

Finding out its an attempt to bring powermanagement back into the operating system (including plug and play devices). This is the only other error in the xorg log (besides missing fonts im going to go down this road) and I also noticed I have nvidia complied in the kernel as well as drivers, im going to remove the drivers and also get this ACPI thing working and see if the issue still exists.

Ill keep this updated, the plot thinkens.
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sat Oct 03, 2009 2:08 am    Post subject: Reply with quote

One concern is your CHOST.
It looks like you used the x86 stage3, and in fact the i686 stage3 is the right one for your hardware.

The missing acpid socket will not prevent your X from starting.

which version of nvidia-drivers do you have installed?

Do you get any output from this?
Code:
grep NVIDIA /var/log/messages
Back to top
View user's profile Send private message
b4gumby
n00b
n00b


Joined: 28 Sep 2009
Posts: 41

PostPosted: Sat Oct 03, 2009 2:38 am    Post subject: Reply with quote

Ops, lol. Well thats going to cause issues. Looks like I might have to start again :(

Well funny that you say about the version of the drivers as I just read im also using the wrong one and check the output,

eye11 ~ # grep NVIDIA /var/log/messages
.Oct 1 14:30:05 eye11 nvidia: module license 'NVIDIA' taints kernel.
Oct 1 14:30:05 eye11 NVRM: The NVIDIA GeForce2 MX/MX 400 GPU installed in this system is
Oct 1 14:30:05 eye11 NVRM: supported through the NVIDIA 96.43.xx Legacy drivers. Please
Oct 1 14:30:05 eye11 NVRM: information. The 180.60 NVIDIA driver will ignore
Oct 1 14:30:05 eye11 NVRM: No NVIDIA graphics adapter found!
Oct 1 14:33:27 eye11 nvidia: module license 'NVIDIA' taints kernel.
Oct 1 14:33:27 eye11 NVRM: The NVIDIA GeForce2 MX/MX 400 GPU installed in this system is
Oct 1 14:33:27 eye11 NVRM: supported through the NVIDIA 96.43.xx Legacy drivers. Please
Oct 1 14:33:27 eye11 NVRM: information. The 180.60 NVIDIA driver will ignore
Oct 1 14:33:27 eye11 NVRM: No NVIDIA graphics adapter found!
Oct 1 18:22:45 eye11 NVRM: The NVIDIA GeForce2 MX/MX 400 GPU installed in this system is
Oct 1 18:22:45 eye11 NVRM: supported through the NVIDIA 96.43.xx Legacy drivers. Please
Oct 1 18:22:45 eye11 NVRM: information. The 180.60 NVIDIA driver will ignore
Oct 1 18:22:45 eye11 NVRM: No NVIDIA graphics adapter found!

Ive unmerged 180.60 and re-installed 96.43.xx also updating my package.keywords.

Ill update the module and see if this works, I might have to start again with the right stage3.

Thanks for help as im sure this will solve alot of problems.

Ill update the post when this is done.
Back to top
View user's profile Send private message
b4gumby
n00b
n00b


Joined: 28 Sep 2009
Posts: 41

PostPosted: Sat Oct 03, 2009 2:40 am    Post subject: Reply with quote

Acutally I think It might be better if I just start again with the right stage3.
Back to top
View user's profile Send private message
cdale77
n00b
n00b


Joined: 09 Feb 2008
Posts: 22

PostPosted: Sat Oct 03, 2009 3:49 am    Post subject: Reply with quote

It seems on my machine that, since I'm using hal, I have to be in the plugdev group to detect my screen.
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sat Oct 03, 2009 4:26 am    Post subject: Reply with quote

b4gumby wrote:
Acutally I think It might be better if I just start again with the right stage3.


Definitely yes. Build a solid base, then all the rest will be easier to add on top of it.

Keep using the Gentoo Handbook

There is also good stuff in this guide

And when you're done look at Part 2. Working with Gentoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum