RE: how to activate X with famebuffer

2 messages, 2 authors, 2004-09-27 · open the first message on its own page

RE: how to activate X with famebuffer

From: Mukund JB. <hidden>
Date: 2004-09-27 09:26:28

Hello,
Thanks for responding.

quoted
How to activate X with framebuffer.
I am not much of an expert, but I see noone is answering...
First of all, you must be sure that the framebuffer level is
working. What does  /proc/fb contain? There should be one or more
line. For example, mine has

0 ATI Radeon Yd
Yes, u r right.
cat /proc/fb says
0 RIVA_VTNT2
which means that I have one framebuffer unit available.

Then, have a look at man fbdev. Specifically, the Driver line in your
device section should be

Driver "fbdev"
This statement will load the default framebuffer driver which comes with
XFree86 package. Xorg also provides a GENERIC framebuffer driver i.e.
fbdev.
This works on my system. I have no probelsm with this.
But my requirement is to activate X on rivafb (Nvidia CARD SPECIFIC
DRIVER) module.
There should be another way. Set

Driver "nv"
I think, saying so in XF86Config file will not activate X based on the
framebuffer driver. This works on my system even when I have not loaded
the rivafb (Nvidia card specific driver) module.
Even if the rivafb module is loaded, it is not invoked at startx (debug
message are not appearing ). I think, this edition of XF86Config file
will activate a normal video driver but not framebuffer driver.
(for nvidia cards, including riva ones) and set

Option "UseFBDev" "on"
I don't why to use this? If u know please provide with the info
I have no clear idea about what the difference is. Anyway, Have a look
at man nv and man fbdevhw.

ALL THIS IS PURELY THEORETICAL from my point of view!! You need to
experiment a bit.

Carlo



Please suggest me how to activate X so that it uses rivafb (card
specific fb driver )module.

Thanks a lot for being the first one to help.

Regards,
Mukund jampala



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php

RE: how to activate X with famebuffer

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2004-09-27 11:20:42

On Mon, 27 Sep 2004, Mukund JB. wrote:
quoted
which means that I have one framebuffer unit available.

Then, have a look at man fbdev. Specifically, the Driver line in your
device section should be

Driver "fbdev"
This statement will load the default framebuffer driver which comes with
XFree86 package. Xorg also provides a GENERIC framebuffer driver i.e.
fbdev.
This works on my system. I have no probelsm with this.
But my requirement is to activate X on rivafb (Nvidia CARD SPECIFIC
DRIVER) module.
Indeed, `Driver "fbdev"' gives you the generic (unaccelerated) fbdev driver in
X.
quoted
There should be another way. Set

Driver "nv"
I think, saying so in XF86Config file will not activate X based on the
framebuffer driver. This works on my system even when I have not loaded
the rivafb (Nvidia card specific driver) module.
Even if the rivafb module is loaded, it is not invoked at startx (debug
message are not appearing ). I think, this edition of XF86Config file
will activate a normal video driver but not framebuffer driver.
quoted
(for nvidia cards, including riva ones) and set

Option "UseFBDev" "on"
I don't why to use this? If u know please provide with the info
`Driver "nv"'  will give you the accelerated Nvidia driver. But by default `nv'
doesn't use the fbdev API. So in addition you have to set
`Option "UseFBDev" "on"', so `nv' knows it has to use the fbdev API for mode
switching.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help