Tiny Core Extensions > TCE Bugs
Problem with graphics drm modules
andyj:
From your log, either it takes 10 minutes for your system to boot or you ran startx manually 10 minutes after it booted. In graphical mode, speed can be a problem:
--- Code: ---[ 21.817]
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
...
[ 21.905] (EE) open /dev/dri/card0: No such file or directory
...
[ 23.513] (EE) vmware(0): Failed to open drm.
--- End code ---
I updated startx with this in .profile:
--- Code: ---TERMTYPE=`/usr/bin/tty`
[ ${TERMTYPE:5:3} == "tty" ] && (
[ ! -f /etc/sysconfig/Xserver ] ||
[ -f /etc/sysconfig/text ] ||
[ -e /tmp/.X11-unix/X0 ] ||
(
for waited in $(seq 10 -1 0); do
[ -c /dev/dri/card0 ] && break
echo "waiting for /dev/dri/card0 $waited"
sleep 1
done
[ $waited -gt 0 ] && (sleep 1; startx)
)
)
--- End code ---
Typically it waits 5 seconds. Adding the delay gets it working, although looping and waiting seems more like a fix than a solution:
--- Code: ---[ 28.764]
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
...
[ 28.857] (--) vmware(0): DRM driver version is 2.14.0
--- End code ---
I do think that requiring a non-stripped binary is a (design) problem, and the wrong way to get a version number. That's what functions are for. I verified this by adding /usr/lib64/xorg/modules/drivers as a search path in open-vm-tools. I copied a non-stripped version of vmware_drv.so from my host to enable KMS:
--- Code: ---[Jul 10 12:51:00.735] [ debug] [resolutionCommon] resolutionXorgDriverVersion: Scanning for VMWare Xorg drivers.
[Jul 10 12:51:00.735] [ debug] [resolutionCommon] resolutionXorgDriverVersion: Looking for "/usr/lib64/xorg/modules/drivers/vmware_drv.so".
[Jul 10 12:51:00.735] [ debug] [resolutionCommon] resolutionXorgDriverVersion: Driver found. Looking for version info.
[Jul 10 12:51:00.737] [ debug] [resolutionCommon] resolutionXorgDriverVersion: Version info found: 13.3.0
[Jul 10 12:51:00.737] [ debug] [resolutionCommon] resolutionCheckForKMS: ResolutionKMS enabled based on Xorg driver version.
[Jul 10 12:51:00.737] [ message] [resolutionCommon] resolutionCheckForKMS: dlopen succeeded.
[Jul 10 12:51:00.856] [ message] [resolutionCommon] resolutionCheckForKMS: System support available for resolutionKMS.
[Jul 10 12:51:00.856] [ message] [resolutionSet] ResolutionToolkitInit: Backing off for resolutionKMS.
--- End code ---
But then autofit doesn't work because the plugin manager doesn't like it so one more thing to chase:
--- Code: ---:[Jul 10 12:51:00.856] [ info] [vmtoolsd] Plugin 'libresolutionSet.so' didn't provide deployment data, unloading.
--- End code ---
Navigation
[0] Message Index
[*] Previous page
Go to full version