Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: pstavirs on July 12, 2022, 08:46:22 AM
-
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 -
[ 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)
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 -
[ 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)
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?
-
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.
-
This error seems to be the root of the problem with the vesa driver:
open /dev/dri/card0: No such file or directory
A quick search brings up many results, including this discussion (https://github.com/clearlinux/distribution/issues/2478) for running under the HyperV VM software, which could be relevent. A similar discussion here (https://bbs.archlinux.org/viewtopic.php?id=271576). Seems to be to do with DRM (https://en.wikipedia.org/wiki/Direct_Rendering_Manager), which newer versions of Xorg use to access video hardware via the Linux kernel.
-
Sorry, that's unrelated - that's from modesetting, not vesa.
-
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.
-
Apologies for delayed reply.
Adding graphics-KERNEL tcz enables the modesetting (KMS) driver to work.
But Xorg ignores the vga and video boot parameters and sets initial resolution to 800x600. I need a minimum of 1024x768.
I think for now, I'll use TC12 instead of TC13.1
-
In TC 14.x x86 I tried install Xorg with vesa and fbdev drivers on my HP Compaq T5000.
Both drivers don't work. If I tried old Slax 6 (mach64, vesa and fbdev drivers) works without problem.
I also tried old Puppy Linux and only fbdev don't work. Vesa and mach64 was working.
Is it possible to put both Xorg-legacy and Xorg-current in to the repo?
There should be also xorg.conf-vesa and xorg.conf-fbdev sample files inside Xorg.tcz.
-
Do you see any errors in the Xorg log?
-
In vesa driver I got the same what pstavirs posted.
In fbdev I get the same but last lines was different.
(EE) Device(s) detected, but none match those in the config file.
Fatal server error:
(EE) no screens found(EE)
(EE) Server terminated with error (1). Closing log file.
-
In TC 14.x x86 I tried install Xorg with vesa and fbdev drivers on my HP Compaq T5000.
Both drivers don't work. If I tried old Slax 6 (mach64, vesa and fbdev drivers) works without problem.
I also tried old Puppy Linux and only fbdev don't work. Vesa and mach64 was working.
Is it possible to put both Xorg-legacy and Xorg-current in to the repo?
There should be also xorg.conf-vesa and xorg.conf-fbdev sample files inside Xorg.tcz.
In TC15_32 and TC15_64 I was able to get working vesa and fbdev driver if I use xorg.conf downloaded from the internet. But when I try exit to comannd line Xorg crush and black screen with green squers appears on LCD monitor. The same behavior is when I run Xorg without Xorg -reconfigure or without xorg.conf.
How to debug this when the only solution is to hard reset PC? I don't use harddisk.
-
did a quick search for hp compaq t5000 and parkytowers didn't disappoint:
https://www.parkytowers.me.uk/thin/hp/t5000/
of special note: Transmeta Crusoe TM5800
https://en.wikipedia.org/wiki/Transmeta_Crusoe
interesting and well worth a read through the wiki
-
In 2023 I tested Xorg on HP Compaq T5000. Now in 2024 I tested Xorg on HP Thin Client T510.
-
https://www.parkytowers.me.uk/thin/hp/t510/