9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Inferno slow on Plan 9?
@ 2009-03-26 18:18 Venkatesh Srinivas
  2009-03-26 18:25 ` erik quanstrom
  2009-03-26 18:50 ` Charles Forsyth
  0 siblings, 2 replies; 6+ messages in thread
From: Venkatesh Srinivas @ 2009-03-26 18:18 UTC (permalink / raw)
  To: 9fans

Hi,

I'm running Plan 9 on a machine with a GeForce2 MX200. I've tried to
run Inferno in p9, but anything graphical draws painfully slowly
(several seconds to paint the white rectangle while Charon is
starting).

Is there any reason this might be happening? If its related to
Inferno's /dev/draw, is there any way I can import /dev/draw from P9
and use it in Inferno? Would that be faster?

Thanks,
-- vs



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Inferno slow on Plan 9?
  2009-03-26 18:18 [9fans] Inferno slow on Plan 9? Venkatesh Srinivas
@ 2009-03-26 18:25 ` erik quanstrom
  2009-03-26 19:13   ` Venkatesh Srinivas
  2009-03-26 18:50 ` Charles Forsyth
  1 sibling, 1 reply; 6+ messages in thread
From: erik quanstrom @ 2009-03-26 18:25 UTC (permalink / raw)
  To: 9fans

> Is there any reason this might be happening? If its related to
> Inferno's /dev/draw, is there any way I can import /dev/draw from P9
> and use it in Inferno? Would that be faster?

does the PAT register patch (/n/sources/patch/pat) make any difference?

- erik



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Inferno slow on Plan 9?
  2009-03-26 18:18 [9fans] Inferno slow on Plan 9? Venkatesh Srinivas
  2009-03-26 18:25 ` erik quanstrom
@ 2009-03-26 18:50 ` Charles Forsyth
  1 sibling, 0 replies; 6+ messages in thread
From: Charles Forsyth @ 2009-03-26 18:50 UTC (permalink / raw)
  To: 9fans

>anything graphical draws painfully slowly
>(several seconds to paint the white rectangle while Charon is starting).

that isn't normal, except when using it through drawterm.
it's even fine for me in 9vx on Linux.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Inferno slow on Plan 9?
  2009-03-26 18:25 ` erik quanstrom
@ 2009-03-26 19:13   ` Venkatesh Srinivas
  2009-03-26 19:25     ` erik quanstrom
  0 siblings, 1 reply; 6+ messages in thread
From: Venkatesh Srinivas @ 2009-03-26 19:13 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

The CPU doesn't support PATs, sorry.

It does have MTRR support though, wasn't there a patch to support
Write-combining for the framebuffer region using them instead?

FWIW, native graphics applications (including Hyperglenda) are very fast...

-- vs



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Inferno slow on Plan 9?
  2009-03-26 19:13   ` Venkatesh Srinivas
@ 2009-03-26 19:25     ` erik quanstrom
  2009-03-26 19:59       ` Charles Forsyth
  0 siblings, 1 reply; 6+ messages in thread
From: erik quanstrom @ 2009-03-26 19:25 UTC (permalink / raw)
  To: 9fans

> The CPU doesn't support PATs, sorry.
>
> It does have MTRR support though, wasn't there a patch to support
> Write-combining for the framebuffer region using them instead?
>
> FWIW, native graphics applications (including Hyperglenda) are very fast...

if the slowdown is caused by reading the framebuffer, than the patch wouldn't
help anyway.  reading the frame buffer on certain nvidia cards (for example,
mine) can be astoundingly slow.

- erik



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Inferno slow on Plan 9?
  2009-03-26 19:25     ` erik quanstrom
@ 2009-03-26 19:59       ` Charles Forsyth
  0 siblings, 0 replies; 6+ messages in thread
From: Charles Forsyth @ 2009-03-26 19:59 UTC (permalink / raw)
  To: 9fans

> FWIW, native graphics applications (including Hyperglenda) are very fast...

hmm. Inferno is a native graphics application.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-26 19:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-26 18:18 [9fans] Inferno slow on Plan 9? Venkatesh Srinivas
2009-03-26 18:25 ` erik quanstrom
2009-03-26 19:13   ` Venkatesh Srinivas
2009-03-26 19:25     ` erik quanstrom
2009-03-26 19:59       ` Charles Forsyth
2009-03-26 18:50 ` Charles Forsyth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).