View previous topic :: View next topic |
Author |
Message |
korz Tux's lil' helper
Joined: 29 Aug 2003 Posts: 141 Location: Cologne, Germany
|
Posted: Fri Mar 17, 2006 11:17 am Post subject: X cannot load module ffb |
|
|
Hi,
i just installed Gentoo on my U60. Everything works fine, except poor vodeo performance (mplayer does not play in full screen when using the x11 driver, mplayer does nothing when using the xv driver, the gl and gl2 driver allows full screen, but only very slow playback; glxgears: approx. 92 fps). I went through the log file and i found out, that the ffb module cannot be loaded. The graphic card is a Creator 3D.
Quote: | (II) /dev/fb0: Detected FFB2+/vertical, Z-buffer, Double-buffered.
(II) /dev/fb0: BT498 (PAC2) ramdac detected
(II) /dev/fb0: Detected Creator/Creator3D
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
[drm] failed to load kernel module "ffb"
(II) SUNFFB(0): [drm] drmOpen failed
(EE) SUNFFB(0): [dri] DRIScreenInit failed. Disabling DRI.
(II) /dev/fb0: DRM setup failed
(==) SUNFFB(0): Backing store disabled
|
Does the missing ffb module have to o something with with the poor graphic performance or is it due to the Creator 3D?
BTW:
X Window System Version 6.8.2, Kernel 2.6.15.4, framebuffer for the creator 3d and elite 3d is enabled in the kernel.
Thank you for your time.
Frank |
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Fri Mar 17, 2006 1:21 pm Post subject: |
|
|
Recent kernels do not support dri for the Creator cards (blame davem), and also dri is disabled in sunffb driver because it conflicts with correct font rendering (or at least, so says davem). You don't say what CPUs are in your U60, but on a U60(2x450), I see about 150 fps from glxgears. That's pretty bad, but it's better than 92. For An idea of good things to load in support of sunffb, look at the kernel-2.6 xorg.conf example at http://dev.gentoo.org/~fmccor/docs/xorg/xorg.conf/xorg.conf.html --- the examples are somewhat out of date, but the Load things are about right. Or, use these: This is from a running U60(2x450) with kernel 2.6.15-gentoo-r4-U60-2x450, x11-base/xorg-x11-7.0-r1:
Code: |
Section "Module"
Load "dbe"
Load "type1"
Load "bitmap"
Load "drm"
Load "dri"
Load "glx"
Load "freetype"
Load "record"
Load "extmod"
Load "cfb"
Load "cfb32"
EndSection
|
Also, you don't say what version of xorg-x11-6.8.2 you are using, but with kernel 2.6.15, you should use xorg-x11-6.8.2-r6 (yes, it's keyworded ~sparc; that's because of some minor problems with kernel-2.4.xx); just add a line
Code: |
x11-base/xorg-x11 ~sparc
|
to the file /etc/portage/package.keywords ane rebuild xorg-x11. (Assuming you have not unmasked xorg-x11 --- if you have, you will get X-modular, which you probably don't want to mess with right now.) If you don't have such a file, just create it.
Regards, |
|
Back to top |
|
|
korz Tux's lil' helper
Joined: 29 Aug 2003 Posts: 141 Location: Cologne, Germany
|
Posted: Sat Mar 18, 2006 12:14 am Post subject: |
|
|
Thank you for the hints.
I'm running xorg-x11 6.8.2-r4 at the moment, so i will give 6.8.2-r6 a try, as soon as compiling gnome is finished.
My sparc has only two 300 MHz cpu's, so 92 fps seems to be all right, compared to 150 fps on a dual 450 MHz. I'll let you know, when i finished emergeing xorg-x11.
Frank |
|
Back to top |
|
|
korz Tux's lil' helper
Joined: 29 Aug 2003 Posts: 141 Location: Cologne, Germany
|
Posted: Thu Mar 23, 2006 5:44 pm Post subject: |
|
|
OK, i have xorg-x11-6.8.2-r6 installed now. Glxgears is running @ 112 fps.
I found one of this Elite/3D graphiccards on ebay. Would this card improve the graphicperformance or is it wasted money?
Frank |
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Fri Mar 24, 2006 12:54 pm Post subject: |
|
|
(1) No, it would not improve performance. (2) I have both Creator and Elite graphics cards, and I have never seen any difference between them. In principle, the Elite card should be more capable, but I have never seen it. (Note that Elite and Creator both use the xorg xunffb driver.) |
|
Back to top |
|
|
korz Tux's lil' helper
Joined: 29 Aug 2003 Posts: 141 Location: Cologne, Germany
|
Posted: Mon May 08, 2006 9:30 am Post subject: |
|
|
Hi again,
sorry for my late answer. I have only one more question, then i will stop bothering you.
Would it be possible to use a PCI graphiccard, which can do opengl under XORG-X11?
I thought about one of these gforce MX400 card.
The only problem, i could think of, is that the nvidia driver won't run on sparc architecture.
Thank you
Frank |
|
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
|
|