nanogui: Thread: viewml image loading


[<<] [<] Page 1 of 1 [>] [>>]
Subject: viewml image loading
From: ####@####.####
Date: 7 Nov 2005 17:36:18 +0000
Message-Id: <OF03BC35BD.73A6DC2E-ONC12570B2.005B07CC-C12570B2.00614A67@abx.fr>

hi,

I am trying to use viewml on ARM9 with nano-x 0.91, nxlib 0.45 and fltk 
1.1.7 (in fact a beta version of 1.1.7), I use w3c-libwww-5.4.0 and viewml 
0.23.

Web pages without image are working well, but when images are present, 
viewml crashes with message "X I/O error"

Have you any idea of what happens?

thanks
Subject: Re: [nanogui] viewml image loading
From: "Greg Haerr" ####@####.####
Date: 9 Nov 2005 17:42:29 +0000
Message-Id: <0eeb01c5e553$6ad0c400$0300a8c0@RDP>

: I am trying to use viewml on ARM9 with nano-x 0.91, nxlib 0.45 and fltk
: 1.1.7 (in fact a beta version of 1.1.7), I use w3c-libwww-5.4.0 and viewml
: 0.23.
:
: Web pages without image are working well, but when images are present,
: viewml crashes with message "X I/O error"

ViewML was built using a very old version of FLTK, known
as FLNX, which had its own direct calls to nano-X.  IIRC,
images were handled specially in this version.

In the version you're running, no special image handling is done
by FLTK.  Instead, this is passed to NXLIB.  NXLIB doesn't
do anywhere's near the full image conversion that Xlib does,
and if the images are not in the nano-X server's native hardware
format, then something like this may happen.

You will likely need to debug the image handling sections of NXLIB
to determine what is happening.  I think there are quite a few dprintf's
in that section already.

Regards,

Greg

Subject: viewml image loading
From: sai baba ####@####.####
Date: 25 Jan 2006 06:10:06 +0000
Message-Id: <20060125060947.91901.qmail@web35912.mail.mud.yahoo.com>

hi
I am trying to use viewml on ARM with nano-x
0.90,flnx-0.18,w3c-libwww-5.2.8 and viewml-0.22
Web pages without or less images are working well, but
when images are present, 
viewml crashes with  following errors 
i config nanox with HAVE_PCF_SUPPORT = Y
,HAVE_PCFGZ_SUPPORT=Y, HAVE_FNT_SUPPORT= Y,
HAVE_FNTGZ_SUPPORT=N


XDefaultVisual:
  Visual  class: TrueColor (4)
             id: 34
   bits_per_rgb: 6
    map_entries: 64
       red_mask: 0x0000f800
     green_mask: 0x000007e0
      blue_mask: 0x0000001f
Screen RootDepth: 16
Screen RootVisual
  Visual  class: TrueColor (4)
             id: 34
   bits_per_rgb: 6
    map_entries: 64
       red_mask: 0x0000f800
     green_mask: 0x000007e0
      blue_mask: 0x0000001f
Depth: 16
Visual: 0
  Visual  class: TrueColor (4)
             id: 34
   bits_per_rgb: 6
    map_entries: 64
       red_mask: 0x0000f800
     green_mask: 0x000007e0
      blue_mask: 0x0000001f
Visual: 1
  Visual  class: TrueColor (4)
             id: 35
   bits_per_rgb: 6
    map_entries: 64
       red_mask: 0x0000f800
     green_mask: 0x000007e0
      blue_mask: 0x0000001f
Visual: 2
  Visual  class: TrueColor (4)
             id: 36
   bits_per_rgb: 6
    map_entries: 64
       red_mask: 0x0000f800
     green_mask: 0x000007e0
      blue_mask: 0x0000001f
Visual: 3
  Visual  class: TrueColor (4)
             id: 37
   bits_per_rgb: 6
    map_entries: 64
       red_mask: 0x0000f800
     green_mask: 0x000007e0
      blue_mask: 0x0000001f
Depth: 1
Depth: 4
Depth: 8
Depth: 15
Depth: 24
Depth: 32
Selected Visual:
  Visual  class: TrueColor (4)
             id: 34
   bits_per_rgb: 6
    map_entries: 64
       red_mask: 0x0000f800
     green_mask: 0x000007e0
      blue_mask: 0x0000001f
Main window: 0x82aba90
WELCOME TO VIEWML
resize_notify of 0 0 640 480
fnt_createfont: System,14 not found
pcf_createfont: System,14 not found
fnt_createfont: System,10 not found
pcf_createfont: System,10 not found
fnt_createfont: System,12 not found
pcf_createfont: System,12 not found
fnt_createfont: System,12 not found
pcf_createfont: System,12 not found
fnt_createfont: System,10 not found
pcf_createfont: System,10 not found
fnt_createfont: System,10 not found
pcf_createfont: System,10 not found
fnt_createfont: System,10 not found
pcf_createfont: System,10 not found
fnt_createfont: System,14 not found
pcf_createfont: System,14 not found
fnt_createfont: System,8 not found
pcf_createfont: System,8 not found
GdLoadImageFromFile: Couldn't map image
/tmp/viewmlovcsEF
GdLoadImageFromFile: Couldn't map image
/tmp/viewmlgZwUHd
GdLoadImageFromFile: Couldn't map image
/tmp/viewml6Dnm2V
Segmentation fault
 nano-X: client closed socket: 5


 what is happening?

