Page 1 of 1

blurry objects

Posted: Wed Jul 01, 2020 2:02 am
by wjohnson
I have blurry objects when using OpenGL.
Characters are a pink semi-transparent blurry rectangle.
Other objects are semi-transparent blurry rectangles of smaller size and color.
The background (ground and windmill) display fine.
The status line and text are clear and sharp.
Only the moving objects are displayed as blurry rectangles when using OpenGL.
Other games that use OpenGL do work.

When I switch to software draw, I can see them as objects.

Is this a known problem ?
Is is possible to turn off some filtering somewhere ?
I already turned off everything in preferences that I could see.

Linux 4.4.153 (Slackware 14.2-upgraded)
NVidia card, NV4A
Nouveau driver 1.0.12
Mesa 11.2.2
Been trying to update Mesa but that is a project in itself.

Just updated it to Project_Magma Myth2 version 1.8.3.

Thank You for updating Myth2 to something that I can run.
I bought the box set when I running Linux 2.2.
Never got it to work then, and etc...

Re: blurry objects

Posted: Wed Jul 01, 2020 3:21 am
by wjohnson
Played through 2 levels using software draw.

2020-07-01 02:13:01
Myth II Build 454 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 NV4A | nouveau | OpenGL 2.1
Initializing sound with OpenAL...
OpenAL: Loaded OpenAL library 'libopenal.so'.
OpenAL initialized successfully with output device 'OpenAL Soft'.
Running Software at 1920 x 1080
Starting mesh "Tutorial"...
Using 1.8.3 gameplay...
Warning: Failed to play cutscene 'prologue.mpg' using ffplay - make sure FFmpeg is installed.
Running Software at 1920 x 1080
Starting mesh "Willow Creek"...
Using 1.8.3 gameplay...
Running Software at 1920 x 1080
Starting mesh "Salvation"...
Using 1.8.3 gameplay...
Replaying film "Last Recording" ...
Running Software at 1920 x 1080
Starting mesh "Salvation"...
Using 1.8.3 gameplay...
Quitting replay...
Closing Myth.

Re: blurry objects

Posted: Wed Jul 01, 2020 10:47 am
by Myrd
Can you provide screenshots?

Otherwise it does sound like a problem with the drivers? Try different ones?

Re: blurry objects

Posted: Tue Jul 07, 2020 4:30 pm
by wjohnson
Attached is screenshot of the tutorial. Notice that the barrels next to the windmill are just blurry translucent rectangles, along with all the other objects.

Yes, I know I can play at changing the driver. I really do not have much choice on drivers, it is either bad for one thing or bad for the other.

My question was how to turn off whatever odd filtering that might be done to the objects so they display properly. How can I get to the most basic OpenGL rendering.
I already tried turning off anisotropic filtering.

I have other OpenGL programs and they do not have this problem.
I also am a developer for an OpenGL 1 program, and it does have such problems.

Re: blurry objects

Posted: Tue Jul 07, 2020 6:32 pm
by Myrd
You can control some OpenGL settings via the poweruser.txt INI file mechanism. You can look at the options listed in the readme:
http://projectmagma.net/downloads/myth2 ... _1.8.3.pdf

Let us know if something helps! Also suggest reporting a bug against your video driver.

Re: blurry objects

Posted: Wed Jul 08, 2020 5:43 pm
by wjohnson
In preferences/powerusers.txt
UseShaders=false

This fixes the OpenGL drawing, with my video card, which being a business class video card, probably does not have the full shader capability as Myth2 is using it.

It is very difficult to tell the difference between software render and OpenGL render.
The grey dots on the barrels are sharper with software render.

Thank You.

Re: blurry objects

Posted: Wed Jul 08, 2020 9:12 pm
by wjohnson
I cannot find anything that looks like a bug reporting system.
Where is it??

Re: blurry objects

Posted: Sat Jul 11, 2020 9:00 am
by Melekor
wjohnson wrote:I cannot find anything that looks like a bug reporting system.
Where is it??
Myrd meant report a bug to the developers of your graphics card driver. Not to us.

I see from the log that you are using the gallium drivers. I suspect you would probably have better luck with the official NVIDIA drivers. They are known to have very good OpenGL support. Worth a try perhaps?

Re: blurry objects

Posted: Sat Jul 11, 2020 10:40 pm
by wjohnson
I used to use the nVidia drivers before. They did not support my Video Card in the current drivers, I am directed to the legacy drivers that may not be maintained.
The recommended driver did not work. I was using a driver that supposedly was for a different card.

The nVidia drivers did not support the video switching that nouveau supports inherently.

Every user has different problems. Not everyone can buy the hardware you use nor setup their system the way you have it.

I am a developer for a game that uses OpenGL. Whatever hardware and drivers the user may be using, I need to provide as many options for them that I can.

Please maintain the ability for older hardware, and non-nVidia drivers to be used with this older game. It may be that my video card simply does not support that video operation this code is using. That is why OpenGL works when that option is turned off.

I have looked to buy a newer card. The only card I can get for my interface is the one I got. They are still selling them.
This is not a gaming system, it was built for business use.
I do not care for most of the Windows style games anyway, I run Linux.

Re: blurry objects

Posted: Wed Jul 15, 2020 8:27 pm
by Myrd
I'm glad you got it to work.

We're not planning to remove that poweruser.txt option.