Page 1 of 1

Myth 1.7.2 Linux - Black Boxes

Posted: Sun Apr 15, 2012 1:36 am
by vihaan
Hello, this is my first time posting here. I recently decided to try and run myth 2 on Linux. However, whenever i play a game (solo & multiplayer) There are always Black boxes around every object, including my own units (in addition to the health bar and the yellow box that appears when you select the unit). These appear for birds, satchels, everything(there wasnt a box for the windmill on willow creek)
I think this problem might be caused because i first tried to run myth on linux by upgrading it with the windows patch to 1.7.2 and using wine. I later on took the 1.7.2 patch for Linux and upgraded myth.
here are my myth_log details.

2012-04-15 11:29:34
Myth II 32-Bit Build 378 running under Linux ----------------------------------------------
Loading poweruser.txt... not found.
Error: Data Corrupted in Myth2Code/tag_files/tag_files.c, line #3720: the monolithic file '/home/vihaan/Desktop/Myth2/plugins/MD_VI v4 rc08 (Patch from rc07).omp' has a bad name
Scanning for software devices...
Found 1 to use
Scanning for OpenGL devices...
Found 1 to use
Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2 | Tungsten Graphics, Inc | OpenGL 2.1
INFO: Loaded OpenAL library 'libopenal.so'
Error: Data Corrupted in Myth2Code/tag_files/tag_files.c, line #3720: the monolithic file '/home/vihaan/Desktop/Myth2/plugins/MD_VI v4 rc08 (Patch from rc07).omp' has a bad name
Loading Patch Files...
Patch 1.2
Patch MariusNet
Patch 1.3
Patch 1.4
Patch 1.4 Interface
Patch 1.5
Patch 1.7 Templates
Loading Patch Files Succeeded
Warning: Unable to find cutscene 'prologue'.
Establishing connection with metaserver at myth.mariusnet.com:6321...
Connected.
Running OpenGL at 1366 x 768
Starting mesh "AvA (Patrol Bloodshed)" with 1 plugin...
ava4final
Using 1.7.2 gameplay...
OpenGL: initialized with ErasePreviousFrame=0, Use32BitTextures=1, UseAppleClientStorage=1, UseDepthTest=1, UseShaders=1, UpdateCMapChunked=1
Quitting networked game...
Disconnecting from metaserver.
Warning: Unable to find cutscene 'prologue'.
Establishing connection with metaserver at myth.mariusnet.com:6321...
Connected.
Disconnecting from metaserver.
Warning: Unable to find cutscene 'prologue'.
Establishing connection with metaserver at myth.mariusnet.com:6321...
Connected.
Disconnecting from metaserver.
Warning: Unable to find cutscene 'prologue'.
Running OpenGL at 1366 x 768
Starting mesh "Willow Creek"...
Using 1.7.2 gameplay...
OpenGL: initialized with ErasePreviousFrame=0, Use32BitTextures=1, UseAppleClientStorage=1, UseDepthTest=1, UseShaders=1, UpdateCMapChunked=1
Quitting single player game...
Warning: Unable to find cutscene 'prologue'.
Establishing connection with metaserver at myth.mariusnet.com:6321...
Connected.

Here are some crashlog details

2012-03-15 23:50:24
Myth II 32-Bit Build 378 running under Linux ----------------------------------------------
Loading poweruser.txt... not found.
Error: Data Corrupted in Myth2Code/tag_files/tag_files.c, line #3720: the monolithic file '/home/vihaan/Desktop/Myth2/plugins/MD_VI v4 rc08 (Patch from rc07).omp' has a bad name
Error: Data Corrupted in Myth2Code/tag_files/tag_files.c, line #3720: the monolithic file '/home/vihaan/Desktop/Myth2/plugins/Smells_Like_Death_in_Here_v1.1G.zip' has a bad name
Scanning for software devices...
Found 1 to use
Scanning for OpenGL devices...
Found 1 to use
Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2 | Tungsten Graphics, Inc | OpenGL 2.1
INFO: Loaded OpenAL library 'libopenal.so'
Error: Data Corrupted in Myth2Code/tag_files/tag_files.c, line #3720: the monolithic file '/home/vihaan/Desktop/Myth2/plugins/MD_VI v4 rc08 (Patch from rc07).omp' has a bad name
Error: Data Corrupted in Myth2Code/tag_files/tag_files.c, line #3720: the monolithic file '/home/vihaan/Desktop/Myth2/plugins/Smells_Like_Death_in_Here_v1.1G.zip' has a bad name
Loading Patch Files...
Patch 1.2
Patch MariusNet
Patch 1.3
Patch 1.4
Patch 1.4 Interface
Patch 1.5
Patch 1.7 Templates
Loading Patch Files Succeeded
Warning: Unable to find cutscene 'prologue'.
Establishing connection with metaserver at myth.mariusnet.com:6321...
Connected.
Running OpenGL at 1366 x 768
Starting mesh "For Carnage Apply Within (Dark)" with 1 plugin...
Magma TFL Multipack
Using 1.7.2 gameplay...
OpenGL: initialized with ErasePreviousFrame=0, Use32BitTextures=1, UseAppleClientStorage=1, UseDepthTest=1, UseShaders=1, UpdateCMapChunked=1
Quitting networked game...
Running OpenGL at 1366 x 768
Starting mesh "If I Had a Trow..."...
Using 1.7.2 gameplay...
OpenGL: initialized with ErasePreviousFrame=0, Use32BitTextures=1, UseAppleClientStorage=1, UseDepthTest=1, UseShaders=1, UpdateCMapChunked=1
Quitting networked game...
Running OpenGL at 1366 x 768
Starting mesh "Caer Cadarn (Light)" with 1 plugin...
Caer_Cadarn
Using 1.7.1 gameplay...
OpenGL: initialized with ErasePreviousFrame=0, Use32BitTextures=1, UseAppleClientStorage=1, UseDepthTest=1, UseShaders=1, UpdateCMapChunked=1
Quitting networked game...
Segmentation fault
/home/vihaan/Desktop/Myth2/Myth2() [0x807b737]
[0xf776d400]
/home/vihaan/Desktop/Myth2/Myth2(myth_net_process+0x5e) [0x815208e]
/home/vihaan/Desktop/Myth2/Myth2() [0x8154c4d]
/home/vihaan/Desktop/Myth2/Myth2(handle_network_endgame+0x9a4) [0x8158094]
/home/vihaan/Desktop/Myth2/Myth2() [0x80fd0d5]
/home/vihaan/Desktop/Myth2/Myth2(update_everything+0x47) [0x80fd657]
/home/vihaan/Desktop/Myth2/Myth2(main+0x1ed) [0x80fd8fd]
/lib32/libc.so.6(__libc_start_main+0xf3) [0xf73ac0f3]

