9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] vesa success list
@ 2005-11-11 21:24 Russ Cox
  2005-11-12 19:48 ` Uriel
  2005-11-14 12:14 ` [9fans] " jalih
  0 siblings, 2 replies; 13+ messages in thread
From: Russ Cox @ 2005-11-11 21:24 UTC (permalink / raw)
  To: 9fans

If you have a vga card that works with vesa,
especially if it doesn't work without vesa, please
add it to the wiki page [supported PC hardware]:
http://plan9.bell-labs.com/wiki/plan9/supported_pc_hardware/

Thanks to Dave Eckhardt for the suggestion.
Russ


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

* Re: [9fans] vesa success list
  2005-11-11 21:24 [9fans] vesa success list Russ Cox
@ 2005-11-12 19:48 ` Uriel
  2005-11-12 20:15   ` Russ Cox
                     ` (2 more replies)
  2005-11-14 12:14 ` [9fans] " jalih
  1 sibling, 3 replies; 13+ messages in thread
From: Uriel @ 2005-11-12 19:48 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On my Thinkpad 600X(Neomagic NM2360, MagicMedia 256ZX) I get a blank
screen, tried the 800x600x8 and 1024x768x16 resolutions with the same
result.

The neomagic driver doesn't work properly with this card: the image is
displaced right and to the bottom and what is off the screen shows at
the top but with strange artifacts and noise.

uriel

On Fri, Nov 11, 2005 at 04:24:44PM -0500, Russ Cox wrote:
> If you have a vga card that works with vesa,
> especially if it doesn't work without vesa, please
> add it to the wiki page [supported PC hardware]:
> http://plan9.bell-labs.com/wiki/plan9/supported_pc_hardware/
> 
> Thanks to Dave Eckhardt for the suggestion.
> Russ


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

* Re: [9fans] vesa success list
  2005-11-12 19:48 ` Uriel
@ 2005-11-12 20:15   ` Russ Cox
  2005-11-12 20:19     ` Uriel
  2005-11-12 22:58   ` LiteStar numnums
  2005-11-13 22:23   ` Dave Eckhardt
  2 siblings, 1 reply; 13+ messages in thread
From: Russ Cox @ 2005-11-12 20:15 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> On my Thinkpad 600X(Neomagic NM2360, MagicMedia 256ZX) I get a blank
> screen, tried the 800x600x8 and 1024x768x16 resolutions with the same
> result.

With vesa?

> The neomagic driver doesn't work properly with this card: the image is
> displaced right and to the bottom and what is off the screen shows at
> the top but with strange artifacts and noise.

On a cold boot?  Did the neomagic driver work in the old
kernels?

Russ


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

* Re: [9fans] vesa success list
  2005-11-12 20:15   ` Russ Cox
@ 2005-11-12 20:19     ` Uriel
  2005-11-12 20:40       ` Russ Cox
  0 siblings, 1 reply; 13+ messages in thread
From: Uriel @ 2005-11-12 20:19 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Sorry for not being clear enough.

On Sat, Nov 12, 2005 at 03:15:25PM -0500, Russ Cox wrote:
> > On my Thinkpad 600X(Neomagic NM2360, MagicMedia 256ZX) I get a blank
> > screen, tried the 800x600x8 and 1024x768x16 resolutions with the same
> > result.
> 
> With vesa?
Yes.
 
> > The neomagic driver doesn't work properly with this card: the image is
> > displaced right and to the bottom and what is off the screen shows at
> > the top but with strange artifacts and noise.
> 
> On a cold boot?  
Yes.

> Did the neomagic driver work in the old kernels?
No, it had the same problem.

Note also that I'm using the 'bootable' option of the CD, which I hope
has the same kernel as the installer.(Now tested the installer with
identical results).

uriel


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

* Re: [9fans] vesa success list
  2005-11-12 20:19     ` Uriel
@ 2005-11-12 20:40       ` Russ Cox
  0 siblings, 0 replies; 13+ messages in thread
From: Russ Cox @ 2005-11-12 20:40 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> Note also that I'm using the 'bootable' option of the CD, which I hope
> has the same kernel as the installer.(Now tested the installer with
> identical results).

It's a different kernel but the same drivers.  What differs is
how the kernels goes about attaching to the root file system.

The vesa blank screen is mostly undebuggable.
Some cards just aren't going to work with our
vesa implementation.

You should be able to get the neomagic driver working though.
The source is in /sys/src/9/pc/vganeomagic.c and
/sys/src/cmd/aux/vga/neomagic.c.  It's probably just a register
or two being set wrong.  There are some with Offset or
Center in their names.  I'd try those first.  I'd also try
the native LCD resolution at 8bpp and then move on
to higher depths and higher resolutions (in that order).

Russ


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

* Re: [9fans] vesa success list
  2005-11-12 19:48 ` Uriel
  2005-11-12 20:15   ` Russ Cox
@ 2005-11-12 22:58   ` LiteStar numnums
  2005-11-13  0:05     ` erik quanstrom
  2005-11-13 22:23   ` Dave Eckhardt
  2 siblings, 1 reply; 13+ messages in thread
From: LiteStar numnums @ 2005-11-12 22:58 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 1757 bytes --]

This doesn't seem to be necessarily Plan9 problem, because I have a Neomagic
in a TP 570 (will find the exact NeoMagic Nr. momentarily), and it blanks
with certain modes of X (from OpenBSD) and all modes when returning to text
mode from X. Did you have a problem with this card on another OS too?

On 11/12/05, Uriel <uriell@binarydream.org> wrote:
>
> On my Thinkpad 600X(Neomagic NM2360, MagicMedia 256ZX) I get a blank
> screen, tried the 800x600x8 and 1024x768x16 resolutions with the same
> result.
>
> The neomagic driver doesn't work properly with this card: the image is
> displaced right and to the bottom and what is off the screen shows at
> the top but with strange artifacts and noise.
>
> uriel
>
> On Fri, Nov 11, 2005 at 04:24:44PM -0500, Russ Cox wrote:
> > If you have a vga card that works with vesa,
> > especially if it doesn't work without vesa, please
> > add it to the wiki page [supported PC hardware]:
> > http://plan9.bell-labs.com/wiki/plan9/supported_pc_hardware/
> >
> > Thanks to Dave Eckhardt for the suggestion.
> > Russ
>



--
Nietzsche's first step is to accept what he knows. Atheism for him goes
without saying and is "contructive and
radical". Nietzsche's supreme vocation, so he says, is to provoke a kind of
crisis and a final decision about the
problem of atheism. The world continues on its course at random and there is
nothing final about it. Thus God
is useless, since He wants nothing in particular. If he wanted something --
and here we recognize the traditional
forumlation of the problem of evil -- He would have to assume responsiblity
for "a sum total of pain and inconsistency
which would debase the entire value of being born."
-- Albert Camus, L'Homme révolté

[-- Attachment #2: Type: text/html, Size: 2185 bytes --]

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

* Re: [9fans] vesa success list
  2005-11-12 22:58   ` LiteStar numnums
@ 2005-11-13  0:05     ` erik quanstrom
  2005-11-13  0:34       ` Vester Thacker
  0 siblings, 1 reply; 13+ messages in thread
From: erik quanstrom @ 2005-11-13  0:05 UTC (permalink / raw)
  To: 9fans, LiteStar numnums

i've got a thinkpad 570 with a neomagic chipset that works perfectly with gentoo 
linux and X11. (after recompileing everything. the live cd assumes a pIII.)
although i haven't tried anything other than 1024x768x24.

man, that is one painful compile!

erik

LiteStar numnums <litestar@gmail.com> writes

| 
| This doesn't seem to be necessarily Plan9 problem, because I have a Neomagic
| in a TP 570 (will find the exact NeoMagic Nr. momentarily), and it blanks
| with certain modes of X (from OpenBSD) and all modes when returning to text
| mode from X. Did you have a problem with this card on another OS too?
| 
| On 11/12/05, Uriel <uriell@binarydream.org> wrote:
| >
| > On my Thinkpad 600X(Neomagic NM2360, MagicMedia 256ZX) I get a blank
| > screen, tried the 800x600x8 and 1024x768x16 resolutions with the same
| > result.
| >
| > The neomagic driver doesn't work properly with this card: the image is
| > displaced right and to the bottom and what is off the screen shows at
| > the top but with strange artifacts and noise.
| >
| > uriel


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

* Re: [9fans] vesa success list
  2005-11-13  0:05     ` erik quanstrom
@ 2005-11-13  0:34       ` Vester Thacker
  0 siblings, 0 replies; 13+ messages in thread
From: Vester Thacker @ 2005-11-13  0:34 UTC (permalink / raw)
  To: erik quanstrom, Fans of the OS Plan 9 from Bell Labs

On 11/13/05, erik quanstrom <quanstro@quanstro.net> wrote:
> i've got a thinkpad 570 with a neomagic chipset that works perfectly with gentoo
> linux and X11. (after recompileing everything. the live cd assumes a pIII.)
> although i haven't tried anything other than 1024x768x24.

Try 1024x768x32 instead. When using aux/vga -m vesa -p I did not
notice any settings ending with x24.

--vester


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

* Re: [9fans] vesa success list
  2005-11-12 19:48 ` Uriel
  2005-11-12 20:15   ` Russ Cox
  2005-11-12 22:58   ` LiteStar numnums
@ 2005-11-13 22:23   ` Dave Eckhardt
  2005-11-14  3:01     ` erik quanstrom
  2 siblings, 1 reply; 13+ messages in thread
From: Dave Eckhardt @ 2005-11-13 22:23 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> On my Thinkpad 600X(Neomagic NM2360, MagicMedia 256ZX) I get a blank
> screen, tried the 800x600x8 and 1024x768x16 resolutions with the same
> result.

That's funny...just before the recent chunk of changes a student
and I were poking at a Dell laptop with, I believe, the same
NeoMagic card (it has an integrated sound device, right?).

> The neomagic driver doesn't work properly with this card: the image is
> displaced right and to the bottom and what is off the screen shows at
> the top but with strange artifacts and noise.

That's exactly what we observed.  I tried an April VESA kernel and
while we did get a blank screen that wasn't the whole story--in
addition, the kernel was no longer running.  It also locked up if
I tried to use aux/vga to "switch to" text mode.

Is anybody happily using this chip with Plan 9 in any machine?

Dave Eckhardt


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

* Re: [9fans] vesa success list
  2005-11-13 22:23   ` Dave Eckhardt
@ 2005-11-14  3:01     ` erik quanstrom
  2005-11-14  4:25       ` jmk
  0 siblings, 1 reply; 13+ messages in thread
From: erik quanstrom @ 2005-11-14  3:01 UTC (permalink / raw)
  To: 9fans, Dave Eckhardt

on second thought ... i remember having similar problems with my 570 & X11.
the solution for me was declaring the right amount of video memory. iirc declaring
to little memory resulted in a shifted image. declaring too much required removing
the battery. 

- erik

linux lspci output:

0000:01:00.0 VGA compatible controller: Neomagic Corporation NM2200 [MagicGraph 256AV] (rev 20) (prog-if 00 [VGA])
	Subsystem: IBM ThinkPad 570
	Flags: bus master, fast Back2Back, medium devsel, latency 128, IRQ 11
	Memory at f5000000 (32-bit, prefetchable)
	Memory at f4400000 (32-bit, non-prefetchable) [size=4M]
	Memory at f4200000 (32-bit, non-prefetchable) [size=1M]
	Capabilities: [dc] Power Management version 1

from /var/log/Xorg.log

[...]
(II) NEOMAGIC(0): Chipset is a MagicMedia 256AV (NM2200)
(II) NEOMAGIC(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(--) NEOMAGIC(0): Panel is a 1024x768 color TFT display
[...]
II) NEOMAGIC(0): initializing int10
(II) NEOMAGIC(0): Primary V_BIOS segment is: 0xc000
(II) NEOMAGIC(0): VESA BIOS detected
(II) NEOMAGIC(0): VESA VBE Version 2.0
(II) NEOMAGIC(0): VESA VBE Total Mem: 2496 kB
(II) NEOMAGIC(0): VESA VBE OEM: MagicMedia 256AV  48K
(II) NEOMAGIC(0): VESA VBE OEM Software Rev: 1.15
(II) NEOMAGIC(0): VESA VBE OEM Vendor: NeoMagic
(II) NEOMAGIC(0): VESA VBE OEM Product: MagicMedia 256AV 
(II) NEOMAGIC(0): VESA VBE OEM Product Rev: 01.0
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Reloading /usr/lib/modules/libddc.a
(II) NEOMAGIC(0): VESA VBE DDC supported
(II) NEOMAGIC(0): VESA VBE DDC Level none
(II) NEOMAGIC(0): VESA VBE DDC transfer in appr. 0 sec.
(II) NEOMAGIC(0): VESA VBE DDC read failed
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Loading /usr/lib/modules/libi2c.a
(II) Module i2c: vendor="X.Org Foundation"
	compiled for 6.8.0, module version = 1.2.0
	ABI class: X.Org Video Driver, version 0.7
