Xorg server on QEMU on Sid

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Xorg server on QEMU on Sid

Alexander Voropay-5
I'm trying to run Xorg server on the git QEMU on the current Sid.
It fails on fb device setting

QEMU graphic related options:
-g 1200x800x24 -display gtk

fd console works. /dev/fb0/ device works
(i.e.   "cat /dev/urandom > /dev/fb0"  fills  "nubus-macfb"
with random dots :) )

My Xorg config:
/usr/share/X11/xorg.conf.d/99-fbdev.conf
===============
Section "Device"
  Identifier "MacFB"
  Driver "fbdev"
  Option "fbdev" "/dev/fb0"
  Option "ModeDebug" "true"
EndSection

Section "Screen"
 Identifier "FBScreen"
 Device "MacFB"
 Monitor "MacMonitor"
 DefaultDepth 24
 SubSection "Display"
   Depth 24
 EndSubSection
EndSection

Section "Monitor"
 Identifier "MacMonitor"
EndSection

Section "ServerLayout"
 Identifier "FBLayout"
 Screen "FBScreen"
EndSection
===============

Display blinks at start and Xorg recognizes fremebuffer but fails at
mode setting:
====
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-11-amd64 m68k Debian
Current Operating System: Linux quadra800 5.6.0-1-m68k #1 Debian
5.6.7-1 (2020-04-29) m68k
Kernel command line: console=ttyS0 root=/dev/sda2
Build Date: 31 March 2020  10:14:40AM
xorg-server 2:1.20.8-2 (https://www.debian.org/support)
Current version of pixman: 0.36.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon May 18 03:13:57 2020
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) ServerLayout "FBLayout"
(**) |-->Screen "FBScreen" (0)
(**) |   |-->Monitor "MacMonitor"
(**) |   |-->Device "MacFB"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) Automatically adding GPU devices
(==) Max clients allowed: 256, resource mask: 0x1fffff
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
        Entry deleted from font path.
