Questions tagged [linux]

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

0
votes
1answer
27 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 ...
4
votes
1answer
132 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
147 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
159 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 ...
2
votes
0answers
116 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
45 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
228 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 ...
2
votes
0answers
117 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
149 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
109 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
224 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
107 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
111 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
425 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
2k 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
526 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
142 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 ...
-1
votes
1answer
240 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
286 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
353 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
157 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
395 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
711 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 ...
1
vote
0answers
191 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
99 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
504 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
3k 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
102 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
937 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 ...
1
vote
1answer
433 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
163 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
190 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
67 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 ...
1
vote
1answer
115 views

Is Flash (Flash/Flex/AIR) a still maintained technology (either officially / 3rd party) suitable for Web Player (linux) and mobiles? [closed]

Today I use Flash Player 11 since it's the last one released by Adobe, for linux-based OSs. The same applies to Flex/AIR platforms: I use Flex 4.1.4 and AIR 2.6, while Windows and Mac systems have ...
13
votes
1answer
1k views

How can I use the Kinect as a microphone in Linux?

I am using Ubuntu 14.04 LTS, and the Kinect camera has type Microsoft_Xbox_NUI_Sensor_043367545147-02-Sensor. I can access the Kinect's camera from a Linux program ...
0
votes
0answers
61 views

Unreal Engine Ubuntu: Failed to import video, unknown file extension

I've been reading tutorials and guides on getting video file playback in Unreal. I have media player materials created and textures. I'm having issues importing video files to Content/Movies directory....
-1
votes
2answers
350 views

Why am I having these errors, when opening my Unity project in Ubuntu?

I'm experiencing some trouble with the Linux build of Unity. I suspect that my Nvidia driver is producing this error, but I'm really not sure. I have an Nvidia GTX 860M, and until 2 days ago, I was ...
4
votes
4answers
5k views

Unity 5 Standard Assets for Linux / Ubuntu

Unity recently has released Unity3D Editor for Linux machines. But in its website there is no support for Linux / Ubuntu. As of Unity 5 standard game assets have been removed from the editor itself ...
3
votes
0answers
446 views

hosting a windows game on a linux server [closed]

there! I am currently working on a game on Unreal 4, and although im still in early production(barely any code written, mostly visual assets at this point), i want to ask this now, so that i know how ...
-2
votes
1answer
352 views

Unity and Linux [closed]

Is it slow to run unity with wine? And are there any plans for unity coming to the Linux platform. Since i now that it can create a build for Linux i wish it was coming for Linux as well.
5
votes
2answers
390 views

Monogame [Linux] cannot resize screen

While working on a Monogame project on Linux (Arch to be exact), I found that I could not change the screen height away from the default 800 px, while I could easily, perfectly change the width to ...
1
vote
1answer
2k views

Problem setting up OpenGL dev environment in Ubuntu 14.04

Currently I'm using this tutorial to get started with opengl.So when I try to compile the example program : ...
2
votes
1answer
239 views

Input processing performance

I'm building a game using SDL in Linux platform. Now I want to read user input with SDL_GetKeyboardState, but my doubt is wich is the best way using a thread or a ...
1
vote
2answers
2k views

Why can't I load an image with a relative path in SDL2 on Linux?

When loading a texture in SDL2 the general procedure is this: SDL_Texture* texture = IMG_LoadTexture(renderer, "resources/images/image.png); However this doesn't ...
0
votes
1answer
243 views

Fullscreen FPS slowdown in Linux [closed]

I've got a homemade game engine that supports both Windows and Linux using Win32 and Xlib, respectively. By default, the engine will create the window and then switch it into fullscreen mode. When ...
2
votes
0answers
158 views

How to create a custom installer for my game for PC/Linux/Macs? [closed]

How can I create a custom installer that integrates a product key unlocking feature or tells the distributor that the customer was able to access the product like the BMT Mirco payment processor. Or ...
0
votes
1answer
548 views

Why does my SFML game cause screen tearing on Linux?

I wrote a little game of a bouncing ball, using SFML and Box2D. On Windows, the graphics animate smoothly. However, on my Linux machine, the animation stutters randomly. To be precise, I get a ...
4
votes
1answer
614 views

What is a reasonable terminal size across Linux distributions?

I'm working on a Curses-based roguelike; it should (and does) work in both Linux and Windows (various flavours of each). Currently, I'm enforcing a hard requirement of "your terminal size must be <...
0
votes
2answers
803 views

OpenGL UseProgram() fails

I have a rather strange exception on my application using OpenTK on Linux (ArchLinux with Mono 3.2.8) with GL.UseProgram(). I wrote a class to combine multiple ...