Skip to content

building wine, cannot find macdriver #15

Description

@nsklaus

hi all

using a macbook m1 with latest big sur, i tried to compile wine myself, using latest sources: wine6rc2.
compile went fine. i used build options listed on this repo's frontpage readme.
i installed all the dependencies through homebrew (full rosetta, i checked the option to run the terminal itself with it).

here's what i got:

-> klaus $ wine64 --version
wine-6.0-rc2
-> klaus $ file $(which wine64)
/usr/local/bin/wine64: Mach-O 64-bit executable x86_64
-> klaus $ 

but the problem i'm seeing is that wine runs, but, doesn't seem to find the gpu/macdriver at all.
i was wondering if folks around this repo might have an idea about what went wrong, maybe i forgot to add a specific configure option or something ?

here's my configure options:

-> klaus $ ./configure --disable-option-checking \
--disable-tests \
--without-alsa \
--without-capi \
--with-cms \
--with-coreaudio \
--with-cups \
--with-curses \
--without-dbus \
--with-faudio \
--without-fontconfig \
--with-freetype \
--with-gcrypt \
--with-gettext \
--without-gettextpo \
--without-gphoto \
--with-glu \
--with-gnutls \
--without-gsm \
--without-gssapi \
--with-gstreamer \
--without-gtk3 \
--without-hal \
--without-inotify \
--with-jpeg \
--without-krb5 \
--with-ldap \
--with-mingw \
--with-mpg123 \
--without-netapi \
--with-openal \
--with-opencl \
--with-opengl  \
--without-oss \
--with-pcap \
--with-png \
--with-pthread \
--without-pulse \
--without-quicktime \
--without-sane \
--with-sdl \
--with-tiff \
--without-udev \
--with-unwind \
--with-usb \
--without-v4l2 \
--without-vkd3d \
--without-xattr \
--with-xml \
--with-xslt \
--without-va  \
--with-osmesa \
--with-xcomposite \
--with-xcursor \
--with-xfixes \
--with-xinerama \
--with-xinput \
--with-xinput2 \
--with-xrandr \
--with-xrender \
--with-xshape \
--with-xshm \
--with-xxf86vm \
--with-x \
--x-include=/opt/X11/include \
--x-lib=/opt/X11/lib \
--enable-win64

here's the list of the dependencies i had to install through homebrew:

brew install bison mingw-w64 lcms2 FAudio sdl2 gstreamer gst-plugins-base gst-plugins-good vulkan-headers molten-vk

then i did make, and make install. all went fine. i added /usr/local/bin to my path with

-> klaus $ sudo launchctl config user path /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin`

so far so good or so i thought, but, when i run wine some/file.exe or even just winecfg
here's what i get:

preloader: Warning: failed to reserve range 00007ffef0000000-00007ffef1ff0000
preloader: Warning: failed to reserve range 00007ffef0000000-00007ffef1ff0000
preloader: Warning: failed to reserve range 00007ffef0000000-00007ffef1ff0000
preloader: Warning: failed to reserve range 00007ffef0000000-00007ffef1ff0000
preloader: Warning: failed to reserve range 00007ffef0000000-00007ffef1ff0000
preloader: Warning: failed to reserve range 00007ffef0000000-00007ffef1ff0000
0034:fixme:font:opentype_enum_font_names handle name format 1
preloader: Warning: failed to reserve range 00007ffef0000000-00007ffef1ff0000
0064:fixme:font:opentype_enum_font_names handle name format 1
preloader: Warning: failed to reserve range 00007ffef0000000-00007ffef1ff0000
006c:fixme:font:opentype_enum_font_names handle name format 1
006c:err:display:macdrv_init_display_devices No GPUs detected
preloader: Warning: failed to reserve range 00007ffef0000000-00007ffef1ff0000
preloader: Warning: failed to reserve range 00007ffef0000000-00007ffef1ff0000
preloader: Warning: failed to reserve range 00007ffef0000000-00007ffef1ff0000
002c:fixme:font:opentype_enum_font_names handle name format 1
00cc:fixme:font:opentype_enum_font_names handle name format 1
preloader: Warning: failed to reserve range 00007ffef0000000-00007ffef1ff0000
preloader: Warning: failed to reserve range 00007ffef0000000-00007ffef1ff0000
00f8:fixme:font:opentype_enum_font_names handle name format 1
0100:fixme:font:opentype_enum_font_names handle name format 1
002c:err:display:macdrv_init_display_devices No GPUs detected
011c:fixme:font:opentype_enum_font_names handle name format 1
011c:err:display:macdrv_init_display_devices No GPUs detected
^C

any ideas ?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions