First, feel free to ignore this. That being said I dusted myth 2 off and tried to run it. I use Gentoo and the sway window manager and Myth 2 segfaults on start. It's possible that I'm missing a dependency, but that doesn't seem to be the case. Here's the callstack:
#0 0x080f1ce7 in rasterizer_supports_vsync ()
#1 0x081ca4b5 in platform_specific_update ()
#2 0x08113fc5 in update_everything ()
#3 0x0811496d in main ()
Any hope of getting this working? No worries if not I was very happy to see the patcher/installer work no problem, although I guess it's just a simple gtk2 app.
Myth 2 + wayland [solved]
Myth 2 + wayland [solved]
Last edited by potato on Sat Aug 11, 2018 6:21 pm, edited 2 times in total.
Re: Myth 2 + wayland
You probably want to examine and post your myth_log.txt file so others can assist. Also, I would suggest executing Myth II from a command line in a console window so you can see (and post) the console output. If there are missing dependencies, it should be evident in the console output.
Re: Myth 2 + wayland
Not much in the log:
Crash log has part of the call stack:
Nothing in std out except 'Segmentation fault'
Code: Select all
2018-05-19 11:22:25
Myth II Build 446 running under Linux ----------------------------------------------
Loading poweruser.txt... not found.
DEBUG: Updating monolithic tag cache:
Initial count: 16
Number removed: 0
Number added: 0
New count: 16
DEBUG: Adding 14 monolithic tags:
small install
medium install
large install
international small install
international large install
Patch 1.2
Patch 1.3
Patch 1.4
Patch 1.5
GateofStormsNet
Patch 1.8 Interface
Myth II Interface (800x600)
Patch Templates
Magma - Detail Texture Megapack
Scanning for software devices...
Found 1 to use
Scanning for OpenGL devices...
Found 1 to use
Mesa DRI Intel(R) Haswell Mobile x86/MMX/SSE2 | Intel Open Source Technology Center | OpenGL 3.0
Initializing sound with OpenAL...
OpenAL: Loaded OpenAL library 'libopenal.so'.
OpenAL initialized successfully.
Code: Select all
2018-05-19 11:21:04
Myth II Build 446 running under Linux ----------------------------------------------
Loading poweruser.txt... not found.
DEBUG: Updating monolithic tag cache:
Initial count: 16
Number removed: 0
Number added: 0
New count: 16
DEBUG: Adding 14 monolithic tags:
small install
medium install
large install
international small install
international large install
Patch 1.2
Patch 1.3
Patch 1.4
Patch 1.5
GateofStormsNet
Patch 1.8 Interface
Myth II Interface (800x600)
Patch Templates
Magma - Detail Texture Megapack
Scanning for software devices...
Found 1 to use
Scanning for OpenGL devices...
Found 1 to use
Mesa DRI Intel(R) Haswell Mobile x86/MMX/SSE2 | Intel Open Source Technology Center | OpenGL 3.0
Initializing sound with OpenAL...
OpenAL: Loaded OpenAL library 'libopenal.so'.
OpenAL initialized successfully.
Segmentation fault
./Myth2() [0x807d8a7]
linux-gate.so.1(__kernel_sigreturn+0) [0xf7efaba0]
./Myth2(platform_specific_update+0x35) [0x81ca4b5]
./Myth2(update_everything+0x15) [0x8113fc5]
./Myth2(main+0x15d) [0x811496d]
/lib32/libc.so.6(__libc_start_main+0xf3) [0xf79b07f3]
Re: Myth 2 + wayland
It's comparing apples and oranges, but when I execute the game in openSUSE Leap 42.3 as described here
http://tain.totalcodex.net/forum/viewto ... f=4&t=7114
I get a laundry list of libraries in the console, apparently when playing multimedia:
Perhaps you are not getting to that point before the seg fault occurs.
A brief excursion in Willow Creek for me has the following myth_log.txt:
So it looks like you are successfully initializing OpenAL, but it may be croaking when initializing your graphics renderer (Mesa DRI). It might pay to see if the software renderer works properly. Obviously, you could switch to the software renderer AFTER starting Myth II, but if you are not getting that far, then you need a way to switch to the software renderer by manually changing the configuration.
Also, it looks like you are using the Magma - Detail Texture Megapack. Did you try executing without that? In other words, keep the configuration as simple as possible with no texture packs or 3rd party tagsets, and see if that makes a difference.
http://tain.totalcodex.net/forum/viewto ... f=4&t=7114
I get a laundry list of libraries in the console, apparently when playing multimedia:
Code: Select all
Myth II> ./Myth2
ffplay version 3.3.4 Copyright (c) 2003-2017 the FFmpeg developers
built with gcc 4.8 (SUSE Linux)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --disable-openssl --enable-avresample --enable-libcdio --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcelt --enable-libcdio --enable-libdc1394 --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwebp --enable-netcdf --enable-vaapi --enable-vdpau --enable-libfdk_aac --enable-nonfree --enable-libx264 --enable-libx265 --enable-libxvid
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libavresample 3. 5. 0 / 3. 5. 0
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
ffplay version 3.3.4 Copyright (c) 2003-2017 the FFmpeg developers
built with gcc 4.8 (SUSE Linux)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --disable-openssl --enable-avresample --enable-libcdio --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcelt --enable-libcdio --enable-libdc1394 --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwebp --enable-netcdf --enable-vaapi --enable-vdpau --enable-libfdk_aac --enable-nonfree --enable-libx264 --enable-libx265 --enable-libxvid
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libavresample 3. 5. 0 / 3. 5. 0
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/stmorgan/Myth_II/Myth II/cutscenes/01.mov':
Metadata:
creation_time : 2004-12-26T18:55:06.000000Z
Duration: 00:00:18.20, start: 0.000000, bitrate: 3808 kb/s
Stream #0:0(eng): Audio: pcm_s16be (twos / 0x736F7774), 44100 Hz, 2 channels, s16, 1411 kb/s (default)
Metadata:
creation_time : 2004-12-26T18:55:06.000000Z
handler_name : Apple Alias Data Handler
Stream #0:1(eng): Video: mpeg4 (Advanced Simple Profile) (mp4v / 0x7634706D), yuv420p, 640x264 [SAR 1:1 DAR 80:33], 2400 kb/s, 15 fps, 15 tbr, 15 tbn, 1k tbc (default)
Metadata:
creation_time : 2004-12-26T18:55:06.000000Z
handler_name : Apple Alias Data Handler
encoder : MPEG-4 Video
18.16 A-V: 0.012 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
A brief excursion in Willow Creek for me has the following myth_log.txt:
Code: Select all
2018-02-17 17:48:24
Myth II Build 446 running under Linux ----------------------------------------------
Loading poweruser.txt... not found.
DEBUG: Updating monolithic tag cache:
Initial count: 14
Number removed: 0
Number added: 0
New count: 14
DEBUG: Adding 13 monolithic tags:
small install
medium install
large install
international small install
international large install
Patch 1.2
Patch 1.3
Patch 1.4
Patch 1.5
GateofStormsNet
Patch 1.8 Interface
Myth II Interface (800x600)
Patch Templates
Scanning for software devices...
Found 1 to use
Scanning for OpenGL devices...
Found 1 to use
Gallium 0.4 on NVA8 | nouveau | OpenGL 3.0
Initializing sound with OpenAL...
OpenAL: Loaded OpenAL library 'libopenal.so.1'.
OpenAL initialized successfully.
Running OpenGL 3.0 at 1360 x 768 (VSync ON)
Starting mesh "Willow Creek"...
Using 1.8.2 gameplay...
OpenGL: Initialized with TexCacheSize=512, ErasePreviousFrame=0, MaxAnisotropy=8, MSAASamples=1, UseDepthTest=1, UseMipMaps=1, UseNPO2Textures=1, UseShaders=1, UseLightmapBlendingShader=0, UpdateCMapChunked=1, UseCMapTiles=1, UseAppleClientStorage=0
Quitting single player game...
Closing Myth.
Also, it looks like you are using the Magma - Detail Texture Megapack. Did you try executing without that? In other words, keep the configuration as simple as possible with no texture packs or 3rd party tagsets, and see if that makes a difference.
Re: Myth 2 + wayland
Download the attached screen preferences file, remove the .zip extension (don't try to extract the contents, it's not a real ZIP file), put it into your preferences folder and crank up Myth II. It's a copy of my screen preferences file after changing the renderer to Software and the resolution to 1024x768.
- Attachments
-
- screen preferences.zip
- openSUSE screen preferences with Software and 1024 x 768 selected
- (152 Bytes) Downloaded 556 times
Re: Myth 2 + wayland
I think this might happen if the 800x600 interface is selected but 800x600 is not reported by the system is a supported mode. We use SDL to query the modes, I am not sure what the underlying API is on Linux. I will see if I can repro it on windows by hiding all modes other than 640x480.
Re: Myth 2 + wayland
Pretty sure that was it, should be fixed in the next build
Re: Myth 2 + wayland
>I am not sure what the underlying API is on Linux.
It is a ball of scotch tape that intel gave us
Thanks for looking into it! I expect there will be more issues, btw, but hopefully upstream ones.
It is a ball of scotch tape that intel gave us
Thanks for looking into it! I expect there will be more issues, btw, but hopefully upstream ones.
Re: Myth 2 + wayland
Running with akula65's screen\ preferences file gets me past the crash, but just a black screen. Music is playing and I can click the escape key to quit which is actually pretty cool to see.
I don't find that result too surprising - not interested in software rendering so a black screen is fine I'll wait for the next patch and see what happens with OpenGL enabled.
Thanks for the help so far everyone!
I don't find that result too surprising - not interested in software rendering so a black screen is fine I'll wait for the next patch and see what happens with OpenGL enabled.
Thanks for the help so far everyone!
Re: Myth 2 + wayland
As of Myth II 1.8.3 Private Beta Build 449 both the software and opengl renderer work no problem!
Re: Myth 2 + wayland
Awesome, thanks for following up.potato wrote:As of Myth II 1.8.3 Private Beta Build 449 both the software and opengl renderer work no problem!