Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Starting X error [Solved]
View unanswered posts
View posts from last 24 hours

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


Joined: 03 Jul 2010
Posts: 8

PostPosted: Mon Jul 05, 2010 1:09 am    Post subject: Starting X error [Solved] Reply with quote

Hey everyone, I am very new to gentoo and I am currently trying to install xfce. I have been following the instructions on gentoo.org. I keep running into problems howerver, trying to install Xorg. After installation, when I run "startx" I get the following four errors:
(EE) Failed to load module "ati" (module does not exist, 0)
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) No modules available.

Another error also occurs when I type "Xorg -configure:"
(EE) NVIDIA: Failed to load the NVIDIA kernel module
(EE) Failed to load module "nvidia" (module-specific error, 0)

I am very new to all this so any help regarding why these errors are occuring as well as how to go about fixing them would be greatly appreciated. Thanks.

Something else that happens which idn't an error though seems important to mention is when I type "emerge -pv xorg-server," I only get one line:
[ebuild R ] x11-base/xorg-server-1.6.3.901-r2 USE="hal ipv6 nptl xorg -debug -dmx -kdrive -minimal -sdl -tslib" 0 kB
I get no lines with INPUT_DEVICES or VIDEO_CARDS as the guide on gentoo.org suggests. Again any help would be very appreciated.


Last edited by stewie232 on Thu Jul 08, 2010 12:28 am; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Jul 05, 2010 2:06 am    Post subject: Reply with quote

what is the make and model of your video card?
Code:
lspci
will tell you.
Are you using a touchpad?
Pls post the answers here.
Back to top
View user's profile Send private message
stewie232
n00b
n00b


Joined: 03 Jul 2010
Posts: 8

PostPosted: Mon Jul 05, 2010 2:41 am    Post subject: Reply with quote

the computer I'm using is a dell inspiron 8500 laptop with a touchpad.

I'm not completely sure what in lspci corresponds to the Video card so correct me if I'm wrong.
VGA compatable controller: ATI technologies Inc Radeon RV250 [mobility FireGL 9000] (rev 01)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Jul 05, 2010 3:14 am    Post subject: Reply with quote

