Problem with installation of Hugin on Ubuntu

View: New views
17 Messages — Rating Filter:   Alert me  

Problem with installation of Hugin on Ubuntu

by Andrii :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi all !

I installed  Hugin on Ubuntu stystem.
During the installation iw was ok.
But after run hugin I see the main page of Hugin and "Tip of the day"
table.
After close this table the main page of Hugin disappeared, and I see
error "Segmentation fault":

virgo@virgo4:~/enblend/test$ hugin
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
MainFrame::RestoreLayoutOnNextResize()
Segmentation fault
virgo@virgo4:~/enblend/test$

Thak you very much for the help.

Andrii

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Problem with installation of Hugin on Ubuntu

by Seb Perez-D-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Tue, Jun 23, 2009 at 13:00, Andrii<andrii.elyiv@...> wrote:

> I installed  Hugin on Ubuntu stystem.
> During the installation iw was ok.
> But after run hugin I see the main page of Hugin and "Tip of the day"
> table.
> After close this table the main page of Hugin disappeared, and I see
> error "Segmentation fault":
>
> virgo@virgo4:~/enblend/test$ hugin
> Xlib:  extension "GLX" missing on display ":1.0".
> Xlib:  extension "GLX" missing on display ":1.0".
> MainFrame::RestoreLayoutOnNextResize()
> Segmentation fault
> virgo@virgo4:~/enblend/test$

Which version of Ubuntu? What processor?
Which version of Hugin?
Where did you install it from?
Did you compile Hugin yourself?

Cheers,

Seb

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Problem with installation of Hugin on Ubuntu

by Andrii :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



> Which version of Ubuntu? What processor?

I use remote access to Linux PC via VNC viewer.
So I don't know how get the information about version of Ubuntu and
processor.
What commands I have to use in console for getting this information?

> Which version of Hugin?
> Where did you install it from?
> Did you compile Hugin yourself?


Ubuntu I installed according to http://wiki.panotools.org/Hugin_Compiling_ubuntu
using commands here:

sudo apt-get install cmake libopenexr-dev libboost-dev boost-build
libboost-thread-dev libboost-graph-dev \
  gettext libwxgtk2.8-dev libexiv2-dev libimage-exiftool-perl libglew-
dev
svn co https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk/
hugin
cd hugin
cmake -DCMAKE_INSTALL_PREFIX=/usr/local .
make
sudo make install
sudo ldconfig


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Problem with installation of Hugin on Ubuntu

by Seb Perez-D-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Tue, Jun 23, 2009 at 15:11, Andrii<andrii.elyiv@...> wrote:
> So I don't know how get the information about version of Ubuntu and
> processor.
> What commands I have to use in console for getting this information?

  uname -a
would be a start.

From your description of using VNCviewer, and the error message, it
seems the problem could be caused by the OpenGL preview in Hugin. Can
you run "glxgears" ? (you might need to install a package for this, I
cannot check right now)

Could you perhaps provide more information on the segmentation fault?
If you have gdb (Gnu debugger) installed, you could run
  gdb hugin
and then
  run

After that, close the tip of the day and when Hugin crashes, type
  bt
in the console

This should generate some input that could be helpful.

> svn co https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk/

Another strategy would be check out an old version of Hugin, before
the OpenGL code was added.
Using
  svn co -r 3369
should give you something very close to Hugin 0.7.0

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Problem with installation of Hugin on Ubuntu

by Andrii :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thank you very much for the help.

>   uname -a
> would be a start.

Linux virgo4 2.6.24-23-generic #1 SMP Wed Apr 1 21:43:24 UTC 2009
x86_64 GNU/Linux

> From your description of using VNCviewer, and the error message, it
> seems the problem could be caused by the OpenGL preview in Hugin. Can
> you run "glxgears" ? (you might need to install a package for this, I
> cannot check right now)

I can not to run glxgears

virgo@virgo4:~$ glxgears
Xlib:  extension "GLX" missing on display ":1.0".
Error: couldn't get an RGB, Double-buffered visual
virgo@virgo4:~$

Probably the problem in glxgears.
what I have to do for it?

>
> Could you perhaps provide more information on the segmentation fault?
> If you have gdb (Gnu debugger) installed, you could run
>   gdb hugin
> and then
>   run

virgo@virgo4:~$ qdb hugin
bash: qdb: command not found


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Problem with installation of Hugin on Ubuntu

by Andrii :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> Could you perhaps provide more information on the segmentation fault?
> If you have gdb (Gnu debugger) installed, you could run
>   gdb hugin
> and then
>   run


