gtk3 on multilib, 64 bit or 32 bit or both?

Questions about Wine on Linux
Locked
invisible kid
Level 5
Level 5
Posts: 353
Joined: Tue Dec 24, 2019 3:23 pm

gtk3 on multilib, 64 bit or 32 bit or both?

Post by invisible kid »

Hi, was looking to install 32 bit gtk3 with wine wow64, but then I realized I don't even have X(xorg) or gtk2 on 32 bit side, but winecfg is able to pop up a graphical window. My wine executable is 32 bit, but wineserver is 64 bit. So that got me thinking do I need only 64 bit gtk3(just have gtk2 atm)? Or do I need the 32 bit only or both? On LFS, so no native package manager, so I try to do only what is needed.
invisible kid
Level 5
Level 5
Posts: 353
Joined: Tue Dec 24, 2019 3:23 pm

Re: gtk3 on multilib, 64 bit or 32 bit or both?

Post by invisible kid »

Oh, but I just remembered that I do have the 32 bit nvidia libs and 32 bit dxvk libs, so maybe it's able to do what it does via those. So I think I will install 32 bit gtk3 and if it needs it 32 bit gtk2.
spoon0042
Level 6
Level 6
Posts: 570
Joined: Thu Dec 24, 2009 11:00 am

Re: gtk3 on multilib, 64 bit or 32 bit or both?

Post by spoon0042 »

Easy answer: wine doesn't use gtk, any version. :)
invisible kid
Level 5
Level 5
Posts: 353
Joined: Tue Dec 24, 2019 3:23 pm

Re: gtk3 on multilib, 64 bit or 32 bit or both?

Post by invisible kid »

