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
Christopher James Halse Rogers
chris at cooperteam.net
Wed Apr 9 00:46:16 UTC 2014
Hm. I've just tried ubuntu-desktop-mir, and it (mostly) works for me on
Intel HW.
Things went pear-shaped when I tried to VT switch - it did indeed look
like Xorg was trying to VT switch too, which results in sadness - but
by and large things worked (multimonitor, resolution changes,
suspend/resume, etc).
There'll likely be another burst of XMir activity soon; I'll have a
look through then.
On Tue, Apr 8, 2014 at 8:02 PM, Thomas Hellstrom
<thellstrom at vmware.com> wrote:
> Hi!
>
> Well, the exact same problem happens when I install ubuntu-desktop-mir
> to run Unity 7 on top of XMir.
>
> Anyway, after further debugging it appears to be the unity greeter
> that
> errors,
> this closes down XMir and starts a new non-XMir X session that hangs
> in
> xf86OpenConsole()
>
> DEBUG: unity-greeter.vala:474: Starting unity-greeter 14.04.7 UID=112
> L
> ANG=en_US.UTF-8
> [+0.00s] DEBUG: unity-greeter.vala:477: Setting cursor
> [+0.00s] DEBUG: unity-greeter.vala:491: Loading command line options
> [+0.00s] DEBUG: unity-greeter.vala:519: Setting GTK+ settings
> [+0.04s] DEBUG: unity-greeter.vala:542: Creating Unity Greeter
> [+0.04s] DEBUG: unity-greeter.vala:57: Creating background surface
> [+0.05s] ERROR: The program 'unity-greeter' received an X Window
> System
> error.
> This probably reflects a bug in the program.
> The error was 'BadValue (integer parameter out of range for
> operation)'.
> (Details: serial 147 error_code 2 request_code 53 minor_code 0)
> (Note to programmers: normally, X errors are reported
> asynchronously;
> that is, you will receive the error a while after causing it.
> To debug your program, run it with the GDK_SYNCHRONIZE environment
> variable to change this behavior. You can then get a meaningful
> backtrace from your debugger if you break on the gdk_x_error()
> function.)
>
> /Thomas
>
>
>
> On 04/08/2014 09:44 AM, Kevin Gunn wrote:
>> +bregma for real :)
>>
>>
>> On Tue, Apr 8, 2014 at 2:44 AM, Kevin Gunn <kevin.gunn at canonical.com
>> <mailto:kevin.gunn at canonical.com>> wrote:
>>
>> +bregma to keep me honest
>>
>> Hi Thomas -
>> I believe the unity8-desktop-session-x11 is something that
>> wasn't
>> really intended to be used in the end. Its just a unity8 running
>> in an X window and redundant to the ./run script that resides in
>> the unity8 source package.
>>
>> Good to hear the unity8-desktop-session-mir is working for you.
>>
>> br,kg
>>
>>
>> On Tue, Apr 8, 2014 at 1:08 AM, Thomas Hellstrom
>> <thellstrom at vmware.com <mailto:thellstrom at vmware.com>> wrote:
>>
>> 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
>> <mailto:1256116 at bugs.launchpad.net>>
>> >> Reply-To: Bug 1256116 <1256116 at bugs.launchpad.net
>> <mailto:1256116 at bugs.launchpad.net>>
>> >> To: daniel.van.vugt at canonical.com
>> <mailto: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
>> >>
>>
>> --
>> Mir-devel mailing list
>> Mir-devel at lists.ubuntu.com
>> <mailto:Mir-devel at lists.ubuntu.com>
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/mir-devel
>>
>> <https://urldefense.proofpoint.com/v1/url?u=https://lists.ubuntu.com/mailman/listinfo/mir-devel&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=l5Ago9ekmVFZ3c4M6eauqrJWGwjf6fTb%2BP3CxbBFkVM%3D%0A&m=4XTzFwggwYw%2B3ZED3aZE%2BXUUyO9Oo%2BNCvbQmyZfkxi4%3D%0A&s=ed07ab9a1d939d2cd6d80c7f964795dc80ba7919419f90a02981b7d6a1fab1b2>
>>
>>
>>
>
> --
> Mir-devel mailing list
> Mir-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/mir-devel
More information about the Mir-devel
mailing list