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

All Linux instances: Project is affected by the corrupted text issue #336

Open
cx405 opened this issue Jun 8, 2021 · 12 comments
Open

All Linux instances: Project is affected by the corrupted text issue #336

cx405 opened this issue Jun 8, 2021 · 12 comments
Assignees
Labels

Comments

@cx405
Copy link

cx405 commented Jun 8, 2021

Both current RasterPropMoniitor(adopted) and your project are affected by this bug: FirstPersonKSP/RasterPropMonitor#12

I have installed and tested both. On Russian version of KSP 1.11.1, I get these "effects" with MAS:

Screenshot_20210608_170405

This is on current NixOS x64, GOG KSP 1.11.1. GPU is amd rx570 8gb, I get no other graphical issues in game with text or else.

Mods:
KSP: 1.11.2 (Unix) - Unity: 2019.2.2f1 - OS: Linux 5.11 NixOS 20.09.3945.e6911eaed6b 64bit
ClickThroughBlocker - 0.1.10.15
USI Tools - 1.4
ToolbarControl - 0.1.9.4
Aviation Lights - 4.1.2
Community Category Kit - 5.2
Community Resource Pack - 1.4.2
CommunityTechTree - 3.4.3
Easy Vessel Switch - 2.2.7689.40431
Firespitter - 7.17
HideEmptyTechTreeNodes - 1.3
HullcamVDSContinued - 0.2.1.1
KAS - 1.7.7516.37663
Kerbal Inventory System - 1.28.7685.40880
KRASH - 0.5.33.3
KSP-AVC Plugin - 1.4.1.5
KSP_Proximity - 0.3.3
MOARdV's Avionics Systems - 1.2.3
Docking Port Alignment Indicator - 6.9.2.2
SCANsat - 1.20.4
Soundtrack Editor - 4.3
Soundtrack Editor Forked - 4.7.1.4
RecycledParts - 0.2.1
ButtonManager - 0.0.1
SpaceTuxLibrary - 0.0.6
VesselModuleSave - 0.0.1.1
TokamakIndustries - 0.2.0.2
Trajectories - 2.4
USI Core - 1.4
Asteroid Recycling Tech - 1.4
USI Exploration Pack - 1.4
Freight Transport Tech - 1.4
Karbonite - 1.4
Konstruction - 1.4
USI-LS - 1.4
MKS - 1.4.1
Malemute Rover - 1.4
Waypoint Manager - 2.8.2.7
[x] Science! - 6.0.0.6
kOS - 1.3.2

Logs (started game, started new sandbox game, went to VAB, loaded stock KerbalX and went into cabin, then exited):

Player.zip

ModuleManager.zip

glxinfo.zip

@MOARdV MOARdV self-assigned this Jun 11, 2021
@MOARdV MOARdV added the bug label Jun 11, 2021
@somerandomdev49
Copy link

somerandomdev49 commented Oct 5, 2022

Will this ever be fixed? (If it's a problem with MAS specifically (which I doubt))
If this is a problem with some other dependency or with unity itself, are there any known sources of the bug?

This bug occurs on Intel's integrated graphics too. (Arch Linux, Wayland, Mesa Intel(R) Graphics (ADL-S GT1))

I also noticed that the text is rendered on top of the solid color rectangles sometimes.

(seems like a texture transparency problem to me, or with the shader not discarding transparent pixels because of some linux-specific thing)

I'll gladly help solve this problem if needed :)

@MOARdV
Copy link
Owner

MOARdV commented Oct 5, 2022

Will this ever be fixed? (If it's a problem with MAS specifically (which I doubt))
If this is a problem with some other dependency or with unity itself, are there any known sources of the bug?

I don't remember off-hand when I last rebuilt the shader packages MAS uses. It's entirely possible that a Unity update since then has invalidated the Linux shaders. I will try to set aside some time this weekend to get my local Unity instance updated and rebuild the shader packages. I will put a link here when I do, if you could install them and see if they work (I don't have access to a Linux box).

@MOARdV MOARdV added this to the v1.4.0 milestone Oct 5, 2022
@somerandomdev49
Copy link

Thank you!

@JonnyOThan
Copy link
Collaborator

Oh hey. I was also speculating that a new shader package would help, and I’m planning on pushing out a release of RPM in the next few days. If anyone with a Linux machine could test that out I’m sure we’d both be grateful. I’ll post again here when it’s ready.

btw @MOARdV there is a way to build a shader bundle that can be loaded for all platforms. You just need to build for windows and include OpenGL core in the renderer settings in the player settings.

@somerandomdev49
Copy link

I'll be happy to test :)

@JonnyOThan
Copy link
Collaborator

Oops, I forgot to post here...RPM 0.31.8 has a re-exported asset bundle. Could you try that one @somerandomdev49 ?

@somerandomdev49
Copy link

I'll try it later today, thanks :D

@somerandomdev49
Copy link

sorry for not trying later today, I totally forgot about this! In the next 24 hours probably!

@JonnyOThan
Copy link
Collaborator

I got sort-of-confirmation from one linux user on discord that the new assetbundles fixed the text problem.

@somerandomdev49
Copy link

Yes, updating to the latest PRM version (0.31.9) fixed the issue!
2022-10-18-143448_1920x1080_scrot

@MOARdV MOARdV modified the milestones: v1.4.0, v1.3.6 Oct 22, 2022
@MOARdV
Copy link
Owner

MOARdV commented Oct 22, 2022

btw @MOARdV there is a way to build a shader bundle that can be loaded for all platforms. You just need to build for windows and include OpenGL core in the renderer settings in the player settings.

@JonnyOThan I don't remember how to do that - it's been years since I messed with the asset bundle stuff, and I haven't touched it once I got the batch file working.

@JonnyOThan
Copy link
Collaborator

btw @MOARdV there is a way to build a shader bundle that can be loaded for all platforms. You just need to build for windows and include OpenGL core in the renderer settings in the player settings.

@JonnyOThan I don't remember how to do that - it's been years since I messed with the asset bundle stuff, and I haven't touched it once I got the batch file working.

edit -> project settings:
image

@MOARdV MOARdV removed this from the v1.3.6 milestone Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants