Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
riva frame buffer, xdirectfb and KDE
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
LordHugeMongus
n00b
n00b


Joined: 24 Aug 2003
Posts: 14
Location: Michigan

PostPosted: Sun Aug 24, 2003 8:45 pm    Post subject: riva frame buffer, xdirectfb and KDE Reply with quote

in case anyone is trying to get this to work, here's some shots
with a few settings showing that work for me...
this is with:
gaming-sources
(2.4 kernel, gentoo-sources works fine but gives me problems with lm_sensors)
DirectFB-0.9.19-r1
xdirectfb-1.0_rc5
you definatly need "desktop-buffer-mode=backsystem" in directfbrc
maybe the 2.6 riva drivers will work better, but so far they seem buggy
i can use 85Hz, but the 76Hz works just fine for me...

http://home.comcast.net/~entrophy/xdfb1.jpg
http://home.comcast.net/~entrophy/xdfb2.jpg
Back to top
View user's profile Send private message
liuspider
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 237

PostPosted: Mon Aug 25, 2003 5:43 am    Post subject: Reply with quote

how do u acheive this then please
Back to top
View user's profile Send private message
puddpunk
l33t
l33t


Joined: 20 Jul 2002
Posts: 681
Location: New Zealand

PostPosted: Mon Aug 25, 2003 10:06 pm    Post subject: Re: riva frame buffer, xdirectfb and KDE Reply with quote

LordHugeMongus wrote:
in case anyone is trying to get this to work, here's some shots
with a few settings showing that work for me...
this is with:
gaming-sources
(2.4 kernel, gentoo-sources works fine but gives me problems with lm_sensors)
DirectFB-0.9.19-r1
xdirectfb-1.0_rc5
you definatly need "desktop-buffer-mode=backsystem" in directfbrc
maybe the 2.6 riva drivers will work better, but so far they seem buggy
i can use 85Hz, but the 76Hz works just fine for me...

http://home.comcast.net/~entrophy/xdfb1.jpg
http://home.comcast.net/~entrophy/xdfb2.jpg

In case someone is trying to get this working, here are some shots? They are lovely pictures man, but its not much of a tip/trick.

Is there a website that helped you? Did you figure it out yourself? Could you please post any information you have (besides screenshots) so that other people can get this up and running too.

Thanks,
Chris.
Back to top
View user's profile Send private message
LordHugeMongus
n00b
n00b


Joined: 24 Aug 2003
Posts: 14
Location: Michigan

PostPosted: Mon Aug 25, 2003 11:03 pm    Post subject: ok Reply with quote

ok...
emerge /usr/portage/dev-libs/DirectFB-0.9.19-r1.ebuild
emerge /usr/portage/x11-base/xdirectfb/xdirectfb-1.0_rc5.ebuild
(may or may not need xfree installed i don't know)
edit /etc/X11/xinit/dfbserverrc with nano or whatever you like
add -enableRoot -displayLayer 00 -defaultOpacity 220 -unfocusedOpacity 180 -enableUnfocused

now create a new file .directfbrc in your home directory or in /etc (no . if in /etc)
add these settings to the file

system=fbdev
depth=24
pixelformat=ARGB
desktop-buffer-mode=backsystem
vsync-none

man directfbrc for more listings on settings you can use, the pixelformat works for my geforce3, leaving that one out should default to something that works for pretty much anything, the important settings are the desktop-buffer-mode=backsystem to give you decent speed, and the vsync-none saved me from alot of lockups, there is also a setting:
sync
which flushes the disk cache, which can help if it does lock up on you...

and then after all that, run startxdfb to try it out
Back to top
View user's profile Send private message
liuspider
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 237

PostPosted: Tue Aug 26, 2003 2:28 pm    Post subject: Reply with quote

I think xfree is needed by xdirectfb
Back to top
View user's profile Send private message
puddpunk
l33t
l33t


Joined: 20 Jul 2002
Posts: 681
Location: New Zealand

PostPosted: Tue Aug 26, 2003 8:27 pm    Post subject: Reply with quote

The libs are, I.E. the 4 datafiles that Xfree uses are also used by xdirectfb.
Back to top
View user's profile Send private message
krazo
Tux's lil' helper
Tux's lil' helper


Joined: 19 Oct 2002
Posts: 90

PostPosted: Tue Aug 26, 2003 8:54 pm    Post subject: Reply with quote

What kinda of speed do you get with the directfb setup? Is it worth using it on a production desktop system or is it simply eye candy?
_________________
Hey--hey how are ya?
Back to top
View user's profile Send private message
LordHugeMongus
n00b
n00b


Joined: 24 Aug 2003
Posts: 14
Location: Michigan

PostPosted: Wed Aug 27, 2003 8:50 pm    Post subject: speed Reply with quote

There's no openGL support, but as a desktop its speedy, however still being under development, its not entirely stable, so i'd keep it more as a toy right now.. the last time i tried the 2.6 kernel driver had alot of acceleration enhancements, but it also has alot of bugs to work out..
it starts up quick, but X starts up pretty quickly for me if i use the nvidia drivers..
Back to top
View user's profile Send private message
luugin
n00b
n00b


Joined: 10 May 2003
Posts: 69

PostPosted: Thu Aug 28, 2003 2:07 am    Post subject: Reply with quote

DooM ownz :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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