Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Mon Sep 22, 2014 6:18 pm

All times are UTC - 8 hours


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
Unread postPosted: Mon Jun 18, 2012 1:14 am 
Offline

Joined: Thu Jun 03, 2004 6:53 am
Posts: 96
Location: France
Hi,

I connected my octane/V12 and a pc to an acer P243w lcd screen, using a vga switch. The standard resolution of this monitor is 1920x1200 at 60Hz.

When I select 1920x1200_60 graphic mode, I have an horizontal offset, I fix it with auto button and then it is ok.

But when switch to the pc, I must recalibrate the display (offset). Sometimes It fails, I suppose offset is at a limit value.

I think the pc display (radeon hd5770) is clean. How can I unify the two vga signals?

I didn't find fine tuning tools for the V12, like switchresx for mac os x.

I joined the best parameters for the monitor (pdf doc) to this post.

Any idea ?


Attachments:
1920x1200@60.pdf [47.94 KiB]
Downloaded 37 times
Top
 Profile  
 
Unread postPosted: Tue Jun 19, 2012 11:53 pm 
Offline
User avatar

Joined: Mon Jul 21, 2003 5:19 am
Posts: 753
xsetmon tells you the exact specification of the signal the V12 is using. If your PC supports it, you could change the refresh rate enough so that both are recognized as different by your monitor. Otherwise, try finding out the exact parameters of the mode on your PC, and construct the same format with vfc on the SGI.


Top
 Profile  
 
Unread postPosted: Wed Jun 20, 2012 2:29 am 
Offline
User avatar

Joined: Tue Sep 21, 2004 11:05 am
Posts: 247
Location: Vevey, Switzerland
Hi

There are very detailed and useful information given by recondas on how to generate the vfs/vfo files that can be found in the following posts:
- http://forums.nekochan.net/viewtopic.php?f=3&t=16725716#p7343498
- http://forums.nekochan.net/viewtopic.php?f=3&t=16725755 (see also http://www.nekochan.net/wiki/VFO)
An the man page:
- http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=man&fname=/usr/share/catman/u_man/cat1/vfc.z

Without any guarantee (I'm not an expert at all) I've written a vfs file for your monitor given the information from your pdf file. You may want somebody to have a look at it before trying to compile it.
Pleas let us know if it works.
Code:
/*
  1920x1200@60Hz for V12 on Acer P243W LCD monitor
  Uses "Vertical Back Porch minus 2" trick to avoid "shorten your format" warning
  (see http://forums.nekochan.net/viewtopic.php?f=3&t=16725716#p7343498)
  ATTENTION, this is a test file that has NOT BEEN TESTED !!!
  2012.06.20 by BetXen
 
    To compile:
    ***********
  1) save this file as /usr/gfx/ucode/vfc/vfs/V12-AcerP243W_1920x1200_60.vfs
  2) "vfc -c chip=/usr/gfx/ucode/vfc/rules/VPro_Chip.def,board=/usr/gfx/ucode/vfc/rules/VPro_Board.def   -o V12-AcerP243W_1920x1200_60.vfo V12-AcerP243W_1920x1200_60.vfs"
  3) use setmon or xsetmon to test the newly created file
*/
General {
    FormatName = "V12-AcerP243W_1920x1200_60";

    FieldsPerFrame          = 1;
    FramesPerSecond         = 60;
    TotalLinesPerFrame      = 1242;
    TotalPixelsPerLine      = 2592;
    ActiveLinesPerFrame     = 1200;
    ActivePixelsPerLine     = 1920;

}
Active Line {
    HorizontalFrontPorch    = 128 pixels;
    HorizontalSync          = 208 pixels;
    HorizontalBackPorch     = 336 pixels;
}
Field
{
    Vertical Sync =
    {
        {
            Length = 1.0H;
            Low = 0.0 usec;
        }
        repeat 3
        {
            Length = 1.0H;
        }
    }
    Initial Low;
    Vertical Back Porch =
    {
        {
            Length = 1.0H;
            High = HorizontalSync;
        }
        repeat 36
        {
            Length = 1.0H;
            Low = 0.0 usec;
            High = HorizontalSync;
        }
    }
    Initial High;
    Active =
    {
        repeat 1200
        {
            Length = 1.0H;
            Low = 0.0 usec;
            High = HorizontalSync;
        }
    }
    Vertical Front Porch =
    {
        repeat 1
        {
            Length = 1.0H;
            Low = 0.0 usec;
            High = HorizontalSync;
        }
    }
}
#if 0
    postprocess
    {
        dump edge;
    }
#endif

BetXen

_________________
:Onyx2: 4xR12k 400, 8Gb, IR2E, 2x18+3x73GB HD (oxygen)
:A3504L: :A3504L: 16xItanium2 1.6, L2 9MB (neon)
:Fuel: R16k 800 V12, 2Gb, M-Audio, 36+147GB HD, 3Dconnexion SpaceMouse Classic (nitrogen)
:Octane2: Dual R14k 600 V6, 2Go, HD (173Go, 34Go) (carbon)
:Octane: R10k 400 MXE, 1280Mo (lithium) / 2xR10k 300 SSE,... (fluorine)
:O2: R10k 195, 512Mo (hydrogen) / R5k 180, 512Mo (sodium) / R5k 180->200 motherboard and PM only
:Indigo2IMP: R10k 195, HighImpact, 160Mo (helium) / R4400 125, Extreme, 160Mo (boron)
:O200: :O200: twin O200, 4xR12k 270, 2Go, HD (4x18Go) (beryllium)
:Indigo: R4k 100, 80Mo, LG1, 9GB HD, Python 25601 tape (magnesium])
:4D70G: 4D70GT... my very first one (now property of musée bolo and the foundation mémoires informatiques)
See the hinv/gfxinfo posts here.


