Author Topic: Rendering issues/corruption on linux  (Read 1462 times)

Boost

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Rendering issues/corruption on linux
« on: February 08, 2015, 07:57:42 AM »
Hi,

I just bought the game and tried to start it for the first time.
The game seems to start fine except for texture/font loading which fails resulting in this:

(Though, this looks like it could be corrupted texture buffers...)
This error gets spammed to terminal:
Code: [Select]
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

Using:
Fedora release 21 (Twenty One)
Linux version 3.18.3-201.fc21.x86_64
OpenGL version string: 3.0 Mesa 10.4.3
OpenGL shading language version string: 1.30
            : libpng
            : 1.6.10

I tried a fix suggested here: http://trac.wildfiregames.com/ticket/2184
which resulted in this error and the same result:
Code: [Select]
Error: Could not load image '/home/hhyyrylainen/.local/share/Steam/SteamApps/common/Star Ruler 2/data/images/fileIcons.png'

Some other links that I found while trying to fix this:
https://wiki.archlinux.org/index.php/Libpng_errors
http://stackoverflow.com/questions/22745076/libpng-warning-iccp-known-incorrect-srgb-profile


Thy Reaper

  • BMS Lead Developer
  • BMS Administrator
  • Hopeless
  • *
  • Posts: 3237
  • Karma: +397/-8
    • View Profile
    • Blind Mind Studios
Re: Rendering issues/corruption on linux
« Reply #1 on: February 08, 2015, 12:16:34 PM »
The warnings from libpng can be safely ignored.

Could you please post your system specs?

Boost

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Rendering issues/corruption on linux
« Reply #2 on: February 08, 2015, 12:24:45 PM »
System Information

Hardware:
Processor: Intel Core 2 Quad Q9550 @ 2.83GHz (4 Cores), Motherboard: ASUS P5Q, Chipset: Intel 4 DRAM + ICH10R, Memory: 8192MB, Disk: 1000GB Western Digital WD10EADS-00L + 1000GB Seagate ST1000DM003-1CH1 + 2000GB Western Digital WD20EURS-63S + 320GB Seagate ST3320418AS + 3001GB External HDD, Graphics: ASUS AMD Radeon HD 7950/8950 OEM / R9 280 3072MB, Audio: Intel 82801JI, Monitor: BenQ G2420HDB + BenQ G2410HD, Network: Qualcomm Atheros AR8121/AR8113/AR8114

Software:
OS: Fedora 21, Kernel: 3.18.5-201.fc21.x86_64 (x86_64), Desktop: GNOME Shell 3.14.3, Display Server: X Server 1.16.3, Display Driver: radeon 7.2.99, OpenGL: 3.3 Mesa 10.4.3 Gallium 0.4, Compiler: GCC 4.9.2 20141101 + Clang 3.5.0 + LLVM 3.5.0, File-System: ext4, Screen Resolution: 3840x1080

Tested with Ubuntu 14.10 and the game works in it. I also tried deleting (most of) the bundled libraries (to use already installed libraries) and that didn't fix it.

Thy Reaper

  • BMS Lead Developer
  • BMS Administrator
  • Hopeless
  • *
  • Posts: 3237
  • Karma: +397/-8
    • View Profile
    • Blind Mind Studios
Re: Rendering issues/corruption on linux
« Reply #3 on: February 08, 2015, 12:32:48 PM »
We haven't seen this issue with other Linux users yet, but some Windows users have troubles with Radeons and outdated drivers. Please make sure your drivers are up to date.

Boost

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Rendering issues/corruption on linux
« Reply #4 on: February 08, 2015, 12:38:29 PM »
I have the latest version of Mesa drivers, but I'm unable to install amd proprietary drivers as they don't support wayland which would be required for them to work on Fedora. The mesa drivers provide at least openGL 3.0 with shader version 130 which should be above the minimum requirement of openGL 2.1, right?

Thy Reaper

  • BMS Lead Developer
  • BMS Administrator
  • Hopeless
  • *
  • Posts: 3237
  • Karma: +397/-8
    • View Profile
    • Blind Mind Studios
Re: Rendering issues/corruption on linux
« Reply #5 on: February 08, 2015, 12:40:46 PM »
The drivers may claim full support, but even proprietary drivers often have issues. Based on the screenshot, the drivers have something seriously wrong with the portion of OpenGL Star Ruler 2 uses.

Kepsz

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Rendering issues/corruption on linux
« Reply #6 on: February 08, 2015, 03:31:08 PM »
I see similar issues on Chakra Linux (Radeon R7 260x + Catalyst 14.12). First the game loads well, then after around 5s in the menu, it falls apart, textures and text become messed up completly and stays that way. (this is my desktop pc)

On my laptop, the game runs perfectly on the same Chakra Linux (same update status) with the free radeon driver and an old HD3450.

Neikius

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Rendering issues/corruption on linux
« Reply #7 on: September 12, 2015, 03:40:46 AM »
Sorry to necro, but my issue looks exactly the same (so I don't have to post a screenshot).

GPU: 7970, CPU Phenom2 955, 16 gigs of ram, Kubuntu 15.04

The issue is probably since I keep using the opensource drivers... but the fglrx is just so arrgh fiddly. One other idea I had is some sort of weird interaction between bundled libs and system libs. I could probably delete the bundled ones and install new ones by myself? I've also noticed that on this PC game won't print out the GPU model as it does on the laptop.

edit:
Damn, read this: http://steamcommunity.com/app/282590/discussions/0/611704531886042249/

Just need to find a way to update...

edit2: Yep, just copied over the installation and it is indeed fine in 1.0.2. Thanks for the fix!
« Last Edit: September 12, 2015, 05:52:22 AM by Neikius »