On 11/02/10 13:59, Adam Tkac wrote: > On Sat, Oct 30, 2010 at 08:46:53PM +0200, ti...@piments.com wrote: >> On 10/30/10 03:05, ti...@piments.com wrote: >>> Hi, >>> >>> I have been using tigervnc 1.0.0 since shortly after it came out, on >>> kubuntu 9.04 x86-64and in general it has very reliable and performed >>> beautifully doing remote support for basic tasks like email , www, >>> openoffice, kate etc. >>> >>> However, one persistent problem has been come up whilst trying to use GIMP. >>> >> >> >> OK, I have got a better understanding of what is happening here and have >> fixed a couple of the secondary issues. >> >> > (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed >> > (/usr/lib/dri/swrast_dri.so: undefined symbol: _glapi_tls_Context) >> >> this was fixed by adding configure options. --enable-glx --enable-glx-tls >> >> Adding uxa also worked fine: >> Option "AccelMethod" "uxa" >> >> However , I still get the crash on using gimp. >> >> I tried the pre-built deb by Antoine Martin >> http://shifter.devloop.org.uk/trac/browser/web/dists/jaunty/main/binary-amd64?rev=3056 >> >> this worked fine for vncserver :1 and gimp did not crash, but I was >> unable to log in to :0 , connection refused :? >> >> I was using the same configs as my 1.0.1 build that did log in without >> any problems so that seems odd though there are many possible differences. >> >> Could Antoine or anyone else give me the .configure args that were used >> to build that package, I'm now fairly sure that all I that is stopping >> my build from working correctly on both servers with gimp is a bad >> ./configure option. > > If you would like to get libvnc.so module for Xorg working you need to > compile it against same version as your distribution Xorg server. > > May I ask you which version of Xorg are you running, please? > > Regards, Adam >
I have 1.6.0-0ubuntu14.2 and installed the corresponding source package from the distro. I copied across to tigervnc svn tree (I did a clean pull a couple of days back but this issue seems to be happening the same on 1.0.1 1.0.92 built from Antoine's tarball and two day old svn. which identifies itself as 1.0.90) BTW wouldn't be helpful if the server reported the build number ? I patched it with xserver16.patch which it did OK with slight offsets on each hunk. ls -ail stamp* 207076 -rw-r--r-- 1 root root 23 2010-11-01 18:52 stamp-h1 209769 -rwxr-xr-x 1 root root 945 2010-11-01 18:59 /usr/lib/xorg/modules/extensions/libvnc.la 208308 -rwxr-xr-x 1 root root 1096006 2010-11-01 18:59 /usr/lib/xorg/modules/extensions/libvnc.so # ls -ail `which vncserver` 209750 -rwxr-xr-x 1 root root 17960 2010-11-01 18:59 /usr/bin/vncserver The most recent build was done with the following configure , note the hal problem no longer showing. cd unix/xserver ./configure CFLAGS="-O3" CXXFLAGS="-O3" \ --prefix=/usr \ --disable-xvfb --disable-xnest --disable-xorg \ --disable-xinerama --disable-composite \ --enable-glx --enable-glx-tls #:~/gcc/tigervnc/trunk/unix# grep '(EE)' /var/log/Xorg.0.log (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (Also tried -O2 , same thing.) Here's dmesg for the two crashes. First is on :1 , second on :0 . In both cases I just log in, open a image in gimp and click on the canvas. [164556.687168] Xvnc[7185]: segfault at 0 ip 0000000000000000 sp 00007fffac948b28 error 14 in Xvnc[400000+24a000] [164617.176407] CPU0 attaching NULL sched-domain. [164617.176413] CPU1 attaching NULL sched-domain. [164617.188596] CPU0 attaching sched-domain: [164617.188600] domain 0: span 0-1 level MC [164617.188603] groups: 0 1 [164617.188609] CPU1 attaching sched-domain: [164617.188611] domain 0: span 0-1 level MC [164617.188613] groups: 1 0 [164661.477789] Xorg[7143]: segfault at 20 ip 0000000000496786 sp 00007fff7ba26220 error 4 in Xorg[400000+1c3000] [164661.604445] [drm:gm45_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0 [164664.514622] [drm:i915_setparam] *ERROR* unknown parameter 4 Do you think the i915 errors are relevant to this issue? They are seen here as the server restarts after the crash. Thanks ------------------------------------------------------------------------------ Achieve Improved Network Security with IP and DNS Reputation. Defend against bad network traffic, including botnets, malware, phishing sites, and compromised hosts - saving your company time, money, and embarrassment. Learn More! http://p.sf.net/sfu/hpdev2dev-nov _______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel