Re: [9fans] nvidia 7600GS works now

2014-04-15 Thread cinap_lenrek
applied, thanks.

--
cinap



[9fans] amd64 disassembly for modrm byte register with rex prefix fix

2014-04-15 Thread cinap_lenrek
--- a/sys/src/libmach/8db.c Fri Jan 17 21:09:17 2014 +0100
+++ b/sys/src/libmach/8db.c Tue Apr 15 09:48:44 2014 +0200
@@ -1878,7 +1878,7 @@
 {
if (ip-mod == 3) {
if (ip-osize == 'B')
-   bprint(ip, (ip-rex  REXB? breg64: breg)[ip-base]);
+   bprint(ip, (ip-rex? breg64: breg)[ip-rexREXB? 
ip-base+8: ip-base]);
else if(ip-rex  REXB)
bprint(ip, %s%s, ANAME(ip), reg[ip-base+8]);
else

--
cinap



Re: [9fans] nvidia 7600GS works now

2014-04-15 Thread kokamoto
 applied, thanks.

You are well come!

Kenji




[9fans] (no subject)

2014-04-15 Thread Steve Simon
Hi,

I have got hold of a new 1920x1200 monitor but no card I can find seems
to support it on plan9 - Even cards that claim this resolution and higher
don't have the vesa mode entry.

Anyone any thoughts, or suggestions of cards that do
have the apropriate high resolution VESA modes?

Thanks,

-Steve



[9fans] Plan 9 on Thinkpad T60

2014-04-15 Thread Jan
Has anyone managed to get Plan 9 running on an IBM Thinkpad T60? I can't get 
past installing the mbr when I've tried.


Re: [9fans] (no subject)

2014-04-15 Thread Anthony Sorace
I'd love to hear about positive results here. Cards with VESA entries for 
non-4:3 modes are rare; I'm not sure I've ever seen one. The Pi, by contrast, 
drives my 16:10 high-res monitor without issues, which is the main reason it's 
my main Plan 9 terminal these days.

Anthony



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [9fans] (no subject)

2014-04-15 Thread erik quanstrom
 I have got hold of a new 1920x1200 monitor but no card I can find seems
 to support it on plan9 - Even cards that claim this resolution and higher
 don't have the vesa mode entry.
 
 Anyone any thoughts, or suggestions of cards that do
 have the apropriate high resolution VESA modes?

as anthony hints, vesa doesn't define non 4:3 modes
in the standard.  and vesa bioses don't typicall provide
em.

- erik



Re: [9fans] Plan 9 on Thinkpad T60

2014-04-15 Thread erik quanstrom
 Has anyone managed to get Plan 9 running on an IBM Thinkpad T60? I can't get 
 past installing the mbr when I've tried.

if you open up a new window, what's in /dev/sdctl?

- erik



Re: [9fans] (no subject)

2014-04-15 Thread Aram Hăvărneanu
On Tue, Apr 15, 2014 at 5:36 PM, Anthony Sorace a...@9srv.net wrote:
 Cards with VESA entries for non-4:3 modes are rare; I'm not sure I've ever 
 seen one.


On Tue, Apr 15, 2014 at 5:50 PM, erik quanstrom quans...@quanstro.net wrote:
 and vesa bioses don't typicall provide em.

Funny, I have 10+ machines that all use vesa, all widescreen. I have
never seen a vesa BIOS that didn't provide widescreen modes. I'm sure
they exist, but they certainly are not rare. I drive 1920x1200x32 with
vesa and Cinap's realemu just fine.

-- 
Aram Hăvărneanu



Re: [9fans] (no subject)

2014-04-15 Thread erik quanstrom
 Funny, I have 10+ machines that all use vesa, all widescreen. I have
 never seen a vesa BIOS that didn't provide widescreen modes. I'm sure
 they exist, but they certainly are not rare. I drive 1920x1200x32 with
 vesa and Cinap's realemu just fine.

my experience has been similar to anthony's.  i have  10 machines, and
none of them offer a non 4:3 mode from onboard graphics, at least when
attached to a 4:3 monitor.  i suspect that the modes offered may be different
when different montors are attached, but i haven't proved that.

what kind of video cards/onboard video are you using?

- erik



Re: [9fans] Plan 9 on Thinkpad T60

2014-04-15 Thread Jan
There is a complete lack of usability, unable to open new windows and such so I 
have put plan9front on it.

From: 9fans-boun...@9fans.net [9fans-boun...@9fans.net] on behalf of erik 
quanstrom [quans...@quanstro.net]
Sent: 15 April 2014 16:51
To: 9fans@9fans.net
Subject: Re: [9fans] Plan 9 on Thinkpad T60

 Has anyone managed to get Plan 9 running on an IBM Thinkpad T60? I can't get 
 past installing the mbr when I've tried.

if you open up a new window, what's in /dev/sdctl?

- erik




Re: [9fans] Plan 9 on Thinkpad T60

2014-04-15 Thread erik quanstrom
On Tue Apr 15 15:01:48 EDT 2014, j...@margolius.co.uk wrote:
 There is a complete lack of usability, unable to open new windows and such so 
 I have put plan9front on it.

and of course given a non specific report like this, nothing will get fixed.

- erik



Re: [9fans] (no subject)

2014-04-15 Thread sl
In my experience a VESA BIOS will sometimes report
different available modes depending on the detected
EDID.

The following cards reported the following modes when
the following EDIDs were detected:

---

1.0.0:  vid  03.00.00 1106/3344  11 0:f008 67108864 1:f400 16777216
VIA Technologies, Inc. VT3314 VIA/S3G UniChrome Pro IGP

@{rfork n; aux/realemu; aux/vga -p}
vesa flagUlinear|Hlinear|Fsnarf
vesa sigVESA 3.0
vesa oemVIA P4N800 PRO
 1.0
vesa vendor 
vesa product
vesa rev
vesa cap 8-bit-dac
vesa mem16777216
vesa mode   0x101 640x480x8 m8 packed
vesa mode   0x111 640x480x16 r5g6b5 direct
vesa mode   0x112 640x480x32 x8r8g8b8 direct
vesa mode   0x171 720x480x8 m8 packed
vesa mode   0x173 720x480x16 r5g6b5 direct
vesa mode   0x175 720x480x32 x8r8g8b8 direct
vesa mode   0x1b9 720x540x8 m8 packed
vesa mode   0x1ba 720x540x16 r5g6b5 direct
vesa mode   0x1bb 720x540x32 x8r8g8b8 direct
vesa mode   0x17c 720x576x8 m8 packed
vesa mode   0x17e 720x576x16 r5g6b5 direct
vesa mode   0x17f 720x576x32 x8r8g8b8 direct
vesa mode   0x22e 800x480x8 m8 packed
vesa mode   0x22f 800x480x16 r5g6b5 direct
vesa mode   0x230 800x480x32 x8r8g8b8 direct
vesa mode   0x103 800x600x8 m8 packed
vesa mode   0x114 800x600x16 r5g6b5 direct
vesa mode   0x115 800x600x32 x8r8g8b8 direct
vesa mode   0x15c 848x480x8 m8 packed
vesa mode   0x15d 848x480x16 r5g6b5 direct
vesa mode   0x15f 848x480x32 x8r8g8b8 direct
vesa mode   0x196 852x480x8 m8 packed
vesa mode   0x197 852x480x16 r5g6b5 direct
vesa mode   0x198 852x480x32 x8r8g8b8 direct
vesa mode   0x222 853x480x8 m8 packed
vesa mode   0x223 853x480x16 r5g6b5 direct
vesa mode   0x224 853x480x32 x8r8g8b8 direct
vesa mode   0x128 960x600x8 m8 packed
vesa mode   0x129 960x600x16 r5g6b5 direct
vesa mode   0x12a 960x600x32 x8r8g8b8 direct
vesa mode   0x193 1024x512x8 m8 packed
vesa mode   0x194 1024x512x16 r5g6b5 direct
vesa mode   0x195 1024x512x32 x8r8g8b8 direct
vesa mode   0x20b 1024x576x8 m8 packed
vesa mode   0x20c 1024x576x16 r5g6b5 direct
vesa mode   0x20d 1024x576x32 x8r8g8b8 direct
vesa mode   0x200 1024x600x8 m8 packed
vesa mode   0x201 1024x600x16 r5g6b5 direct
vesa mode   0x203 1024x600x32 x8r8g8b8 direct
vesa mode   0x204 1024x640x8 m8 packed
vesa mode   0x205 1024x640x16 r5g6b5 direct
vesa mode   0x206 1024x640x32 x8r8g8b8 direct
vesa mode   0x105 1024x768x8 m8 packed
vesa mode   0x117 1024x768x16 r5g6b5 direct
vesa mode   0x118 1024x768x32 x8r8g8b8 direct
vesa mode   0x161 1152x864x8 m8 packed
vesa mode   0x163 1152x864x16 r5g6b5 direct
vesa mode   0x164 1152x864x32 x8r8g8b8 direct
vesa mode   0x125 1280x720x8 m8 packed
vesa mode   0x126 1280x720x16 r5g6b5 direct
vesa mode   0x127 1280x720x32 x8r8g8b8 direct
vesa mode   0x179 1280x768x8 m8 packed
vesa mode   0x17a 1280x768x16 r5g6b5 direct
vesa mode   0x17b 1280x768x32 x8r8g8b8 direct
vesa mode   0x1b6 1280x800x8 m8 packed
vesa mode   0x1b7 1280x800x16 r5g6b5 direct
vesa mode   0x1b8 1280x800x32 x8r8g8b8 direct
vesa mode   0x13f 1280x960x8 m8 packed
vesa mode   0x14f 1280x960x16 r5g6b5 direct
vesa mode   0x16a 1280x960x32 x8r8g8b8 direct
vesa mode   0x107 1280x1024x8 m8 packed
vesa mode   0x11a 1280x1024x16 r5g6b5 direct
vesa mode   0x11b 1280x1024x32 x8r8g8b8 direct
vesa mode   0x16c 1360x768x8 m8 packed
vesa mode   0x16d 1360x768x16 r5g6b5 direct
vesa mode   0x16e 1360x768x32 x8r8g8b8 direct
vesa mode   0x183 1366x768x8 m8 packed
vesa mode   0x184 1366x768x16 r5g6b5 direct
vesa mode   0x185 1366x768x32 x8r8g8b8 direct
vesa mode   0x13b 1400x1050x8 m8 packed
vesa mode   0x13c 1400x1050x16 r5g6b5 direct
vesa mode   0x13e 1400x1050x32 x8r8g8b8 direct
vesa mode   0x211 1440x900x8 m8 packed
vesa mode   0x212 1440x900x16 r5g6b5 direct
vesa mode   0x213 1440x900x32 x8r8g8b8 direct
vesa mode   0x20e 1600x1024x8 m8 packed
vesa mode   0x20f 1600x1024x16 r5g6b5 direct
vesa mode   0x210 1600x1024x32 x8r8g8b8 direct
vesa mode   0x120 1600x1200x8 m8 packed
vesa mode   0x122 1600x1200x16 r5g6b5 direct
vesa mode   0x124 1600x1200x32 x8r8g8b8 direct
vesa mode   0x12b 1680x1050x8 m8 packed
vesa mode   0x12c 1680x1050x16 r5g6b5 direct
vesa mode   0x12d 1680x1050x32 x8r8g8b8 direct
vesa mode   0x166 1920x1080x8 m8 packed
vesa mode   0x167 1920x1080x16 r5g6b5 direct
vesa mode  

Re: [9fans] (no subject)

2014-04-15 Thread erik quanstrom
thanks for the confirmation!

- erik



Re: [9fans] (no subject)

2014-04-15 Thread arisawa
Hello,

the result below is on one of my machine with  GA-H61M-USB3H.
the MB is nice with 9front.
maia% @{rfork n; aux/realemu; aux/vga -p}|grep  '^vesa mode' 
vesa mode   0x107 1280x1024x8 m8 packed
vesa mode   0x11a 1280x1024x16 r5g6b5 direct
vesa mode   0x11b 1280x1024x32 x8r8g8b8 direct
vesa mode   0x105 1024x768x8 m8 packed
vesa mode   0x117 1024x768x16 r5g6b5 direct
vesa mode   0x118 1024x768x32 x8r8g8b8 direct
vesa mode   0x112 640x480x32 x8r8g8b8 direct
vesa mode   0x114 800x600x16 r5g6b5 direct
vesa mode   0x115 800x600x32 x8r8g8b8 direct
vesa mode   0x101 640x480x8 m8 packed
vesa mode   0x103 800x600x8 m8 packed
vesa mode   0x111 640x480x16 r5g6b5 direct
vesa mode   0x17d 1920x1080x8 m8 packed
vesa mode   0x17e 1920x1080x16 r5g6b5 direct
vesa mode   0x17f 1920x1080x32 x8r8g8b8 direct
maia% 
and
maia% echo $vgasize
1920x1080x16
maia% 

I have wide screen display with DVI and is quite comfortable.
NOTE that VGA connector cannot live with VESA mode on the MB!
probably MB dependent.

Kenji Arisawa

2014/04/16 7:42、erik quanstrom quans...@quanstro.net のメール:

 thanks for the confirmation!
 
 - erik
 




Re: [9fans] (no subject)

2014-04-15 Thread Anthony Sorace
 In my experience a VESA BIOS will sometimes report
 different available modes depending on the detected
 EDID.

I have no problem believing this is true, but I'm also sure there's more to it 
than that. The device I'm most frustrated with is a Thinkpad, reporting on the 
built-in display, for example. I've seen the same on at least one other laptop 
with a widescreen display (some HP thing), and at least a pair of desktop 
graphics cards with a 16:10 monitor attached. Very frustrating. I'd be 
interested in a survey with broader results than just dueling anecdotes; I'd be 
happy to know I'd just gotten unlucky.
Anthony



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [9fans] (no subject)

2014-04-15 Thread sl
 In my experience a VESA BIOS will sometimes report
 different available modes depending on the detected
 EDID.

 I have no problem believing this is true, but I'm also sure  there's more to 
 it than that.

I agree. One problem is that these things are all different,
almost completely undocumented, and implement non-standard
modes seemingly at random. Some people involved with various
OSX86[0] efforts have developed methods for probing (and in
some cases, modifiying) the VESA BIOS on some cards. All
kinds of strange behaviors have been observed.


 I'd be interested in a survey with broader results
 than just dueling anecdotes

I haven't made any attempt to catalogue VESA vs EDID
discrepancies, but I do keep a small archive of hardware
info here:

http://plan9.stanleylieber.com/hardware

We try to collect the sysinfo[1] output for as many
systems as possible, for later reference.

sl

[0] http://www.osx86project.org
[1] http://man.aiju.de/1/sysinfo