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
0answers
53 views

SDL_Init segfault on linux

I am using Manjaro linux and SDL 2. However, when I build the application in debug mode and use gdb or something like qtcreator with gdb, to debug it, it gives me a segfault, when the function ...
0
votes
0answers
33 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 ...
0
votes
0answers
21 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 ...
0
votes
0answers
46 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 ...
0
votes
0answers
22 views

Getting XOrg Keyboard layout

Maybe I shouldn't be asking for this but I cant find any tutorial about it. How do I get the key pressed and the character representation of it in Xorg like in Win32 that I know ESC_KEY is the ESC_KEY ...
2
votes
1answer
108 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 ...
0
votes
1answer
48 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 ...
0
votes
1answer
164 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, ...
1
vote
0answers
45 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 ...
0
votes
0answers
208 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 ...
1
vote
0answers
31 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. ...
0
votes
1answer
91 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 ...
0
votes
0answers
54 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 ...
0
votes
0answers
567 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 ...
3
votes
1answer
89 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 ...
0
votes
1answer
366 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....
0
votes
1answer
508 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 ...
5
votes
1answer
434 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'...
-2
votes
3answers
189 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)...
0
votes
1answer
444 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 ...
4
votes
0answers
264 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: ...
-1
votes
1answer
48 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.
2
votes
1answer
617 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 ...
3
votes
0answers
142 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 ...
1
vote
2answers
414 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 ...
0
votes
2answers
120 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 ...
1
vote
1answer
603 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?
2
votes
1answer
113 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, ...
1
vote
0answers
159 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 ...
0
votes
1answer
511 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 ...
5
votes
1answer
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 ...
0
votes
1answer
781 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 | ...
2
votes
1answer
352 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 ...
0
votes
1answer
387 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 ...
5
votes
1answer
434 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 ...
0
votes
1answer
567 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 ...
2
votes
1answer
199 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, ...
1
vote
2answers
492 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. ...
1
vote
1answer
954 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 ...
2
votes
0answers
302 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 ...
0
votes
1answer
155 views

C & SDL: Unexpected Behaviour with Renderer

I'm creating a clone of the memory testing game SIMON. My program is simply four differently colored squares that light up one at a time in a random order. I wrote some code that lights up one square, ...
0
votes
2answers
659 views

Irrlicht engine game wont compile on linux. Undefined refrences(opengl and xfree)

I'm trying to port over my game I'm developing to Linux. But when i compile i get a lot of undefined references to mostly functions that look like they belong to OpenGL. Most are titled gl... But one ...
4
votes
1answer
4k views

How can I resize SDL2 windows efficiently?

I guess resizable windows are not being optimized for in game development but still... The following piece of code demonstrates a problem I'm having: resizing the window is very slow. Basically the ...
0
votes
1answer
109 views

How do I create an Ubuntu snap for a MonoGame application?

I've been going through the snapcraft documentation and examples and I'm still really confused about how to go about creating my snapcraft.yaml file. Basically I have a folder with my game in it. ...
1
vote
1answer
1k views

SDL2 linux fullscreen issue at lower-than-desktop resolution

Having a problem trying to get proper fullscreen in linux. I'm using 1440x900 on desktop. When i set SDL to use 1280x720 as fullscreen, it does change screen resolution. But if i drag the mouse ...
2
votes
1answer
596 views

Is glxinfo saying that the 980 GTX doesn't support a 32 bit depth buffer?

I've been using the glxinfo command (glxinfo -v) to explore the supported framebuffer configurations. There are two values relating to depth, "depth" and "depthsize." According the source, it appears ...
1
vote
1answer
173 views

OpenGL Applications Bring computer to halt

Whenever I run any application that utilizes the OpenGL interface, my entire computer comes to a halt, but it doesn't do this when it utilizes the DirectX interface. I run both Linux (Ubuntu 15.10) ...
0
votes
1answer
413 views

MinGW Windows Cross-Compile Error

While I was developing my game on Linux (I'm using an ARM system), I decided that I want to cross-compile it to Windows. Yet, I get an error while I try to link Allegro (version 4.2) to the compiler. ...
-2
votes
2answers
1k views

C++ Multi-Platform (Windows, Linux, Android) OpenGL(ES) Solutions or Tutorials? [closed]

I'm sorry if this has been asked recently and I'm not Googling it right, but I've been digging all week for something. I've got a game prototype I made in Unity, and I have some decent experience ...
2
votes
1answer
76 views

Packaging JARs for Linux

I realise that this question exists but the answer doesn't explain how to create DEB packages and whether they're suitable. I'd like to package my Java 8 game for ...