<div dir="ltr">Hi,<br><br>I've managed to get Xspice working on F17.<br><br>But it crashes on Ubuntu (spice related packages are built from latest tarballs):<br>xorg-xserver_2:1.11.4-0ubuntu6<br>spice-protocol-0.10.1-1<br>
spice-0.10.1-2<br>xserver-xorg-video-qxl-0.0.17-1<br>spiceqxl.xorg.conf (unmodified)<br><br>$ Xspice :3.0 --port 6000 --disable-ticketing --tls-port 0<br>X.Org X Server 1.11.3<br>Release Date: 2011-12-16<br>X Protocol Version 11, Revision 0<br>
Build Operating System: Linux 2.6.24-31-server x86_64 Ubuntu<br>Current Operating System: Linux airsan 3.2.0-18-generic #29-Ubuntu SMP Fri Mar 9 21:36:08 UTC 2012 x86_64<br>Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-18-generic root=UUID=366ac69d-d0f0-42e3-b544-e585df0c8ede ro quiet splash vt.handoff=7<br>
Build Date: 09 March 2012 12:17:02PM<br>xorg-server 2:1.11.4-0ubuntu6 (For technical support please see <a href="http://www.ubuntu.com/support">http://www.ubuntu.com/support</a>) <br>Current version of pixman: 0.24.4<br>
Before reporting problems, check <a href="http://wiki.x.org">http://wiki.x.org</a><br> to make sure that you have the latest version.<br>Markers: (--) probed, (**) from config file, (==) default setting,<br> (++) from command line, (!!) notice, (II) informational,<br>
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.<br>(==) Log file: "/var/log/Xorg.3.0.log", Time: Sat Mar 17 10:57:35 2012<br>(++) Using config file: "/etc/X11/spiceqxl.xorg.conf"<br>
(==) Using system config directory "/usr/share/X11/xorg.conf.d"<br>
(EE) Failed to load module "xspicekeyboard" (module does not exist, 0)<br>(EE) Failed to load module "xspicepointer" (module does not exist, 0)<br>(EE) Failed to load module "kbd" (module does not exist, 0)<br>
memory space from 0x7fd6d7953010 to 0x7fd6dd951010<br>memory space from 0x7fd6ce952010 to 0x7fd6d6952010<br>memory space from 0x7fd6d7953010 to 0x7fd6dd951010<br>memory space from 0x7fd6ce952010 to 0x7fd6d6952010<br>slots start: 0, slots end: 1<br>
done reset<br>bpp == 8 triggers bugs in spice apparently<br>slots start: 0, slots end: 1<br>done reset<br>primary is 0x7fd6e3d4e500<br> Zero width or height<br>new stride: 10240 (display width: 2560, bpp: 4)<br> Bad bpp: 1 (1)<br>
Bad bpp: 1 (1)<br> Bad bpp: 1 (1)<br><br>Backtrace:<br>0: /usr/bin/Xorg (xorg_backtrace+0x26) [0x7fd6e3876306]<br>1: /usr/bin/Xorg (0x7fd6e36ee000+0x18c1aa) [0x7fd6e387a1aa]<br>2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fd6e2a14000+0xfcb0) [0x7fd6e2a23cb0]<br>
3: /lib/x86_64-linux-gnu/libc.so.6 (0x7fd6e188a000+0x1370db) [0x7fd6e19c10db]<br>4: /usr/bin/Xorg (NewInputDeviceRequest+0x52) [0x7fd6e378d852]<br>5: /usr/bin/Xorg (InitInput+0x76) [0x7fd6e377b1e6]<br>6: /usr/bin/Xorg (0x7fd6e36ee000+0x3d646) [0x7fd6e372b646]<br>
7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7fd6e18ab76d]<br>8: /usr/bin/Xorg (0x7fd6e36ee000+0x3d97d) [0x7fd6e372b97d]<br>Segmentation fault at address (nil)<br><br>Caught signal 11 (Segmentation fault). Server aborting<br>
<br>Please consult the The X.Org Foundation support <br> at <a href="http://wiki.x.org">http://wiki.x.org</a><br> for help. <br>Please also check the log file at "/var/log/Xorg.3.0.log" for additional information.<br>
<br>$ echo 'thread apply all bt full' | gdb /usr/bin/Xorg core<br>GNU gdb (Ubuntu/Linaro 7.4-2012.02-0ubuntu2) 7.4-2012.02<br>Copyright (C) 2012 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>><br>
This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law. Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "x86_64-linux-gnu".<br>
For bug reporting instructions, please see:<br><<a href="http://bugs.launchpad.net/gdb-linaro/">http://bugs.launchpad.net/gdb-linaro/</a>>...<br>Reading symbols from /usr/bin/Xorg...Reading symbols from /usr/lib/debug/usr/bin/Xorg...done.<br>
done.<br>[New LWP 5355]<br>[New LWP 5356]<br>[New LWP 5359]<br>[New LWP 5357]<br>[New LWP 5360]<br>[New LWP 5358]<br><br>warning: Can't read pathname for load map: Input/output error.<br>[Thread debugging using libthread_db enabled]<br>
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".<br>Core was generated by `/usr/bin/Xorg -config spiceqxl.xorg.conf :3.0'.<br>Program terminated with signal 11, Segmentation fault.<br>
#0 outb (val=0 '\000', port=5) at /usr/include/xorg/compiler.h:426<br>426 __asm__ __volatile__("outb %0,%1" : :"a" (val), "d" (port));<br>(gdb) <br>Thread 6 (Thread 0x7fd6c3e8a700 (LWP 5358)):<br>
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162<br>No locals.<br>#1 0x00007fd6cc395a23 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so<br>No symbol table info available.<br>
#2 0x00007fd6e2a1be9a in start_thread (arg=0x7fd6c3e8a700) at pthread_create.c:308<br> __res = <optimized out><br> pd = 0x7fd6c3e8a700<br> now = <optimized out><br> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -1170691968529023092, 140560902019200, 140560386533824, 0, 3, 1183701277281664908, 1183629318428606348}, <br>
mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}<br> not_first_call = 0<br> pagesize_m1 = <optimized out><br> sp = <optimized out><br>
freesize = <optimized out><br> __PRETTY_FUNCTION__ = "start_thread"<br>#3 0x00007fd6e197a74d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112<br>No locals.<br>#4 0x0000000000000000 in ?? ()<br>
No symbol table info available.<br><br>Thread 5 (Thread 0x7fd6c2e88700 (LWP 5360)):<br>#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162<br>No locals.<br>#1 0x00007fd6cc395a23 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so<br>
No symbol table info available.<br>#2 0x00007fd6e2a1be9a in start_thread (arg=0x7fd6c2e88700) at pthread_create.c:308<br> __res = <optimized out><br> pd = 0x7fd6c2e88700<br> now = <optimized out><br>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -1170691968529023092, 140560902019200, 140560369748416, 0, 3, 1183699083627118476, 1183629318428606348}, <br> mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}<br>
not_first_call = 0<br> pagesize_m1 = <optimized out><br> sp = <optimized out><br> freesize = <optimized out><br> __PRETTY_FUNCTION__ = "start_thread"<br>#3 0x00007fd6e197a74d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112<br>
No locals.<br>#4 0x0000000000000000 in ?? ()<br>No symbol table info available.<br><br>Thread 4 (Thread 0x7fd6c468b700 (LWP 5357)):<br>---Type <return> to continue, or q <return> to quit---#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162<br>
No locals.<br>#1 0x00007fd6cc395a23 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so<br>No symbol table info available.<br>#2 0x00007fd6e2a1be9a in start_thread (arg=0x7fd6c468b700) at pthread_create.c:308<br>
__res = <optimized out><br>
pd = 0x7fd6c468b700<br> now = <optimized out><br> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -1170691968529023092, 140560902019200, 140560394926528, 0, 3, 1183695779186655116, 1183629318428606348}, <br>
mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}<br> not_first_call = 0<br> pagesize_m1 = <optimized out><br> sp = <optimized out><br>
freesize = <optimized out><br> __PRETTY_FUNCTION__ = "start_thread"<br>#3 0x00007fd6e197a74d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112<br>No locals.<br>#4 0x0000000000000000 in ?? ()<br>
No symbol table info available.<br><br>Thread 3 (Thread 0x7fd6c3689700 (LWP 5359)):<br>#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162<br>No locals.<br>#1 0x00007fd6cc395a23 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so<br>
No symbol table info available.<br>#2 0x00007fd6e2a1be9a in start_thread (arg=0x7fd6c3689700) at pthread_create.c:308<br> __res = <optimized out><br> pd = 0x7fd6c3689700<br> now = <optimized out><br>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -1170691968529023092, 140560902019200, 140560378141120, 0, 3, 1183702377330163596, 1183629318428606348}, <br> mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}<br>
not_first_call = 0<br> pagesize_m1 = <optimized out><br> sp = <optimized out><br> freesize = <optimized out><br> __PRETTY_FUNCTION__ = "start_thread"<br>#3 0x00007fd6e197a74d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112<br>
No locals.<br>#4 0x0000000000000000 in ?? ()<br>No symbol table info available.<br><br>Thread 2 (Thread 0x7fd6cd589700 (LWP 5356)):<br>#0 0x00007fd6e197ade3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:82<br>
No locals.<br>
#1 0x00007fd6df810eb5 in ?? () from /usr/lib/libspice-server.so.1<br>No symbol table info available.<br>#2 0x00007fd6e2a1be9a in start_thread (arg=0x7fd6cd589700) at pthread_create.c:308<br> __res = <optimized out><br>
pd = 0x7fd6cd589700<br> now = <optimized out><br> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -1170691968529023092, 140560902019200, 140560544864704, 0, 3, 1183680799414468492, 1183629318428606348}, <br>
mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}<br> not_first_call = 0<br> pagesize_m1 = <optimized out><br> sp = <optimized out><br>
freesize = <optimized out><br> __PRETTY_FUNCTION__ = "start_thread"<br>---Type <return> to continue, or q <return> to quit---#3 0x00007fd6e197a74d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112<br>
No locals.<br>#4 0x0000000000000000 in ?? ()<br>No symbol table info available.<br><br>Thread 1 (Thread 0x7fd6e36cf880 (LWP 5355)):<br>#0 outb (val=0 '\000', port=5) at /usr/include/xorg/compiler.h:426<br>No locals.<br>
#1 qxl_leave_vt (scrnIndex=<optimized out>, flags=<optimized out>) at ../../src/qxl_driver.c:1212<br> pScrn = <optimized out><br> qxl = 0x7fd6e3c2e540<br>#2 0x00007fd6e377b3db in SigAbortDDX (signo=11, error=EXIT_ERR_ABORT) at ../../../../hw/xfree86/common/xf86Init.c:1053<br>
i = <optimized out><br>#3 0x00007fd6e38811b3 in SigAbortServer (signo=11) at ../../os/log.c:420<br>No locals.<br>#4 0x00007fd6e3881da3 in FatalSignal (signo=11) at ../../os/log.c:550<br> beenhere = 1<br>
#5 <signal handler called><br>No symbol table info available.<br>#6 __strcasecmp_l_avx () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:235<br>No locals.<br>#7 0x00007fd6e378d852 in NewInputDeviceRequest (options=0x7fd6e3f8d420, attrs=0x0, pdev=0x7fffb00134d8) at ../../../../hw/xfree86/common/xf86Xinput.c:912<br>
pInfo = 0x7fd6e3fb9110<br> option = 0x7fd6e3fb6470<br> rval = 0<br> is_auto = <optimized out><br>#8 0x00007fd6e377b1e6 in InitInput (argc=<optimized out>, argv=<optimized out>) at ../../../../hw/xfree86/common/xf86Init.c:893<br>
pInfo = 0x7fd6e3c1b170<br> dev = 0x7fd6e373466c<br>#9 0x00007fd6e372b646 in main (argc=4, argv=<optimized out>, envp=<optimized out>) at ../../dix/main.c:258<br> i = <optimized out><br>
alwaysCheckForInput = {0, 1}<br>(gdb) quit<br><br>There are also a cordump and a Xorg.log, I can send them upon request.<br><br>Thanks.<br><br><div class="gmail_quote">On Wed, Mar 14, 2012 at 13:49, Alon Levy <span dir="ltr"><<a href="mailto:alevy@redhat.com">alevy@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Mon, Mar 12, 2012 at 07:38:41PM +0200, Eugene San wrote:<br>
> Hi all,<br>
><br>
> Recently I've performed an atempt to setup and run Xspice.<br>
><br>
> I have tried on F17 and Ubuntu12.04.<br>
> On Fedora I used prebult binary. It runs but client connects and<br>
> disconnects immidiatly and silently.<br>
<br>
</div>I just tried:<br>
xorg-x11-server-Xspice-0.0.21-16.fc17.x86_64<br>
<br>
It works with spicec, spicy, remote-viewer<br>
spice-client-0.10.1-1.fc17.x86_64<br>
spice-gtk-tools-0.11-2.fc17.x86_64<br>
virt-viewer-0.5.2-1.fc17.x86_64<br>
<br>
There is a fixed bug I need to respin Xspice for (up/down keys not<br>
working correctly) but other then that, it connects, works - I run icewm<br>
and gimp on that for testing.<br>
<div class="im"><br>
><br>
> On Ubuntu I've built from latest qxl release and Xorg segfaults silently<br>
> during the init.<br>
<br>
</div>I would gladly look at any backtrace.<br>
<div class="im"><br>
><br>
> Brief dubug session didn'd bring any results.<br>
><br>
> My questions are:<br>
> 1. What was the setup Xspice worked lately?<br>
</div>above.<br>
<div class="im"><br>
> 2. Can I have some advices in order to get it working?<br>
</div>I run it with:<br>
Xspice :10.0 --port 15000 --disable-ticketing --tls-port 0<br>
<br>
Then I set DISPLAY=:10.0 and run a window manager etc.<br>
<div class="im"><br>
> 3. Are there any plans for pushing Xspice a little more, especially in<br>
> light of raising compositors usage and upcoming wayland, making current<br>
> remote desktop solutions pretty useless?<br>
<br>
</div>I'm working on getting the agent working with it (copy&paste, client<br>
side mouse). I have intentions (the precursor to plans) to make it work<br>
with wayland (that would probably require a more direct connection with<br>
spice-server and not a reuse of xf86-video-qxl).<br>
<br>
><br>
> Thanks<br>
<br>
> _______________________________________________<br>
> Spice-devel mailing list<br>
> <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
<br>
</blockquote></div><br></div>