Ahh, so it wouldn't help any issue I'm having with Battle.net.exe? (It's good if I identify going down the wrong path)
invisible kid
Level 5
Level 5
Posts: 353
Joined: Tue Dec 24, 2019 3:23 pm

Re: gtk3 on multilib, 64 bit or 32 bit or both?

Post by invisible kid »

I guess that means it's not WebKitGTK+. I traced a possible cause of my problem to missing webkit code. That one has gtk2 and gtk3 as a requirement, if it's not that the only other one I know of is qtwebengine. Do you know if wine uses qtwebengine? And if so I already have 64 bit installed, I think I tried building/installing 32 bit qtwebengine and it was tricky. If it will help I'll spend more time on that. Thanks for the help!
invisible kid
Level 5
Level 5
Posts: 353
Joined: Tue Dec 24, 2019 3:23 pm

Re: gtk3 on multilib, 64 bit or 32 bit or both?

Post by invisible kid »

Okay, so I've been messing around with installing 32 bit qt/qtwebengine and I see that I did cross-compile some 32 bit X11(xorg) programs! Heheh, been working on this so long I forgot what I've done in the past!(only work on it here and there) But it looks like it might need more of them, at least one or more xcb-util packages. There is also an additional LFS libxcb-1.13 package that overrides the ones xorg provides. So, a bit more to chew on.
invisible kid
Level 5
Level 5
Posts: 353
Joined: Tue Dec 24, 2019 3:23 pm

Re: gtk3 on multilib, 64 bit or 32 bit or both?

Post by invisible kid »

Also, I may not ultimately need 32 bit qt/qtwebengine but if wine has some qtwebengine code in it, doing this will expose what I am lacking.
invisible kid
Level 5
Level 5
Posts: 353
Joined: Tue Dec 24, 2019 3:23 pm

Re: gtk3 on multilib, 64 bit or 32 bit or both?

Post by invisible kid »

Also might have to do 32 bit freeglut and glu. We'll see as I go.
spoon0042
Level 6
Level 6
Posts: 570
Joined: Thu Dec 24, 2009 11:00 am

Re: gtk3 on multilib, 64 bit or 32 bit or both?

Post by spoon0042 »

Yeah, you're going to need a bunch of 32-bit libraries. On a distro with package management there's usually easy ways to go about it, don't know about LFS. Like Debian here it seems I have almost 500 i386 packages installed? Are you just running ./configure and seeing what it complains about? Anyway, good luck. :)
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: gtk3 on multilib, 64 bit or 32 bit or both?

Post by Bob Wya »

@invisible kid

On my Gentoo install, I checked the current dependencies for wine-vanilla:6.0_rc3:
  • =app-emulation/faudio-20.11
  • =app-emulation/vkd3d-1.2
  • =app-emulation/wine-desktop-common-20180412
  • =app-emulation/wine-gecko-2.47.2
  • =app-emulation/wine-mono-5.1.1
  • =app-eselect/eselect-wine-1.5.5
  • =app-portage/elt-patches-20201205
  • =dev-db/unixODBC-2.3.9
  • =dev-lang/perl-5.30.3-r1
  • =dev-libs/libxml2-2.9.10-r4
  • =dev-libs/libxslt-1.1.34-r1
  • =dev-perl/XML-Simple-2.250.0
  • =dev-util/patchbin-20160208
  • =games-emulation/dosbox-0.75_pre4302
  • =media-gfx/sane-backends-1.0.30-r2
  • =media-libs/alsa-lib-1.2.4
  • =media-libs/fontconfig-2.13.1
  • =media-libs/freetype-2.10.1-r2
  • =media-libs/gstreamer-1.16.2
  • =media-libs/lcms-2.11
  • =media-libs/libgphoto2-2.5.26
  • =media-libs/libpng-1.6.37-r2
  • =media-libs/libsdl2-2.0.12-r2
  • =media-libs/libv4l-1.20.0
  • =media-libs/mesa-20.3.1
  • =media-libs/openal-1.20.1
  • =media-libs/vulkan-loader-1.2.162-r1
  • =media-plugins/gst-plugins-meta-1.16.2
  • =media-sound/gsm-1.0.13-r1
  • =media-sound/mpg123-1.26.3
  • =media-sound/pulseaudio-13.0-r1
  • =net-fs/samba-4.13.2-r1
  • =net-libs/gnutls-3.6.15
  • =net-libs/libcapi-3.0.7-r1
  • =net-libs/libpcap-1.10.0_pre
  • =net-nds/openldap-2.4.56
  • =net-print/cups-2.3.3-r1
  • =sec-policy/selinux-wine-2.20200818-r2
  • =sys-apps/dbus-1.12.20
  • =sys-auth/rtkit-0.13-r1
  • =sys-devel/autoconf-2.69-r5
  • =sys-devel/automake-1.15.1-r2
  • =sys-devel/automake-1.16.3-r1
  • =sys-devel/flex-2.6.4-r1
  • =sys-devel/gettext-0.21
  • =sys-devel/libtool-2.4.6-r6
  • =sys-devel/prelink-20151030-r1
  • =sys-fs/udisks-2.9.1
  • =sys-kernel/linux-headers-5.10
  • =sys-libs/libunwind-1.5.0
  • =virtual/jpeg-100
  • =virtual/krb5-0-r1
  • =virtual/libudev-232-r3
  • =virtual/opencl-3-r1
  • =virtual/opengl-7.0-r2
  • =virtual/pkgconfig-2
  • =virtual/yacc-0
  • =x11-apps/xhost-1.0.8
  • =x11-base/xorg-proto-2020.1
  • =x11-base/xorg-server-1.20.10
  • =x11-libs/libXcomposite-0.4.5
  • =x11-libs/libXcursor-1.2.0
  • =x11-libs/libXext-1.3.4
  • =x11-libs/libXfixes-5.0.3-r3
  • =x11-libs/libXi-1.7.10
  • =x11-libs/libXinerama-1.1.4-r1
  • =x11-libs/libXrandr-1.5.2
  • =x11-libs/libXxf86vm-1.1.4-r2
Obviously a lot of these dependency packages are optional (e.g. unixODBC is typically not needed)... :lol:

Wine doesn't directly use any Gtk or Qt Toolkit components...
(Although Wine Staging has an ageing/ borked patchset - to provide theming support for the Gtk3 Toolkit).

Hope that helps!

Bob
invisible kid
Level 5
Level 5
Posts: 353
Joined: Tue Dec 24, 2019 3:23 pm

Re: gtk3 on multilib, 64 bit or 32 bit or both?

Post by invisible kid »

Thanks Bob! I was stabbing in the dark on this one! I was doing many things in many different directions, but what ultimately got me going was getting debian(I'm on LFS) ca-certificates.crt and putting it in /etc/ssl/certs! My face is red! This fixed steam issues as well. Oh and I did see when running ./configure that wine can use gtk3 themes, I think that got me down this path. And finally other things I did could have helped as well(like verifying and rebuilding 32 bit encryption chain). But it wasn't going to work until that file was in that location.
Locked