Skip to content

Instantly share code, notes, and snippets.

@azriel91
Last active February 20, 2023 01:48
Show Gist options
  • Save azriel91/1df706eb5db3f8f585cef7c87322bf4c to your computer and use it in GitHub Desktop.
Save azriel91/1df706eb5db3f8f585cef7c87322bf4c to your computer and use it in GitHub Desktop.
#! /bin/bash
#
# Install winehq-stable by following instructions on https://wiki.winehq.org/Ubuntu
#
# Then:
wine64 --version # wine-8.0
export WINEPREFIX=~/.wine64
winecfg -v win10
wine64 ~/Downloads/Lumina-0.2.1-win64.exe
# Later, may run the app with:
export WINEPREFIX=~/.wine64
wine64 "$WINEPREFIX/drive_c/Program Files/Lumina/LuminaStudioApp.exe"
# 2023-02-20: Update
#
# Once you have the lumina webcam and connect it to the laptop, OBS should detect it.
# Whenever you restart the computer, the first run of `LuminaStudioApp.exe` will fail.
#
# ```bash
# export WINEPREFIX=~/.wine64
# wine64 "$WINEPREFIX/drive_c/Program Files/Lumina/LuminaStudioApp.exe"
# ```
#
# Running the set up file works:
#
# ```bash
# wine64 ~/Downloads/Lumina-0.2.1-win64.exe
# ```
#
# Then subsequently you can run `LuminaStudioApp.exe`
# The next problem is getting the camera to be detected by the Lumina Studio App.
#
# I think it's a Wine -> Windows USB issue, though I've tried with three USB 2.0 ports,
# and one USB C port on my laptop, but can't get it to work.
#
# See:
#
# * <https://wiki.winehq.org/Hardware#USB>
# * <https://www.reddit.com/r/winehq/comments/c2x1kf/usb_devices_for_wine_applications/>
# * <https://www.linuxquestions.org/questions/linux-software-2/how-to-use-usb-devices-a-webcam-in-this-case-in-wine-1-3-16-a-873968/>
#
# ```text
# winegstreamer error: multiqueue7: Internal data stream error.
# winegstreamer error: multiqueue7: ../plugins/elements/gstmultiqueue.c(2381): gst_multi_queue_loop (): /GstBin:bin7/GstDecodeBin:decodebin7/GstMultiQueue:multiqueue7:
# streaming stopped, reason error (-5)
# 0268:fixme:mfplat:MFEnumDeviceSources 000000003D593E40, 00000000378BF570, 00000000378BF55C.
# winegstreamer error: multiqueue8: Internal data stream error.
# winegstreamer error: multiqueue8: ../plugins/elements/gstmultiqueue.c(2381): gst_multi_queue_loop (): /GstBin:bin8/GstDecodeBin:decodebin8/GstMultiQueue:multiqueue8:
# streaming stopped, reason error (-5)
# ```
# Running Lumina Studio through Wine 8.1 sometimes gives the following error, but it may not be relevant:
#
# ```text
# 02b0:fixme:d3d:wined3d_swapchain_resize_buffers Cannot change the back buffer count yet.
# ```
#
# Which corresponds to
# <https://github.com/wine-mirror/wine/blob/464be65ceec111e49b7dc2aa6ce8432cb6113ae1/dlls/wined3d/swapchain.c#L1922>
#
# That link is up to date with Wine 8.2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment