* XFree86-FBDev and /dev/fb0
@ 2000-01-04 21:40 Jiri Kastner jr.
2000-01-04 21:56 ` Eric Kimminau
0 siblings, 1 reply; 10+ messages in thread
From: Jiri Kastner jr. @ 2000-01-04 21:40 UTC (permalink / raw)
To: linux
I have installed XFree86-FBDev, but everytime, when I want to start X, I get
message, that is missing /dev/fb0, and I dont know, how to make it (MAKEDEV
dont know anything about fb* devices).
Jiri Kastner.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: XFree86-FBDev and /dev/fb0
2000-01-04 21:40 XFree86-FBDev and /dev/fb0 Jiri Kastner jr.
@ 2000-01-04 21:56 ` Eric Kimminau
2000-01-05 15:06 ` Jiri Kastner jr.
0 siblings, 1 reply; 10+ messages in thread
From: Eric Kimminau @ 2000-01-04 21:56 UTC (permalink / raw)
To: Jiri Kastner jr.; +Cc: linux
"Jiri Kastner jr." wrote:
>
> I have installed XFree86-FBDev, but everytime, when I want to start X, I get
> message, that is missing /dev/fb0, and I dont know, how to make it (MAKEDEV
> dont know anything about fb* devices).
>
> Jiri Kastner.
You have to enable it in your kernel.
--
.--------1---------2---------3---------4---------5---------6---------7.
Eric Kimminau eak@sgi.com SGI Extranet Services
Vox:650-933-6441 Fax:248-618-9178 VNET:6-933-6441
"I speak my mind and no one else's."
"I am a bomb technician. If you see me running, try to keep up..."
http://support.sgi.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: XFree86-FBDev and /dev/fb0
2000-01-04 21:56 ` Eric Kimminau
@ 2000-01-05 15:06 ` Jiri Kastner jr.
2000-01-05 16:49 ` Andy Isaacson
0 siblings, 1 reply; 10+ messages in thread
From: Jiri Kastner jr. @ 2000-01-05 15:06 UTC (permalink / raw)
To: eak; +Cc: linux
Dne Ut, 04 jan 2000 jste napsal(a):
> You have to enable it in your kernel.
I have kernel with framebuffer (when I boot, I see linux-sgi.logo - 2.2.1)
I have no /dev/fb0.
Jiri Kastner
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: XFree86-FBDev and /dev/fb0
2000-01-05 15:06 ` Jiri Kastner jr.
@ 2000-01-05 16:49 ` Andy Isaacson
2000-01-06 0:37 ` Ralf Baechle
0 siblings, 1 reply; 10+ messages in thread
From: Andy Isaacson @ 2000-01-05 16:49 UTC (permalink / raw)
To: linux
On Wed, Jan 05, 2000 at 04:06:24PM +0100, Jiri Kastner jr. wrote:
> Dne Ut, 04 jan 2000 jste napsal(a):
>
> > You have to enable it in your kernel.
>
> I have kernel with framebuffer (when I boot, I see linux-sgi.logo - 2.2.1)
>
> I have no /dev/fb0.
You probably need to create the device node, then. Look at the man
page for mknod, and Documentation/devices.txt in your kernel source
tree, for further info.
-andy
--
Andy Isaacson http://web.mr-happy.com/~adisaacs/ Fight Spam, join CAUCE:
adi@acm.org adisaacs@mr-happy.com isaacson@cs.umn.edu www.cauce.org
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: XFree86-FBDev and /dev/fb0
2000-01-05 16:49 ` Andy Isaacson
@ 2000-01-06 0:37 ` Ralf Baechle
2000-01-06 0:55 ` William J. Earl
0 siblings, 1 reply; 10+ messages in thread
From: Ralf Baechle @ 2000-01-06 0:37 UTC (permalink / raw)
To: Andy Isaacson; +Cc: linux
On Wed, Jan 05, 2000 at 11:49:22AM -0500, Andy Isaacson wrote:
> > I have kernel with framebuffer (when I boot, I see linux-sgi.logo - 2.2.1)
> >
> > I have no /dev/fb0.
>
> You probably need to create the device node, then. Look at the man
> page for mknod, and Documentation/devices.txt in your kernel source
> tree, for further info.
That alone won't help.
A system with the XL graphics will never have a real working framebuffer.
Ralf
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: XFree86-FBDev and /dev/fb0
2000-01-06 0:37 ` Ralf Baechle
@ 2000-01-06 0:55 ` William J. Earl
2000-01-06 1:17 ` Andy Isaacson
0 siblings, 1 reply; 10+ messages in thread
From: William J. Earl @ 2000-01-06 0:55 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Andy Isaacson, linux
Ralf Baechle writes:
> On Wed, Jan 05, 2000 at 11:49:22AM -0500, Andy Isaacson wrote:
>
> > > I have kernel with framebuffer (when I boot, I see linux-sgi.logo - 2.2.1)
> > >
> > > I have no /dev/fb0.
> >
> > You probably need to create the device node, then. Look at the man
> > page for mknod, and Documentation/devices.txt in your kernel source
> > tree, for further info.
>
> That alone won't help.
>
> A system with the XL graphics will never have a real working framebuffer.
Since the real graphics framebuffer is in memory which is not addressable
by the processor, the only way to fake a CPU-addressable framebuffer is
to reserve a chunk of main memory, and then DMA the contents into the
real framebuffer when the CPU-addressable framebuffer is changed (or
every vertical refresh interval, if there is no way to tell when the buffer
changes). You could probably play with the PTE valid and mod bits to detect
when pages are changed. It would in any case be relatively inefficient
compared to using the graphics pipeline as intended, since uncached writes
to the graphics pipeline are pretty cheap (better than cached or uncached
writes to large areas of main memory).
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: XFree86-FBDev and /dev/fb0
2000-01-06 0:55 ` William J. Earl
@ 2000-01-06 1:17 ` Andy Isaacson
2000-01-06 1:27 ` Ulf Carlsson
0 siblings, 1 reply; 10+ messages in thread
From: Andy Isaacson @ 2000-01-06 1:17 UTC (permalink / raw)
To: linux
On Wed, Jan 05, 2000 at 04:55:22PM -0800, William J. Earl wrote:
> Ralf Baechle writes:
> > A system with the XL graphics will never have a real working framebuffer.
>
> Since the real graphics framebuffer is in memory which is not addressable
> by the processor, the only way to fake a CPU-addressable framebuffer is
> to reserve a chunk of main memory, and then DMA the contents into the
> real framebuffer when the CPU-addressable framebuffer is changed (or
> every vertical refresh interval, if there is no way to tell when the buffer
> changes). You could probably play with the PTE valid and mod bits to detect
> when pages are changed. It would in any case be relatively inefficient
> compared to using the graphics pipeline as intended, since uncached writes
> to the graphics pipeline are pretty cheap (better than cached or uncached
> writes to large areas of main memory).
XFree86 has builtin support for this mode of operation in the latest
development snapshot (3.9.17). They call it ShadowFB. Of course that
would only work in X, not on console. Apparently it's fairly easy to
write a driver that supports ShadowFB; all you have to be able to do
is update a rectangular area of the screen on demand.
-andy
--
Andy Isaacson http://web.mr-happy.com/~adisaacs/ Fight Spam, join CAUCE:
adi@acm.org adisaacs@mr-happy.com isaacson@cs.umn.edu www.cauce.org
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: XFree86-FBDev and /dev/fb0
2000-01-06 1:17 ` Andy Isaacson
@ 2000-01-06 1:27 ` Ulf Carlsson
2000-01-06 2:24 ` Andy Isaacson
2000-01-27 4:22 ` M. Adam Kendall
0 siblings, 2 replies; 10+ messages in thread
From: Ulf Carlsson @ 2000-01-06 1:27 UTC (permalink / raw)
To: Andy Isaacson; +Cc: linux
> On Wed, Jan 05, 2000 at 04:55:22PM -0800, William J. Earl wrote:
> > Ralf Baechle writes:
> > > A system with the XL graphics will never have a real working framebuffer.
> >
> > Since the real graphics framebuffer is in memory which is not addressable
> > by the processor, the only way to fake a CPU-addressable framebuffer is
> > to reserve a chunk of main memory, and then DMA the contents into the
> > real framebuffer when the CPU-addressable framebuffer is changed (or
> > every vertical refresh interval, if there is no way to tell when the buffer
> > changes). You could probably play with the PTE valid and mod bits to detect
> > when pages are changed. It would in any case be relatively inefficient
> > compared to using the graphics pipeline as intended, since uncached writes
> > to the graphics pipeline are pretty cheap (better than cached or uncached
> > writes to large areas of main memory).
>
> XFree86 has builtin support for this mode of operation in the latest
> development snapshot (3.9.17). They call it ShadowFB. Of course that
> would only work in X, not on console. Apparently it's fairly easy to
> write a driver that supports ShadowFB; all you have to be able to do
> is update a rectangular area of the screen on demand.
Yeah, and that's what I tried to get working but I ran into other problems with
the dynamic loading of X modules and stuff so I never got the chance to
concentrate on the driver. I have the early stages of a driver around though.
Ulf
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: XFree86-FBDev and /dev/fb0
2000-01-06 1:27 ` Ulf Carlsson
@ 2000-01-06 2:24 ` Andy Isaacson
2000-01-27 4:22 ` M. Adam Kendall
1 sibling, 0 replies; 10+ messages in thread
From: Andy Isaacson @ 2000-01-06 2:24 UTC (permalink / raw)
To: linux
On Wed, Jan 05, 2000 at 05:27:33PM -0800, Ulf Carlsson wrote:
> > XFree86 has builtin support for this mode of operation in the latest
> > development snapshot (3.9.17). They call it ShadowFB. Of course that
> > would only work in X, not on console. Apparently it's fairly easy to
> > write a driver that supports ShadowFB; all you have to be able to do
> > is update a rectangular area of the screen on demand.
>
> Yeah, and that's what I tried to get working but I ran into other problems with
> the dynamic loading of X modules and stuff so I never got the chance to
> concentrate on the driver. I have the early stages of a driver around though.
You're probably the first person to try the XFree86 loader code on
MIPS so it's not suprising you had trouble. Try putting
"#define DoLoadableServer NO" in xc/config/cf/host.def; that way it'll
not try to use the loader at all.
-andy
--
Andy Isaacson http://web.mr-happy.com/~adisaacs/ Fight Spam, join CAUCE:
adi@acm.org adisaacs@mr-happy.com isaacson@cs.umn.edu www.cauce.org
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: XFree86-FBDev and /dev/fb0
2000-01-06 1:27 ` Ulf Carlsson
2000-01-06 2:24 ` Andy Isaacson
@ 2000-01-27 4:22 ` M. Adam Kendall
1 sibling, 0 replies; 10+ messages in thread
From: M. Adam Kendall @ 2000-01-27 4:22 UTC (permalink / raw)
To: linux
On 06-Jan-2000 Ulf Carlsson wrote:
> Yeah, and that's what I tried to get working but I ran into other problems
> with
> the dynamic loading of X modules and stuff so I never got the chance to
> concentrate on the driver. I have the early stages of a driver around
> though.
And is this code available anywhere? I noticed that the FTP and web
servers are terribly out of date. Is everyone keeping their own separate
copies of code for the MIPS/Indy platform, or am I just not looking in the
right places?
--
M. Adam Kendall |
mak@kha0s.org | "There's never enough time to do
http://kha0s.org | all the nothing you want."
| --Bill Watterson (Calvin and Hobbes)
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2000-01-27 4:43 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-04 21:40 XFree86-FBDev and /dev/fb0 Jiri Kastner jr.
2000-01-04 21:56 ` Eric Kimminau
2000-01-05 15:06 ` Jiri Kastner jr.
2000-01-05 16:49 ` Andy Isaacson
2000-01-06 0:37 ` Ralf Baechle
2000-01-06 0:55 ` William J. Earl
2000-01-06 1:17 ` Andy Isaacson
2000-01-06 1:27 ` Ulf Carlsson
2000-01-06 2:24 ` Andy Isaacson
2000-01-27 4:22 ` M. Adam Kendall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox