XMir hangs in xf86OpenConsole() WAS: Re: Fwd: [Bug 1256116] Re: Documentation instructs to install the package unity-system-compositor, but this is not sufficient for having Mir

Thomas Hellstrom thellstrom at vmware.com
Tue Apr 8 06:08:01 UTC 2014


On 04/08/2014 08:00 AM, Thomas Hellstrom wrote:
> Hi!
>
> This happens with unity8-desktop-session-x11 as well.
>
> 0  0x00007fa335dcf1c7 in ioctl () at ../sysdeps/unix/syscall-template.S:81
> #1  0x00007fa33827ac35 in switch_to (vt=8,
>     from=from at entry=0x7fa33838a12d "xf86OpenConsole")
>     at ../../../../../hw/xfree86/os-support/linux/lnx_init.c:74
> #2  0x00007fa33827ae99 in xf86OpenConsole ()
>     at ../../../../../hw/xfree86/os-support/linux/lnx_init.c:197
> #3  0x00007fa33825934f in InitOutput (
>     pScreenInfo=pScreenInfo at entry=0x7fa338608600 <screenInfo>,
>     argc=argc at entry=11, argv=argv at entry=0x7fff73c09518)
>     at ../../../../hw/xfree86/common/xf86Init.c:585
> #4  0x00007fa33821b71b in dix_main (argc=11, argv=0x7fff73c09518,
>     envp=<optimized out>) at ../../dix/main.c:200
> #5  0x00007fa335cfeec5 in __libc_start_main (main=0x7fa338206e50 <main>,
>     argc=11, argv=0x7fff73c09518, init=<optimized out>, fini=<optimized
> out>,
>     rtld_fini=<optimized out>, stack_end=0x7fff73c09508) at libc-start.c:287
> #6  0x00007fa338206e7e in _start ()
>
> Oddly enough, the vmware driver sets the HW_SKIP_CONSOLE flag...

Actually, it looks like the xorgMir variable is never set to TRUE. Any
clues anybody?

When trying unity8-desktop-session-mir, I can certainly get a Mir
desktop running, and all the Mir demos are working...

Thanks,
/Thomas

>
> Xorg logs ends with
> [ 54499.106] (II) LoadModule: "vesa"
> [ 54499.106] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
> [ 54499.106] (II) Module vesa: vendor="X.Org Foundation"
> [ 54499.106]    compiled for 1.15.0, module version = 2.3.3
> [ 54499.106]    Module class: X.Org Video Driver
> [ 54499.106]    ABI class: X.Org Video Driver, version 15.0
> [ 54499.106] (II) vmware: driver for VMware SVGA: vmware0405, vmware0710
> [ 54499.106] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
> [ 54499.106] (II) FBDEV: driver for framebuffer: fbdev
> [ 54499.106] (II) VESA: driver for VESA chipsets: vesa
> [ 54499.106] (++) using VT number 8
>
>
> /Thomas
>
>
>
> On 04/07/2014 04:04 PM, Daniel van Vugt wrote:
>>
>>
>> -------- Original Message --------
>> Subject: [Bug 1256116] Re: Documentation instructs to install the
>> package unity-system-compositor, but this is not sufficient for having
>> Mir
>> Date: Thu, 03 Apr 2014 09:36:51 -0000
>> From: Thomas Hellström <1256116 at bugs.launchpad.net>
>> Reply-To: Bug 1256116 <1256116 at bugs.launchpad.net>
>> To: daniel.van.vugt at canonical.com
>>
>> Hi, There!
>>
>> Tried to install ubuntu-desktop-mir on a vmware VM running 14.04, XMir-
>> capable xf86-video-vmware
>>
>> However, X apparently hangs trying to switch console:
>>
>> root       2111  0.0  0.4 142456  9492 tty8     Ss+  02:35   0:00
>> /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten
>> tcp vt8 -novtswitch
>>
>> (gdb) bt
>> #0  0x00007fb2cd8c11c7 in ioctl () at
>> ../sysdeps/unix/syscall-template.S:81
>> #1  0x00007fb2cfd6cc35 in switch_to (vt=8,
>>     from=from at entry=0x7fb2cfe7c12d "xf86OpenConsole")
>>     at ../../../../../hw/xfree86/os-support/linux/lnx_init.c:74
>> #2  0x00007fb2cfd6ce99 in xf86OpenConsole ()
>>     at ../../../../../hw/xfree86/os-support/linux/lnx_init.c:197
>> #3  0x00007fb2cfd4b34f in InitOutput (
>>     pScreenInfo=pScreenInfo at entry=0x7fb2d00fa600 <screenInfo>,
>>     argc=argc at entry=11, argv=argv at entry=0x7fffb424b118)
>>     at ../../../../hw/xfree86/common/xf86Init.c:585
>> #4  0x00007fb2cfd0d71b in dix_main (argc=11, argv=0x7fffb424b118,
>>     envp=<optimized out>) at ../../dix/main.c:200
>> #5  0x00007fb2cd7f0ec5 in __libc_start_main (main=0x7fb2cfcf8e50 <main>,
>>     argc=11, argv=0x7fffb424b118, init=<optimized out>,
>> fini=<optimized out>,
>>     rtld_fini=<optimized out>, stack_end=0x7fffb424b108) at
>> libc-start.c:287
>> #6  0x00007fb2cfcf8e7e in _start ()
>>
>> Any ideas?
>>
>> Thanks,
>> Thomas
>>



More information about the Mir-devel mailing list