Top
 Profile  
 
Unread postPosted: Sat Jun 23, 2012 10:29 am 
Offline

Joined: Thu Jun 03, 2004 6:53 am
Posts: 96
Location: France
Thanks for your reply.

I generated the vfo file as explained by Betxen. When I try to apply it using xsetmon, xsetmon tells me that it is not a xsetmon gamma data file.
Did I miss something ?

I got those messages from vfc:

DesiredFrequency is 193.155840
Setting frequency to 193.155844MHz
Feedback divider = 14873
Reference divider = 924
Post Scaler divider = 1
Error is 0.021515
Resetting FramesPerSecond from 60.000000 to 60.000001.
"/usr/gfx/ucode/vfc/rules/VPro_Board.def", line 652: The time you specified cros
ses the frame boundary and is wrapped to the end of the frame.

g_HorizontalSync_P 0
g_DesiredFrequency 193.155840
g_ActiveLinesPerFrame 1200
g_FramesPerSecond 60.000001
g_TotalLinesPerFrame 1242
g_TotalPixelsPerLine 2592

FR_delay 0

HSYNC_freq 74
N_post 1
VCOSPD 0
sqrt_A 2.221111
I_pump 26.243279
MLCP 3

genlock register values
ODY_GEN_hPFD 1
ODY_GEN_lPFD -16252916
ODY_GEN_hPFD_HI 0
ODY_GEN_hPFD_LO 0
ODY_GEN_lPFD_HI 0
ODY_GEN_lPFD_LO 0
ODY_GEN_hPSD 1840
ODY_GEN_lPSD 520833
ODY_GEN_hHMASK 12800
ODY_GEN_lHMASK 553648966
ODY_GEN_BP_CLAMP 67
ODY_GENLOCK 0
ODY_GEN_CONTROL 0


Top
 Profile  
 
Unread postPosted: Sat Jun 23, 2012 2:20 pm 
Offline
Moderator
Moderator
User avatar

Joined: Sun Jun 06, 2004 4:55 pm
Posts: 5205
Location: NC - USA
Nicely done BetXen! I compiled the format using your source file....
Code:
# make V12-AcerP243W_1920x1200_60.vfo
--- V12-AcerP243W_1920x1200_60.vfo ---
        /usr/sbin/vfc  -a ascii=V12-AcerP243W_1920x1200_60.info -c chip=/usr/gfx/ucode/vfc/rules/VPro_Chip.def,board=/usr/gfx/ucode/vfc/rules/VPro_Board.def  -o V12-AcerP243W_1920x1200_60.vfo V12-AcerP243W_1920x1200_60.vfs
DesiredFrequency is 193.155840
   Setting frequency to 193.155844MHz
       Feedback divider = 14873
       Reference divider = 924
       Post Scaler divider = 1
         Error is 0.021515
Resetting FramesPerSecond from 60.000000 to 60.000001.
"/usr/gfx/ucode/vfc/rules/VPro_Board.def", line 652: The time you specified crosses the frame boundary and is wrapped to the end of the frame.

g_HorizontalSync_P  0
g_DesiredFrequency  193.155840
g_ActiveLinesPerFrame  1200
g_FramesPerSecond  60.000001
g_TotalLinesPerFrame  1242
g_TotalPixelsPerLine  2592

FR_delay 0

HSYNC_freq 74
N_post 1
VCOSPD 0
sqrt_A 2.221111
I_pump 26.243279
MLCP 3

genlock register values
ODY_GEN_hPFD  1
ODY_GEN_lPFD  -16252916
ODY_GEN_hPFD_HI  0
ODY_GEN_hPFD_LO  0
ODY_GEN_lPFD_HI  0
ODY_GEN_lPFD_LO  0
ODY_GEN_hPSD  1840
ODY_GEN_lPSD  520833
ODY_GEN_hHMASK  12800
ODY_GEN_lHMASK  553648966
ODY_GEN_BP_CLAMP  67
ODY_GENLOCK  0
ODY_GEN_CONTROL  0
 
