Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minetest wont open on new update #15198

Open
RustoMCSpit opened this issue Sep 26, 2024 · 41 comments
Open

minetest wont open on new update #15198

RustoMCSpit opened this issue Sep 26, 2024 · 41 comments
Labels
Linux @ Startup / Config / Util Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible

Comments

@RustoMCSpit
Copy link

Minetest version

flatpak run net.minetest.Minetest 
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  394
  Current serial number in output stream:  395

Irrlicht device

x11

Operating system and version

Linux Mint LTS Welma

CPU model

ryzen 3700x

GPU model

super 2070

Active renderer

?

Summary

i cant open minetest anymore, ever since the update

Steps to reproduce

try to open

@RustoMCSpit RustoMCSpit added the Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible label Sep 26, 2024
@grorp
Copy link
Member

grorp commented Sep 27, 2024

Please try flatpak install --reinstall net.minetest.Minetest. For me, this sometimes fixed a similar issue with missing nvidia drivers.

@Zughy Zughy added @ Startup / Config / Util Action / change needed Code still needs changes (PR) / more information requested (Issues) labels Sep 27, 2024
@RustoMCSpit
Copy link
Author

RustoMCSpit commented Sep 27, 2024

flatpak install --reinstall net.minetest.Minetest
Looking for matches…


        ID                       Branch    Op   Remote    Download
 1. [✓] net.minetest.Minetest    stable    i    flathub   1.0 kB / 14.4 MB

Installation complete.

this didnt work

same issue:

flatpak run net.minetest.Minetest 
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  394
  Current serial number in output stream:  395

@rubenwardy
Copy link
Contributor

rubenwardy commented Sep 27, 2024

This is probably a silly question, but have you tried restarting your computer?

If you run glxgears does that work?

@RustoMCSpit
Copy link
Author

glxgears works, no idea what it does but it measures my fps. also i havent restarted since reinstalling

@appgurueu
Copy link
Contributor

appgurueu commented Sep 27, 2024

Similar to #13041, #13395. It seems not unlikely that this is an upstream issue / system config issue.

@RustoMCSpit
Copy link
Author

anything you want me to do?

@appgurueu
Copy link
Contributor

anything you want me to do?

Look into your graphics driver setup, see if everything is alright, perhaps try to update or install some proprietary drivers you might need. Are other applications that use OpenGL but are more advanced than glxgears, like SuperTuxKart, working fine?

@RustoMCSpit
Copy link
Author

supertuxkart and glxgears both work fine

@sfence
Copy link
Contributor

sfence commented Sep 28, 2024

By the way, I always see something like this after graphic drivers are updated and I try to run Minetest without rebooting on Arch Linux. My estimate is it can be a mismatch between the graphic driver on disk and loaded as a kernel module.
But I never tried glxgears in that situation.

@SmallJoker
Copy link
Member

SmallJoker commented Sep 28, 2024

i cant open minetest anymore, ever since the update

The issue template was filled out incorrectly. Please provide the last good Minetest version and the one that's currently installed.

Relevant Flatpak bug report: flatpak/flatpak#138

  1. Is this issue specific to a certain Minetest version? Try older versions, if those are still available.
  2. Compare the app permissions of net.minetest.Minetest with other Flatpak apps that make use of OpenGL.
  3. Install Minetest outside of Flatpak and try to reproduce the issue. Affected Minetest versions would be good to know.

@RustoMCSpit
Copy link
Author

im on minetest 5.9.1, this issue also affected the non flatpak version. i was on nvidia driver 535 but then swapped to nouveau 1:1.0.17-2build1 and it worked

@Zughy Zughy removed the Action / change needed Code still needs changes (PR) / more information requested (Issues) label Sep 28, 2024
@RustoMCSpit
Copy link
Author

now im on nvidia driver 550, broke. glxgears runs

@RustoMCSpit
Copy link
Author

is there anything i can do

@SmallJoker
Copy link
Member

SmallJoker commented Oct 6, 2024

@RustoMCSpit So far I haven't seen any similar issue report, thus it might be specific to your system.

A few ideas:

  1. Uninstall the nvidia driver entirely, followed by a clean re-install.
  2. Downgrade the driver to nvidia-driver-545 or nvidia-driver-545-open

Restart your computer after each driver change to (re)load the kernel module.

@RustoMCSpit
Copy link
Author

Uninstall the nvidia driver entirely, followed by a clean re-install.

i did to my knowledge when i swapped to nouveau #15198 (comment)

Downgrade the driver to nvidia-driver-545 or nvidia-driver-545-open

it doesnt work with 535 even

@sfan5
Copy link
Collaborator

sfan5 commented Oct 13, 2024

@RustoMCSpit can you compile Minetest with #15286 from source and see if it works for you?
unfortunately I can't easily provide a flatpak build or similar.

@sfan5 sfan5 added the Linux label Oct 13, 2024
@RustoMCSpit
Copy link
Author

@RustoMCSpit can you compile Minetest with #15286 from source and see if it works for you? unfortunately I can't easily provide a flatpak build or similar.

id have to figure out how to do that and ive no time right now. in a few days?

@sfan5
Copy link
Collaborator

sfan5 commented Oct 13, 2024

Sure, that's fine.
here are the general steps: https://github.com/sfan5/minetest/blob/yesegl/doc/compiling/linux.md
you can clone my code by using git clone https://github.com/sfan5/minetest -b yesegl --depth=1

@RustoMCSpit
Copy link
Author

sorry super noob question, is there anyway to temporarily install these dependencies and then have them auto delete after?

sudo apt install g++ make libc6-dev cmake libpng-dev libjpeg-dev libxi-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev libzstd-dev libluajit-5.1-dev gettext

i dont want to clog my system up so if i could only have them installed while the terminal was open that'd be cool

@RustoMCSpit
Copy link
Author

also the above is presumably the reason i got this

cmake . -DRUN_IN_PLACE=TRUE
make -j$(nproc)
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- *** Will build version 5.10.0-dev ***
-- BUILD_CLIENT: TRUE
-- BUILD_SERVER: FALSE
-- BUILD_UNITTESTS: TRUE
-- BUILD_BENCHMARKS: FALSE
-- BUILD_DOCUMENTATION: TRUE
-- RUN_IN_PLACE: TRUE
-- Using imported IrrlichtMt at subdirectory 'irr'
-- *** Building IrrlichtMt ***
-- Device: X11
-- OpenGL: ON
-- OpenGL 3: FALSE
-- OpenGL ES 2: OFF
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.3")  
CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.28/Modules/FindJPEG.cmake:106 (find_package_handle_standard_args)
  irr/src/CMakeLists.txt:209 (find_package)

@sfan5
Copy link
Collaborator

sfan5 commented Oct 18, 2024

is there anyway to temporarily install these dependencies and then have them auto delete after?

I'm not aware of any.
The best you can do is run apt remove --autoremove with the same list afterwards. Though take note not to uninstall packages you had before.

also the above is presumably the reason i got this

You need all dependencies or it won't work, yes.

@RustoMCSpit
Copy link
Author

is there anyway to temporarily install these dependencies and then have them auto delete after?

I'm not aware of any. The best you can do is run apt remove --autoremove with the same list afterwards. Though take note not to uninstall packages you had before.

also the above is presumably the reason i got this

You need all dependencies or it won't work, yes.

hi again, is there any way i can auto check which of the following i have

sudo apt install g++ make libc6-dev cmake libpng-dev libjpeg-dev libxi-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev libzstd-dev libluajit-5.1-dev gettext

@sfan5
Copy link
Collaborator

sfan5 commented Oct 22, 2024

Not really. Your best bet is try the command and see.

@RustoMCSpit
Copy link
Author

Not really. Your best bet is try the command and see.

okay, will do in a bit

@RustoMCSpit
Copy link
Author

new update didnt fix it

@Zughy
Copy link
Contributor

Zughy commented Nov 13, 2024

@RustoMCSpit Luanti 5.10 flatpak should be out any time now. Once it's released, might be worth to try with the new version

@Zughy Zughy added the Action / change needed Code still needs changes (PR) / more information requested (Issues) label Nov 13, 2024
@RustoMCSpit
Copy link
Author

@RustoMCSpit Luanti 5.10 flatpak should be out any time now. Once it's released, might be worth to try with the new version

doesnt work

@Zughy Zughy removed the Action / change needed Code still needs changes (PR) / more information requested (Issues) label Nov 14, 2024
@sfan5
Copy link
Collaborator

sfan5 commented Jan 6, 2025

Should be fixed now that we use SDL again.

@sfan5 sfan5 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 6, 2025
@RustoMCSpit
Copy link
Author

Should be fixed now that we use SDL again.

not fixed

@sfan5
Copy link
Collaborator

sfan5 commented Jan 6, 2025

How did you test?

@RustoMCSpit
Copy link
Author

updated and tried opening it. flatpak, linux mint lts cinnamon

@sfan5
Copy link
Collaborator

sfan5 commented Jan 6, 2025

We're using SDL in the development release, but the flatpak is the stable release.

@RustoMCSpit
Copy link
Author

whrres that release to downlpad

@sfan5
Copy link
Collaborator

sfan5 commented Jan 7, 2025

There's no flatpak build of the development release, so I don't think there's an easy way for you to test.

@RustoMCSpit
Copy link
Author

RustoMCSpit commented Jan 7, 2025

is there a .appimage?

@Zughy
Copy link
Contributor

Zughy commented Jan 7, 2025

No

@RustoMCSpit
Copy link
Author

still broken, is this just a me issue or are other linux mint users reporting it?

@sfan5
Copy link
Collaborator

sfan5 commented Feb 9, 2025

5.11 was not released yet so what exactly are you testing?

@RustoMCSpit
Copy link
Author

latest flatpak version

@sfan5
Copy link
Collaborator

sfan5 commented Feb 9, 2025

Well that still hasn't changed. Either way we've turned SDL off again for 5.12 so I guess this bug is back.

@sfan5 sfan5 reopened this Feb 9, 2025
@RustoMCSpit
Copy link
Author

RustoMCSpit commented Feb 9, 2025

which repo should i clone and build with this

sudo apt install g++ make libc6-dev cmake libpng-dev libjpeg-dev libxi-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev libzstd-dev libluajit-5.1-dev gettext

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Linux @ Startup / Config / Util Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible
Projects
None yet
Development

No branches or pull requests

8 participants