Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no screens found [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
roelof
Guru
Guru


Joined: 05 Feb 2009
Posts: 488

PostPosted: Mon Nov 09, 2009 2:16 pm    Post subject: no screens found [solved] Reply with quote

Hello,

I added to my make.conf this:

INPUT_DEVICES="evdev"
VIDEO_CARDS="nvidia"

Then I emerged Xorg-server.
then enc-update en source /etc/profile
After that Xorg -configure
But when i test X I get a message that no screens were found.

Roelof


Last edited by roelof on Mon Nov 09, 2009 9:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1354
Location: Out There ...

PostPosted: Mon Nov 09, 2009 2:24 pm    Post subject: Reply with quote

I take it you use a desktop profile with hal USE flag? Some common thing I usually check:

1. is hal running? /etc/init.d/hald start
2. try without xorg.conf (completely generated by xorg-server+hal)
3. X -configure creates xorg.conf.new in /root, did you copy it to /etc/X11/xorg.conf?
4. Try to set DefaultDepth in Screens Setions in xorg.conf (some monitors can't handle 8bit and I had a problem once)
5. Did you update the xorg-server as well? Try reemerging all drivers: emerge $(qlist -C -I x11-drivers/)
_________________
Gentoo on Uptime Project - Larry is a cow
Back to top
View user's profile Send private message
roelof
Guru
Guru


Joined: 05 Feb 2009
Posts: 488

PostPosted: Mon Nov 09, 2009 3:19 pm    Post subject: Reply with quote

I take it you use a desktop profile with hal USE flag?

That's correct

Some common thing I usually check:

1. is hal running? /etc/init.d/hald start

yes, it's running

2. try without xorg.conf (completely generated by xorg-server+hal)

Then I see this error message :

no drivers avaible
Fatal server error:

no screens found

3. X -configure creates xorg.conf.new in /root, did you copy it to /etc/X11/xorg.conf?

Nope, that's the following step according to the handbook

4. Try to set DefaultDepth in Screens Setions in xorg.conf (some monitors can't handle 8bit and I had a problem once)

I tried no luck

5. Did you update the xorg-server as well? Try reemerging all drivers: emerge $(qlist -C -I x11-drivers/

Yes, also no luck.

Roelof
Back to top
View user's profile Send private message
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1354
Location: Out There ...

PostPosted: Mon Nov 09, 2009 3:34 pm    Post subject: Reply with quote

And did you install "x11-drivers/nvidia-drivers"?

Try to manually create the xorg.conf with the following content:

Section "Device"
Identifier "Card0"
Driver "nvidia"
Endsection

also do the following:
Code:
eselect opengl set nvidia


//what kind of card do you have?
//are you able to provide the last 30-40 lines of /var/log/Xorg.0.log ?
_________________
Gentoo on Uptime Project - Larry is a cow
Back to top
View user's profile Send private message
roelof
Guru
Guru


Joined: 05 Feb 2009
Posts: 488

PostPosted: Mon Nov 09, 2009 4:42 pm    Post subject: Reply with quote

Hello,

yes, I install the drivers.

I get then a message that Indentifier may not be used.

I have done the eselect part.

I have a Nvidia Geforce 7300 LE

The Xorg.log
Code:

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.6.3.901 (1.6.4 RC 1)
Release Date: 2009-8-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30-gentoo-r5 x86_64
Current Operating System: Linux localhost 2.6.30-gentoo-r5 #1 SMP PREEMPT Sun Nov 8 19:23:41 Local time zone must be set--s x86_64
Build Date: 09 November 2009  02:42:55PM
 
   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: Mon Nov  9 16:57:46 2009
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 3 of section Device in file /etc/X11/xorg.conf
   "Indentifier" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor



Roelof
Back to top
View user's profile Send private message
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1354
Location: Out There ...

PostPosted: Mon Nov 09, 2009 4:50 pm    Post subject: Reply with quote

You wrote Indentifier"

has to be

Identifier
_________________
Gentoo on Uptime Project - Larry is a cow
Back to top
View user's profile Send private message
roelof
Guru
Guru


Joined: 05 Feb 2009
Posts: 488

PostPosted: Mon Nov 09, 2009 5:04 pm    Post subject: Reply with quote

Oke,

Changed that but still no luck.

Here's the new Xorg.log
Code:

compiled for 1.6.3.901, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
   compiled for 4.0.2, module version = 1.0.0
   Module class: X.Org Server Extension
(II) NVIDIA GLX Module  180.60  Mon May 11 15:53:29 PDT 2009
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib64/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
   compiled for 1.6.3.901, module version = 1.13.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
(II) LoadModule: "dri2"
(WW) Warning, couldn't open module dri2
(II) UnloadModule: "dri2"
(EE) Failed to load module "dri2" (module does not exist, 0)
(II) LoadModule: "nvida"
(WW) Warning, couldn't open module nvida
(II) UnloadModule: "nvida"
(EE) Failed to load module "nvida" (module does not exist, 0)
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
 


Roelof
Back to top
View user's profile Send private message
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1354
Location: Out There ...

PostPosted: Mon Nov 09, 2009 5:12 pm    Post subject: Reply with quote

It has problems to find the module...
could you post the following:
Code:
# uname -a
# lsmod
# ls -l /usr/src
# emerge --info

_________________
Gentoo on Uptime Project - Larry is a cow
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Nov 09, 2009 6:01 pm    Post subject: Reply with quote

try
Code:
modprobe nvidia
nvidia-xconfig
startx
Back to top
View user's profile Send private message
roelof
Guru
Guru


Joined: 05 Feb 2009
Posts: 488

PostPosted: Mon Nov 09, 2009 6:02 pm    Post subject: Reply with quote

Here the info you asked for :

uname -a :
Code:

Linux localhost 2.6.30-gentoo-r5 #1 SMP PREEMPT Sun Nov 8 19:23:41 Local time zone must be set--s x86_64 AMD Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux


lsmod
Code:

Module                  Size  Used by
nvidia               8120520  0
snd_hda_codec_realtek   260956  1
snd_hda_intel          28968  0
snd_hda_codec          63864  2 snd_hda_codec_realtek,snd_hda_intel
8139cp                 23000  0
k8temp                  5560  0
8139too                27804  0
i2c_piix4              11304  0
snd_hwdep               8864  1 snd_hda_codec
mii                     5112  2 8139cp,8139too


ls -l /usr/src
Code:

drwxr-xr-x  3 root root 4096 Nov  7 20:07 .
drwxr-xr-x 14 root root 4096 Nov  9 14:57 ..
-rw-r--r--  1 root root    0 Nov  5 02:34 .keep
lrwxrwxrwx  1 root root   22 Nov  7 20:07 linux -> linux-2.6.30-gentoo-r5
drwxr-xr-x 23 root root 4096 Nov  9 11:53 linux-2.6.30-gentoo-r5


emerge --info
Code:

Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-gentoo-1.12.13
Timestamp of tree: Mon, 09 Nov 2009 09:15:03 +0000
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 1.12.13
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="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo "
LDFLAGS="-Wl,-O1"
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://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 jpeg kde ldap libnotify mad mikmod mmx modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="evdev" 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, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Roelof
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Nov 09, 2009 6:12 pm    Post subject: Reply with quote

does
Code:
lspci -k
show
Quote:
Kernel driver in use: nvidia
Kernel modules: nvidia

for your video card?
Back to top
View user's profile Send private message
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1354
Location: Out There ...

PostPosted: Mon Nov 09, 2009 6:23 pm    Post subject: Reply with quote

Just a question, do you have framebuffer for nvidia configured in the kernel? The modules have the same name and don't work together... if this is the framebuffer nvidia module, you would have to use fbdev to run X

If this is the the nvidia-drivers module, try to remove it:
Code:
# rmmod nvidia
$ startx


//edit: here is also a more detailed nvidia-guide: http://www.gentoo.org/doc/en/nvidia-guide.xml
_________________
Gentoo on Uptime Project - Larry is a cow
Back to top
View user's profile Send private message
roelof
Guru
Guru


Joined: 05 Feb 2009
Posts: 488

PostPosted: Mon Nov 09, 2009 6:35 pm    Post subject: Reply with quote

Donahue.

lspcui -k shows the right text.

Disi,

As far as I know nvidia is not compiled in the kernel.
The config is made by pappy-mcfae.

The steps that i must take are not succesfull.
Still the same error message.

Roelof
Back to top
View user's profile Send private message
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1354
Location: Out There ...

PostPosted: Mon Nov 09, 2009 6:52 pm    Post subject: Reply with quote

Probably your best choice right now (to keep you up and running) is to use the Xorg driver instead of the one from nvidia...
this guy had problems as well.

Quote:
1. Waste an entire week
2. emerge xf86-video-nv
3. change xorg.conf to say ->> Driver "nv"
4. startx


In your case just change /etc/make.conf to VIDEO_CARDS="nv"

Code:
# rmmod nvidia
# emerge DuaN world
# emerge xorg-drivers
# eselect opengl set xorg-x11


then change the xorg.conf to
Driver "nv"
_________________
Gentoo on Uptime Project - Larry is a cow
Back to top
View user's profile Send private message
roelof
Guru
Guru


Joined: 05 Feb 2009
Posts: 488

PostPosted: Mon Nov 09, 2009 7:29 pm    Post subject: Reply with quote

Hello Disi,

Still no luck.
Here the last Xorg.log

Code:

(II) Module glx: vendor="X.Org Foundation"
   compiled for 1.6.3.901, module version = 1.0.0
   ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib64/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
   compiled for 1.6.3.901, module version = 1.13.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib64/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
   compiled for 1.6.3.901, module version = 1.0.0
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib64/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
   compiled for 1.6.3.901, module version = 1.1.0
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nv"
(WW) Warning, couldn't open module nv
(II) UnloadModule: "nv"
(EE) Failed to load module "nv" (module does not exist, 0)
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information


Roelof
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Nov 09, 2009 7:41 pm    Post subject: Reply with quote

my kernel config is:
Quote:
Graphics support --->
-*- /dev/agpgart (AGP Support) --->
--- /dev/agpgart (AGP Support)
< > Intel 440LX/BX/GX, I8xx and E7x05 chipset support
< > SiS chipset support
< > VIA chipset support
you will need to pick one of these if you have one of these motherboard chipsets

<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support --->
<*> Lowlevel video output switch controls
<*> Support for frame buffer devices --->
--- Support for frame buffer devices
[*] Enable firmware EDID
[ ] Framebuffer foreign endianness support --->
-*- Enable Video Mode Handling Helpers
[*] Enable Tile Blitting Support
*** Frame buffer hardware drivers ***
< > Cirrus Logic support
< > Permedia2 support
< > CyberPro 2000/2010/5000 support
< > Arc Monochrome LCD board support
[ ] Asiliant (Chips) 69000 display support
[ ] IMS Twin Turbo display support
< > VGA 16-color graphics support
<*> Userspace VESA VGA graphics support
[*] VESA VGA graphics support
[*] EFI-based Framebuffer Support
< > N411 Apollo/Hecuba devkit support
< > Hercules mono graphics support
< > Epson S1D13XXX framebuffer support
< > nVidia Framebuffer Support
< > nVidia Riva support
< > Intel LE80578 (Vermilion) support
< > Matrox acceleration
< > ATI Radeon display support
< > ATI Rage128 display support
< > ATI Mach64 display support
< > S3 Trio/Virge support
< > S3 Savage support
< > SiS/XGI display support
< > VIA UniChrome (Pro) and Chrome9 display support
< > NeoMagic display support
< > IMG Kyro support
< > 3Dfx Banshee/Voodoo3/Voodoo5 display support
< > 3Dfx Voodoo Graphics (sst1) support
< > VIA VT8623 support
< > Trident/CyberXXX/CyberBlade support
< > ARK 2000PV support
< > Permedia3 support (EXPERIMENTAL)
< > Fujitsu carmine frame buffer support
[ ] AMD Geode family framebuffer support (EXPERIMENTAL)
< > Virtual Frame Buffer support (ONLY FOR TESTING!)
< > E-Ink Metronome/8track controller support
< > Fujitsu MB862xx GDC support
< > E-Ink Broadsheet/Epson S1D13521 controller support
[*] Backlight & LCD device support --->
--- Backlight & LCD device support
< > Lowlevel LCD controls
-*- Lowlevel Backlight controls
<*> Generic (aka Sharp Corgi) Backlight Driver
< > Frontpath ProGear Backlight Driver
< > MacBook Pro Nvidia Backlight Driver
< > Tabletkiosk Sahara Touch-iT Backlight Driver
Display device support --->
Console display driver support --->
-*- VGA text console
*] Enable Scrollback Buffer in System RAM
(1024) Scrollback Buffer Size (in KB)
<*> Framebuffer Console support
[ ] Map the console to the primary display device
[ ] Framebuffer Console Rotation
[ ] Select compiled-in fonts
[*] Bootup logo --->
--- Bootup logo
[ ] Standard black and white Linux logo
[ ] Standard 16-color Linux logo
[*] Standard 224-color Linux logo

I run nvidia-xconfig to generate xorg.conf. I have x11-drivers/nvidia-drivers in /etc/portage/package.keywords as ~amd64 to attempt to have the driver keep up with kernel updates. All this works for me on an nvidia chipset motherboard with an older 8600 video card.
Back to top
View user's profile Send private message
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1354
Location: Out There ...

PostPosted: Mon Nov 09, 2009 7:51 pm    Post subject: Reply with quote

I would also try to run this one again (this will rebuild all xorg modules):
Code:
# emerge $(qlist -C -I x11-drivers/)

_________________
Gentoo on Uptime Project - Larry is a cow
Back to top
View user's profile Send private message
roelof
Guru
Guru


Joined: 05 Feb 2009
Posts: 488

PostPosted: Mon Nov 09, 2009 8:16 pm    Post subject: Reply with quote

Hoi Donahue.

Are you saying that I can do the same.

Roelof
Back to top
View user's profile Send private message
roelof
Guru
Guru


Joined: 05 Feb 2009
Posts: 488

PostPosted: Mon Nov 09, 2009 9:05 pm    Post subject: Reply with quote

Hello Disi,

Problem solved.
I did the second time the reemerging and everything worked.

Thank you for the time.

Roelof
Back to top
View user's profile Send private message
guimar
n00b
n00b


Joined: 28 Nov 2015
Posts: 1
Location: Cd. Juarez, Chih. Mexico

PostPosted: Sat Nov 28, 2015 1:33 am    Post subject: Reply with quote

I have a Nvidia GeForce Go 7900 GS and had the same problem, I tried:

Quote:

In your case just change /etc/make.conf to VIDEO_CARDS="nv"

Code:
# rmmod nvidia
# emerge DuaN world
# emerge xorg-drivers
# eselect opengl set xorg-x11


then change the xorg.conf to
Driver "nv"


and

Quote:

# emerge $(qlist -C -I x11-drivers/)


6 years later and stills works perfectly!!!!!
Thank you very much!

Guimar
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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