....and the VFC analysis generated by the VFC Makefile is nearly dead on the parameters listed in the pdf file yungjoon posted:
Code:
V12-AcerP243W_1920x1200_60.vfo:
 Total lines per frame:   1242
 Total pixels per line:   2592
 Active lines per frame:  1200
 Active pixels per line:  1920
 Frames per second:       60
 Fields per frame:        1
 Swaps per frame:         1
 Pixel clock:             193.156 MHz, period = 5.17717 nsec
 Hardware pixel rounding:  every 1 pixels
 Line analysis:
  Length:                 2592 Pixels, 1 Lines, 13.4192 usec; (line 0)
  Frequency:              74.52 KHz, period = 13.4192 usec
 Horizontal Sync:         208 Pixels, 1.07685 usec; (line 41)
 Horizontal Back Porch:   336 Pixels, 1.73953 usec; (line 41)
 Horizontal Active:       1920 Pixels, 9.94016 usec; (line 41)
 Horizontal Front Porch:  128 Pixels, 662.677 nsec; (line 41)
 Field Information:
  Field Duration:           3.21926e+06 Pixels, 1242 Lines, 16.6667 msec; (line 0)
  Vertical Sync:            10368 Pixels, 4 Lines, 53.6769 usec; (line 0)
  Vertical Sync Pulse:      10576 Pixels, 4.08025 Lines, 54.7537 usec; (line 0)
  Vertical Back Porch:      95904 Pixels, 37 Lines, 496.511 usec; (line 4)
  Vertical Active:          3.1104e+06 Pixels, 1200 Lines, 16.1031 msec; (line 41)
  Vertical Front Porch:     2592 Pixels, 1 Lines, 13.4192 usec; (line 1241)


yungjoon wrote:
I generated the vfo file as explained by Betxen. When I try to apply it using xsetmon, xsetmon tells me that it is not a xsetmon gamma data file. Did I miss something ?
Sounds like you attempted to load the the vfo microcode with the "Load Settings File..." option in the xsetmon "File" menu. As the error message implied, that option is for loading gamma or other display adjustments. To change the display resolution (or use a different microcode format), select the desired display format ("V12-AcerP243W_1920x1200_60) from the "Valid Formats" scroll box on the left side of the xsetmon window, then click the "Load" button.

If you've copied the video format object /vfo file you created to the proper location (/usr/gfx/ucode/ODSY/vof/V12-AcerP243W_1920x1200_60.vfo) and it doesn't appear in xsetmon's list of "Valid Formats", then I'd take a close look at the VGA switch you're using (and possibly the 13W3-to-HD15 adapter, *if* one is involved). The source file BetXen provided builds cleanly without any meaninful errors, and the VFC generated analysis of the resulting video format object very closely matches the info you provided for your monitor.

_________________
***********************************************************************
Welcome to ARMLand - 0/0x0d00
running...(sherwood-root 0607201829)
* InfiniteReality/Reality Software, IRIX 6.5 Release *
***********************************************************************


Top
 Profile  
 
Unread postPosted: Sun Jun 24, 2012 6:20 am 
Offline

Joined: Thu Jun 03, 2004 6:53 am
Posts: 96
Location: France
I didn't understand that I have to copy the .vfo file in /usr/gfx/ucode/ODSY/vof, then with xsetmon I can select the custom resolution. And it solved the problem, perfect !

I can switch between the pc and octane with no offset.

Thank you very much ! :D


Top
 Profile  
 
Unread postPosted: Sun Jun 24, 2012 2:05 pm 
Offline
User avatar

Joined: Tue Sep 21, 2004 11:05 am
Posts: 247
Location: Vevey, Switzerland
Hi yungjoon

Glad to hear that it finally works. Sorry for my silence; I was very busy the last days and didn't even log on to nekochan.

@recondas: Thanks Master. I'm your devoted Padawan ;)

_________________
:Onyx2: 4xR12k 400, 8Gb, IR2E, 2x18+3x73GB HD (oxygen)
:A3504L: :A3504L: 16xItanium2 1.6, L2 9MB (neon)
:Fuel: R16k 800 V12, 2Gb, M-Audio, 36+147GB HD, 3Dconnexion SpaceMouse Classic (nitrogen)
:Octane2: Dual R14k 600 V6, 2Go, HD (173Go, 34Go) (carbon)
:Octane: R10k 400 MXE, 1280Mo (lithium) / 2xR10k 300 SSE,... (fluorine)
:O2: R10k 195, 512Mo (hydrogen) / R5k 180, 512Mo (sodium) / R5k 180->200 motherboard and PM only
:Indigo2IMP: R10k 195, HighImpact, 160Mo (helium) / R4400 125, Extreme, 160Mo (boron)
:O200: :O200: twin O200, 4xR12k 270, 2Go, HD (4x18Go) (beryllium)
:Indigo: R4k 100, 80Mo, LG1, 9GB HD, Python 25601 tape (magnesium])
:4D70G: 4D70GT... my very first one (now property of musée bolo and the foundation mémoires informatiques)
See the hinv/gfxinfo posts here.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group