Re: Xorg server on QEMU on Sid
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 to: