ravynsoft / ravynos

A BSD-based OS project that aims to provide source and binary compatibility with macOS® and a similar user experience.
https://www.ravynos.com
Other
5.62k stars 187 forks source link

QEMU tablet pointer freezes after pkg Install xxx #126

Open markshank opened 3 years ago

markshank commented 3 years ago

Used furybsd-install to install 0.3.0pre2 iso onto virtual disk. Also required the "chmod 1777 /tmp" fix in order for the Summer Field desktop to appear. Then took a snapshot of the virtual disk.

Next I used "pkg install git-tiny" and it also installed xf86-input-libinput. After the next reboot, the mouse pointer is frozen in the middle of the desktop.

If I rollback to the "After Install" snapshot and try "pkg install cmake", it again also installs xf86-input-libinput with same frozen mouse symptoms after reboot.

markshank commented 3 years ago

I checked my HelloSystem VM and it has xf86-input-libinput installed. No mouse pointer issues there.

markshank commented 3 years ago

I found a FreeBSD bug report that appears to be the root of this issue. It looks like a patch has been developed but not tested yet.

markshank commented 3 years ago

It appears that the fixed binary may be available.

markshank commented 3 years ago

Workaround (fix) as follows:

  1. # pkg install meson
  2. # portsnap fetch
  3. # portsnap extract
  4. # cd /usr/ports/devel/libudev-devd
  5. # make deinstall install clean
  6. # reboot # and verify tablet pointer function
mszoek commented 3 years ago

xf86-input-libinput should already be loaded on airyxOS as well. It is in the list of packages for the ISO build. Glad you found a fix! I plan to build the latest stable/12 branch changes and latest ports tree as part of the next release so will pick the libudev-devd fix up as part of that :)

markshank commented 3 years ago

Glad you found a fix!

Me too! I invested a considerable amount of effort reacquainting myself with Xorg and trying to workaround libinput with evdev. When I finally changed course and embraced libinput, things went better. Though it meant more FreeBSD education on PKG and ports.

mszoek commented 3 years ago

Looks like this was only patched on the main branch of the ports tree so my rebuild did not pick it up. We'll have to backport the patch.

mszoek commented 2 years ago

On my newly installed 0.3.0pre4 (test image), ‘xf86-input-libinput` is installed.

Zoe-Knox-Airyx% pkg info|grep libinput
libinput-1.16.4                Generic input library
libwacom-1.5                   Adds tablet support to libinput
xf86-input-libinput-0.30.0_1   X.Org libinput input driver