Showing posts with label AIPS TV TEKSRV MSGSRV. Show all posts
Showing posts with label AIPS TV TEKSRV MSGSRV. Show all posts

Wednesday, November 24, 2021

การแก้ปัญหา AIPS works, tekserver works, but the TV doesn't come up กรณี depth plane ของเครื่องต้นทางและปลายทางต่างกัน

 สวัสดีค่ะ 

กลับมาอีกครั้งกับการอัพเดทของคอมพิวเตอร์ที่ห่างหายไปนาน 

มาเที่ยวนี้ มาแก้ไขปัญหา AIPS works, tekserver works, but the TV doesn't come up กรณี depth plane ของเครื่องต้นทางและปลายทางต่างกัน

ปัญหา ด้วยว่า aips ถูกออกแบบให้ใช้กราฟฟิกจำนวนบิตต่ำ นั่นก็คือ 8 หรือ 24 บิตไปเลย ดังนั้น เครื่องคอมพ์สมัยใหม่ ใช้แบบนี้ไม่ได้ จึงต้องมัดมือชก โดยการบังคับให้เครื่องปลายทางที่เรียกใช้งานเป็น 24 บิตไปเลย 

ก่อนอื่นทดสอบ เครื่องของปลายทางว่ากี่บิต ใช้คำสั่ง  xdpyinfo | more ถ้าเจอว่า depth 16 planes แบบนี้ ไม่สามารถแสดง tvserver ได้ ต้องให้ root แก้ไข depth ให้เป็น 24 planes จึงจะใช้ได้ หรือบังคับให้เครื่องต้นทาง (คือเครื่องที่เราจะ  access ใช้งาน) ให้แสดงผลเป็น 24 planes เช่นกัน ยกตัวอย่างเช่น การใช้ซอฟแวร์ Remote desktop windows นี้ เป็นต้น (ปล.เนื่องจาก os Monterley ยังมี config ค่อนข้างมากกับซอฟแวร์นี้ จึงต้อง force ให้เครื่องปลายทาง ใช้ 24 planes ไปเลย ดังนั้น ในนี้ไม่แสดงผล 24 bits นะค่ะ) 


This is seen most often on Linux systems. Almost certainly your X Windows configuration is set to use a 16-bit display. The AIPS TV can only support 8 and 24 bit displays (32 and 24 should be equivalent). Type "xdpyinfo | more" and if you see this:

      
        default visual id:  0x20
        visual:
          visual id:    0x20
          class:    TrueColor
          depth:    16 planes
      

... then this is the problem. If it says 8 or 24, then the TV should work. If it says 16, then you should alter your X configuration to allow either 8 or 24 bit display. You should use the supplied tools, e.g. XConfigurator under Red Hat Linux, to do this; only edit the XF86Config file directly if you know exactly what you're doing!

Friday, December 9, 2011

AIPS no TV but TEKSRV & MSGSRV work (solved troubleshooting)

After I installed UBUNTU 11.10 in Samsung Laptop RC418 core i5 and NVIDIA optimus graphic inside. I tried to install AIPS software and found that TV wouldn't work properly as shown below;
----------------------------------------------------------------------------------------------
START_AIPS: I am GUESSING you are at a workstation called localhost
START_AIPS: Starting TV servers on localhost asynchronously
START_AIPS:  - with Internet Sockets...
START_AIPS: Starting TPMON daemons on LOCALHOST asynchronously...
DADEVS.PL: This program is untested under Perl version 5.012
Starting up 31DEC11 AIPS with normal priority
XASERVERS: Start TV LOCK daemon TVSERV on localhost
XASERVERS: Start XAS on localhost, DISPLAY :0
XASERVERS: Start graphics server TEKSRV on localhost, DISPLAY :0
XASERVERS: Start message server MSGSRV on localhost, DISPLAY :0
TVSERVER: Starting AIPS TV locking, Inet domain
STARTPMON: [LOCALHOST] Starting TPMON1 with output SUPPRESSED
Begin the one true AIPS number 1 (release of 31DEC11) at priority =   0
ZVTPO3 bind (INET): Address family not supported by protocol
XAS: ** TrueColor FOUND!!!
XAS: ***  Using shared memory option for speed ***
XAS: Using screen width 1356 height 668,
     max grey level 8191 in 16 grey-scale memories
MakeLink: bind error (INET): Address family not supported by protocol
TVSERVER told to shut down by XAS
XAS: Quitting NOW.
AIPS 1: You are assigned TV device/server   1
AIPS 1: You are assigned graphics device/server   1
----------------------------------------------------------------------------------------

therefore I have tried to solve the problem by using the command;
aips tv=local
before starting aips software.
It should be work and show the messages somethings like this;
-------------------------------------------------------------------------------------------
START_AIPS: Starting TV servers on localhost asynchronously
START_AIPS:  - WITH Unix Sockets as requested...
START_AIPS: Starting TPMON daemons on LOCALHOST asynchronously...
Starting up 31DEC11 AIPS with normal priority
Begin the one true AIPS number 1 (release of 31DEC11) at priority =   0
AIPS 1: You are not on a local TV device, welcome stranger
AIPS 1: You are assigned TV device/server   2
AIPS 1: You are assigned graphics device/server   2
AIPS 1: Enter user ID number
?AIPS_TEK_HOLD=
do NO
DADEVS.PL: This program is untested under Perl version 5.012
UNIXSERVERS: Start TV LOCK daemon TVSRV1 on localhost
UNIXSERVERS: Start XAS1 on localhost, DISPLAY :0
UNIXSERVERS: Start graphics server TKSRV1 on localhost, display :0
UNIXSERVERS: Start message server MSSRV1 on localhost, display :0
TVSERVER: Starting AIPS TV locking, Unix (local) domain
STARTPMON: [LOCALHOST] Starting TPMON1 with output SUPPRESSED
ZVTPO3 bind (INET): Address family not supported by protocol
XAS: ** TrueColor FOUND!!!
XAS: ***  Using shared memory option for speed ***
XAS: Using screen width 1356 height 668,
     max grey level 8191 in 16 grey-scale memories

AIPS 1: Enter user ID number
?

TEC DATA DOES NOT COVER FULL RANGE OF CL TABLE

Check your listr and if the data are observed more than one day you need to download the IONEX files at least 2 files and put in the same fo...