Xorg Needs KVM Support within UbuntuBSD
Bug #1568104 reported by
Jesse N. Richardson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg-server (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When starting X in a KVM instance on UbuntuBSD, Xorg crashes with the following log: http://
To post a comment you must log in.
I got this comment from Steven Chamberlain (Debian GNU/kFreeBSD developer):
On Sun, Apr 17, 2016 at 02:57:07PM +0100, Steven Chamberlain wrote: /bugs.launchpad .net/ubuntu/ +source/ xorg-server/ +bug/1568104 xorg-video- qxl, not the Xorg sources. debian. net/src/ libdrm/ 2.4.58- 2/xf86drmMode. c/?hl=724# L776 *.modesetting to ask the kernel of +0x4e) [0x58cc8e] x86_64- kfreebsd- gnu/libpciacces s.so.0 xorg/modules/ drivers/ qxl_drv. so 0xb530) [0x8055b0530] xorg/modules/ drivers/ qxl_drv. so 0x7811) [0x8055ac811] xorg-video- qxl-dbg might give a more uninstalling
> Hi!
>
> (I'm not registered on Launchpad, so mailing you directly...)
>
> In reply to
> https:/
>
> it seems to be a problem with xserver-
> server itself.
>
> Firstly:
>
> | [ 144.925] (II) [KMS] drm report modesetting isn't supported.
>
> may be expected, if the FreeBSD kernel does not have a KMS driver for
> QXL. The detection happens in
> http://
> which mainly looks at a sysctl hw.dri.
> KMS is enabled or not. (Maybe the original reporter could share his
> output of `sysctl hw.dri` to confirm this).
>
> Without that, it falls back to some other mode of operation. It seems
> to attempt some kind of direct memory-mapped I/O, and maybe that code is
> unsuitable for kFreeBSD:
>
> | [ 145.095] (EE) Backtrace:
> | [ 145.096] (EE) 0: /usr/bin/X (xorg_backtrace
> | [ 145.096] (EE) 1: /usr/bin/X (0x400000+0x191009) [0x591009]
> | [ 145.096] (EE) 2: ?? [0x7ffffffff043]
> | [ 145.096] (EE) 3: /usr/lib/
> | (pci_io_write8+0x3) [0x80104e203]
> | [ 145.096] (EE) 4: /usr/lib/
> | (0x8055a5000+
> | [ 145.096] (EE) 5: /usr/lib/
> | (0x8055a5000+
>
> (Installing package xserver-
> detailed backtrace).
>
> However, if kFreeBSD doesn't support KMS with QXL, maybe it has no
> advantage over plain VESA mode? I would consider disabling/
> the QXL driver, if it can't be easily fixed for kFreeBSD. Then Xorg
> would fall back to VESA mode and not crash.
>
> Regards,
> --
> Steven Chamberlain
> <email address hidden>