Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg fatal server error
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
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Fri Oct 21, 2011 12:39 am    Post subject: Xorg fatal server error Reply with quote

Hey guys, first post here. I pretty much a complete noob with linux, but I decided to try setting up Gentoo just for fun.

The guides here are great, I managed to get it up and running in one night by following the setup guide. However now I am trying to get a DE going and I am having trouble with X. I have used menuconfig and configured my kernel according to the guide to run with my radeon hd 5850. but i keep getting this error:

"(EE) No drivers available.

Fatal server error:
No screens found

xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error"

What the heck do I do from here? I've spent 3-4 hours trying to get X up and running on my own and I think I am at a dead end. Also, in case it matters I am running gentoo in VirtualBox. Thanks for your help guys.

Edit: I can't even find an xorg.conf.d or xorg.conf file. I am so lost.
Back to top
View user's profile Send private message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Fri Oct 21, 2011 1:11 am    Post subject: Reply with quote

I found this thread:

https://forums.gentoo.org/viewtopic-t-893126-highlight-startx+radeon.html

Which looked like almost the exact problem. So I ran "emerge --oneshot xf86-video-ati" and I still get the same error. "X -configure" doesn't work either, it tells me "No devices to configure. Configuration failed." And I have no idea how to copy the log, since I'm in a virtual box. Ugh!
Back to top
View user's profile Send private message
golagoda
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2011
Posts: 105
Location: Australia

PostPosted: Fri Oct 21, 2011 1:32 am    Post subject: Reply with quote

http://en.gentoo-wiki.com/wiki/Virtualbox_Guest

Unless virtualbox has direct access to your graphics card or something you shouldn't be setting it up as if you're installing gentoo for an AMD gpu. Virtualbox creates virtual GPU/cpu/RAM, so following the guide linked above should work for you.
Back to top
View user's profile Send private message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Fri Oct 21, 2011 2:01 am    Post subject: Reply with quote

golagoda wrote:
http://en.gentoo-wiki.com/wiki/Virtualbox_Guest

Unless virtualbox has direct access to your graphics card or something you shouldn't be setting it up as if you're installing gentoo for an AMD gpu. Virtualbox creates virtual GPU/cpu/RAM, so following the guide linked above should work for you.


Thanks. Good info. I'll try this and see what happens.

Also, am I screwed because I used the AMD64 kernel?
Back to top
View user's profile Send private message
golagoda
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2011
Posts: 105
Location: Australia

PostPosted: Fri Oct 21, 2011 2:31 am    Post subject: Reply with quote

griffsterb wrote:
golagoda wrote:
http://en.gentoo-wiki.com/wiki/Virtualbox_Guest

Unless virtualbox has direct access to your graphics card or something you shouldn't be setting it up as if you're installing gentoo for an AMD gpu. Virtualbox creates virtual GPU/cpu/RAM, so following the guide linked above should work for you.


Thanks. Good info. I'll try this and see what happens.

Also, am I screwed because I used the AMD64 kernel?

If it's running fine then no.. AMD64 = x86-64, so as long as your VM is running fine and it's a 64-bit VM you don't need to worry at all.
Back to top
View user's profile Send private message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Fri Oct 21, 2011 2:52 am    Post subject: Reply with quote

I updated the kernel as referenced in your link, and I still get the same errors. Any other ideas? I updated the kernel for VirtualBox, re-compiled, re-downloaded Xorg, and tried to start it. 'startx' and 'X -configure' don't work =\ Could there be some other commands that I am not running which I should be running?

Edit: Do I need to re-compile the kernel each time I change a setting with menuconfig? Haha, I am beyond lost at this point.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Fri Oct 21, 2011 11:29 pm    Post subject: Reply with quote

X -configure doesn't work with modern KMS drivers any more.

If startx doesn't work (which window manager/desktop environment have you configured to start?), show us your Xorg.0.log
Back to top
View user's profile Send private message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Fri Oct 21, 2011 11:29 pm    Post subject: Reply with quote

I could really use some help on this if anyone has any ideas. I HATE to give up on something I've started.. but I've hit a wall and I don't know what to do. I might just wipe everything and start anew if I can't find any fixes.
Back to top
View user's profile Send private message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Fri Oct 21, 2011 11:40 pm    Post subject: Reply with quote

