Screen is completely black (SMBX2 Linux)

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

Larkatoo
Goomba
Goomba
Posts: 1
Joined: Sun Oct 02, 2022 8:30 pm
Pronouns: he/him

Screen is completely black (SMBX2 Linux)

Postby Larkatoo » Sun Oct 02, 2022 8:33 pm

Hey everyone. I'm using Linux (specifically the version of ArchLinux used on the Steam Deck,) and I downloaded SMBX2, following the instructions provided in the files to get it to run on Linux with Wine. The launcher works fine, the splash screen shows, but when I load into the game itself, it just shows a black screen. I hear the music and sound effects, but I cannot hear anything. Is there any way to fix this?

ShadowXeldron
Snifit
Snifit
Posts: 232
Joined: Sun Dec 08, 2019 8:21 am
Flair: phpBB > ProBoards
Pronouns: He/Him
Contact:

Re: Screen is completely black (SMBX2 Linux)

Postby ShadowXeldron » Wed Oct 05, 2022 7:27 am

Yeah, it's the same happening with me. This never happened before actually, but after a Wine update SMBX2 broke on both my Arch and Ubuntu systems. I haven't tried it on SteamOS yet, but I have managed to get it to work in Lutris using the Wine version "lutris-fshack-7.2-x86_64". I haven't figured out how to fix the integration with the native version of PGE yet however.

If you're trying to play an episode for made for 1.3 or old versions of LunaDLL, I'd advise using TheXTech instead, since that has WAY better performance and runs natively on Linux. You'll still need to use Lutris for SMBX2 stuff however.

Wohlstand
Van De Graf
Van De Graf
Posts: 2008
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: Screen is completely black (SMBX2 Linux)

Postby Wohlstand » Wed Oct 05, 2022 10:03 am

On Arch-family Linux distros (also including Monjaro), you are required to install the lib32-libxcomposite package to get the render of X2 and also other Wine-ran games that fail to render.
Dragon0307 wrote:
Wed Oct 05, 2022 7:27 am
I haven't figured out how to fix the integration with the native version of PGE yet however.
You need to navigate into the menu bar "Test / Luna-Tester / Wine Settings" (this menu item is available on the native Editor only) and select the proper Wine runtime and environment paths to use the different Wine than in-system. This thing is also can import Wine bottles from PlayOnLinux. Additionally, around the same menu, you can set the absolute path to the X2's "data" directory. If you mean the configuration package linking, you will need to re-run the updated script (the old script is invalid, I fixed it already, but you need to put it manually into the root of SMBX2 directory).
Dragon0307 wrote:
Wed Oct 05, 2022 7:27 am
If you're trying to play an episode for made for 1.3 or old versions of LunaDLL, I'd advise using TheXTech instead, since that has WAY better performance and runs natively on Linux.
Additionally, TheXTech is able to work on non-x86 architectures (such as ARM, PowerPC, MIPS, etc.) if you compile the game from the source code. X2 depends on x86 architecture, and therefore to run it on a non-x86 processor, emulation is required, and it will lead major performance slowdown.

ShadowXeldron
Snifit
Snifit
Posts: 232
Joined: Sun Dec 08, 2019 8:21 am
Flair: phpBB > ProBoards
Pronouns: He/Him
Contact:

Re: Screen is completely black (SMBX2 Linux)

Postby ShadowXeldron » Wed Oct 05, 2022 5:09 pm

Wohlstand wrote:
Wed Oct 05, 2022 10:03 am
On Arch-family Linux distros (also including Monjaro), you are required to install the lib32-libxcomposite package to get the render of X2 and also other Wine-ran games that fail to render.
Wait, so this entire time I only needed to install lib32-libxcomposite to make it work... *uninteligible impatience noises* Unfortunately, the rough Debianlike equivalent libxcomposite-dev:i386 doesn't fix Ubuntu for me; although I haven't tried rebooting yet.

Wohlstand
Van De Graf
Van De Graf
Posts: 2008
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: Screen is completely black (SMBX2 Linux)

Postby Wohlstand » Thu Oct 06, 2022 8:29 am

Dragon0307 wrote:
Wed Oct 05, 2022 5:09 pm
Wait, so this entire time I only needed to install lib32-libxcomposite to make it work... *uninteligible impatience noises* Unfortunately, the rough Debianlike equivalent libxcomposite-dev:i386 doesn't fix Ubuntu for me; although I haven't tried rebooting yet.
That library is required on Arch-family distros. On Debian-family you need to install Wine with its usual dependencies (including 32-bit part of Wine)

Now another question: which GPU do you have? (which exact video card model do you have, or, if you run on a built-in CPU's GPU, which CPU model you do have?)
There is a chance that your GPU is not suitable to run X2. Or, possibly, you will need to ensure all important graphical drivers are installed.

ShadowXeldron
Snifit
Snifit
Posts: 232
Joined: Sun Dec 08, 2019 8:21 am
Flair: phpBB > ProBoards
Pronouns: He/Him
Contact:

Re: Screen is completely black (SMBX2 Linux)

Postby ShadowXeldron » Thu Oct 06, 2022 12:23 pm

Wohlstand wrote:
Thu Oct 06, 2022 8:29 am
Dragon0307 wrote:
Wed Oct 05, 2022 5:09 pm
Wait, so this entire time I only needed to install lib32-libxcomposite to make it work... *uninteligible impatience noises* Unfortunately, the rough Debianlike equivalent libxcomposite-dev:i386 doesn't fix Ubuntu for me; although I haven't tried rebooting yet.
That library is required on Arch-family distros. On Debian-family you need to install Wine with its usual dependencies (including 32-bit part of Wine)

Now another question: which GPU do you have? (which exact video card model do you have, or, if you run on a built-in CPU's GPU, which CPU model you do have?)
There is a chance that your GPU is not suitable to run X2. Or, possibly, you will need to ensure all important graphical drivers are installed.
Well, I have three systems. The Ubuntu system has integrated Intel UHD graphics, while my main desktop has an Nvidia RTX 3060 Ti and my secondary desktop (at a different location) has an Nvidia GTX 1650. I also have a Steam Deck, but I don't use SMBX2 on there since I can't be asked trying to make it work on there. Since they were all capable of doing SMBX2 prior to Wine 8, I doubt that it's an issue with my GPU. I did try running the updated script again, but it still doesn't work. I might add that I don't have any sound either, and the game just halts on a black screen after the disclaimer.

It also seems that my Garuda system DOES have lib32-libxcomposite?

Wohlstand
Van De Graf
Van De Graf
Posts: 2008
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: Screen is completely black (SMBX2 Linux)

Postby Wohlstand » Wed Dec 14, 2022 1:28 am

Oh wait a sec, that's a bug of a recent update of LunaDLL that breaks the work on Wine generally: it will just freeze after startup. I already reported that bug.


Return to “Help and Support”

Who is online

Users browsing this forum: Amazon [Bot] and 3 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari