Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
reinstall xorg-server failed(nvidia, No devices detected)
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
dycforever
n00b
n00b


Joined: 06 Jul 2012
Posts: 21

PostPosted: Mon Oct 29, 2012 2:37 pm    Post subject: reinstall xorg-server failed(nvidia, No devices detected) Reply with quote

Hi, all~
For some reasons, I decide to reinstall my gnome. so I unmerge my xorg and gnome in these steps:

Code:

emerge --unmerge gnome
emerge --unmerge xorg-server
emerge --update --deep --newuse world
emerge --depclean


then reinstanll them with the former configure file:

Code:

emerge xorg-server
env-update
source /etc/profile


Today, I remove the nvidia.ko and emerge xorg-server with VIDEO_CARDS="nvidia".
Now I can load the nvidia module finally :P

But it still failed to startx because of "No devices detected".
I have already installed udev in runlevel sysinit and started it, but there is no /dev/nvidia* files
The CONFIG_SYSVIPC is also "y" in my kernel configure.
I am google-ing ! Just post the progress here for updating and looking forward to more guidance.
Thanks all !

my Xorg.0.log:
Code:

[    81.210]
X.Org X Server 1.12.2
Release Date: 2012-05-29
[    81.210] X Protocol Version 11, Revision 0
[    81.210] Build Operating System: Linux 3.3.8-gentoo i686 Gentoo
[    81.210] Current Operating System: Linux hyper 3.3.8-gentoo #4 SMP Tue Oct 30 05:24:20 CST 2012 i686
[    81.210] Kernel command line: root=/dev/sda6
[    81.210] Build Date: 01 November 2012  05:50:06AM
[    81.210] 
[    81.210] Current version of pixman: 0.26.0
[    81.210]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[    81.210] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    81.210] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov  1 06:51:39 2012
[    81.274] (==) Using config file: "/etc/X11/xorg.conf"
[    81.274] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    81.274] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    81.311] (==) ServerLayout "Layout0"
[    81.311] (**) |-->Screen "Screen0" (0)
[    81.311] (**) |   |-->Monitor "Monitor0"
[    81.311] (**) |   |-->Device "Device0"
[    81.311] (**) |-->Input Device "Keyboard0"
[    81.311] (**) |-->Input Device "Mouse0"
[    81.311] (==) Automatically adding devices
[    81.311] (==) Automatically enabling devices
[    81.363] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[    81.363]    Entry deleted from font path.
[    81.363] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    81.363]    Entry deleted from font path.
[    81.363] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    81.363]    Entry deleted from font path.
[    81.373] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    81.373]    Entry deleted from font path.
[    81.373]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    81.386] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    81.386]    Entry deleted from font path.
[    81.386]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    81.386] (==) FontPath set to:
   /usr/share/fonts/misc/
[    81.386] (==) ModulePath set to "/usr/lib/xorg/modules"
[    81.386] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    81.386] (WW) Disabling Keyboard0
[    81.386] (WW) Disabling Mouse0
[    81.386] (II) Loader magic: 0x81f5580
[    81.386] (II) Module ABI versions:
[    81.386]    X.Org ANSI C Emulation: 0.4
[    81.386]    X.Org Video Driver: 12.0
[    81.386]    X.Org XInput driver : 16.0
[    81.386]    X.Org Server Extension : 6.0
[    81.387] (--) PCI:*(0:0:2:0) 8086:0166:1043:10ac rev 9, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[    81.387] (--) PCI: (0:1:0:0) 10de:1058:1043:10ac rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[    81.387] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    81.387] (WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
[    81.387] (WW) "dri2" will not be loaded unless you've specified it to be loaded elsewhere.
[    81.387] (II) "extmod" will be loaded by default.
[    81.387] (II) "dbe" will be loaded by default.
[    81.387] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    81.387] (II) "record" will be loaded by default.
[    81.387] (II) "dri" will be loaded even though the default is to disable it.
[    81.387] (II) "dri2" will be loaded even though the default is to disable it.
[    81.387] (II) LoadModule: "glx"
[    81.406] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    81.425] (II) Module glx: vendor="X.Org Foundation"
[    81.425]    compiled for 1.12.2, module version = 1.0.0
[    81.425]    ABI class: X.Org Server Extension, version 6.0
[    81.425] (==) AIGLX enabled
[    81.425] (II) Loading extension GLX
[    81.425] (II) LoadModule: "extmod"
[    81.425] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[    81.428] (II) Module extmod: vendor="X.Org Foundation"
[    81.428]    compiled for 1.12.2, module version = 1.0.0
[    81.428]    Module class: X.Org Server Extension
[    81.428]    ABI class: X.Org Server Extension, version 6.0
[    81.428] (II) Loading extension MIT-SCREEN-SAVER
[    81.428] (II) Loading extension XFree86-VidModeExtension
[    81.428] (II) Loading extension XFree86-DGA
[    81.430] (II) Loading extension DPMS
[    81.430] (II) Loading extension XVideo
[    81.430] (II) Loading extension XVideo-MotionCompensation
[    81.430] (II) Loading extension X-Resource
[    81.430] (II) LoadModule: "dbe"
[    81.430] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[    81.430] (II) Module dbe: vendor="X.Org Foundation"
[    81.430]    compiled for 1.12.2, module version = 1.0.0
[    81.430]    Module class: X.Org Server Extension
[    81.430]    ABI class: X.Org Server Extension, version 6.0
[    81.430] (II) Loading extension DOUBLE-BUFFER
[    81.430] (II) LoadModule: "record"
[    81.430] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[    81.431] (II) Module record: vendor="X.Org Foundation"
[    81.431]    compiled for 1.12.2, module version = 1.13.0
[    81.431]    Module class: X.Org Server Extension
[    81.431]    ABI class: X.Org Server Extension, version 6.0
[    81.431] (II) Loading extension RECORD
[    81.431] (II) LoadModule: "nvidia"
[    81.431] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    81.489] (II) Module nvidia: vendor="NVIDIA Corporation"
[    81.489]    compiled for 4.0.2, module version = 1.0.0
[    81.489]    Module class: X.Org Video Driver
[    81.512] (II) NVIDIA dlloader X Driver  295.71  Thu Aug  2 19:32:38 PDT 2012
[    81.512] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    81.514] (--) using VT number 7

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



my output of lspci:
Code:

01:00.0 VGA compatible controller: NVIDIA Corporation Device 1058 (rev a1) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device 10ac
   Flags: bus master, fast devsel, latency 0, IRQ 16
   Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
   Memory at e0000000 (64-bit, prefetchable) [size=256M]
   Memory at f0000000 (64-bit, prefetchable) [size=32M]
   I/O ports at e000 [size=128]
   Expansion ROM at f7000000 [disabled] [size=512K]
   Capabilities: [60] Power Management version 3
   Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
   Capabilities: [78] Express Endpoint, MSI 00
   Capabilities: [b4] Vendor Specific Information: Len=14 <?>
   Capabilities: [100] Virtual Channel
   Capabilities: [128] Power Budgeting <?>
   Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
   Kernel driver in use: nvidia
   Kernel modules: nvidia



my xorg.conf:
Code:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 295.71  (buildmeister@swio-display-x86-rhel47-03.nvidia.com)  Thu Aug  2 20:36:17 PDT 2012


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"

    Load           "glx"
    Disable        "dri"
    Disable        "dri2"
EndSection

Section "InputDevice"

    # generated from data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "nvidia Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection



Last edited by dycforever on Thu Nov 01, 2012 12:35 pm; edited 13 times in total
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2100
Location: Near Toronto

PostPosted: Mon Oct 29, 2012 3:10 pm    Post subject: Reply with quote

In /etc/make.conf a line like this:

Code:
VIDEO_CARDS="nvidia"


(with the card(s) you want)

But perhaps I don't understand your problem ...
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
dycforever
n00b
n00b


Joined: 06 Jul 2012
Posts: 21

PostPosted: Mon Oct 29, 2012 3:37 pm    Post subject: Reply with quote

albright wrote:
In /etc/make.conf a line like this:

Code:
VIDEO_CARDS="nvidia"


(with the card(s) you want)

But perhaps I don't understand your problem ...


Sorry for my poor English......
I used to install gnome successfully follow the steps in Gentoo Linux nVidia Guide.
And even I set
Code:
 VIDEO_CARDS="nvidia fbdev intel vesa nouveau "
in make.conf.
The output of emerge -pv xorg-drivers is still:
Code:

VIDEO_CARDS="nvidia fbdev intel vesa nouveau............ -fbdev* -intel* -vesa* -nouveau*"
 

I think there is somewhere set VIDEO_CARDS with "-fbdev* -intel* -vesa* -nouveau*" ,so it makes the value I set in make.conf useless.
I don't kown if I express this clearly .....
Back to top
View user's profile Send private message
dycforever
n00b
n00b


Joined: 06 Jul 2012
Posts: 21

PostPosted: Mon Oct 29, 2012 3:58 pm    Post subject: Reply with quote

Further more, the tutorial said I should change the Driver line to "nvidia" in /etc/X11/xorg.conf
But I can't find the xorg.conf file anywhere.
The latest version of xorg doesn't need this file anymore ?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Oct 29, 2012 5:11 pm    Post subject: Reply with quote

Quote:
VIDEO_CARDS="nvidia"
in /etc/portage/make.conf is enough
Code:
emerge -av nvidia-drivers nvidia-settings xf86-input-evdev
nvidia-xconfig

_________________
Defund the FCC.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2100
Location: Near Toronto

PostPosted: Mon Oct 29, 2012 5:12 pm    Post subject: Reply with quote

What video card do you have?
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 778
Location: Germany

PostPosted: Mon Oct 29, 2012 8:43 pm    Post subject: Reply with quote

If you don't have a xorg.conf but use an NVidia card, that could be the problem. At least for me x doesn't start without a xorg.conf. Fortunately, the programm nvidia-xconfig (run in terminal, might have to go to /opt/bin ) will provide one without much trouble. You can edit it, but I found it works right away.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
dycforever
n00b
n00b


Joined: 06 Jul 2012
Posts: 21

PostPosted: Tue Oct 30, 2012 1:52 am    Post subject: Reply with quote

DONAHUE wrote:
Quote:
VIDEO_CARDS="nvidia"
in /etc/portage/make.conf is enough
Code:
emerge -av nvidia-drivers nvidia-settings xf86-input-evdev
nvidia-xconfig


Clad in Sky wrote:
If you don't have a xorg.conf but use an NVidia card, that could be the problem. At least for me x doesn't start without a xorg.conf. Fortunately, the programm nvidia-xconfig (run in terminal, might have to go to /opt/bin ) will provide one without much trouble. You can edit it, but I found it works right away.


thanks, I will try this way later.

I just so confused that, when I run
Code:
emerge -pv xorg-drivers

the value of VIDEO_CARDS has three parts :
1. some red letters such as "nvidia intel fbdev vesa", which I set in make.conf
2. some blue letters such as "-virtualbox -vmware "
3. some green letters such as "-intel* -fbdev* -vesa*"

I have no idea where those green letters comes from and how to unset them
Back to top
View user's profile Send private message
dycforever
n00b
n00b


Joined: 06 Jul 2012
Posts: 21

PostPosted: Tue Oct 30, 2012 1:55 am    Post subject: Reply with quote

albright wrote:
What video card do you have?

nvidia card

I am using another PC now, so I didn't post the output of lspci. :P
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4658
Location: Saint Amant, Acadiana

PostPosted: Tue Oct 30, 2012 1:58 am    Post subject: Reply with quote

DONAHUE wrote:
Quote:
VIDEO_CARDS="nvidia"
in /etc/portage/make.conf is enough
Code:
emerge -av nvidia-drivers nvidia-settings xf86-input-evdev
nvidia-xconfig

What kind of advice is that. You do not want this recorded in world file, that's not the Gentoo way.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
dycforever
n00b
n00b


Joined: 06 Jul 2012
Posts: 21

PostPosted: Tue Oct 30, 2012 2:50 am    Post subject: Reply with quote

Jaglover wrote:
DONAHUE wrote:
Quote:
VIDEO_CARDS="nvidia"
in /etc/portage/make.conf is enough
Code:
emerge -av nvidia-drivers nvidia-settings xf86-input-evdev
nvidia-xconfig

You do not want this recorded in world file.


Sorry, can you explain more specific ?
I don't know what will be and should not be recorded in world file .
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 778
Location: Germany

PostPosted: Tue Oct 30, 2012 7:07 am    Post subject: Reply with quote

Everything you specifically tell portage to install by typing emerge foo will be recorded in the world file, thus will be considered for every world update. Normally, you don't specifically put stuff in there, that is only a dependency of something you want to install. Thus you would, for example, type "emerge gnome" and not "emerge gnome, gnome-vfs, gnome-games …"
It's not really bad if you have those in your world file, afaik. I know I have some packages that are actually only dependencies in my worldfile.

Anyway, to avoid having them there, you can use emerge -1 foo, where 1 is the number one. This way portage won't put the package you installed into the world file.
As to the "some green letters such as "-intel* -fbdev* -vesa*" - you don't have to set that anywhere. If intel, fbdev and vesa aren't set in your make.conf or any other file that tells portage about use flags, they won't be activated. The * indicates that they were activated before, however. If you want to have these useflags enabled, you can add intel, fbdev and vesa to your make.conf' VIDEO_CARDS section.
Since you have an nvidia card, however, putting nvidia there should actually be enough - but you'll probably need to generate a xorg.conf (manually or with nvidia-xconfig). If you don't do that, but put fbdev, vesa and intel into your make.conf, this actually means that x will run either on some intel chip that might be on your motherboard/ in your intel processor or in software rendering mode, but not on your nvidia card.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
dycforever
n00b
n00b


Joined: 06 Jul 2012
Posts: 21

PostPosted: Tue Oct 30, 2012 8:17 am    Post subject: Reply with quote

Clad in Sky wrote:
Everything you specifically tell portage to install by typing emerge foo will be recorded in the world file, thus will be considered for every world update. Normally, you don't specifically put stuff in there, that is only a dependency of something you want to install. Thus you would, for example, type "emerge gnome" and not "emerge gnome, gnome-vfs, gnome-games …"
It's not really bad if you have those in your world file, afaik. I know I have some packages that are actually only dependencies in my worldfile.

Anyway, to avoid having them there, you can use emerge -1 foo, where 1 is the number one. This way portage won't put the package you installed into the world file.
As to the "some green letters such as "-intel* -fbdev* -vesa*" - you don't have to set that anywhere. If intel, fbdev and vesa aren't set in your make.conf or any other file that tells portage about use flags, they won't be activated. The * indicates that they were activated before, however. If you want to have these useflags enabled, you can add intel, fbdev and vesa to your make.conf' VIDEO_CARDS section.
Since you have an nvidia card, however, putting nvidia there should actually be enough - but you'll probably need to generate a xorg.conf (manually or with nvidia-xconfig). If you don't do that, but put fbdev, vesa and intel into your make.conf, this actually means that x will run either on some intel chip that might be on your motherboard/ in your intel processor or in software rendering mode, but not on your nvidia card.


Thanks for your interpretation! It really helps me to use the portage.
And I used to think the start(*) in green letters are wildcards which canceled out my settings in make.conf.
I will try nvidia-xconfig when I back home. Thanks a lot ! :D
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 778
Location: Germany

PostPosted: Tue Oct 30, 2012 8:19 am    Post subject: Reply with quote

You're welcome.
I found "man emerge" and "man portage" to be quite helpful. Lots of stuff to learn about portage in there.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
dycforever
n00b
n00b


Joined: 06 Jul 2012
Posts: 21

PostPosted: Tue Oct 30, 2012 2:22 pm    Post subject: Reply with quote

Clad in Sky wrote:
You're welcome.
I found "man emerge" and "man portage" to be quite helpful. Lots of stuff to learn about portage in there.


Hi, I use nvidia-xconfig to generate a xorg.conf and now there is another problem.
When I run startx, the log says "failed to load module nvidia". While there is "nvidia" in the output of lsmod.
I googled and found a similar post in this forum, but the solution seems out of dated.
Back to top
View user's profile Send private message
dycforever
n00b
n00b


Joined: 06 Jul 2012
Posts: 21

PostPosted: Wed Oct 31, 2012 12:59 am    Post subject: Reply with quote

In another post, someone says it may be caused by mismatch of kernel- and xorg-drivers' version.
Can someone tell me how to get relative version information?

I followed this guide http://www.gentoo.org/doc/en/xorg-config.xml which tells me to use the proper KMS driver for nvidia cards :
Code:

Device Drivers --->
  Graphics support --->
    Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
    <*>    Nouveau (nVidia) cards


but I can't find the " Nouveau (nVidia) cards" in this location. Actually I can't find it anywhere.
Does this make me fail to load module nvidia ?


Last edited by dycforever on Wed Oct 31, 2012 1:16 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8990

PostPosted: Wed Oct 31, 2012 1:13 am    Post subject: Reply with quote

