Tiny Core Extensions > TCE Q&A Forum

Xorg not working with TC13.1 on vga std

(1/3) > >>

pstavirs:
I'm using TC to build a VM that should work across multiple hypervisors.

With a standard VGA display for a VM (e.g. vboxvga in vbox or vga std in qemu), I'm not able to get Xorg to come up with TC13.1

Here's a snippet of Xorg.0.log -


--- Code: ---[    30.855] (==) Matched vboxvideo as autoconfigured driver 0
[    30.856] (==) Matched modesetting as autoconfigured driver 1
[    30.856] (==) Matched fbdev as autoconfigured driver 2
[    30.856] (==) Matched vesa as autoconfigured driver 3
[    30.856] (==) Assigned the driver to the xf86ConfigLayout
[    30.856] (II) LoadModule: "vboxvideo"
[    30.856] (WW) Warning, couldn't open module vboxvideo
[    30.856] (EE) Failed to load module "vboxvideo" (module does not exist, 0)
[    30.856] (II) LoadModule: "modesetting"
[    30.856] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[    30.863] (II) Module modesetting: vendor="X.Org Foundation"
[    30.863]    compiled for 1.21.1.3, module version = 1.21.1
[    30.863]    Module class: X.Org Video Driver
[    30.863]    ABI class: X.Org Video Driver, version 25.2
[    30.863] (II) LoadModule: "fbdev"
[    30.863] (II) Loading /usr/local/lib/xorg/modules/drivers/fbdev_drv.so
[    30.864] (II) Module fbdev: vendor="X.Org Foundation"
[    30.864]    compiled for 1.21.1.3, module version = 0.5.0
[    30.864]    Module class: X.Org Video Driver
[    30.864]    ABI class: X.Org Video Driver, version 25.2
[    30.864] (II) LoadModule: "vesa"
[    30.864] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[    30.866] (II) Module vesa: vendor="X.Org Foundation"
[    30.866]    compiled for 1.21.1.3, module version = 2.5.0
[    30.866]    Module class: X.Org Video Driver
[    30.866]    ABI class: X.Org Video Driver, version 25.2
[    30.866] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    30.866] (II) FBDEV: driver for framebuffer: fbdev
[    30.866] (II) VESA: driver for VESA chipsets: vesa
[    30.866] (--) using VT number 2
[    30.877] (EE) open /dev/dri/card0: No such file or directory
[    30.877] (WW) Falling back to old probe method for modesetting
[    30.877] (EE) open /dev/dri/card0: No such file or directory
[    30.877] (II) Loading sub module "fbdevhw"
[    30.877] (II) LoadModule: "fbdevhw"
[    30.877] (II) Loading /usr/local/lib/xorg/modules/libfbdevhw.so
[    30.878] (II) Module fbdevhw: vendor="X.Org Foundation"
[    30.878]    compiled for 1.21.1.3, module version = 0.0.2
[    30.878]    ABI class: X.Org Video Driver, version 25.2
[    30.879] (EE) Unable to find a valid framebuffer device
[    30.879] (WW) Falling back to old probe method for fbdev
[    30.879] (II) Loading sub module "fbdevhw"
[    30.879] (II) LoadModule: "fbdevhw"
[    30.879] (II) Loading /usr/local/lib/xorg/modules/libfbdevhw.so
[    30.879] (II) Module fbdevhw: vendor="X.Org Foundation"
[    30.879]    compiled for 1.21.1.3, module version = 0.0.2
[    30.879]    ABI class: X.Org Video Driver, version 25.2
[    30.879] (II) FBDEV(2): using default device
[    30.879] (EE) Screen 0 deleted because of no matching config section.
[    30.879] (II) UnloadModule: "modesetting"
[    30.879] (EE) Screen 0 deleted because of no matching config section.
[    30.879] (II) UnloadModule: "fbdev"
[    30.879] (II) UnloadSubModule: "fbdevhw"
[    30.879] (EE)
Fatal server error:
[    30.880] (EE) Cannot run in framebuffer mode. Please specify busIDs
[    30.880] (EE)

--- End code ---

With TC 13.1, Xorg-7.7 includes both xf86-video-vesa and xf86-video-fbdev unlike TC12.0 which includes only the vesa driver. I believe this was done to support UEFI.

Not sure how to fix the above error.

I tried removing the fbdev tcz so that vesa gets used as earlier, but I get stuck with X not able to find a VESA BIOS -


