[xcrysden] startup problem[xcrysden]

Tone Kokalj xcrysden@democritos.it
Tue, 04 Oct 2005 11:51:14 +0200


On Mon, 2005-10-03 at 14:41 +0800, chm 90121100 wrote:
> Dear Tone
> 
> i have completed my installation of XCrySDen on my FreeBSD 5.4 Release system
> but i have a problem to startup this software,
> below is the error message:
> 
> ---error msg begin---
> 
> Running on platform: unix
> Executing: /home/hangchen/XCrySDen-1.4.1s-all/bin/ftnunit
> 
> *** the hardware does not support the stereo ***
> 
> Error in startup script: Togl: couldn't get visual
>     while executing
> "togl .mesa  -width          400  -height         400  -ident          .mesa 
> -rgba           true   -redsize        1      -greensize      1      -blu..."
> ---error msg end---
> first i recognized it a soundware driver problem,

It cannot be a sound related problem: xcrysden does not use sound.

Rather, it is a graphics-card related problem. The problem is exactly as
stated above: Togl: couldn't get visual while executing ...

You can try which option makes the "togl" to fail. To do this, you
should execute a simple script like:

# BEGIN SCRIPT
togl .t \
    -rgba           true  \
    -redsize        1     \
    -greensize      1     \
    -bluesize       1     \
    -double         true  \
    -depth          true  \
    -depthsize      1     \
    -accum          true  \
    -accumredsize   1     \
    -accumgreensize 1     \
    -accumbluesize  1     \
    -accumalphasize 1     \
    -alpha          false \
    -alphasize      1     \
    -stencil        false \
    -stencilsize    1     \
    -auxbuffers     0     \
    -overlay        false \
    -stereo         false \
    -time           100

pack .t
# END SCRIPT

Say you put this in file togl.tcl, then do: $XCRYSDEN_TOPDIR/bin/xcrys
togl.tcl
You can, for example, delete the options from bottom to top. By doing
that you will realize which options makes "togl" to fail. Then edit
file: $XCRYSDEN_TOPDIR/Tcl/Viewer.tcl. Search for string "togl" and
remove the problematic option(s).

Let me know your findings ...

Regards, Tone