Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Failed to startx: "Failed to load ....."
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
zhou13
n00b
n00b


Joined: 18 Nov 2010
Posts: 22

PostPosted: Thu Nov 25, 2010 10:22 am    Post subject: [SOLVED]Failed to startx: "Failed to load ....." Reply with quote

Code:
(EE) Failed to load module "fbdev" (Module doesn't exist, 0)
(EE) Failed to load module "vesa" (Module doesn't exist, 0)
(EE) Failed to load module "vga" (Module doesn't exist, 0)
(EE) No drivers available
Can't find screen.


The error message isn't fully because it seems that I can't use gpm in links.(I can use mouse but I can't use middle button to paste)

My vedio card is nvdia.
Here is make.conf:
Code:
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j6"

VIDEO_CARDS="nvidia"
INPUT_DEVICES="evdev"

ACCEPT_KEYWORDS="~amd64"
SYNC="rsync://mirrors.xmu.edu.cn/gentoo-portage"
GENTOO_MIRRORS="http://mirrors.xmu.edu.cn/gentoo"

USE="mmx sse sse2"


grep ^CONFIG_FB /usr/src/linux/.config:
Code:
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
CONFIG_FB_UVESA=y
CONFIG_FB_EFI=y


Run without xorg.conf


Last edited by zhou13 on Thu Nov 25, 2010 2:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Thu Nov 25, 2010 11:01 am    Post subject: Reply with quote

Which driver are you using for your nvidia ?
- The proprietary module you specifically emerged ?
- One OpenSource you specifically activated in your kernel configuration ?
Back to top
View user's profile Send private message
zhou13
n00b
n00b


Joined: 18 Nov 2010
Posts: 22

PostPosted: Thu Nov 25, 2010 11:10 am    Post subject: Reply with quote

I use the nvidia-drivers package.(240GT)
And I have run
Code:
# lsmod | grep nvidia && rmmod nvidia
# modprobe nvidia

before startx.
In kernel config, I compile uvesafb into kernel and don't choose vesa.
I think I do all the thing in http://www.gentoo.org/doc/en/nvidia-guide.xml and http://www.gentoo.org/doc/en/xorg-config.xml.
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Thu Nov 25, 2010 11:20 am    Post subject: Reply with quote

Well, in your case, I believe there is some kind of minimal xorg.conf needed.
Try with mine : (/etc/X11/xorg.conf)
Code:
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection
Back to top
View user's profile Send private message
FizzyWidget
Veteran
Veteran


Joined: 21 Nov 2008
Posts: 1133
Location: 127.0.0.1

PostPosted: Thu Nov 25, 2010 12:05 pm    Post subject: Reply with quote

i tend to agree with aCOSwt - if i just type startx without a xorg.conf i get nothing, guess hal and or my tv dont like each other :(
_________________
I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.
Back to top
View user's profile Send private message
zhou13
n00b
n00b


Joined: 18 Nov 2010
Posts: 22

PostPosted: Thu Nov 25, 2010 2:37 pm    Post subject: Reply with quote

solved.
/usr/share/xorg.conf.d/20-nvidia.conf
Code:

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection
Section "Module"
    Disable        "dri"
    Disable        "dri2"
EndSection
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