--- Code: ---[    14.146] (==) Matched modesetting as autoconfigured driver 0
[    14.146] (==) Matched fbdev as autoconfigured driver 1
[    14.146] (==) Matched vesa as autoconfigured driver 2
[    14.146] (==) Assigned the driver to the xf86ConfigLayout
[    14.146] (II) LoadModule: "modesetting"
[    14.146] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[    14.147] (II) Module modesetting: vendor="X.Org Foundation"
[    14.147]    compiled for 1.21.1.3, module version = 1.21.1
[    14.147]    Module class: X.Org Video Driver
[    14.147]    ABI class: X.Org Video Driver, version 25.2
[    14.147] (II) LoadModule: "fbdev"
[    14.148] (WW) Warning, couldn't open module fbdev
[    14.148] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    14.148] (II) LoadModule: "vesa"
[    14.148] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[    14.148] (II) Module vesa: vendor="X.Org Foundation"
[    14.148]    compiled for 1.21.1.3, module version = 2.5.0
[    14.148]    Module class: X.Org Video Driver
[    14.148]    ABI class: X.Org Video Driver, version 25.2
[    14.148] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    14.148] (II) VESA: driver for VESA chipsets: vesa
[    14.148] (--) using VT number 2
[    14.156] (EE) open /dev/dri/card0: No such file or directory
[    14.156] (WW) Falling back to old probe method for modesetting
[    14.156] (EE) open /dev/dri/card0: No such file or directory
[    14.156] (EE) Screen 0 deleted because of no matching config section.
[    14.156] (II) UnloadModule: "modesetting"
[    14.156] (II) Loading sub module "vbe"
[    14.156] (II) LoadModule: "vbe"
[    14.157] (II) Loading /usr/local/lib/xorg/modules/libint10.so
[    14.158] (II) Module int10: vendor="X.Org Foundation"
[    14.158]    compiled for 1.21.1.3, module version = 1.0.0
[    14.158]    ABI class: X.Org Video Driver, version 25.2
[    14.158] (II) Loading sub module "int10"
[    14.158] (II) LoadModule: "int10"
[    14.158] (II) Loading /usr/local/lib/xorg/modules/libint10.so
[    14.158] (II) Module int10: vendor="X.Org Foundation"
[    14.158]    compiled for 1.21.1.3, module version = 1.0.0
[    14.158]    ABI class: X.Org Video Driver, version 25.2
[    14.158] (II) VESA(0): initializing int10
[    14.202] (II) VESA(0): VESA BIOS not detected
[    14.206] (II) UnloadModule: "vesa"
[    14.206] (II) UnloadSubModule: "int10"
[    14.206] (II) Unloading int10
[    14.206] (II) UnloadSubModule: "int10"
[    14.206] (II) Unloading int10
[    14.206] (EE) Screen(s) found, but none have a usable configuration.
[    14.206] (EE)
Fatal server error:
[    14.206] (EE) no screens found(EE)
[    14.206] (EE)

--- End code ---

I see that xorg libvbe.so module is not included with xserver unlike previous TC/Xorg versions. Is that the reason for the above? I tried copying libvbe.so from TC12 to TC13.1 but that didn't work - most likely since the xorg-server versions are different in TC12 and TC13.1.

TC12 works fine with just the xf86-video-vesa and libvbe.so included.

I need Xorg (not Xvesa) and want to support both std vga and vmware svga (the latter works fine with xf86-video-vmware included).

Any suggestions on how to proceed or what to try?

curaga:
vbe was merged into int10, so that's unrelated. Unfortunately no ideas, other than to report a bug against xf86-video-vesa and to use TC 12 in the meanwhile.

The only relevant google result was in OpenSuse, where a Qemu change did this. But you have the same Qemu and different Xorg.

CNK:
This error seems to be the root of the problem with the vesa driver:

--- Code: ---open /dev/dri/card0: No such file or directory

--- End code ---

A quick search brings up many results, including this discussion for running under the HyperV VM software, which could be relevent. A similar discussion here. Seems to be to do with DRM, which newer versions of Xorg use to access video hardware via the Linux kernel.

curaga:
Sorry, that's unrelated - that's from modesetting, not vesa.

Juanito:
The latest xf86-video-vesa/xorg-server gave a permissions error on my legacy bios/uefi laptop - this is why xf86-video-fbdev was added.

Have you tried loading the graphics-KERNEL extension to see if the modesetting driver would work?

You could also try wayland/weston, though you’d need xwayland to use the fltk applets.

Navigation

[0] Message Index

[#] Next page

Go to full version