thanks

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Subject: RE: [nanogui] viewml image loading
From: "Martin Kajdas" ####@####.####
Date: 26 Jan 2006 16:25:45 +0000
Message-Id: <CF2BB830A62F914F848E5AD5FFF57AC22914B6@mkmail.MKPROD.COM>

Looks like the nano-X server cannot open your font files ('system' font sizes 8,10,12,14 in default fonts dir) and image files (in /tmp directory).
I had similar problem with fonts and I enabled/inserted debug messages in pcf_createfont to show me what it was looking for to determine that my file names did not match what the server expected.

Martin


-----Original Message-----
From: sai baba ####@####.####
Sent: Tuesday, January 24, 2006 10:10 PM
To: nanogui
Subject: [nanogui] viewml image loading



hi
I am trying to use viewml on ARM with nano-x
0.90,flnx-0.18,w3c-libwww-5.2.8 and viewml-0.22
Web pages without or less images are working well, but
when images are present, 
viewml crashes with  following errors 
i config nanox with HAVE_PCF_SUPPORT = Y
,HAVE_PCFGZ_SUPPORT=Y, HAVE_FNT_SUPPORT= Y,
HAVE_FNTGZ_SUPPORT=N


XDefaultVisual:
  Visual  class: TrueColor (4)
             id: 34
   bits_per_rgb: 6
    map_entries: 64
       red_mask: 0x0000f800
     green_mask: 0x000007e0
      blue_mask: 0x0000001f
Screen RootDepth: 16
Screen RootVisual
  Visual  class: TrueColor (4)
             id: 34
   bits_per_rgb: 6
    map_entries: 64
       red_mask: 0x0000f800
     green_mask: 0x000007e0
      blue_mask: 0x0000001f
Depth: 16
Visual: 0
  Visual  class: TrueColor (4)
             id: 34
   bits_per_rgb: 6
    map_entries: 64
       red_mask: 0x0000f800
     green_mask: 0x000007e0
      blue_mask: 0x0000001f
Visual: 1
  Visual  class: TrueColor (4)
             id: 35
   bits_per_rgb: 6
    map_entries: 64
       red_mask: 0x0000f800
     green_mask: 0x000007e0
      blue_mask: 0x0000001f
Visual: 2
  Visual  class: TrueColor (4)
             id: 36
   bits_per_rgb: 6
    map_entries: 64
       red_mask: 0x0000f800
     green_mask: 0x000007e0
      blue_mask: 0x0000001f
Visual: 3
  Visual  class: TrueColor (4)
             id: 37
   bits_per_rgb: 6
    map_entries: 64
       red_mask: 0x0000f800
     green_mask: 0x000007e0
      blue_mask: 0x0000001f
Depth: 1
Depth: 4
Depth: 8
Depth: 15
Depth: 24
Depth: 32
Selected Visual:
  Visual  class: TrueColor (4)
             id: 34
   bits_per_rgb: 6
    map_entries: 64
       red_mask: 0x0000f800
     green_mask: 0x000007e0
      blue_mask: 0x0000001f
Main window: 0x82aba90
WELCOME TO VIEWML
resize_notify of 0 0 640 480
fnt_createfont: System,14 not found
pcf_createfont: System,14 not found
fnt_createfont: System,10 not found
pcf_createfont: System,10 not found
fnt_createfont: System,12 not found
pcf_createfont: System,12 not found
fnt_createfont: System,12 not found
pcf_createfont: System,12 not found
fnt_createfont: System,10 not found
pcf_createfont: System,10 not found
fnt_createfont: System,10 not found
pcf_createfont: System,10 not found
fnt_createfont: System,10 not found
pcf_createfont: System,10 not found
fnt_createfont: System,14 not found
pcf_createfont: System,14 not found
fnt_createfont: System,8 not found
pcf_createfont: System,8 not found
GdLoadImageFromFile: Couldn't map image
/tmp/viewmlovcsEF
GdLoadImageFromFile: Couldn't map image
/tmp/viewmlgZwUHd
GdLoadImageFromFile: Couldn't map image
/tmp/viewml6Dnm2V
Segmentation fault
 nano-X: client closed socket: 5


 what is happening?

thanks

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####

Subject: Re: [nanogui] viewml image loading
From: "Greg Haerr" ####@####.####
Date: 31 Jan 2006 15:24:20 +0000
Message-Id: <041101c6267a$65a62250$6401a8c0@winXP>

:: GdLoadImageFromFile: Couldn't map image
: /tmp/viewml6Dnm2V

The above error message means that microwindows couldn't
memory map the image file for decoding.  Likely you don't
have mmap() capabilities in your OS.  This can be turned
off by unsetting HAVEMAP in include/device.h.



: Segmentation fault
:  nano-X: client closed socket: 5

I'm not sure why viewml is crashing yet.  This can be determined
by running it from gdb, and executing a stack trace.

Regards,

Greg

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.