Module nvidia is the proprietary nVidia driver. The Nouveau driver is the open source driver for nVidia cards, but is not maintained or supported by nVidia Corporation. You must pick which one you wish to use. If you have nvidia-xconfig, then you are using the proprietary driver. If you want to continue to use the proprietary driver, then do not build Nouveau. If you want to use the open driver, then you should remove the proprietary driver from your system and build Nouveau.
Back to top
View user's profile Send private message
dycforever
n00b
n00b


Joined: 06 Jul 2012
Posts: 21

PostPosted: Wed Oct 31, 2012 1:25 am    Post subject: Reply with quote

Hu wrote:
Module nvidia is the proprietary nVidia driver. The Nouveau driver is the open source driver for nVidia cards, but is not maintained or supported by nVidia Corporation. You must pick which one you wish to use. If you have nvidia-xconfig, then you are using the proprietary driver. If you want to continue to use the proprietary driver, then do not build Nouveau. If you want to use the open driver, then you should remove the proprietary driver from your system and build Nouveau.


Do you mean the nvidia modules I load maybe the Nouveau one I installed before?
Could you tell me how to remove the Nouveau one? Should I just set VIDEO_CARDS="nvidia" and emerge xorg-server again? Thanks!
Back to top
View user's profile Send private message
dycforever
n00b
n00b


Joined: 06 Jul 2012
Posts: 21

PostPosted: Wed Oct 31, 2012 2:19 pm    Post subject: Reply with quote

dycforever wrote:
Hu wrote:
Module nvidia is the proprietary nVidia driver. The Nouveau driver is the open source driver for nVidia cards, but is not maintained or supported by nVidia Corporation. You must pick which one you wish to use. If you have nvidia-xconfig, then you are using the proprietary driver. If you want to continue to use the proprietary driver, then do not build Nouveau. If you want to use the open driver, then you should remove the proprietary driver from your system and build Nouveau.


Do you mean the nvidia modules I load maybe the Nouveau one I installed before?
Could you tell me how to remove the Nouveau one? Should I just set VIDEO_CARDS="nvidia" and emerge xorg-server again? Thanks!


I can load the nvidia module finally

But it still failed to startx because of "No devices detected".
I am google-ing ! Just post the progress here for updating and looking forward to more guidance.
Thanks all !
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 778
Location: Germany

PostPosted: Wed Oct 31, 2012 2:32 pm    Post subject: Reply with quote

No, the noveau module is called noveau, so your nvidia module is the proprietary nvidia driver.
The nouveau module is built when you emerge xorg-drivers with the "nouveau" useflag.

If it is indeed a kernel mismatch, you could emerge xorg-drivers (not necessary, as far as I know) and nvidia-drivers (necessary) anew and see if it does the trick. Before doing that it is a good idea to check if your /usr/src/linux symling points to the kernel you're actually using. Type "uname -a "to see which kernel you're running and "eselect kernel list" to see where the symlink points to. If both match, re-emerge nvidia-drivers, modprobe nvidia and retry startx.

Edit: Oh, too late it seems.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
dycforever
n00b
n00b


Joined: 06 Jul 2012
Posts: 21

PostPosted: Wed Oct 31, 2012 3:00 pm    Post subject: Reply with quote

Clad in Sky wrote:
No, the noveau module is called noveau, so your nvidia module is the proprietary nvidia driver.
The nouveau module is built when you emerge xorg-drivers with the "nouveau" useflag.

If it is indeed a kernel mismatch, you could emerge xorg-drivers (not necessary, as far as I know) and nvidia-drivers (necessary) anew and see if it does the trick. Before doing that it is a good idea to check if your /usr/src/linux symling points to the kernel you're actually using. Type "uname -a "to see which kernel you're running and "eselect kernel list" to see where the symlink points to. If both match, re-emerge nvidia-drivers, modprobe nvidia and retry startx.

Edit: Oh, too late it seems.


Thank you as same! :D
Now I am struggling with the "No devices detected".
Could you give me some tips?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed Oct 31, 2012 4:29 pm    Post subject: Reply with quote

Code:
emerge wgetpaste
wgetpaste /var/log/Xorg.0.log
emerge --info | wgetpaste
rc-update show | wgetpaste
emerge -pv xorg-server $(qlist -IC x11-drivers) | wgetpaste
lspci -k | wgetpaste
wgetpaste /etc/env.d/90xsession
wgetpaste /etc/conf.d/xdm
ls -l /etc/X11/Sessions | wgetpaste
ls -l /boot | wgetpaste
wgetpaste /boot/grub/grub.conf
eselect kernel list | wgetpaste
awk '/Graphics support/,/CONFIG_SOUND/' /usr/src/linux/.config | wgetpaste

and post the url's returned
_________________
Defund the FCC.
Back to top
View user's profile Send private message
dycforever
n00b
n00b


Joined: 06 Jul 2012
Posts: 21

PostPosted: Wed Oct 31, 2012 5:02 pm    Post subject: Reply with quote

DONAHUE wrote:
Code:
emerge wgetpaste
wgetpaste /var/log/Xorg.0.log
emerge --info | wgetpaste
rc-update show | wgetpaste
emerge -pv xorg-server $(qlist -IC x11-drivers) | wgetpaste
lspci -k | wgetpaste
wgetpaste /etc/env.d/90xsession
wgetpaste /etc/conf.d/xdm
ls -l /etc/X11/Sessions | wgetpaste
ls -l /boot | wgetpaste
wgetpaste /boot/grub/grub.conf
eselect kernel list | wgetpaste
awk '/Graphics support/,/CONFIG_SOUND/' /usr/src/linux/.config | wgetpaste

and post the url's returned


http://bpaste.net/show/55016/
http://bpaste.net/show/55017/
http://bpaste.net/show/55018/
http://bpaste.net/show/55019/
http://bpaste.net/show/55020/
http://bpaste.net/show/55021/
http://bpaste.net/show/55022/
http://bpaste.net/show/55023/
http://bpaste.net/show/55024/
http://bpaste.net/show/55025/
http://bpaste.net/show/55027/

I can't find the file" /etc/env.d/90xsession" , so I skip it.
I am going to sleep. Thank you so much :)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed Oct 31, 2012 5:48 pm    Post subject: Reply with quote

Recommend edit menuconfig to:
Quote:
Graphics support --->
<*> /dev/agpgart (AGP Support) --->
--- /dev/agpgart (AGP Support)
< > AMD Opteron/Athlon64 on-CPU GART support
<*> Intel 440LX/BX/GX, I8xx and E7x05 chipset support
< > SiS chipset support
< > VIA chipset support
-*- VGA Arbitration
(2) Maximum number of GPUs
[ ] Laptop Hybrid Graphics - GPU switching support
< > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
< > Intel GMA500 Stub Driver
<*> 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 (NEW)
[ ] IMS Twin Turbo display support (NEW)
< > VGA 16-color graphics support
<*> Userspace VESA VGA graphics support
[ ] VESA VGA graphics support (NEW)
[ ] EFI-based Framebuffer Support (NEW)
< > 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)
< > SMSC UFX6000/7000 USB Framebuffer support
< > Displaylink USB Framebuffer support
< > 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
< > Platform LCD controls
<*> Lowlevel Backlight controls
< > Generic (aka Sharp Corgi) Backlight Driver
< > Frontpath ProGear Backlight Driver
< > Apple Backlight Driver
< > Tabletkiosk Sahara Touch-iT Backlight Driver
< > Backlight Driver for ADP8860/ADP8861/ADP8863 using WLED
< > Backlight Driver for ADP8870 using WLED
Console display driver support --->
-*- VGA text console
[*] Enable Scrollback Buffer in System RAM
(256) 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
recompile recopy kernel
Code:
emerge gnome xorg-server $(qlist -IC x11-drivers)
nvidia-xconfig
echo 'XSESSION="Gnome"' >> /etc/env.d/90xsession
reboot

_________________
Defund the FCC.
Back to top
View user's profile Send private message
dycforever
n00b
n00b


Joined: 06 Jul 2012
Posts: 21

PostPosted: Thu Nov 01, 2012 12:31 pm    Post subject: Reply with quote

DONAHUE wrote:

Code:
emerge gnome xorg-server $(qlist -IC x11-drivers)
nvidia-xconfig
echo 'XSESSION="Gnome"' >> /etc/env.d/90xsession
reboot


DONAHUE, I run the commands above but I am so sad to get the same error log again:
"no devices detected"
Should I restart all from scratch or just give up to use the intel video card ?
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
Goto page 1, 2  Next
Page 1 of 2

 
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