(==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable
AutoAddDevices.
(II) Loader magic: 0xd01f5468
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 24.1
        X.Org XInput driver : 24.1
        X.Org Server Extension : 10.0
(--) using VT number 7

(II) systemd-logind: logind integration requires -keeptty and -keeptty
was not provided, disabling logind integration
(II) no primary bus or device found
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 1.20.8, module version = 1.0.0
        ABI class: X.Org Server Extension, version 10.0
(II) LoadModule: "fbdev"
(II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
        compiled for 1.20.0, module version = 0.5.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 24.0
(II) FBDEV: driver for framebuffer: fbdev
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
        compiled for 1.20.8, module version = 0.0.2
        ABI class: X.Org Video Driver, version 24.1
(II) FBDEV(0): using /dev/fb0
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(**) FBDEV(0): Depth 24, (--) framebuffer bpp 32
(==) FBDEV(0): RGB weight 888
(==) FBDEV(0): Default visual is TrueColor
(==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) FBDEV(0): hardware: DAFB (video memory: 2812kB)
(DB) xf86MergeOutputClassOptions unsupported bus type 0
(**) FBDEV(0): Option "fbdev" "/dev/fb0"
(II) FBDEV(0): checking modes against framebuffer device...
(II) FBDEV(0): checking modes against monitor...
(II) FBDEV(0): Virtual size is 1200x800 (pitch 1200)
(**) FBDEV(0):  Built-in mode "current": 96.0 MHz, 63.2 kHz, 76.7 Hz
(II) FBDEV(0): Modeline "current"x0.0   96.01  1200 1232 1376 1520
800 804 808 824 -hsync -vsync -csync (63.2 kHz b)
(==) FBDEV(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
        compiled for 1.20.8, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.4
(**) FBDEV(0): using shadow framebuffer
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/lib/xorg/modules/libshadow.so
(II) Module shadow: vendor="X.Org Foundation"
        compiled for 1.20.8, module version = 1.1.0
        ABI class: X.Org ANSI C Emulation, version 0.4
(EE) FBDEV(0): FBIOPUT_VSCREENINFO succeeded but modified mode
(EE) FBDEV(0): mode initialization failed
(EE)
Fatal server error:
(EE) AddScreen/ScreenInit failed for driver 0
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for
additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
===============

There was a similar issue with FBIOPUT_VSCREENINFO but in 2009

https://lists.debian.org/debian-arm/2009/02/msg00065.html
https://www.mail-archive.com/xorg@.../msg04115.html

filtered strace

openat(AT_FDCWD, "/dev/fb0", O_RDWR|O_LARGEFILE) = 11
ioctl(11, FBIOGET_FSCREENINFO, 0xd0233f4c) = 0
ioctl(11, FBIOGET_VSCREENINFO, 0xd0233f8c) = 0
ioctl(11, FBIOGET_VSCREENINFO, 0xd023402c) = 0
ioctl(11, FBIOPUT_VSCREENINFO, 0xefe9ea4c) = 0
ioctl(11, FBIOPUT_VSCREENINFO, 0xd023402c) = 0

Reply | Threaded
Open this post in threaded view
|

Re: Xorg server on QEMU on Sid

John Paul Adrian Glaubitz
On 5/18/20 9:44 AM, Alexander Voropay wrote:
> I'm trying to run Xorg server on the git QEMU on the current Sid.
> It fails on fb device setting
>
> QEMU graphic related options:
> -g 1200x800x24 -display gtk
>
> fd console works. /dev/fb0/ device works
> (i.e.   "cat /dev/urandom > /dev/fb0"  fills  "nubus-macfb"
> with random dots :) )

I have never tried Xorg on qemu-m68k but Laurent might be able to give you
some more hints.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

Re: Xorg server on QEMU on Sid

Laurent Vivier-5
Le 18/05/2020 à 09:46, John Paul Adrian Glaubitz a écrit :

> On 5/18/20 9:44 AM, Alexander Voropay wrote:
>> I'm trying to run Xorg server on the git QEMU on the current Sid.
>> It fails on fb device setting
>>
>> QEMU graphic related options:
>> -g 1200x800x24 -display gtk
>>
>> fd console works. /dev/fb0/ device works
>> (i.e.   "cat /dev/urandom > /dev/fb0"  fills  "nubus-macfb"
>> with random dots :) )
>
> I have never tried Xorg on qemu-m68k but Laurent might be able to give you
> some more hints.
>
> Adrian
>

With debian/etch-m68k I used the attached xorg.conf file. Never tried
with debian/sid.

Thanks,
Laurent

xorg.conf (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Xorg server on QEMU on Sid

Alexander Voropay-5
It seems it's not depend on config.

Tried 800x600 frremebuffer in QEMU


X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-11-amd64 m68k Debian
Current Operating System: Linux quadra800 5.6.0-1-m68k #1 Debian
5.6.7-1 (2020-04-29) m68k
Kernel command line: console=ttyS0 root=/dev/sda2
Build Date: 31 March 2020  10:14:40AM
xorg-server 2:1.20.8-2 (https://www.debian.org/support)
Current version of pixman: 0.36.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon May 18 07:24:13 2020
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) ServerLayout "FBLayout"
(**) |-->Screen "FBScreen" (0)
(**) |   |-->Monitor "MacMonitor"
(**) |   |-->Device "MacFB"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) Automatically adding GPU devices
(==) Max clients allowed: 256, resource mask: 0x1fffff
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
        Entry deleted from font path.
(==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable
AutoAddDevices.
(II) Loader magic: 0xd01f5468
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 24.1
        X.Org XInput driver : 24.1
        X.Org Server Extension : 10.0
(--) using VT number 4

(II) systemd-logind: logind integration requires -keeptty and -keeptty
was not provided, disabling logind integration
(II) no primary bus or device found
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 1.20.8, module version = 1.0.0
        ABI class: X.Org Server Extension, version 10.0
(II) LoadModule: "fbdev"
(II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
        compiled for 1.20.0, module version = 0.5.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 24.0
(II) FBDEV: driver for framebuffer: fbdev
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
        compiled for 1.20.8, module version = 0.0.2
        ABI class: X.Org Video Driver, version 24.1
(II) FBDEV(0): using /dev/fb0
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(**) FBDEV(0): Depth 24, (--) framebuffer bpp 32
(==) FBDEV(0): RGB weight 888
(==) FBDEV(0): Default visual is TrueColor
(==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) FBDEV(0): hardware: DAFB (video memory: 468kB)
(DB) xf86MergeOutputClassOptions unsupported bus type 0
(**) FBDEV(0): Option "fbdev" "/dev/fb0"
(II) FBDEV(0): checking modes against framebuffer device...
(II) FBDEV(0): checking modes against monitor...
(II) FBDEV(0): Virtual size is 800x600 (pitch 800)
(**) FBDEV(0):  Built-in mode "current": 48.0 MHz, 46.9 kHz, 75.1 Hz
(II) FBDEV(0): Modeline "current"x0.0   48.00  800 832 928 1024  600
604 608 624 -hsync -vsync -csync (46.9 kHz b)
(==) FBDEV(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
        compiled for 1.20.8, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.4
(**) FBDEV(0): using shadow framebuffer
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/lib/xorg/modules/libshadow.so
(II) Module shadow: vendor="X.Org Foundation"
        compiled for 1.20.8, module version = 1.1.0
        ABI class: X.Org ANSI C Emulation, version 0.4
(EE) FBDEV(0): FBIOPUT_VSCREENINFO succeeded but modified mode
(EE) FBDEV(0): mode initialization failed
(EE)
Fatal server error:
(EE) AddScreen/ScreenInit failed for driver 0
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for
additional information.
(EE)

(EE) Server terminated with error (1). Closing log file.

пн, 18 мая 2020 г. в 13:05, Laurent Vivier <[hidden email]>:

>
> Le 18/05/2020 à 09:46, John Paul Adrian Glaubitz a écrit :
> > On 5/18/20 9:44 AM, Alexander Voropay wrote:
> >> I'm trying to run Xorg server on the git QEMU on the current Sid.
> >> It fails on fb device setting
> >>
> >> QEMU graphic related options:
> >> -g 1200x800x24 -display gtk
> >>
> >> fd console works. /dev/fb0/ device works
> >> (i.e.   "cat /dev/urandom > /dev/fb0"  fills  "nubus-macfb"
> >> with random dots :) )
> >
> > I have never tried Xorg on qemu-m68k but Laurent might be able to give you
> > some more hints.
> >
> > Adrian
> >
>
>
> With debian/etch-m68k I used the attached xorg.conf file. Never tried
> with debian/sid.
>
> Thanks,
> Laurent

Reply | Threaded
Open this post in threaded view
|

Re: Xorg server on QEMU on Sid

Finn Thain
In reply to this post by Laurent Vivier-5
On Mon, 18 May 2020, Laurent Vivier wrote:

> Le 18/05/2020 à 09:46, John Paul Adrian Glaubitz a écrit :
> > On 5/18/20 9:44 AM, Alexander Voropay wrote:
> >> I'm trying to run Xorg server on the git QEMU on the current Sid.
> >> It fails on fb device setting
> >>
> >> QEMU graphic related options:
> >> -g 1200x800x24 -display gtk
> >>
> >> fd console works. /dev/fb0/ device works
> >> (i.e.   "cat /dev/urandom > /dev/fb0"  fills  "nubus-macfb"
> >> with random dots :) )
> >
> > I have never tried Xorg on qemu-m68k but Laurent might be able to give you
> > some more hints.
> >
> > Adrian
> >
>
> With debian/etch-m68k I used the attached xorg.conf file. Never tried
> with debian/sid.
>
That's my recollection also. The old Xorg from etch-m68k didn't require
mode switching.

I don't know if this behaviour is configurable in the current Xorg
(someone should consult the source code).

Arguably, macfb should support mode switching. No-one implemented it
because Apple never made public any DAFB chip docs.

Still, it's possible that someone has since figured out how the chip
works. NetBSD may have DAFB driver code.

BTW, if you do get Xorg to work in QEMU, you may run into ADB issues.
Those issues are being worked on.

Also BTW, if you have a Quadra/Performa/Centris/LC 630 or 580 or similar,
you'll find that the valkyriefb driver already supports mode switching.

> Thanks,
> Laurent
>
Reply | Threaded
Open this post in threaded view
|

Re: Xorg server on QEMU on Sid

John Paul Adrian Glaubitz
In reply to this post by Laurent Vivier-5
On 5/20/20 12:04 AM, Alexander Voropay wrote:

> I've successfully started Xorg on the Sid/QEMU.
>
> It seems Quadra 800 framebuffer supports only limited
> set of resolution and color set modes.
>
> According to Quadra 800 page at Everymac
> https://everymac.com/systems/apple/mac_quadra/specs/mac_quadra_800.html
> it supports
> "With 1 MB of VRAM installed, it can support 640x480, 800x600
> and 832x624 at 16-bit color and 1024x768 and 1152x870 at 8-bit color."
> it corresponds to the
> https://elixir.bootlin.com/linux/v5.6/source/drivers/video/fbdev/macmodes.h
>
> I've started QEMU with
> -g 800x600x16 -display gtk
> and Xorg started with default (auto) config!
>
> Screenshot is attached. (I hope mailing list will pass it)
That's pretty neat. I would have never expected it to work without
further changes to the driver and qemu. I'm positively surprised.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

Re: Xorg server on QEMU on Sid

Alexander Voropay-5
In reply to this post by Laurent Vivier-5
I've successfully started Xorg on the Sid/QEMU.

It seems Quadra 800 framebuffer supports only limited
set of resolution and color set modes.

According to Quadra 800 page at Everymac
https://everymac.com/systems/apple/mac_quadra/specs/mac_quadra_800.html
it supports
"With 1 MB of VRAM installed, it can support 640x480, 800x600
and 832x624 at 16-bit color and 1024x768 and 1152x870 at 8-bit color."
it corresponds to the
https://elixir.bootlin.com/linux/v5.6/source/drivers/video/fbdev/macmodes.h

I've started QEMU with
-g 800x600x16 -display gtk
and Xorg started with default (auto) config!

..Mailing list processor can't pass screenshots

Log:
===
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[  5795.120] Build Operating System: Linux 4.9.0-11-amd64 m68k Debian
[  5795.122] Current Operating System: Linux quadra800 5.6.0-1-m68k #1
Debian 5.6.7-1 (2020-04-29) m68k
[  5795.123] Kernel command line: console=ttyS0 root=/dev/sda2
[  5795.128] Build Date: 31 March 2020  10:14:40AM
[  5795.131] xorg-server 2:1.20.8-2 (https://www.debian.org/support)
[  5795.134] Current version of pixman: 0.36.0
[  5795.141]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  5795.142] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  5795.160] (==) Log file: "/var/log/Xorg.0.log", Time: Tue May 19
17:27:37 2020
[  5795.171] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  5795.184] (==) No Layout section.  Using the first Screen section.
[  5795.185] (==) No screen section available. Using defaults.
[  5795.185] (**) |-->Screen "Default Screen Section" (0)
[  5795.185] (**) |   |-->Monitor "<default monitor>"
[  5795.192] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  5795.193] (==) Automatically adding devices
[  5795.193] (==) Automatically enabling devices
[  5795.193] (==) Automatically adding GPU devices
[  5795.195] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  5795.196] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  5795.196]    Entry deleted from font path.
[  5795.197] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        built-ins
[  5795.197] (==) ModulePath set to "/usr/lib/xorg/modules"
[  5795.199] (II) The server relies on udev to provide the list of
input devices.
        If no devices become available, reconfigure udev or disable
