View previous topic :: View next topic |
Author |
Message |
tahotube n00b

Joined: 04 Feb 2010 Posts: 7
|
Posted: Wed Feb 10, 2010 2:10 am Post subject: no fbcon, intel 82865g, asus p5pe-vm, 2.6.31-gentoo-r6 |
|
|
I emerged xorg-server-1.6.5-r.
Xorg -configure
X -config /root/xorg.conf.new. => Blank screen. do Ctrl-Alt F1, then ^C to kill
cp xorg.conf.new /etc/X11/xorg.conf
startx=> Fatal Module "i915" not found
fixed that with "i915 mode setting" in a new kernel
redo:
Xorg -configure
X -config /root/xorg.conf.new. => Blank screen. do Ctrl-Alt F1, then ^C to kill
cp xorg.conf.new /etc/X11/xorg.conf
startx=> Fatal Module "fbcon" not found
Thanks in advance for all your help,
Bill |
|
Back to top |
|
 |
Rexilion Veteran


Joined: 17 Mar 2009 Posts: 1044
|
Posted: Wed Feb 10, 2010 9:05 am Post subject: Re: no fbcon, intel 82865g, asus p5pe-vm, 2.6.31-gentoo-r6 |
|
|
tahotube wrote: | I emerged xorg-server-1.6.5-r.
Xorg -configure
X -config /root/xorg.conf.new. => Blank screen. do Ctrl-Alt F1, then ^C to kill
cp xorg.conf.new /etc/X11/xorg.conf
startx=> Fatal Module "i915" not found
fixed that with "i915 mode setting" in a new kernel
redo:
Xorg -configure
X -config /root/xorg.conf.new. => Blank screen. do Ctrl-Alt F1, then ^C to kill
cp xorg.conf.new /etc/X11/xorg.conf
startx=> Fatal Module "fbcon" not found
Thanks in advance for all your help,
Bill |
fbcon is the Framebuffer Console, which means that you get hardware acceleration for your kernel. The i915 module requires this, so you need to enable it in your kernel. It's somewhere located at:
Drivers > Video drivers > Framebuffer (it's called CONFIG_FBCON) |
|
Back to top |
|
 |
tahotube n00b

Joined: 04 Feb 2010 Posts: 7
|
Posted: Wed Feb 10, 2010 7:44 pm Post subject: |
|
|
X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-gentoo-r6 i686
Current Operating System: Linux dsp8 2.6.31-gentoo-r6 #3 SMP Tue Feb 9 16:36:59 PST 2010 i686
Build Date: 09 February 2010 10:40:04AM
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: Tue Feb 9 17:45:14 2010
(==) Using config file: "/etc/X11/xorg.conf"
FATAL: Module fbcon not found.
Setting master
expected keysym, got XF86TouchpadToggle: line 122 of inet
expected keysym, got XF86TouchpadToggle: line 122 of inet
expected keysym, got XF86TouchpadToggle: line 122 of inet
expected keysym, got XF86TouchpadToggle: line 122 of inet
which: no keychain in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.4)
/etc/X11/xinit/xinitrc: line 58: twm: command not found
/etc/X11/xinit/xinitrc: line 59: xclock: command not found
/etc/X11/xinit/xinitrc: line 60: xterm: command not found
/etc/X11/xinit/xinitrc: line 61: xterm: command not found
/etc/X11/xinit/xinitrc: line 62: exec: xterm: not found
waiting for X server to shut down Dropping master
Gentoo Desktop helper,
Thanks for the help. I managed to enable CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY
to get drivers/video/console/fbcon.c compiled (static only no module allowed).
Same error: startx=>FATAL module fbcon could not be loaded.
I then grepped for fbcon in /usr/portage/distfiles/xf86-video-intel-2.9.1 and found it
once in i830_driver.c (see "Be nice to the user" below).
xf86LoadKernelModule still can't find it and it's there (I grepped "fbcon" in /proc/kallsyms)
Wierd thing is xf86LoadKernelModule seems to be just running /sbin/modprobe.
I may be wrong.
xf86LoadKernelModule is finding the i915 but not the fbcon. I have nothing compiled as modules.
The plot thickens!
Thanks,
Bill
static Bool i830_kernel_mode_enabled(ScrnInfoPtr pScrn) |
{ |
struct pci_device *PciInfo; |
EntityInfoPtr pEnt; |
char *busIdString; |
int ret; |
|
pEnt = xf86GetEntityInfo(pScrn->entityList[0]); |
PciInfo = xf86GetPciInfoForEntity(pEnt->index); |
|
if (!xf86LoaderCheckSymbol("DRICreatePCIBusID")) |
return FALSE; |
|
busIdString = DRICreatePCIBusID(PciInfo); |
|
ret = drmCheckModesettingSupported(busIdString); |
if (ret) { |
if (xf86LoadKernelModule("i915")) |
ret = drmCheckModesettingSupported(busIdString); |
} |
/* Be nice to the user and load fbcon too */ |
if (!ret) |
(void) xf86LoadKernelModule("fbcon"); |
xfree(busIdString); |
if (ret) |
return FALSE; |
|
return TRUE; |
} | |
|
Back to top |
|
 |
Rexilion Veteran


Joined: 17 Mar 2009 Posts: 1044
|
|
Back to top |
|
 |
patrikas Tux's lil' helper

Joined: 28 Nov 2009 Posts: 106
|
Posted: Wed Feb 10, 2010 9:11 pm Post subject: |
|
|
Assuming you don't have a window manager:
Code: | X -retro -config /root/xorg.conf.new |
Try to avoid X configuration file, Xorg now is good on its own. |
|
Back to top |
|
 |
tahotube n00b

Joined: 04 Feb 2010 Posts: 7
|
Posted: Wed Feb 10, 2010 10:09 pm Post subject: |
|
|
patrikas,
Thanks. "X -retro -config /root/xorg.conf.new" works.
So I assume via :
"Try to avoid X configuration file, Xorg now is good on its own.",
the problem is not X but what the X configuration file does.
I troubleshoot that.
Wat to be,
Bill |
|
Back to top |
|
 |
tahotube n00b

Joined: 04 Feb 2010 Posts: 7
|
Posted: Wed Feb 10, 2010 10:16 pm Post subject: Solved |
|
|
Patrikas,
I finished configuring gnome:
echo "exec gnome-session" > ~/.xinitrc
and it works too.
That was a fun 6 hours. Live and learn.
Thanks,
Bill |
|
Back to top |
|
 |
patrikas Tux's lil' helper

Joined: 28 Nov 2009 Posts: 106
|
Posted: Thu Feb 11, 2010 8:58 am Post subject: |
|
|
Yeah, I ran into the same issue and I have the same drivers, without configured window manager it just shows black screen and it can appear as a video driver problem, appending -retro gives the expected behavior. |
|
Back to top |
|
 |
|
|
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
|
|