There's another, earlier crash log in case you guys want it.


THANKS!

Re: Myth 1.7.2 Linux - Black Boxes

Posted: Sun Apr 15, 2012 1:45 am
by Pyro
Check if this fixes the issue, I got this from another thread with the same issue.

Go to your preferences folder in the Myth II folder. Create a "poweruser" txt file and add the following.

Code: Select all

[Renderer.OpenGL]
UseNPO2Textures=False
Now run the game and see if that fixes the problem.

Re: Myth 1.7.2 Linux - Black Boxes

Posted: Sun Apr 15, 2012 5:06 am
by vihaan
Am i supposed to enter the code:select all part too?
what file type do save the file as?
do i leave it as poweruser?

Re: Myth 1.7.2 Linux - Black Boxes

Posted: Sun Apr 15, 2012 9:34 am
by Pyro
Pyro wrote:Go to your preferences folder in the Myth II folder. Create a "poweruser" txt file and add the following.
Do you see what I said after "poweruser"? That is a TXT file. It was not a typo for text... TXT is the extension.

Click on "Select All" and it automatically selects the text in the code box so you can copy/paste it easily. Only the green text is what you need. I don't really know what "leave it as poweruser" means unless you meant without an extension. If so, then no. Add the TXT extension.

Re: Myth 1.7.2 Linux - Black Boxes

Posted: Sun Apr 15, 2012 9:52 am
by Myrd
Sounds like this bug:

http://tain.totalcodex.net/forum/viewto ... 800#p57041

Are you using Intel HD 3000 graphics hardware?

Re: Myth 1.7.2 Linux - Black Boxes

Posted: Sun Apr 15, 2012 12:29 pm
by vihaan
wow that worked like a charm..thanks pyro!

Re: Myth 1.7.2 Linux - Black Boxes

Posted: Sun Apr 15, 2012 12:30 pm
by vihaan
i dont know which hardware im using lol :?

Re: Myth 1.7.2 Linux - Black Boxes

Posted: Sun Apr 15, 2012 2:42 pm
by Eddaweaver
vihaan wrote:i dont know which hardware im using lol :?
If you could find out and tell us what video hardware your system has it would help save others from having the same problem.

Re: Myth 1.7.2 Linux - Black Boxes

Posted: Sun Apr 15, 2012 7:56 pm
by Melekor
Luckily, Myth just happens to print out the video card information since 1.7.2 :wink:
vihaan wrote: Scanning for OpenGL devices...
Found 1 to use
Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2 | Tungsten Graphics, Inc | OpenGL 2.1

Re: Myth 1.7.2 Linux - Black Boxes

Posted: Sun Apr 15, 2012 9:59 pm
by punkUser
Yeah looks like the same driver bug. I have no clue how Linux driver updates get pushed out (in the other thread they mentioned they had already fixed it), but the above will allow you to work around it until you get the new drivers.

Re: Myth 1.7.2 Linux - Black Boxes

Posted: Sun Apr 15, 2012 10:30 pm
by Myrd
vihaan wrote:There's another, earlier crash log in case you guys want it.
I'd be curious to see the other crash log too, even if it's unrelated to the black boxes problem.

Re: Myth 1.7.2 Linux - Black Boxes

Posted: Mon Apr 16, 2012 3:08 am
by vihaan
Here you go.

2012-03-04 16:00:12
Myth II Build 374 running under Modern Windows 5.010000 ----------------------------------------------
Loading poweruser.txt... not found.
Cannot set exclusive mode. Myth II is already running, or the Myth directory is marked read-only.
e
Scanning for 3Dfx devices...
Found 0 to use
Scanning for OpenGL devices...
Found 1 to use
Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2 | Tungsten Graphics, Inc | OpenGL 2.1
Myth Crashed: EXCEPTION_ACCESS_VIOLATION
Attempting Stack Trace...
0 0x004c9a67 _reset_observer_velocity_to_zero + 0x0019 (myth2code\observer.c:757)
Stack Trace Complete

Whoa, im not much of a program analysis guy but it seems to me this crashlog is directly related to my problem. I should have posted it earlier.