Sorry in previous letter I mistake with gdb
I run hugin using gdb.
After close the Tip of day Hugin does not crashe.
But all buttoms and options of Hugin are not worked.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Problem with installation of Hugin on Ubuntu

by Seb Perez-D-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Tue, Jun 23, 2009 at 16:38, Andrii<andrii.elyiv@...> wrote:
> After close the Tip of day Hugin does not crashe.
> But all buttoms and options of Hugin are not worked.

I think Hugin crashes, but gdb keeps the window open. Look in the
console, you will see the error message and you can then enter the bt
code.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Problem with installation of Hugin on Ubuntu

by Andrii :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


virgo@virgo4:~$ gdb hugin
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/
gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) run
Starting program: /usr/local/bin/hugin
[Thread debugging using libthread_db enabled]
[New Thread 0x7f6dacd9f6f0 (LWP 21828)]
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
MainFrame::RestoreLayoutOnNextResize()

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f6dacd9f6f0 (LWP 21828)]
0x00007f6da9b7d7d5 in wxWindow::DoSetSize () from /usr/lib/
libwx_gtk2u_core-2.8.so.0
(gdb)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Problem with installation of Hugin on Ubuntu

by Bruno Postle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Tue 23-Jun-2009 at 07:27 -0700, Andrii wrote:
>
>> From your description of using VNCviewer, and the error message, it
>> seems the problem could be caused by the OpenGL preview in Hugin. Can
>> you run "glxgears" ? (you might need to install a package for this, I
>> cannot check right now)

>virgo@virgo4:~$ glxgears
>Xlib:  extension "GLX" missing on display ":1.0".
>Error: couldn't get an RGB, Double-buffered visual

glxgears is the basic tool to test if 3D is working.  It should run
in some fashion, if it doesn't then hugin isn't likely to work
either.

Maybe someone else can test with their own VNC setup.  hugin used to
work ok via VNC, though I haven't tried recently.

--
Bruno

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Problem with installation of Hugin on Ubuntu

by Seb Perez-D-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Tue, Jun 23, 2009 at 19:33, Bruno Postle<bruno@...> wrote:
> Maybe someone else can test with their own VNC setup.  hugin used to
> work ok via VNC, though I haven't tried recently.

Done, I tested under Linux and can confirm that Hugin cannot run under
VNC. The error message is the same and the backtrace is
#0  0x00007fa81277051d in wxWindow::DoSetSize ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#1  0x00007fa812852c02 in wxGridSizer::SetItemBounds ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#2  0x00007fa8128542f9 in wxFlexGridSizer::RecalcSizes ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#3  0x00007fa812853215 in wxBoxSizer::RecalcSizes ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#4  0x000000000051ee52 in GLPreviewFrame::panoramaChanged ()
#5  0x0000000000479d99 in PT::PanoramaObserver::panoramaChanged ()
#6  0x00007fa81558cc25 in HuginBase::Panorama::changeFinished (this=0x206d5b8,
    keepDirty=false)
    at /home/seb/downloads/hugin/src/hugin_base/panodata/Panorama.cpp:1034
#7  0x00000000004706e4 in huginApp::OnInit ()
#8  0x00007fa812c23a63 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#9  0x000000000046da82 in main ()

Cheers,

Seb

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Problem with installation of Hugin on Ubuntu

by Andrii :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hmm, thank for test via VNC.
It is very pity.
In your opinion is it bug of Hugin or VNC?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Problem with installation of Hugin on Ubuntu

by Seb Perez-D-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Wed, Jun 24, 2009 at 10:52, Andrii<andrii.elyiv@...> wrote:
>
> Hmm, thank for test via VNC.
> It is very pity.
> In your opinion is it bug of Hugin or VNC?

It's an issue of Hugin requiring GLX and VNC not providing it.

You could try using http://www.virtualgl.org

Some have mentioned http://xf4vnc.sourceforge.net/

However it is still possible that an option to Xvnc or Xserver (used
by the vncserver) exists that would allow to emulate glx (as briefly
mentioned on the About page of VirtualGL)
http://www.realvnc.com/pipermail/vnc-list/2006-February/054217.html
For this you might need to compile VNC with GLX support:
http://www.uppmax.uu.se/Members/daniels/stuff/building-xvnc-with-glx-support

Best,

Seb

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Problem with installation of Hugin on Ubuntu

by Tom Sharpless :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi

Ubuntu systems won't run OpenGL right until you install the necessary
nVidia or ATI video drivers.  Ubuntu refuses to distribute those
because they are not Open Source!  However both manufacturers provide
installer packages for Ubuntu as well as other Linuces.

So if it is indeed an OpenGL issue, and you have not installed
manufacturer's video drivers, please try that.

-- Tom

