• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Salacious Crumb

Private
41 Badges
May 3, 2019
11
0
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Imperator: Rome Deluxe Edition
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Third Rome
  • Imperator: Rome
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
One line summary of your issue
3.2.1 (AZCE) Map/background graphics blocky

Game Version
3.2.1 (AZCE)

What expansions do you have installed?
All of the above

Do you have mods enabled?
No

Please explain your issue is in as much detail as possible.
Recently purchased the game bundle in the back to school sale. Upon starting the game the main title screen map is visibly blocky as if the resolution has tanked. In game map background is exactly the same and unpleasant to the eye but the UI is not effected.

I believe this maybe an issue with linux systems using intel GPU or Intel drivers, please forgive my lack of technical understanding. Seems to have been rasied in this thread...

https://forum.paradoxplaza.com/foru...ad-blocky-on-linux-with-mesa-drivers.1029921/

Is there a known solution or work around for this?

I want to finally play CK2 but not through the resolution of a potato!

Steps to reproduce the issue.
Launch the game, title screen and in game map resolution visibly blocky/pixelated

Running on system

OS - Ubuntu 18.04.3 LTS 64-bit
CPU - Intel® Core™ i7-7567U CPU @ 3.50GHz × 4
Graphics - Intel® Iris Plus Graphics 650 (Kaby Lake GT3e)
RAM - 8GB

Fully updated, all drivers etc.

Upload Attachment
 

Attachments

  • Screenshot from 2019-09-04 16-50-38.png
    Screenshot from 2019-09-04 16-50-38.png
    3,2 MB · Views: 94
  • Screenshot from 2019-09-04 16-51-08.png
    Screenshot from 2019-09-04 16-51-08.png
    2,9 MB · Views: 80
  • Screenshot from 2019-09-04 16-52-47.png
    Screenshot from 2019-09-04 16-52-47.png
    3,1 MB · Views: 83
  • Screenshot from 2019-09-04 16-52-54.png
    Screenshot from 2019-09-04 16-52-54.png
    2,9 MB · Views: 65
Upvote 0
Annnnnd we are back here; from the info in that link in the OP here it is very likely a game bug in the Linux version.

I will call in our resident Linux dev guru @Guraan ; even though he works on another game he may have some insight into the problem.
 
hmmm, mesa3d has always been a problem with our games and that is why we do not support it officially... (keep using it, nvidia and amd drivers are far to forgiving)
But when looking at the screens it just looks like it is lacking some AA tbh

Edit: And by AA i mean anti aliasing, check your settings and check the game `error.log` for gfx issues, might be in `system.log` it actually shows what AA setting the game will use
 
Last edited:
For anyone still interested in a fix for this issue: I ran into the same problem while running CK2 on Arch with an Intel GPU (HD Graphics 620).

Based on the analysis laid out at this link regarding the vertex shader (h t t p ://bugs . freedesktop . org/show_bug.cgi?id=91683#c4 - can't post links yet), I edited the file [CK2 game directory]/gfx/FX/restorescene.lua and removed line 122.

This fixed the blocky graphics for me, without any side-effects. :) I added the edited file to this post, just remove the .txt extension and place it in your game directory, for Steam that's here: ~/.local/share/Steam/steamapps/common/Crusader Kings II/gfx/FX/.

Enjoy playing CK2 on Linux with your Intel GPU :D
 

Attachments

  • restorescene.lua.txt
    3,9 KB · Views: 56
@Guraan The AA options in the display settings are greyed out and even going into the settings file to 'force AA option at 2/4 etc' did nothing. I did a bit of digging around and it appears that Intel and the mesa drivers have a history of issues with anti aliasing, all way above my surface level knowledge of graphics. Ignorance is bliss I can tell you that much.

@Beeksma Amazing it works beautifully! Thanks very much for posting you've made my day.
 
@Salacious Crumb You're welcome!

@Paradox Would it be possible to incorporate this fix in the next update? I guess it would need further testing, but it could effectively add support for Intel GPU's on Linux for anyone without first having to apply this workaround.
 
@Beeksma, first of all: Awesome find!
Since i am on stellaris and its a bit fawned upon to ninja in stuff in other projects I will ping the CK2 team about this thread O;)
 
''Based on the analysis laid out at this link regarding the vertex shader (h t t p ://bugs . freedesktop . org/show_bug.cgi?id=91683#c4 - can't post links yet), I edited the file [CK2 game directory]/gfx/FX/restorescene.lua and removed line 122.''


I did removed line 122 but did not worked for me :(
 
@Dhovid Did you try the fixed file I attached to my post as well, rather than editing the file yourself?

@MidasGrabbedMeByMy You're welcome!

@Guraan Any updates on the CK2 team getting involved?
I forwarded it to CK2 and i believe the issue is fixed in the dev code, but for any patching schedule i do not really know