Author Topic: Error trying to Run Quest in Ubuntu  (Read 3612 times)

PeterB

  • Newbie
  • *
  • Posts: 20
    • View Profile
Error trying to Run Quest in Ubuntu
« on: January 12, 2019, 08:01:33 pm »
Hey guys,

I am having trying to run my quest in Ubuntu.

I think it may be an issue with GL and the new Shaders?

I have reinstalled all the packages as i thought it may be a SDL2 issue and have reinstalled Solarus and the Editor but with no joy.

The Editor works fine, i just can't run any games from either Solarus or the Editor???

This is what I am getting in the console when trying to run my quest in the Editor.

Info: Solarus 1.6.0
Info: Opening quest '/home/dad/Desktop/My Zelda Quest Draft'
Info: Joypad support enabled: true
Info: SDL: 2.0.8
Fatal: Cannot create the renderer: Could not create GL context: BadValue (integer parameter out of range for operation)

« Last Edit: January 12, 2019, 08:04:39 pm by PeterB »

alexgleason

  • Full Member
  • ***
  • Posts: 128
  • Vegan on a Desert Island
    • View Profile
    • Vegan on a Desert Island
Re: Error trying to Run Quest in Ubuntu
« Reply #1 on: January 22, 2019, 10:33:51 pm »
Hi Peter,

Are you using the Snap? eg, you got it from the Ubuntu store? I am in charge of maintaining solarus-snap and we can create a bug report there if so.

There is also a known issue with 1.6 in general that you might be experiencing.
RIP Aaron Swartz

PeterB

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Error trying to Run Quest in Ubuntu
« Reply #2 on: January 23, 2019, 11:29:40 pm »
Hi Alex,

No I am using the standard Solarus from the source code. I see it has been updated so I will compile it again and see if it is fixed.

ditokp

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Error trying to Run Quest in Ubuntu
« Reply #3 on: January 27, 2019, 09:51:27 am »
Hello, today I download Solarus and I have this issue too. I can't run my quest with Solarus editor or other quest with Solarus Quest Launcher. But I can play Ocean's Heart quest (http://forum.solarus-games.org/index.php/topic,1107.0.html) with opening the solarus-run.exe with Wine. I install Solarus from snap.

The message when I run quest from Solarus Quest Editor is only this:
Info: Solarus 1.6.0
Info: Opening quest '/home/dito/Solarus/Test_Solarus'

My system specs:
OS: Lubuntu 18.04.1 LTS 64-bit

alexgleason

  • Full Member
  • ***
  • Posts: 128
  • Vegan on a Desert Island
    • View Profile
    • Vegan on a Desert Island
Re: Error trying to Run Quest in Ubuntu
« Reply #4 on: January 27, 2019, 05:33:35 pm »
Hello, today I download Solarus and I have this issue too. I can't run my quest with Solarus editor or other quest with Solarus Quest Launcher. But I can play Ocean's Heart quest (http://forum.solarus-games.org/index.php/topic,1107.0.html) with opening the solarus-run.exe with Wine. I install Solarus from snap.

The message when I run quest from Solarus Quest Editor is only this:
Info: Solarus 1.6.0
Info: Opening quest '/home/dito/Solarus/Test_Solarus'

My system specs:
OS: Lubuntu 18.04.1 LTS 64-bit

Thanks for the report. It might be one of these issues:


...which I don't know how to solve.  :(
RIP Aaron Swartz

ditokp

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Error trying to Run Quest in Ubuntu
« Reply #5 on: January 27, 2019, 05:45:04 pm »
T
Hello, today I download Solarus and I have this issue too. I can't run my quest with Solarus editor or other quest with Solarus Quest Launcher. But I can play Ocean's Heart quest (http://forum.solarus-games.org/index.php/topic,1107.0.html) with opening the solarus-run.exe with Wine. I install Solarus from snap.

The message when I run quest from Solarus Quest Editor is only this:
Info: Solarus 1.6.0
Info: Opening quest '/home/dito/Solarus/Test_Solarus'

My system specs:
OS: Lubuntu 18.04.1 LTS 64-bit

Thanks for the report. It might be one of these issues:


...which I don't know how to solve.  :(

Thank you for replying my issue. I hope this issue can be fixed soon. But, is there any workaround to play or preview quest that I create in Solarus Quest Editor?

alexgleason

  • Full Member
  • ***
  • Posts: 128
  • Vegan on a Desert Island
    • View Profile
    • Vegan on a Desert Island
Re: Error trying to Run Quest in Ubuntu
« Reply #6 on: January 27, 2019, 05:50:45 pm »
is there any workaround to play or preview quest that I create in Solarus Quest Editor?

You have two options:

1. Use Solarus 1.5.3 (instructions here)
2. Try compiling 1.6 from source. Some users have reported that this works when the Snap doesn't. Instructions.
RIP Aaron Swartz

ditokp

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Error trying to Run Quest in Ubuntu
« Reply #7 on: January 27, 2019, 05:59:46 pm »
Thank you for the solution. I think I will used the 1.5.3, because I'm new with Linux and I'm confused when compiling from source. Only once I can success compiling, and the rest is failed.

PeterB

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Error trying to Run Quest in Ubuntu
« Reply #8 on: January 27, 2019, 08:56:18 pm »
After compiling from source, 1.6.1 gets a bit further but Ubuntu still doesn't like SDL and the shaders.

I think you are right, it is either 1.53 or running the quest in Wine with the windows version of Solarus.

Anyway, this is what i get in the console.

Info: Solarus 1.6.1
Info: Opening quest '/home/me/Desktop/My Zelda Quest master'
Info: Joypad support enabled: true
Info: SDL: 2.0.8
Info: Failed to obtain core GL. Trying compatibility instead...
Info: Failed to initialize SDL shader Hack. Shaders unavailable.
Info: Renderer: SDLRenderer : software