On Jun 24, 5:19 am, Seb Perez-D <sbp...@...> wrote:

> On Wed, Jun 24, 2009 at 10:52, Andrii<andrii.el...@...> wrote:
>
> > Hmm, thank for test via VNC.
> > It is very pity.
> > In your opinion is it bug of Hugin or VNC?
>
> It's an issue of Hugin requiring GLX and VNC not providing it.
>
> You could try usinghttp://www.virtualgl.org
>
> Some have mentionedhttp://xf4vnc.sourceforge.net/
>
> However it is still possible that an option to Xvnc or Xserver (used
> by the vncserver) exists that would allow to emulate glx (as briefly
> mentioned on the About page of VirtualGL)http://www.realvnc.com/pipermail/vnc-list/2006-February/054217.html
> For this you might need to compile VNC with GLX support:http://www.uppmax.uu.se/Members/daniels/stuff/building-xvnc-with-glx-...
>
> Best,
>
> Seb
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Problem with installation of Hugin on Ubuntu

by James Legg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Sat, 2009-06-27 at 17:08 -0700, Tom Sharpless wrote:
> Hi
>
> Ubuntu systems won't run OpenGL right until you install the necessary
> nVidia or ATI video drivers.


Yes they will.

I used to use Ubuntu on a machine with ATI graphics, and never installed
the binary drivers, since they were not provided for that machine's
processor architecture. It worked with OpenGL: I used that machine to
write the fast preview!

I now use a laptop with Intel graphics, and OpenGL works fine on that
too.

>   Ubuntu refuses to distribute those
> because they are not Open Source!  However both manufacturers provide
> installer packages for Ubuntu as well as other Linuces.

If you just happen to want the propriety nVidia or ATI drivers (and you
have a x86 based processor architecture, it seems), you can get them
from the restricted package repository. This is distributed by Ubuntu,
although not included on the installation disks.

I think you can install and enable the most suitable proprietary driver
with Ubuntu's "Hardware Drivers" program too.

This is not necessary, though the binary only drivers may give higher
OpenGL performance than the open source ones.

> So if it is indeed an OpenGL issue, and you have not installed
> manufacturer's video drivers, please try that.
>
> -- Tom

The manufacturers also write the open source drivers that come with the
distribution.

I doubt installing the closed source drivers (if they exist for your
system) will help. Don't install the closed source drivers if you don't
want to. I think the problem has already been diagnosed by Seb as "Hugin
requiring GLX and VNC not providing it."

-James



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Problem with installation of Hugin on Ubuntu

by Seb Perez-D-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Sun, Jun 28, 2009 at 03:00, James Legg<lankyleggy@...> wrote:
> I think the problem has already been diagnosed by Seb as "Hugin
> requiring GLX and VNC not providing it."

But I have seen a screenshot from the original poster showing Hugin
working under what I assumed to be a VNC. I would be interested in
knowing what the OP did.

Seb

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Problem with installation of Hugin on Ubuntu

by Rogier Wolff :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




On Jun 28, 3:00 am, James Legg <lankyle...@...> wrote:
> I doubt installing the closed source drivers (if they exist for your
> system) will help. Don't install the closed source drivers if you don't
> want to. I think the problem has already been diagnosed by Seb as "Hugin
> requiring GLX and VNC not providing it."

Getting 3D-stuff to work can sometimes be a hassle.

Statements like: 'you need to install closed-source drivers" or "no
you almost never need to install closed source drivers" are both
wrong. On some systems the graphics card  3D stuff is supported
in the open source driver, on some systems it isn't, and you need
the closed source driver.

It should in theory be possible to run mesa-gl to provide software
support for 3D stuff. However it generally is very slow.

I still think that  throwing away the previous way of doing previews
(without GL) was a mistake. Sometimes you don't have GL, and
this can be considered "essential" for running a 3D shooter game,
but not for an essentially 2D program like hugin.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Problem with installation of Hugin on Ubuntu

by Bruno Postle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Mon 29-Jun-2009 at 06:37 -0700, rew wrote:

>It should in theory be possible to run mesa-gl to provide software
>support for 3D stuff. However it generally is very slow.

>I still think that  throwing away the previous way of doing previews
>(without GL) was a mistake. Sometimes you don't have GL, and
>this can be considered "essential" for running a 3D shooter game,
>but not for an essentially 2D program like hugin.

This doesn't equate with my experience, the new hugin preview works
fine on systems without 3d graphics acceleration - Much faster than
the old preview on the same machine.

There are known problems running 3d applications at the same time as
compiz (on Linux), but this seems to be fixed with DRI2 in recent
distributions.

--
Bruno

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---