Questions tagged [linux]

Questions about game development on Linux operating system, for Linux or any other OS.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

minecraft forge 1.12.2 keep crashing on void linux [closed]

Hello I want to play Minecraft on 2b2t so I installed Forge with Lambda client and Optifine but if i try to open the game it crash. OS: Void Linux Log: https://pastebin.com/h29GBqFG
user avatar
0 votes
1 answer
69 views

Ads in a desktop game?

For my Destiny Garden project, which is a desktop game, I want to use freemium monetisation strategy, so I plan to publish both free demo version and a paid full version, and I'm wandering is there ...
user avatar
  • 101
0 votes
0 answers
39 views

Slow Startup of UE5 Editor on Ubuntu

Starting Unreal Engine 5 editor on Ubuntu 20.04 takes 3 mins 10 seconds on my computer. Nvidia drivers are on v470.129.06. UE5 is built from source tagged ...
user avatar
1 vote
1 answer
69 views

Memory usage of simple SDL2 program grows linearly

I am a newbie in SDL2 and I was testing an example code of Lazy Foo SDL tutorial just out of curiosity. The program renders an image named x.bmp living in the same folder as the program. Here’s the ...
user avatar
-1 votes
1 answer
57 views

Can I use Libgdx to create a game that runs on multiple platforms?

I created my first game using Libgdx and Android Studio. The game runs smoothly on my Android phone. How can I run it on an Apple phone with IOS or a computer with Linux etc.?
user avatar
0 votes
0 answers
35 views

Why can I no longer open new UE5 projects?

I played around with UE5 when it was in early release. I was able to create and open projects without issue. I havent touched it now for a month or 2, but now in release I can no longer open projects ...
user avatar
0 votes
1 answer
28 views

How can I make pygame use a specific input device as the mouse?

