startx error: Couldn't bind memory for BO front buffer
GentooThis forum is for the discussion of Gentoo Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
startx error: Couldn't bind memory for BO front buffer
I am trying to install Gentoo with gnome.
I've been following the install docs from gentoo for x86, but after emerging gnome, I get the following error after startx
Code:
bryanjp@gentoo ~ $ startx
xauth: creating new authority file /home/bryanjp/.serverauth.3745
X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.29-gentoo-r5 i686
Current Operating System: Linux gentoo 2.6.29-gentoo-r5 #3 SMP Wed Jun 17 04:55:34 EDT 2009 i686
Build Date: 16 June 2009 02:45:32PM
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: Wed Jun 17 06:16:39 2009
(EE) Unable to locate/open config file
New driver is "intel"
(==) Using default built-in configuration (30 lines)
(EE) open /dev/fb0: No such file or directory
(EE) intel(0): Failed to pin front buffer: Cannot allocate memory
Fatal server error:
Couldn't bind memory for BO front buffer
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.
Did you try to start your Xorg-Server without any /etc/X11/xorg.conf ?
You are right, I didn't have an xorg.conf so I copied xorg.conf.example and re-ran startx with this output
Code:
bryanjp@gentoo ~ $ startx
xauth: creating new authority file /home/bryanjp/.serverauth.3966
X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.29-gentoo-r5 i686
Current Operating System: Linux gentoo 2.6.29-gentoo-r5 #3 SMP Wed Jun 17 04:55:34 EDT 2009 i686
Build Date: 16 June 2009 02:45:32PM
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: Wed Jun 17 07:06:39 2009
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "type1" (module does not exist, 0)
(EE) Failed to load module "freetype" (module does not exist, 0)
(EE) No devices detected.
Fatal server error:
no screens found
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.
with no xorg.conf, my monitor goes black for 2 seconds then returns to the console and displays the following
Code:
gentoo X11 # startx
xauth: creating new authority file /root/.serverauth.27536
X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.29-gentoo-r5 i686
Current Operating System: Linux gentoo 2.6.29-gentoo-r5 #3 SMP Wed Jun 17 04:55:34 EDT 2009 i686
Build Date: 16 June 2009 02:45:32PM
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: Thu Jun 18 04:04:36 2009
(EE) Unable to locate/open config file
New driver is "intel"
(==) Using default built-in configuration (30 lines)
(EE) open /dev/fb0: No such file or directory
(EE) intel(0): Failed to pin front buffer: Cannot allocate memory
Fatal server error:
Couldn't bind memory for BO front buffer
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.
gentoo X11 #
When I change the xorg.conf file to your recommendation, I get the following output of startx.
Code:
gentoo X11 # startx
xauth: creating new authority file /root/.serverauth.27586
X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.29-gentoo-r5 i686
Current Operating System: Linux gentoo 2.6.29-gentoo-r5 #3 SMP Wed Jun 17 04:55:34 EDT 2009 i686
Build Date: 16 June 2009 02:45:32PM
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: Thu Jun 18 04:07:04 2009
(==) Using config file: "/etc/X11/xorg.conf"
(EE) intel(0): Failed to pin front buffer: Cannot allocate memory
Fatal server error:
Couldn't bind memory for BO front buffer
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.
gentoo X11 #
I guess this is where using ubuntu and opensuse for the past 3 years has gotten me. I am so use to things just working, I've only had to manually edit xorg once before. I really appreciate your advise d2_racing. Do you have any other ideas? Could I have compiled my kernel with menuconfig without the proper support? Any Ideas?
Ok, before starting your Xorg-Server, can you post this :
Code:
# lsmod
Code:
gentoo ~ # lsmod
Module Size Used by
gentoo ~ #
Quote:
Originally Posted by d2_racing
Are you sure that your kernel is properly set ?
I am not sure that my kernel is properly set. I used make menuconfig from the gentoo docs and pretty much left it the way it was except that I turned on support for ext2 filesystem.
I really appreciate your help, any thing I need to change?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.