(II) NEOMAGIC(0): I2C bus "I2C bus" initialized.
(II) NEOMAGIC(0): I2C device "I2C bus:ddc2" registered at address 0xA0.
(II) NEOMAGIC(0): I2C device "I2C bus:ddc2" removed.
(--) NEOMAGIC(0): No DDC signal
(**) NEOMAGIC(0): Depth 24, (--) framebuffer bpp 24
(==) NEOMAGIC(0): RGB weight 888
(==) NEOMAGIC(0): Default visual is TrueColor
(==) NEOMAGIC(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NEOMAGIC(0): Internal LCD only display mode
(==) NEOMAGIC(0): using linear mode
(**) NEOMAGIC(0): using PCI Burst mode
(**) NEOMAGIC(0): Option StrangeLockups set: disabling some acceleration
(--) NEOMAGIC(0): FB base address is set at 0xF5000000.
(--) NEOMAGIC(0): MMIO base address is set at 0xF4400000.
(--) NEOMAGIC(0): MMIO base address2 is set at 0xF4200000.
(--) NEOMAGIC(0): VideoRAM: 2560 kByte
(--) NEOMAGIC(0): Max Clock: 110000 kHz
[...]
(**) NEOMAGIC(0): *Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz

Dave Eckhardt <davide+p9@cs.cmu.edu> writes

| 
| > On my Thinkpad 600X(Neomagic NM2360, MagicMedia 256ZX) I get a blank
| > screen, tried the 800x600x8 and 1024x768x16 resolutions with the same
| > result.
| 
| That's funny...just before the recent chunk of changes a student
| and I were poking at a Dell laptop with, I believe, the same
| NeoMagic card (it has an integrated sound device, right?).
| 
| > The neomagic driver doesn't work properly with this card: the image is
| > displaced right and to the bottom and what is off the screen shows at
| > the top but with strange artifacts and noise.
| 
| That's exactly what we observed.  I tried an April VESA kernel and
| while we did get a blank screen that wasn't the whole story--in
| addition, the kernel was no longer running.  It also locked up if
| I tried to use aux/vga to "switch to" text mode.
| 
| Is anybody happily using this chip with Plan 9 in any machine?
| 
| Dave Eckhardt


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

* Re: [9fans] vesa success list
  2005-11-14  3:01     ` erik quanstrom
@ 2005-11-14  4:25       ` jmk
  0 siblings, 0 replies; 13+ messages in thread
From: jmk @ 2005-11-14  4:25 UTC (permalink / raw)
  To: quanstro, 9fans

My 570 works perfectly with Plan 9 using the native driver.
It doesn't work with the vesa driver, however, the system goes
out to lunch.

--jim

% cat '#v/vgactl'
type neomagic
size 1024x768x16 r5g6b5
blank time 30 idle 0 state on
hwaccel on
hwblank off
panning off
addr p 0xf5000000 v 0xe0800000 size 0x1000000
% aux/vga -m vesa -p
warning: reading edid: VBE error 0x014f
vesa flag            Ulinear|Hlinear
vesa sig            VESA 2.0
vesa oem            MagicMedia 256AV  48K 1.15
vesa vendor         NeoMagic
vesa product        MagicMedia 256AV 
vesa rev            01.0
vesa cap            
vesa mem            2555904
vesa mode           0x100 640x400x8 m8 packed
vesa mode           0x101 640x480x8 m8 packed
vesa mode           0x102 800x600x4 m4 planar
vesa mode           0x103 800x600x8 m8 packed
vesa mode           0x104 1024x768x4 m4 planar
vesa mode           0x105 1024x768x8 m8 packed
vesa mode           0x107 1280x1024x8 m8 packed
vesa mode           0x108 640x400x16 r5g6b5 direct
vesa mode           0x10d 320x200x15 r5g5b5 direct
vesa mode           0x10e 320x200x16 r5g6b5 direct
vesa mode           0x110 640x480x15 r5g5b5 direct
vesa mode           0x111 640x480x16 r5g6b5 direct
vesa mode           0x112 640x480x24 r8g8b8 direct
vesa mode           0x113 800x600x15 r5g5b5 direct
vesa mode           0x114 800x600x16 r5g6b5 direct
vesa mode           0x115 800x600x24 r8g8b8 direct
vesa mode           0x116 1024x768x15 r5g5b5 direct
vesa mode           0x117 1024x768x16 r5g6b5 direct
vesa mode           0x118 1024x768x24 r8g8b8 direct
vesa mode           0x120 320x240x8 m8 packed
vesa mode           0x121 320x240x16 r5g6b5 direct
vesa mode           0x122 400x300x8 m8 packed
vesa mode           0x123 400x300x16 r5g6b5 direct
vesa mode           0x124 512x384x8 m8 packed
vesa mode           0x125 512x384x16 r5g6b5 direct
vesa mode           0x119 1280x1024x15 r5g5b5 direct (unoffered)
vesa mode           0x11a 1280x1024x16 r5g6b5 direct (unoffered)
vesa mode           0x129 1024x480x8 m8 packed (unoffered)
vesa mode           0x12a 1024x480x16 r5g6b5 direct (unoffered)
vesa mode           0x12b 1024x480x24 r8g8b8 direct (unoffered)

% 


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

* [9fans] Re: vesa success list
  2005-11-11 21:24 [9fans] vesa success list Russ Cox
  2005-11-12 19:48 ` Uriel
@ 2005-11-14 12:14 ` jalih
  2005-11-23 20:22   ` andrey mirtchovski
  1 sibling, 1 reply; 13+ messages in thread
From: jalih @ 2005-11-14 12:14 UTC (permalink / raw)
  To: 9fans

Don't know about the VESA, but the neomagic driver worked in the old
kernels with my Thinkpad 600X. Just  required the screen been set to
1024x768x16 and a press of fn + F8 keys at the rio startup.


jalih


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

* Re: [9fans] Re: vesa success list
  2005-11-14 12:14 ` [9fans] " jalih
@ 2005-11-23 20:22   ` andrey mirtchovski
  0 siblings, 0 replies; 13+ messages in thread
From: andrey mirtchovski @ 2005-11-23 20:22 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

added a couple cards to the vesa support list -- nvidia quadro 4 works
in both vesa and native mode and a couple of the Radeon Fire GL cards.


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

end of thread, other threads:[~2005-11-23 20:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-11 21:24 [9fans] vesa success list Russ Cox
2005-11-12 19:48 ` Uriel
2005-11-12 20:15   ` Russ Cox
2005-11-12 20:19     ` Uriel
2005-11-12 20:40       ` Russ Cox
2005-11-12 22:58   ` LiteStar numnums
2005-11-13  0:05     ` erik quanstrom
2005-11-13  0:34       ` Vester Thacker
2005-11-13 22:23   ` Dave Eckhardt
2005-11-14  3:01     ` erik quanstrom
2005-11-14  4:25       ` jmk
2005-11-14 12:14 ` [9fans] " jalih
2005-11-23 20:22   ` andrey mirtchovski

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).