AutoAddDevices.
[  5795.199] (II) Loader magic: 0xd01f5468
[  5795.200] (II) Module ABI versions:
[  5795.200]    X.Org ANSI C Emulation: 0.4
[  5795.200]    X.Org Video Driver: 24.1
[  5795.200]    X.Org XInput driver : 24.1
[  5795.200]    X.Org Server Extension : 10.0
[  5795.309] (--) using VT number 2

[  5795.310] (II) systemd-logind: logind integration requires -keeptty
and -keeptty was not provided, disabling logind integration
[  5795.317] (II) no primary bus or device found
[  5795.322] (II) LoadModule: "glx"
[  5795.339] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  5795.353] (II) Module glx: vendor="X.Org Foundation"
[  5795.354]    compiled for 1.20.8, module version = 1.0.0
[  5795.355]    ABI class: X.Org Server Extension, version 10.0
[  5795.357] (==) Matched modesetting as autoconfigured driver 0
[  5795.357] (==) Matched fbdev as autoconfigured driver 1
[  5795.357] (==) Assigned the driver to the xf86ConfigLayout
[  5795.358] (II) LoadModule: "modesetting"
[  5795.359] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  5795.360] (II) Module modesetting: vendor="X.Org Foundation"
[  5795.361]    compiled for 1.20.8, module version = 1.20.8
[  5795.361]    Module class: X.Org Video Driver
[  5795.361]    ABI class: X.Org Video Driver, version 24.1
[  5795.361] (II) LoadModule: "fbdev"
[  5795.363] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[  5795.365] (II) Module fbdev: vendor="X.Org Foundation"
[  5795.365]    compiled for 1.20.0, module version = 0.5.0
[  5795.365]    Module class: X.Org Video Driver
[  5795.366]    ABI class: X.Org Video Driver, version 24.0
[  5795.366] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  5795.367] (II) FBDEV: driver for framebuffer: fbdev
[  5795.404] (WW) Falling back to old probe method for modesetting
[  5795.408] (EE) open /dev/dri/card0: No such file or directory
[  5795.409] (WW) Falling back to old probe method for fbdev
[  5795.409] (II) Loading sub module "fbdevhw"
[  5795.409] (II) LoadModule: "fbdevhw"
[  5795.411] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[  5795.413] (II) Module fbdevhw: vendor="X.Org Foundation"
[  5795.413]    compiled for 1.20.8, module version = 0.0.2
[  5795.413]    ABI class: X.Org Video Driver, version 24.1
[  5795.420] (II) FBDEV(0): using default device
[  5795.421] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  5795.424] (II) FBDEV(0): Creating default Display subsection in
Screen section
        "Default Screen Section" for depth/fbbpp 15/16