I am working on (not really a game, but it's using pygame so I hope my question is on topic here). The program appears to be looking at /dev/input/event0, which is ...
user avatar
  • 121
1 vote
1 answer
51 views

Linux Game Development - Dependency Management

I'm working on a game that I'm trying to build for Linux and distribute via Steam. At present, there are some dependency issues and I'm wondering about the best approach: Bundling .so files with the ...
user avatar
0 votes
0 answers
21 views

Can't Install Windows Export Module From Unity Hub On Manjaro Linux

So when I try to download the windows export module for the newest version of unity, it looks like its working but then after it looks like its finished, It doesn't tell me anywhere and I can't see ...
user avatar
  • 19
0 votes
1 answer
194 views

Unity Hub on Linux "Not enough space" download error

I just downloaded and installed the official Unity Hub app on my Ubuntu machine. However, when I try to download the latest version of the editor, an error message pops up: ⚠ There is not enough ...
user avatar
  • 4,240
0 votes
1 answer
118 views

How to temporarily set additional system environment variable only in 'play' mode inside godot editor?

I'm learning godot with a laptop that has AMD discrete GPU. My OS is Arch Linux so if I want to use discrete GPU I have to set system environment variable ...
user avatar
  • 21
0 votes
0 answers
49 views

High Frequency Polling And Handling Fuzzy Inputs

I'm developing a FPS game and I'm considering polling at a high frequency on a separate thread. This decouples the game loop and reading input. I get sub-frame samples and can process those samples ...
user avatar
0 votes
0 answers
36 views

How do I install the Unity Editor on Linux?

I have installed Unity trough the Hub but still need the editor. I cannot for the life of me figure out how to do that? I'm running a Ubuntu based Linux system. I already have MonoDevelop installed I ...
user avatar
0 votes
0 answers
185 views

Ideal scheduler on the operating system for games?

In linux, the preferred scheduler is CFS (correct me if I'm wrong), I'm not sure what the preferred scheduler is on Windows. It's possible to change the scheduler in linux, even after you boot. I'm ...
user avatar
  • 1
2 votes
1 answer
221 views

Water shader in Unity3D not working on some Linux distributions/some Mac OS?

I've got reports from some Linux users that the game's water isn't rendered on his machine. 3 example operating systems: Ubuntu 20.04 (with kernel 5.4.0-54-generic x86_64 Linux 4.15 Linux Mint 19.2 ...
user avatar
  • 649
0 votes
1 answer
57 views

Linux Mint Godot window when ran very small

I am running my game on Linux Mint 20 Cinnamon. When I run my game I get a very small window that is about 1 pixel tall. This happens across all projects. I have tried uninstalling Godot and ...
user avatar
0 votes
1 answer
238 views

How to make this C++ game server cross platform? [Focusing on Ubuntu compatibility right now] [closed]

The question's description will evolve depending on requested information or evolution of answers. I made this C++ server for a game, which works on Windows, and would like to make it cross-platform, ...
user avatar
1 vote
1 answer
79 views

Unreal Engine Linux Support

I use multiple game Engines, but havn't used Unreal engine for quite a while, Now with the recent changes in Unreal Engine there are quite some interesting features which would be interesting to use ...
user avatar
0 votes
1 answer
742 views

Creating a game on Linux with SDL and distributing it

TL, DR: Will I be able to get a single .exe file which will work smooth in a PC which does not have SDL or so installed ever. If not, how close will be the closest ...
user avatar
  • 101
1 vote
0 answers
54 views

Irrlicht Code::Blocks project fails to build on Linux machine

After downloading the latest Irrlicht version (1.8.4) and setting it to compile for Linux machines, I decided to try it out in Code::Blocks IDE. The build failed. ...
user avatar
  • 11
0 votes
1 answer
114 views

Why Epic don't release a pre-compiled binary tarball for Linux?

On linux, the 'recommanded' way of installing ue4 on linux is building the engine from github source. It is very time comsuming. For each new version, I need serveral hours to rebuild it. Why don't ...
user avatar
0 votes
0 answers
108 views

Fresh new MonoDevelopment install "assembly not found for framework .NET Framework 4.5"

I'm using Ubuntu 18.04.4 LTS and I went through the instructions on this page: https://www.monodevelop.com/download/ very specifically, (yes, I made sure to use the steps for the correct operating ...
user avatar
0 votes
0 answers
1k views

Running Unity Build through Command line

I recently developed a game in unity and would like to build it to a standalone application using the command line. Is there a way to do that? Specifically, without opening the Unity Editor how can ...
user avatar
3 votes
1 answer
102 views

How to make the player unable to change some of the game elements?

I am making a text turn based RPG fighting game in which you create your own spells. You also share them as JSON files with your friends. Sharing is required to win. The game is designed so that it ...
user avatar
1 vote
2 answers
5k views

How can I remove Unity Hub in Ubuntu?

I installed Unity Hub 1.4.0 and it works well. For now I want to update the version of Unity. I need to install hub 2.0.0. But when I download the 2.0.0 hub and intsall it always link to 1.4.0 and I ...
user avatar
  • 133
0 votes
1 answer
771 views

Game runs in UE4Editor but not standalone

I have just completed these instructions to build and run UE4Editor for Linux. I created a new C++ project and in the editor I hit the Launch button and after a while it compiled and ran successfully....
user avatar
  • 105
0 votes
1 answer
1k views

Unity3d crash on Launching on Ubuntu

I have a problem that bugged me for quite some time now I'm trying to Install Ubity3d on Ubuntu I Followed some instructions that i've found after some research I downloaded and installed UnityHub and ...
user avatar
4 votes
1 answer
680 views

Linking Unreal Engine with OpenCV libraries built with RTTI on Linux

Unreal Engine has a plugin for integrating with OpenCV. Currently that plugin works on Windows. I'm trying to modify this plugin to work on Linux. I've worked through many issues but I have one I can'...
user avatar
-2 votes
3 answers
235 views

Why there are more games in windows than linux? [duplicate]

I cannot comprehend why there are so many games available for windows and so few for linux in comparison. Why is the main reason, is it a technical or business reason ? Are Windows libraries (directx)...
user avatar
0 votes
1 answer
659 views

Can DDS be used in OpenGL in Linux without license/patent issue?

Is there a 'standard' for OpenGL game creation intended for both Windows and Linux? I understand DDS is the DirectX standard (or, at least, it appears to be). Is there one that does not have potential ...
user avatar
  • 139
3 votes
0 answers
374 views

SFML.NET DLLNotFoundException with dll.config files in project

I am trying to run SFML.NET on arch linux and I have two dll.config files in my project called sfmlnet-graphics-2.dll.config and sfmlnet-window-2.dll.config. sfmlnet-graphics-2.dll.config: ...
user avatar
  • 53
-1 votes
1 answer
51 views

Is there a stable Unity release for linux? [closed]

I am doing some machine learning and need to run unity on linux but didn't come across the stable release, if anyone is working on unity on linux, please point me towards a stable release.
user avatar
  • 329
2 votes
1 answer
794 views

How to handle Japanese on Windows and Linux using SDL_ttf and C++?

In SDL_ttf, there are a few functions provided that handles non-ASCII string literals, such as: TTF_RenderUNICODE_Solid ...
user avatar
3 votes
0 answers
163 views

timing rendering to monitor screen update

I have an application with a very light rendering loop, taking a predictable and small time to execute. Right now, I have two solutions. The first solution uses Vsync: after a screen update, my ...
user avatar
1 vote
2 answers
686 views

Can I build cross platform executables with Unity?

If I create a C# console application in Monodevelop and build it I can run it by typing: ./executableName.exe or using Wine. (I am using Ubuntu Linux) I assume that this means that C# .exe files ...
user avatar
0 votes
2 answers
152 views

Is there a way to do local multiplayer on a combination of Windows/Ubuntu computers?

So far I've tried Bluetooth but it doesn't appear to work on either windows or Ubuntu (for this use-case; it can connect to printers fine). I've also looked up USB-bridge-cables, but from what I’ve ...
user avatar
0 votes
1 answer
952 views

What is the shortcut to rename stuff in Unity on Linux?

I am using Unity on Ubuntu 16.04 and I can't rename objects or assets using the F2 key as I could when I was using Windows. What is the shortcut on Linux then?
user avatar
2 votes
1 answer
117 views

C++11 & Efficient Networking Client<->Server<->"Zone(s)"

I am building both an engine and a networked game at once because I'm completely insane. The original design/plan was to use internal Unix sockets for each "zone" for server<->zone communication, ...
user avatar
  • 139
1 vote
0 answers
186 views

Linux: blit image on screen without stuttering at a stable frame rate

I'm working on a very simple game, and one of the project goals is to minimise the use of libraries. I'm drawing every frame into a buffer, which is then displayed using ...
user avatar
0 votes
1 answer
525 views

Function call time

I'm making a game and I want an update method to be called every 120th of a second. I've looked up timers but they start the timer after the function has returned, but I want the timer to start when ...
user avatar
5 votes
1 answer
3k views

How Many Threads is 'Too Many'?

I writing this as I have run into a dilemma that I cannot readily answer. Specifically, how many threads is too many? Background tl;dr: Writing a game (Surprise.) C++11, all server-side bits ...
user avatar
  • 139
0 votes
1 answer
1k views

Direct3D11 Depth buffer problem

Encountered a strange error when using Direct3D11, feature level 10.0. If the depth buffer texture is created with the format DXGI_FORMAT_R24G8_TYPELESS, bind flag D3D11_BIND_DEPTH_STENCIL | ...
user avatar
  • 1
2 votes
1 answer
515 views

Using Smartphone as a steering wheel on Linux

I am making a car simulation game, however, I find it being inefficient and difficult to test the simulation realism and accuracy via keyboard or even joystick control. I need a steering wheel ...
user avatar
0 votes
1 answer
606 views

Will any program written with XLib work on any desktop environment (Gnome, KDE, etc.)?

I'm making an application that uses Win32 API on Windows but I want to support linux distros too. Some people say linux doesn't have a native GUI API like Win32 API of Windows. But I found XLib and ...
user avatar
5 votes
1 answer
584 views

How can i port my OpenGL game to linux? [closed]

I made a game with OpenGL 4.3(core profile) and C++. I used GLFW3 for window and context management. I am also using bunch of third party library which are also available for linux. What things do i ...
user avatar
0 votes
1 answer
737 views

OpenGL: Better Approach to Repeating Sprites (e.g. terrain)?

Preface: Linux (Ubuntu 16.04 Gnome), C++11, SDL2, GLEW 2.0, OpenGL 4.5 Hello ladies/gents, My conundrum is this: How do I handle draw a repeated texture (sprite) as a single object, at various ...
user avatar
  • 139
2 votes
1 answer
232 views

Rotating a Row of Textures

Preface: In Linux, using C++11, SDL2, GLEW, and OpenGL. Hello Ladies/Gents, I am reaching out as I'm stuck on a fairly simple problem that a decade out of school has further hindered. Specifically, ...
user avatar
  • 139
1 vote
2 answers
560 views

Unity not opening in Ubuntu

I installed the latest version version of Unity for Linux from the official website, but when I try to launch Unity, it displays a blank dialog box. I waited for a long time, but nothing happens. ...
user avatar
  • 111
1 vote
1 answer
1k views

How to catch basic system events (such as input) in Linux/C++

As old and as standard as Linux/C++ is now, I would imagine there's an efficient method, even a library or three, for something as elementary as catching system events. The types of events I need are ...
user avatar
  • 113
2 votes
0 answers
356 views

Swift gamedev options for linux [closed]

I recently tried out Swift. I found it to be awesome. But I'm unable to find any libraries for game development as I'm on Linux. Everything seems to be made for MacOS & iOS development. There ...
user avatar