chithanh wrote:
X -configure doesn't work with modern KMS drivers any more.

If startx doesn't work (which window manager/desktop environment have you configured to start?), show us your Xorg.0.log


Oy. Since I'm using a virtual machine... how do I copy text from the log file and out into Windows?

Also, I followed the Xorg guide on this website to a T, and I don't recall them mentioning a windows manager or DE. I thought I just had to get X running before I configured a DE. Anyway, once I figure out how to get all this text over here I'll post it.
Back to top
View user's profile Send private message
golagoda
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2011
Posts: 105
Location: Australia

PostPosted: Fri Oct 21, 2011 11:47 pm    Post subject: Reply with quote

griffsterb wrote:
chithanh wrote:
X -configure doesn't work with modern KMS drivers any more.

If startx doesn't work (which window manager/desktop environment have you configured to start?), show us your Xorg.0.log


Oy. Since I'm using a virtual machine... how do I copy text from the log file and out into Windows?

Also, I followed the Xorg guide on this website to a T, and I don't recall them mentioning a windows manager or DE. I thought I just had to get X running before I configured a DE. Anyway, once I figure out how to get all this text over here I'll post it.

Do 'emerge wgetpaste'

then 'cat /var/log/xorg.0.log | wgetpaste' and it will give you a link where it is uploaded.
Back to top
View user's profile Send private message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Fri Oct 21, 2011 11:57 pm    Post subject: Reply with quote

Alright, here it is. Woo! Thanks for the help.

Code:
[  1254.524]
X.Org X Server 1.10.4
Release Date: 2011-08-19
[  1254.529] X Protocol Version 11, Revision 0
[  1254.530] Build Operating System: Linux 3.0.6-gentoo x86_64 Gentoo
[  1254.531] Current Operating System: Linux Spacelord 3.0.6-gentoo #1 SMP Wed Oct 19 00:37:39 MST 2011 x86_64
[  1254.533] Kernel command line: root=/dev/ram0 real_root=/dev/sda3
[  1254.535] Build Date: 20 October 2011  08:35:13PM
[  1254.537] 
[  1254.538] Current version of pixman: 0.22.2
[  1254.539]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[  1254.541] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1254.546] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct 21 17:52:17 2011
[  1254.547] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1254.548] (==) No Layout section.  Using the first Screen section.
[  1254.548] (==) No screen section available. Using defaults.
[  1254.548] (**) |-->Screen "Default Screen Section" (0)
[  1254.548] (**) |   |-->Monitor "<default monitor>"
[  1254.548] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[  1254.548] (==) Automatically adding devices
[  1254.548] (==) Automatically enabling devices
[  1254.548] (==) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/TTF/,
   /usr/share/fonts/OTF/,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/100dpi/,
   /usr/share/fonts/75dpi/
[  1254.548] (==) ModulePath set to "/usr/lib64/xorg/modules"
[  1254.548] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1254.548] (II) Loader magic: 0x7d9160
[  1254.548] (II) Module ABI versions:
[  1254.548]    X.Org ANSI C Emulation: 0.4
[  1254.548]    X.Org Video Driver: 10.0
[  1254.548]    X.Org XInput driver : 12.2
[  1254.548]    X.Org Server Extension : 5.0
[  1254.551] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/16777216
[  1254.551] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1254.551] (II) LoadModule: "extmod"
[  1254.551] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
[  1254.551] (II) Module extmod: vendor="X.Org Foundation"
[  1254.551]    compiled for 1.10.4, module version = 1.0.0
[  1254.551]    Module class: X.Org Server Extension
[  1254.551]    ABI class: X.Org Server Extension, version 5.0
[  1254.551] (II) Loading extension MIT-SCREEN-SAVER
[  1254.551] (II) Loading extension XFree86-VidModeExtension
[  1254.551] (II) Loading extension XFree86-DGA
[  1254.551] (II) Loading extension DPMS
[  1254.551] (II) Loading extension XVideo
[  1254.551] (II) Loading extension XVideo-MotionCompensation
[  1254.551] (II) Loading extension X-Resource
[  1254.551] (II) LoadModule: "dbe"
[  1254.551] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
[  1254.551] (II) Module dbe: vendor="X.Org Foundation"
[  1254.551]    compiled for 1.10.4, module version = 1.0.0
[  1254.551]    Module class: X.Org Server Extension
[  1254.551]    ABI class: X.Org Server Extension, version 5.0
[  1254.552] (II) Loading extension DOUBLE-BUFFER
[  1254.552] (II) LoadModule: "glx"
[  1254.552] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  1254.552] (II) Module glx: vendor="X.Org Foundation"
[  1254.552]    compiled for 1.10.4, module version = 1.0.0
[  1254.552]    ABI class: X.Org Server Extension, version 5.0
[  1254.552] (==) AIGLX enabled
[  1254.552] (II) Loading extension GLX
[  1254.552] (II) LoadModule: "record"
[  1254.552] (II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
[  1254.552] (II) Module record: vendor="X.Org Foundation"
[  1254.552]    compiled for 1.10.4, module version = 1.13.0
[  1254.552]    Module class: X.Org Server Extension
[  1254.552]    ABI class: X.Org Server Extension, version 5.0
[  1254.552] (II) Loading extension RECORD
[  1254.552] (II) LoadModule: "dri"
[  1254.552] (II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
[  1254.552] (II) Module dri: vendor="X.Org Foundation"
[  1254.552]    compiled for 1.10.4, module version = 1.0.0
[  1254.552]    ABI class: X.Org Server Extension, version 5.0
[  1254.552] (II) Loading extension XFree86-DRI
[  1254.552] (II) LoadModule: "dri2"
[  1254.552] (II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
[  1254.553] (II) Module dri2: vendor="X.Org Foundation"
[  1254.553]    compiled for 1.10.4, module version = 1.2.0
[  1254.553]    ABI class: X.Org Server Extension, version 5.0
[  1254.553] (II) Loading extension DRI2
[  1254.553] (==) Matched vboxvideo as autoconfigured driver 0
[  1254.553] (==) Matched vesa as autoconfigured driver 1
[  1254.553] (==) Matched fbdev as autoconfigured driver 2
[  1254.553] (==) Assigned the driver to the xf86ConfigLayout
[  1254.553] (II) LoadModule: "vboxvideo"
[  1254.553] (WW) Warning, couldn't open module vboxvideo
[  1254.553] (II) UnloadModule: "vboxvideo"
[  1254.553] (II) Unloading vboxvideo
[  1254.553] (EE) Failed to load module "vboxvideo" (module does not exist, 0)
[  1254.554] (II) LoadModule: "vesa"
[  1254.554] (WW) Warning, couldn't open module vesa
[  1254.554] (II) UnloadModule: "vesa"
[  1254.554] (II) Unloading vesa
[  1254.554] (EE) Failed to load module "vesa" (module does not exist, 0)
[  1254.554] (II) LoadModule: "fbdev"
[  1254.555] (WW) Warning, couldn't open module fbdev
[  1254.555] (II) UnloadModule: "fbdev"
[  1254.555] (II) Unloading fbdev
[  1254.555] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  1254.556] (EE) No drivers available.
[  1254.556]
Fatal server error:
[  1254.557] no screens found
[  1254.558]
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[  1254.561] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1254.562]
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Sat Oct 22, 2011 12:05 am    Post subject: Reply with quote

It looks like you don't have xf86-video-virtualbox installed in the guest.
Back to top
View user's profile Send private message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Sat Oct 22, 2011 4:51 am    Post subject: Reply with quote

Alright, made some progress! When I tried to 'startx' it looked like X was starting up and then I got a new error message:

"xinit connection to x server lost"

So I did some browsing, and I guess X is starting but it doesn't have anything to run off of? So I did X -configure and then ran the new .conf file. My screen size changed but it just stayed black.

Edit: new log file.

Edit: It appears the problem is resolved. Thanks for the help gentlemen. After I added the VirtualBox Guest stuff it was working, I just didn't have a DE for it to run. Thanks again.
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