[  5795.425] (==) FBDEV(0): Depth 15, (==) framebuffer bpp 16
[  5795.425] (==) FBDEV(0): RGB weight 555
[  5795.426] (==) FBDEV(0): Default visual is TrueColor
[  5795.426] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[  5795.427] (II) FBDEV(0): hardware: DAFB (video memory: 937kB)
[  5795.427] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[  5795.428] (II) FBDEV(0): checking modes against framebuffer device...
[  5795.428] (II) FBDEV(0): checking modes against monitor...
[  5795.429] (II) FBDEV(0): Virtual size is 800x600 (pitch 800)
[  5795.429] (**) FBDEV(0):  Built-in mode "current": 48.0 MHz, 46.9
kHz, 75.1 Hz
[  5795.430] (II) FBDEV(0): Modeline "current"x0.0   48.00  800 832
928 1024  600 604 608 624 -hsync -vsync -csync (46.9 kHz b)
[  5795.431] (==) FBDEV(0): DPI set to (96, 96)
[  5795.431] (II) Loading sub module "fb"
[  5795.431] (II) LoadModule: "fb"
[  5795.432] (II) Loading /usr/lib/xorg/modules/libfb.so
[  5795.434] (II) Module fb: vendor="X.Org Foundation"
[  5795.435]    compiled for 1.20.8, module version = 1.0.0
[  5795.435]    ABI class: X.Org ANSI C Emulation, version 0.4
[  5795.435] (**) FBDEV(0): using shadow framebuffer
[  5795.435] (II) Loading sub module "shadow"
[  5795.435] (II) LoadModule: "shadow"
[  5795.436] (II) Loading /usr/lib/xorg/modules/libshadow.so
[  5795.438] (II) Module shadow: vendor="X.Org Foundation"
[  5795.438]    compiled for 1.20.8, module version = 1.1.0
[  5795.438]    ABI class: X.Org ANSI C Emulation, version 0.4
[  5795.439] (II) UnloadModule: "modesetting"
[  5795.440] (II) Unloading modesetting
[  5795.449] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen
blanking not supported by kernel - disabling)
[  5795.462] (==) FBDEV(0): Backing store enabled
[  5795.471] (==) FBDEV(0): DPMS enabled
[  5795.474] (II) Initializing extension Generic Event Extension
[  5795.479] (II) Initializing extension SHAPE
[  5795.484] (II) Initializing extension MIT-SHM
[  5795.489] (II) Initializing extension XInputExtension
[  5795.496] (II) Initializing extension XTEST
[  5795.500] (II) Initializing extension BIG-REQUESTS
[  5795.505] (II) Initializing extension SYNC
[  5795.510] (II) Initializing extension XKEYBOARD
[  5795.515] (II) Initializing extension XC-MISC
[  5795.520] (II) Initializing extension SECURITY
[  5795.526] (II) Initializing extension XFIXES
[  5795.533] (II) Initializing extension RENDER
[  5795.538] (II) Initializing extension RANDR
[  5795.549] (II) Initializing extension COMPOSITE
[  5795.556] (II) Initializing extension DAMAGE
[  5795.561] (II) Initializing extension MIT-SCREEN-SAVER
[  5795.566] (II) Initializing extension DOUBLE-BUFFER
[  5795.571] (II) Initializing extension RECORD
[  5795.579] (II) Initializing extension DPMS
[  5795.586] (II) Initializing extension Present
[  5795.593] (II) Initializing extension DRI3
[  5795.593] (II) Initializing extension X-Resource
[  5795.598] (II) Initializing extension XVideo
[  5795.603] (II) Initializing extension XVideo-MotionCompensation
[  5795.603] (II) Initializing extension SELinux
[  5795.603] (II) SELinux: Disabled on system
[  5795.603] (II) Initializing extension GLX
[  5795.611] (II) AIGLX: Screen 0 is not DRI2 capable
[  5795.715] (II) IGLX: Loaded and initialized swrast
[  5795.715] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[  5795.716] (II) Initializing extension XFree86-VidModeExtension
[  5795.721] (II) Initializing extension XFree86-DGA
[  5795.727] (II) Initializing extension XFree86-DRI
[  5795.728] (II) Initializing extension DRI2
[  5797.342] (II) config/udev: Adding input device ADB keyboard
(/dev/input/event0)
[  5797.348] (**) ADB keyboard: Applying InputClass "libinput keyboard catchall"
[  5797.349] (II) LoadModule: "libinput"
[  5797.363] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  5797.413] (II) Module libinput: vendor="X.Org Foundation"
[  5797.413]    compiled for 1.20.4, module version = 0.29.0
[  5797.413]    Module class: X.Org XInput Driver
[  5797.414]    ABI class: X.Org XInput driver, version 24.1
[  5797.415] (II) Using input driver 'libinput' for 'ADB keyboard'
[  5797.417] (**) ADB keyboard: always reports core events
[  5797.417] (**) Option "Device" "/dev/input/event0"
[  5797.419] (**) Option "_source" "server/udev"
[  5797.478] (II) event0  - ADB keyboard: is tagged by udev as: Keyboard
[  5797.479] (II) event0  - ADB keyboard: device is a keyboard
[  5797.483] (II) event0  - ADB keyboard: device removed
[  5797.488] (**) Option "config_info"
"udev:/sys/devices/virtual/input/input0/event0"
[  5797.488] (II) XINPUT: Adding extended input device "ADB keyboard"
(type: KEYBOARD, id 6)
[  5797.489] (**) Option "xkb_model" "macintosh"
[  5797.489] (**) Option "xkb_layout" "us"
[  5798.036] (II) event0  - ADB keyboard: is tagged by udev as: Keyboard
[  5798.037] (II) event0  - ADB keyboard: device is a keyboard
[  5798.047] (II) config/udev: Adding input device ADB mouse (/dev/input/event1)
[  5798.047] (**) ADB mouse: Applying InputClass "libinput pointer catchall"
[  5798.047] (II) Using input driver 'libinput' for 'ADB mouse'
[  5798.048] (**) ADB mouse: always reports core events
[  5798.048] (**) Option "Device" "/dev/input/event1"
[  5798.048] (**) Option "_source" "server/udev"
[  5798.059] (II) event1  - ADB mouse: is tagged by udev as: Mouse
[  5798.060] (II) event1  - ADB mouse: device is a pointer
[  5798.063] (II) event1  - ADB mouse: device removed
[  5798.067] (**) Option "config_info"
"udev:/sys/devices/virtual/input/input1/event1"
[  5798.067] (II) XINPUT: Adding extended input device "ADB mouse"
(type: MOUSE, id 7)
[  5798.076] (**) Option "AccelerationScheme" "none"
[  5798.078] (**) ADB mouse: (accel) selected scheme none/0
[  5798.078] (**) ADB mouse: (accel) acceleration factor: 2.000
[  5798.078] (**) ADB mouse: (accel) acceleration threshold: 4
[  5798.088] (II) event1  - ADB mouse: is tagged by udev as: Mouse
[  5798.089] (II) event1  - ADB mouse: device is a pointer
[  5798.095] (II) config/udev: Adding input device ADB mouse (/dev/input/mouse0)
[  5798.096] (II) No input driver specified, ignoring this device.
[  5798.096] (II) This device may have been added with another device file.
[  6805.460] (II) event0  - ADB keyboard: device removed
[  6805.507] (II) event1  - ADB mouse: device removed
[  6811.516] (II) event0  - ADB keyboard: is tagged by udev as: Keyboard
[  6811.544] (II) event0  - ADB keyboard: device is a keyboard
[  6811.576] (II) event1  - ADB mouse: is tagged by udev as: Mouse
[  6811.578] (II) event1  - ADB mouse: device is a pointer

Reply | Threaded
Open this post in threaded view
|

Re: Xorg server on QEMU on Sid

Alexander Voropay-5
In reply to this post by John Paul Adrian Glaubitz
..I've resend my message to mailing lists w/o attachment...

> > Screenshot is attached. (I hope mailing list will pass it)
> That's pretty neat. I would have never expected it to work without
> further changes to the driver and qemu. I'm positively surprised.

Yes, I was wondered QEMU and kernel 'fbdev' and 'graphic console'
support virtually any resolutions and color depths (i.e. 1200x800x24)
and 'fbset' tool sees it correctly but Xorg's 'fbdev' driver fails.




--
-=AV=-