Problem xnview 1.68.1 + xorg-6.8

Questions, suggestions, and answers for XnView on all Un*x platforms (Linux, HP-UX, AIX, ...)

Moderators: XnTriq, xnview

gatiba

Problem xnview 1.68.1 + xorg-6.8

Post by gatiba » Thu Sep 23, 2004 1:29 pm

Hi to all and sorry for my bad english :(

I can start xnview but when i choose tools --> convert it crashes with:

Code: Select all

** XnView v1.68.1 Copyright 1991-2004 Pierre-E Gougelet (Feb 17 2004/13:52:01) **
        Version for Linux x86/Motif (All rights reserved)
** This is freeware software (for non commercial use)

     Type xnview -help, for more information
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  5618
  Current serial number in output stream:  5679
gabriele@localhost gabriele $

Anyone helps !?

User avatar
xnview
Author of XnView
Posts: 31738
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Problem xnview 1.68.1 + xorg-6.8

Post by xnview » Thu Sep 23, 2004 2:12 pm

gatiba wrote:Hi to all and sorry for my bad english :(

I can start xnview but when i choose tools --> convert it crashes with:

Code: Select all

** XnView v1.68.1 Copyright 1991-2004 Pierre-E Gougelet (Feb 17 2004/13:52:01) **
        Version for Linux x86/Motif (All rights reserved)
** This is freeware software (for non commercial use)

     Type xnview -help, for more information
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  5618
  Current serial number in output stream:  5679
gabriele@localhost gabriele $
Anyone helps !?
Could you tell me the result of xdpyinfo?
Pierre.

gatiba

Post by gatiba » Thu Sep 23, 2004 4:47 pm

Sure!! :D

Code: Select all

name of display:    :0.0
version number:    11.0
vendor string:    Gentoo Linux (The X.Org Foundation 6.8.0, revision r1-0.2.1)
vendor release number:    60800000
X.Org version: 6.8.0
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x300000b, revert to Parent
number of extensions:    34
    BIG-REQUESTS
    Composite
    DAMAGE
    DEC-XTRAP
    DOUBLE-BUFFER
    DPMS
    Extended-Visual-Information
    GLX
    LBX
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    NV-CONTROL
    NV-GLX
    RANDR
    RECORD
    RENDER
    SECURITY
    SHAPE
    SYNC
    TOG-CUP
    X-Resource
    XC-APPGROUP
    XC-MISC
    XFIXES
    XFree86-Bigfont
    XFree86-DGA
    XFree86-Misc
    XFree86-VidModeExtension
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
    XVideo-MotionCompensation
default screen number:    0
number of screens:    1

screen #0:
  print screen:    no
  dimensions:    1280x1024 pixels (342x274 millimeters)
  resolution:    95x95 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0xb1
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store NO, save-unders NO
  largest cursor:    64x64
  current input event mask:    0xfa6033
    KeyPressMask             KeyReleaseMask           EnterWindowMask
    LeaveWindowMask          ButtonMotionMask         KeymapStateMask
    StructureNotifyMask      SubstructureNotifyMask   SubstructureRedirectMask
    FocusChangeMask          PropertyChangeMask       ColormapChangeMask
  number of visuals:    41
  default visual id:  0x21
  visual:
    visual id:    0x21
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x22
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x23
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x24
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x25
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x26
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x27
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x28
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x29
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2a
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2b
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2c
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2d
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2e
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2f
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x30
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x31
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x32
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x33
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x34
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x35
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x36
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x37
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x38
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x39
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x3a
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x3b
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x3c
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x3d
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x3e
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x3f
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x40
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x41
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x42
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x43
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x44
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x45
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x46
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x47
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x48
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xaf
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits


User avatar
xnview
Author of XnView
Posts: 31738
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview » Fri Sep 24, 2004 7:23 am

gatiba wrote:Sure!! :D
Are you sure that you have all fonts?
Take a look at app-defaults/XnView!
Pierre.

Guest

Post by Guest » Fri Sep 24, 2004 1:37 pm

xnview wrote:
gatiba wrote:Sure!! :D
Are you sure that you have all fonts?
Take a look at app-defaults/XnView!
Pierre.
I have all the right fonts!
I tried to change the font names (in file usr/lib/X11/app-defaults/XnView/XnView) into some other valid font but it give me the same error ;(

Another xorg-6.8.0 user on Gentoo forums have my same problem...

User avatar
xnview
Author of XnView
Posts: 31738
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview » Sat Sep 25, 2004 2:54 pm

Anonymous wrote:
xnview wrote:
gatiba wrote:Sure!! :D
Are you sure that you have all fonts?
Take a look at app-defaults/XnView!
Pierre.
I have all the right fonts!
I tried to change the font names (in file usr/lib/X11/app-defaults/XnView/XnView) into some other valid font but it give me the same error ;(

Another xorg-6.8.0 user on Gentoo forums have my same problem...
I don't know well xorg-6.8, it's the original X11 server? I use Xfree86.
xorg-6.8 is available by default on gentoo distribution?
Pierre.

User avatar
Remi
Posts: 23
Joined: Mon May 24, 2004 5:08 pm
Location: France, Champagne
Contact:

Post by Remi » Sun Sep 26, 2004 9:39 am

xnview wrote:I don't know well xorg-6.8, it's the original X11 server? I use Xfree86.
xorg-6.8 is available by default on gentoo distribution?
Pierre.
Hi,
Xorg is a fork of Xfree, just before version 4.4.0 and just before the change of licence to a not GPL one.

Most distribution use xorg now instead of xfree.

Fedora Core 2 use xorg version 6.7 (Xfree86 4.3.0 in FC1)
Mandrake 10.1 also incude xorg 6.7
Suse annonce : "For subsequent products we switch to X.Org to offer a reliable alternative that lets our customers benefit from future enhancements in Linux desktop infrastructure technology."

And so on..

User avatar
xnview
Author of XnView
Posts: 31738
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview » Sun Sep 26, 2004 6:55 pm

Remi wrote:Xorg is a fork of Xfree, just before version 4.4.0 and just before the change of licence to a not GPL one.
Oh yes, now i remember of this problem with new license :-)
But it's very strange that xnview doesn't works anymore....
Pierre.

Guest

Post by Guest » Sun Sep 26, 2004 9:59 pm

xnview wrote:
Remi wrote:Xorg is a fork of Xfree, just before version 4.4.0 and just before the change of licence to a not GPL one.
Oh yes, now i remember of this problem with new license :-)
But it's very strange that xnview doesn't works anymore....
Pierre.
It works fine here with x.org 6.8.1 on Slackware current. The only nasty problem is the exit from fullscreen Bug ;)

Ayurvedi
Posts: 3
Joined: Mon May 03, 2004 11:50 am

Post by Ayurvedi » Tue Oct 05, 2004 5:09 pm

Mmmhhh...
I don't know what to say...
It doesn't work here at home neither at work with xorg-6.8.0...
On Gentoo forums others have the exact same problem...

I will try with xorg-6.8.1...

Dommel

must be a font config prob

Post by Dommel » Thu Oct 21, 2004 1:36 pm

It must have something to do with the xorg update screwing up the font configs.

I have the same problem, but if i am adding my university's fontserver to the font directory in xorg.conf, everything works just fine. (with xorg 6.8)

Guest

Re: must be a font config prob

Post by Guest » Fri Oct 22, 2004 8:02 am

Dommel wrote:It must have something to do with the xorg update screwing up the font configs.

I have the same problem, but if i am adding my university's fontserver to the font directory in xorg.conf, everything works just fine. (with xorg 6.8)
Mmhh could you investigate more this problem, plz?
:wink:

nadav

i have the same problem

Post by nadav » Fri Oct 29, 2004 9:27 am

i have the same problem on FC3 (test3) with xorg 6.8.
it just stop working one day ( probably, after upgradeing xorg and its font server ?#@!!# )

i'm getting this error :

Code: Select all

** XnView v1.68.1 Copyright 1991-2004 Pierre-E Gougelet (Feb 18 2004/15:44:44) **
        Version for Linux x86/Motif (All rights reserved)
** This is freeware software (for non commercial use)

     Type xnview -help, for more information
Warning: Cannot convert string "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso8859-1" to type FontStruct

Guest

Post by Guest » Tue Nov 30, 2004 9:49 pm

Hi,

hi have solved the Problem on my Machine (Debian Sarge, X.org 6.8.1). Change the Font-Path Elements in /etc/X11/xorg.conf to:

Code: Select all

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
	FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/Type1"
	FontPath	"/usr/X11R6/lib/X11/fonts/CID"
	FontPath	"/usr/X11R6/lib/X11/fonts/Speedo"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
EndSection
Thats it, now xnview 1.50 works fine on my System.

Greets
Chris

morpheus

I still have the problem and my xorg.conf is fine

Post by morpheus » Wed Dec 29, 2004 9:08 am

Hi,
My FontPath declarations in /etc/X11/xorg.conf are the same as yours, but I still get the crash when I try to convert. My error is:
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 45 (X_OpenFont)
Serial number of failed request: 20539
Current serial number in output stream: 20626

I'm also running xorg, as follows:
xorg-x11-6.8.1-12.FC3.21
kernel-2.6.9-1.667
** XnView v1.68.1 Copyright 1991-2004 Pierre-E Gougelet (Feb 18 2004/15:44:44) **


Any ideas?

Post Reply