Code:
cd /usr/src/linux
make menuconfig
check that your graphics support looks like:
Quote:
Bus options (PCI etc.) --->
[*] Enable deprecated pci_find_* API
Graphics support --->
-*- /dev/agpgart (AGP Support) --->
--- /dev/agpgart (AGP Support)
<M> Intel 440LX/BX/GX, I8xx and E7x05 chipset support
< > SiS chipset support
< > VIA chipset support
<M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
--- Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
< > 3dfx Banshee/Voodoo3+
< > ATI Rage 128
<M> ATI Radeon
< > Intel I810
< > Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->
[ ] Enable modesetting on intel by default
< > Matrox g200/g400< > SiS video cards
< > Via unichrome video cards
< > Savage video cards
< > Lowlevel video output switch controls
-*- Support for frame buffer devices --->
--- Support for frame buffer devices
[M] Enable firmware EDID
[ ] Framebuffer foreign endianness support --->
-*- Enable Video Mode Handling Helpers
[*] Enable Tile Blitting Support
*** Frame buffer hardware drivers ***
< > Cirrus Logic supportati-drivers
< > 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
< > Intel 830M/845G/852GM/855GM/865G/915G/945G/945GM/965G/965GM support (EXPERIMENTAL)
< > 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 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
--- 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 panel/monitor support
*** Display hardware drivers ***
Console display driver support --->
-*- VGA text console
[*] Enable Scrollback Buffer in System RAM
(64) Scrollback Buffer Size (in KB)
<*> Framebuffer Console supportsupport
[ ] Map the console to the primary display device
[ ] Framebuffer Console Rotation
[ ] Select compiled-in fonts
[*] Bootup logo --->
If it doesn't I would recommend changing it and recompiling and recopying the kernel. If needed,
Code:
make  && make modules_install
# with the /boot partition mounted
cp arch/x86/boot/bzImage /boot/<your kernel name>#i386 vice x86 if processor is 32 bit
Then
Code:
nano /etc/make.conf
edit to add:
Quote:
VIDEO_CARDS="radeon"
INPUT_DEVICES="evdev synaptics"
USE="X dbus hal udev xfce" as add ons, keep what if anything is already in USE=
Then
Code:
emerge dbus hal udev xorg-server $(qlist -IC x11-drivers
rc-update add dbus default
rc-update add hald default
rc-update add udev-postmount default
rc
startx


Last edited by DONAHUE on Mon Jul 05, 2010 6:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
stewie232
n00b
n00b


Joined: 03 Jul 2010
Posts: 8

PostPosted: Mon Jul 05, 2010 7:23 am    Post subject: Reply with quote

Thank you for the response DONAHUE. My graphics support was pretty different from that so I had to recompile my kernel. I did that and I'm pretty sure I followed your post correctly but I'm still getting those same errors.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Mon Jul 05, 2010 1:12 pm    Post subject: Reply with quote

Hi, can you post this :
Code:

# emerge --info
# lspci -n
# cat /etc/X11/xorg.conf
# rc-update show
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Jul 05, 2010 3:34 pm    Post subject: Reply with quote

very sorry, left out key item, you will need to recompile kernel with
Quote:
<M> ATI Radeon
added, then
Code:
emerge xorg-server $(qlist -IC x11-drivers)
/etc/init.d/hald restart
startx


Last edited by DONAHUE on Mon Jul 05, 2010 6:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Jul 05, 2010 3:46 pm    Post subject: Reply with quote

The easy way to provide D2's data request:
Code:
emerge wgetpaste
emerge --info | wgetpaste
lspci -n | wgetpaste
wgetpaste /etc/X11/xorg.conf
rc-update show | wgetpaste

and post the url's returned
Back to top
View user's profile Send private message
stewie232
n00b
n00b


Joined: 03 Jul 2010
Posts: 8

PostPosted: Mon Jul 05, 2010 5:28 pm    Post subject: Reply with quote

I'm recompliling the kernel now with the suggested setting.

Here's the results of the wgetpaste commands
emerge --info | wgetpaste: http://paste.pocoo.org/show/233810/
lspci -n | wgetpaste: http://paste.pocoo.org/show/233811/
rc-update show | wgetpaste: http://paste.pocoo.org/show/233813/

wgetpaste /etc/X11/xorg.conf doesn't do anything because I don't have an xorg.conf file yet.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Jul 05, 2010 5:39 pm    Post subject: Reply with quote

You should not need a xorg.conf for this setup.
I'm running a 9250 same setup, no xorg.conf, auto handles it
Back to top
View user's profile Send private message
stewie232
n00b
n00b


Joined: 03 Jul 2010
Posts: 8

PostPosted: Mon Jul 05, 2010 5:45 pm    Post subject: Reply with quote

Some other things I think I should mention are that I can only do <M> ATI Radeon, not <*> ATI Radeon. Also whenever I write "emerge xorg-server $(qlist -IC x11-drivers)" before any installation starts I immediately get a line that says "qlist" is not a bash command
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon Jul 05, 2010 6:29 pm    Post subject: Reply with quote

Code:
emerge gentoolkit portage-utils
couple of helpful tools
M is correct my * was wrong, having one of those days, I guess
Edits made.
Back to top
View user's profile Send private message
stewie232
n00b
n00b


Joined: 03 Jul 2010
Posts: 8

PostPosted: Tue Jul 06, 2010 12:41 am    Post subject: Reply with quote

I'm sorry guys but I'm still getting the exact same error. Your post have been very helpful in terms of helping me understand what is wrong, so thank you for your help so far.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Tue Jul 06, 2010 1:46 am    Post subject: Reply with quote

Could you
Code:
wgetpaste /var/log/Xorg.0.log
and post the url?
Run
Code:
lsmod
do modules drm and radeon appear in the list with drm being used by radeon?
Run
Code:
X -retro
does a black and white stipple pattern appear?
Have you done
Code:
emerge xfce4-meta
?
Could you startx and then take and post a photo of the screen that results?
What does
Code:
eselect opengl list
produce?

An assortment of guides, perhaps you'll see what I'm forgetting:
http://www.gentoo.org/doc/en/xfce-config.xml
http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.5-upgrade-guide.xml
http://www.gentoo.org/proj/en/desktop/x/x11/libxcb-1.4-upgrade-guide.xml
http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.6-upgrade-guide.xml
http://www.gentoo.org/doc/en/xorg-config.xml
If using xorg-server-1.8 or newer
http://dev.gentoo.org/~scarabeus/xorg-server-1.8-upgrade-guide.xml
If using openrc and baselayout2:
http://www.gentoo.org/doc/en/openrc-migration.xml
Back to top
View user's profile Send private message
stewie232
n00b
n00b


Joined: 03 Jul 2010
Posts: 8

PostPosted: Wed Jul 07, 2010 3:25 am    Post subject: Reply with quote

Sorry I haven’t gotten back sooner, I’ve been a little tied up.

wgetpaste /var/log/Xorg.0.log gives http://paste.pocoo.org/show/234411/

For lsmod, it does look like radeon is there along with drm which is being used by radeon.

“X –retro” does the exact same thing as “startx” does. The screen turns black for a second, and then the errors come up.

Eselect gives this:
Available OpenGL implementations:
[1] nvidia
[2] xorg-x11 *

From looking at the Xorg.0.log file it seems the problem is coming from the way xorg is being installed. Please let me know what you guys think.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed Jul 07, 2010 4:06 pm    Post subject: Reply with quote

Code:
emerge portage-utils
emerge xorg-server -av $(qlist -IC x11-drivers)


The following should be emerged:
x11-drivers/xf86-input-evdev
x11-drivers/xf86-input-keyboard
x11-drivers/xf86-input-mouse
x11-drivers/xf86-video-ati
x11-drivers/xf86-input-synaptics
If any were not in the list emerge -av asked you about, emerge manually.
Back to top
View user's profile Send private message
stewie232
n00b
n00b


Joined: 03 Jul 2010
Posts: 8

PostPosted: Wed Jul 07, 2010 8:35 pm    Post subject: Reply with quote

That did it! x11-drivers/xf86-video-ati wasn't getting installed. I installed it manually and xfce is working now. Thank you so much for your help DONAHUE, I really appreciate all the time you piut into helping me.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed Jul 07, 2010 11:14 pm    Post subject: Reply with quote

pls edit the title of your first post to add [Solved]

VIDEO_CARDS="radeon" was supposed to cause ati to be emerged with xorg-server and with the emerge $(qlist -IC x11-drivers). If you lose X after future upgrades run emerge -av $(qlist -IC x11-drivers) and check that x11-drivers/xf86-video-ati was emerged as your first fix.
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