SDL not rendering window

Hello,

I am a new C++ programmer I have been taking some 1 on 1 learning sessions with someone and we have been trying to create a snake game and we have run into a snag where the renderer is not working properly for SDL (after the window opens it just captures whats behind it and freezes it, I can move the window around but rendered picture stays the same) I have tried a solution on stackoverflow thats for Arch Linux (wish I could link it but forums wouldn’t let me) and didn’t seem to fix my problems I will leave my code below

#include <iostream>
#include <SDL2/SDL.h>

using namespace std;

#define SCREEN_WIDTH 640
#define SCREEN_HEIGHT 480


// We're running a game. Need to track:
// - score
// - player
// - difficulty
// - other configurations: color scheme
//

int score;
string player;
int difficulty;
string color_scheme;

class Point {
  int x;
  int y;

public:
  Point (int x_init, int y_init) : x(x_init), y(y_init){};

  int getX() {
    return x;
  }

  void setX(int x) {
    this->x = x;
  }

  int getY() {
    return y;
  }

  void setY(int y) {
    this->y = y;
  }
};

class SnakeBomb {
 
int damage;
Point point;

public:
  // Constructor
  SnakeBomb(Point point_init, int damage_init) : 
  point(point_init), 
  damage(damage_init)
  {};

  Point getPoint() {
    return point;
  }

  void setPoint(Point point) {
    this->point = point;
  }
  
};




//
// Main function of our game
//
int main(void) {
  SDL_Window *window = NULL;
  SDL_Surface *screenSurface = NULL;

  SDL_Init(SDL_INIT_VIDEO);

  if (SDL_Init(SDL_INIT_VIDEO) < 0) {
    cout << "SDL couldn't initialize! Error: " << SDL_GetError() << endl;
    return 1;
  }

  // Argruments: name, inital x pos, initial y pos, width, height.
  window = SDL_CreateWindow("SDL Tutorial", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 480, SDL_WINDOW_SHOWN);

  if (window == NULL) {
    cout << "SDL couldn't create window! Error: " << SDL_GetError() << endl;
    return 1;
  }

/*
  // Create Surface
  screenSurface = SDL_GetWindowSurface(window);

  // Fill entire surface as white
  SDL_FillRect(screenSurface, NULL, SDL_MapRGB(screenSurface->format, 0xFF, 0xFF, 0xFF));

  // Update window surface after filling
  SDL_UpdateWindowSurface(window);
*/
  
  SDL_Renderer *gRenderer = NULL;
  gRenderer = SDL_CreateRenderer( window, -1, SDL_RENDERER_SOFTWARE );
  if (gRenderer == NULL){
    cout << "SDL couldn't initialize! Error: " << SDL_GetError() << endl;
    return 1;
  }


  // Draw a square
  SDL_SetRenderDrawColor( gRenderer, 0xFF, 0xFF, 0xFF, 0xFF);
  SDL_RenderClear(gRenderer);

  SDL_Rect fillRect = { SCREEN_WIDTH / 4, SCREEN_HEIGHT / 4, SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2 };
  SDL_SetRenderDrawColor(gRenderer, 0xFF, 0x00, 0x00, 0xFF);
  SDL_RenderFillRect(gRenderer, &fillRect);

  SDL_RenderPresent(gRenderer);

  // Waits 10 seconds so we can see the window
  SDL_Delay(10000);

  // Cleanup
  SDL_DestroyWindow(window);
  SDL_Quit();

  return 0;
}

Please read this:

and StackOverflow is indeed the best site to post this kind of stuff, but maybe someone here has some spare SO :unicorn: :dollar: to spend to put a bounty on it…

:grin:

Please post the output of inxi -Gazy, and put SDL_LogSetAllPriority(SDL_LOG_PRIORITY_DEBUG); before SDL_Init(...); and try again and watch stderr closely.

1 Like

Output of inxi -Gazy is:

Graphics:
Device-1: NVIDIA GP102 [GeForce GTX 1080 Ti] vendor: evga
driver: nvidia v: 440.100 alternate: nouveau,nvidia_drm bus ID: 01:00.0
chip ID: 10de:1b06
Display: x11 server: X. Org 1.20.9 compositor: kwin_x11 driver: nvidia
display ID: :0 screens: 1
Screen-1: 0 s-res: 4480x1779 s-dpi: 108 s-size: 1053x422mm (41.5x16.6")
s-diag: 1134mm (44.7")
Monitor-1: DP-3 res: 1920x1080 hz: 60 dpi: 96 size: 509x286mm (20.0x11.3")
diag: 584mm (23")
Monitor-2: DP-4 res: 2560x1440 dpi: 109 size: 598x336mm (23.5x13.2")
diag: 686mm (27")
OpenGL: renderer GeForce GTX 1080 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 440.100
direct render: Yes

Output of SDL_LogSetAllPriority(SDL_LOG_PRIORITY_DEBUG); before SDL_Init(...); is:

    DEBUG: Failed loading XMissingExtension: /usr/lib/libX11.so.6: undefined symbol: _XMissingExtension
        DEBUG: Failed loading XextAddDisplay: /usr/lib/libX11.so.6: undefined symbol: _XextAddDisplay
        DEBUG: Failed loading XextCreateExtension: /usr/lib/libX11.so.6: undefined symbol: _XextCreateExtension
        DEBUG: Failed loading XextDestroyExtension: /usr/lib/libX11.so.6: undefined symbol: _XextDestroyExtension
        DEBUG: Failed loading XextFindDisplay: /usr/lib/libX11.so.6: undefined symbol: _XextFindDisplay
        DEBUG: Failed loading XextRemoveDisplay: /usr/lib/libX11.so.6: undefined symbol: _XextRemoveDisplay
        DEBUG: Failed loading XShmAttach: /usr/lib/libX11.so.6: undefined symbol: _XShmAttach
        DEBUG: Failed loading XShmDetach: /usr/lib/libX11.so.6: undefined symbol: _XShmDetach
        DEBUG: Failed loading XShmPutImage: /usr/lib/libX11.so.6: undefined symbol: _XShmPutImage
        DEBUG: Failed loading XShmCreateImage: /usr/lib/libX11.so.6: undefined symbol: _XShmCreateImage
        DEBUG: Failed loading XShmCreatePixmap: /usr/lib/libX11.so.6: undefined symbol: _XShmCreatePixmap
        DEBUG: Failed loading XShmQueryExtension: /usr/lib/libX11.so.6: undefined symbol: _XShmQueryExtension
        DEBUG: Failed loading XcursorImageCreate: /usr/lib/libX11.so.6: undefined symbol: _XcursorImageCreate
        DEBUG: Failed loading XcursorImageCreate: /usr/lib/libXext.so.6: undefined symbol: _XcursorImageCreate
        DEBUG: Failed loading XcursorImageDestroy: /usr/lib/libX11.so.6: undefined symbol: _XcursorImageDestroy
        DEBUG: Failed loading XcursorImageDestroy: /usr/lib/libXext.so.6: undefined symbol: _XcursorImageDestroy
        DEBUG: Failed loading XcursorImageLoadCursor: /usr/lib/libX11.so.6: undefined symbol: _XcursorImageLoadCursor
        DEBUG: Failed loading XcursorImageLoadCursor: /usr/lib/libXext.so.6: undefined symbol: _XcursorImageLoadCursor
        DEBUG: Failed loading XineramaIsActive: /usr/lib/libX11.so.6: undefined symbol: _XineramaIsActive
        DEBUG: Failed loading XineramaIsActive: /usr/lib/libXext.so.6: undefined symbol: _XineramaIsActive
        DEBUG: Failed loading XineramaIsActive: /usr/lib/libXcursor.so.1: undefined symbol: _XineramaIsActive
        DEBUG: Failed loading XineramaQueryExtension: /usr/lib/libX11.so.6: undefined symbol: _XineramaQueryExtension
        DEBUG: Failed loading XineramaQueryExtension: /usr/lib/libXext.so.6: undefined symbol: _XineramaQueryExtension
        DEBUG: Failed loading XineramaQueryExtension: /usr/lib/libXcursor.so.1: undefined symbol: _XineramaQueryExtension
        DEBUG: Failed loading XineramaQueryVersion: /usr/lib/libX11.so.6: undefined symbol: _XineramaQueryVersion
        DEBUG: Failed loading XineramaQueryVersion: /usr/lib/libXext.so.6: undefined symbol: _XineramaQueryVersion
        DEBUG: Failed loading XineramaQueryVersion: /usr/lib/libXcursor.so.1: undefined symbol: _XineramaQueryVersion
        DEBUG: Failed loading XineramaQueryScreens: /usr/lib/libX11.so.6: undefined symbol: _XineramaQueryScreens
        DEBUG: Failed loading XineramaQueryScreens: /usr/lib/libXext.so.6: undefined symbol: _XineramaQueryScreens
        DEBUG: Failed loading XineramaQueryScreens: /usr/lib/libXcursor.so.1: undefined symbol: _XineramaQueryScreens
        DEBUG: Failed loading XIQueryDevice: /usr/lib/libX11.so.6: undefined symbol: _XIQueryDevice
        DEBUG: Failed loading XIQueryDevice: /usr/lib/libXext.so.6: undefined symbol: _XIQueryDevice
        DEBUG: Failed loading XIQueryDevice: /usr/lib/libXcursor.so.1: undefined symbol: _XIQueryDevice
        DEBUG: Failed loading XIQueryDevice: /usr/lib/libXinerama.so.1: undefined symbol: _XIQueryDevice
        DEBUG: Failed loading XIFreeDeviceInfo: /usr/lib/libX11.so.6: undefined symbol: _XIFreeDeviceInfo
        DEBUG: Failed loading XIFreeDeviceInfo: /usr/lib/libXext.so.6: undefined symbol: _XIFreeDeviceInfo
        DEBUG: Failed loading XIFreeDeviceInfo: /usr/lib/libXcursor.so.1: undefined symbol: _XIFreeDeviceInfo
        DEBUG: Failed loading XIFreeDeviceInfo: /usr/lib/libXinerama.so.1: undefined symbol: _XIFreeDeviceInfo
        DEBUG: Failed loading XISelectEvents: /usr/lib/libX11.so.6: undefined symbol: _XISelectEvents
        DEBUG: Failed loading XISelectEvents: /usr/lib/libXext.so.6: undefined symbol: _XISelectEvents
        DEBUG: Failed loading XISelectEvents: /usr/lib/libXcursor.so.1: undefined symbol: _XISelectEvents
        DEBUG: Failed loading XISelectEvents: /usr/lib/libXinerama.so.1: undefined symbol: _XISelectEvents
        DEBUG: Failed loading XIQueryVersion: /usr/lib/libX11.so.6: undefined symbol: _XIQueryVersion
        DEBUG: Failed loading XIQueryVersion: /usr/lib/libXext.so.6: undefined symbol: _XIQueryVersion
        DEBUG: Failed loading XIQueryVersion: /usr/lib/libXcursor.so.1: undefined symbol: _XIQueryVersion
        DEBUG: Failed loading XIQueryVersion: /usr/lib/libXinerama.so.1: undefined symbol: _XIQueryVersion
        DEBUG: Failed loading XIGetSelectedEvents: /usr/lib/libX11.so.6: undefined symbol: _XIGetSelectedEvents
        DEBUG: Failed loading XIGetSelectedEvents: /usr/lib/libXext.so.6: undefined symbol: _XIGetSelectedEvents
        DEBUG: Failed loading XIGetSelectedEvents: /usr/lib/libXcursor.so.1: undefined symbol: _XIGetSelectedEvents
        DEBUG: Failed loading XIGetSelectedEvents: /usr/lib/libXinerama.so.1: undefined symbol: _XIGetSelectedEvents
        DEBUG: Failed loading XRRQueryVersion: /usr/lib/libX11.so.6: undefined symbol: _XRRQueryVersion
        DEBUG: Failed loading XRRQueryVersion: /usr/lib/libXext.so.6: undefined symbol: _XRRQueryVersion
        DEBUG: Failed loading XRRQueryVersion: /usr/lib/libXcursor.so.1: undefined symbol: _XRRQueryVersion
        DEBUG: Failed loading XRRQueryVersion: /usr/lib/libXinerama.so.1: undefined symbol: _XRRQueryVersion
        DEBUG: Failed loading XRRQueryVersion: /usr/lib/libXi.so.6: undefined symbol: _XRRQueryVersion
        DEBUG: Failed loading XRRGetScreenInfo: /usr/lib/libX11.so.6: undefined symbol: _XRRGetScreenInfo
        DEBUG: Failed loading XRRGetScreenInfo: /usr/lib/libXext.so.6: undefined symbol: _XRRGetScreenInfo
        DEBUG: Failed loading XRRGetScreenInfo: /usr/lib/libXcursor.so.1: undefined symbol: _XRRGetScreenInfo
        DEBUG: Failed loading XRRGetScreenInfo: /usr/lib/libXinerama.so.1: undefined symbol: _XRRGetScreenInfo
        DEBUG: Failed loading XRRGetScreenInfo: /usr/lib/libXi.so.6: undefined symbol: _XRRGetScreenInfo
        DEBUG: Failed loading XRRConfigCurrentConfiguration: /usr/lib/libX11.so.6: undefined symbol: _XRRConfigCurrentConfiguration
        DEBUG: Failed loading XRRConfigCurrentConfiguration: /usr/lib/libXext.so.6: undefined symbol: _XRRConfigCurrentConfiguration
        DEBUG: Failed loading XRRConfigCurrentConfiguration: /usr/lib/libXcursor.so.1: undefined symbol: _XRRConfigCurrentConfiguration
        DEBUG: Failed loading XRRConfigCurrentConfiguration: /usr/lib/libXinerama.so.1: undefined symbol: _XRRConfigCurrentConfiguration
        DEBUG: Failed loading XRRConfigCurrentConfiguration: /usr/lib/libXi.so.6: undefined symbol: _XRRConfigCurrentConfiguration
        DEBUG: Failed loading XRRConfigCurrentRate: /usr/lib/libX11.so.6: undefined symbol: _XRRConfigCurrentRate
        DEBUG: Failed loading XRRConfigCurrentRate: /usr/lib/libXext.so.6: undefined symbol: _XRRConfigCurrentRate
        DEBUG: Failed loading XRRConfigCurrentRate: /usr/lib/libXcursor.so.1: undefined symbol: _XRRConfigCurrentRate
        DEBUG: Failed loading XRRConfigCurrentRate: /usr/lib/libXinerama.so.1: undefined symbol: _XRRConfigCurrentRate
        DEBUG: Failed loading XRRConfigCurrentRate: /usr/lib/libXi.so.6: undefined symbol: _XRRConfigCurrentRate
        DEBUG: Failed loading XRRConfigRates: /usr/lib/libX11.so.6: undefined symbol: _XRRConfigRates
        DEBUG: Failed loading XRRConfigRates: /usr/lib/libXext.so.6: undefined symbol: _XRRConfigRates
        DEBUG: Failed loading XRRConfigRates: /usr/lib/libXcursor.so.1: undefined symbol: _XRRConfigRates
        DEBUG: Failed loading XRRConfigRates: /usr/lib/libXinerama.so.1: undefined symbol: _XRRConfigRates
        DEBUG: Failed loading XRRConfigRates: /usr/lib/libXi.so.6: undefined symbol: _XRRConfigRates
        DEBUG: Failed loading XRRConfigSizes: /usr/lib/libX11.so.6: undefined symbol: _XRRConfigSizes
        DEBUG: Failed loading XRRConfigSizes: /usr/lib/libXext.so.6: undefined symbol: _XRRConfigSizes
        DEBUG: Failed loading XRRConfigSizes: /usr/lib/libXcursor.so.1: undefined symbol: _XRRConfigSizes
        DEBUG: Failed loading XRRConfigSizes: /usr/lib/libXinerama.so.1: undefined symbol: _XRRConfigSizes
        DEBUG: Failed loading XRRConfigSizes: /usr/lib/libXi.so.6: undefined symbol: _XRRConfigSizes
        DEBUG: Failed loading XRRSetScreenConfigAndRate: /usr/lib/libX11.so.6: undefined symbol: _XRRSetScreenConfigAndRate
        DEBUG: Failed loading XRRSetScreenConfigAndRate: /usr/lib/libXext.so.6: undefined symbol: _XRRSetScreenConfigAndRate
        DEBUG: Failed loading XRRSetScreenConfigAndRate: /usr/lib/libXcursor.so.1: undefined symbol: _XRRSetScreenConfigAndRate
        DEBUG: Failed loading XRRSetScreenConfigAndRate: /usr/lib/libXinerama.so.1: undefined symbol: _XRRSetScreenConfigAndRate
        DEBUG: Failed loading XRRSetScreenConfigAndRate: /usr/lib/libXi.so.6: undefined symbol: _XRRSetScreenConfigAndRate
        DEBUG: Failed loading XRRFreeScreenConfigInfo: /usr/lib/libX11.so.6: undefined symbol: _XRRFreeScreenConfigInfo
        DEBUG: Failed loading XRRFreeScreenConfigInfo: /usr/lib/libXext.so.6: undefined symbol: _XRRFreeScreenConfigInfo
        DEBUG: Failed loading XRRFreeScreenConfigInfo: /usr/lib/libXcursor.so.1: undefined symbol: _XRRFreeScreenConfigInfo
        DEBUG: Failed loading XRRFreeScreenConfigInfo: /usr/lib/libXinerama.so.1: undefined symbol: _XRRFreeScreenConfigInfo
        DEBUG: Failed loading XRRFreeScreenConfigInfo: /usr/lib/libXi.so.6: undefined symbol: _XRRFreeScreenConfigInfo
        DEBUG: Failed loading XRRSetScreenSize: /usr/lib/libX11.so.6: undefined symbol: _XRRSetScreenSize
        DEBUG: Failed loading XRRSetScreenSize: /usr/lib/libXext.so.6: undefined symbol: _XRRSetScreenSize
        DEBUG: Failed loading XRRSetScreenSize: /usr/lib/libXcursor.so.1: undefined symbol: _XRRSetScreenSize
        DEBUG: Failed loading XRRSetScreenSize: /usr/lib/libXinerama.so.1: undefined symbol: _XRRSetScreenSize
        DEBUG: Failed loading XRRSetScreenSize: /usr/lib/libXi.so.6: undefined symbol: _XRRSetScreenSize
        DEBUG: Failed loading XRRGetScreenSizeRange: /usr/lib/libX11.so.6: undefined symbol: _XRRGetScreenSizeRange
        DEBUG: Failed loading XRRGetScreenSizeRange: /usr/lib/libXext.so.6: undefined symbol: _XRRGetScreenSizeRange
        DEBUG: Failed loading XRRGetScreenSizeRange: /usr/lib/libXcursor.so.1: undefined symbol: _XRRGetScreenSizeRange
        DEBUG: Failed loading XRRGetScreenSizeRange: /usr/lib/libXinerama.so.1: undefined symbol: _XRRGetScreenSizeRange
        DEBUG: Failed loading XRRGetScreenSizeRange: /usr/lib/libXi.so.6: undefined symbol: _XRRGetScreenSizeRange
        DEBUG: Failed loading XRRGetScreenResources: /usr/lib/libX11.so.6: undefined symbol: _XRRGetScreenResources
        DEBUG: Failed loading XRRGetScreenResources: /usr/lib/libXext.so.6: undefined symbol: _XRRGetScreenResources
        DEBUG: Failed loading XRRGetScreenResources: /usr/lib/libXcursor.so.1: undefined symbol: _XRRGetScreenResources
        DEBUG: Failed loading XRRGetScreenResources: /usr/lib/libXinerama.so.1: undefined symbol: _XRRGetScreenResources
        DEBUG: Failed loading XRRGetScreenResources: /usr/lib/libXi.so.6: undefined symbol: _XRRGetScreenResources
        DEBUG: Failed loading XRRGetScreenResourcesCurrent: /usr/lib/libX11.so.6: undefined symbol: _XRRGetScreenResourcesCurrent
        DEBUG: Failed loading XRRGetScreenResourcesCurrent: /usr/lib/libXext.so.6: undefined symbol: _XRRGetScreenResourcesCurrent
        DEBUG: Failed loading XRRGetScreenResourcesCurrent: /usr/lib/libXcursor.so.1: undefined symbol: _XRRGetScreenResourcesCurrent
        DEBUG: Failed loading XRRGetScreenResourcesCurrent: /usr/lib/libXinerama.so.1: undefined symbol: _XRRGetScreenResourcesCurrent
        DEBUG: Failed loading XRRGetScreenResourcesCurrent: /usr/lib/libXi.so.6: undefined symbol: _XRRGetScreenResourcesCurrent
        DEBUG: Failed loading XRRFreeScreenResources: /usr/lib/libX11.so.6: undefined symbol: _XRRFreeScreenResources
        DEBUG: Failed loading XRRFreeScreenResources: /usr/lib/libXext.so.6: undefined symbol: _XRRFreeScreenResources
        DEBUG: Failed loading XRRFreeScreenResources: /usr/lib/libXcursor.so.1: undefined symbol: _XRRFreeScreenResources
        DEBUG: Failed loading XRRFreeScreenResources: /usr/lib/libXinerama.so.1: undefined symbol: _XRRFreeScreenResources
        DEBUG: Failed loading XRRFreeScreenResources: /usr/lib/libXi.so.6: undefined symbol: _XRRFreeScreenResources
        DEBUG: Failed loading XRRGetOutputInfo: /usr/lib/libX11.so.6: undefined symbol: _XRRGetOutputInfo
        DEBUG: Failed loading XRRGetOutputInfo: /usr/lib/libXext.so.6: undefined symbol: _XRRGetOutputInfo
        DEBUG: Failed loading XRRGetOutputInfo: /usr/lib/libXcursor.so.1: undefined symbol: _XRRGetOutputInfo
        DEBUG: Failed loading XRRGetOutputInfo: /usr/lib/libXinerama.so.1: undefined symbol: _XRRGetOutputInfo
        DEBUG: Failed loading XRRGetOutputInfo: /usr/lib/libXi.so.6: undefined symbol: _XRRGetOutputInfo
        DEBUG: Failed loading XRRFreeOutputInfo: /usr/lib/libX11.so.6: undefined symbol: _XRRFreeOutputInfo
        DEBUG: Failed loading XRRFreeOutputInfo: /usr/lib/libXext.so.6: undefined symbol: _XRRFreeOutputInfo
        DEBUG: Failed loading XRRFreeOutputInfo: /usr/lib/libXcursor.so.1: undefined symbol: _XRRFreeOutputInfo
        DEBUG: Failed loading XRRFreeOutputInfo: /usr/lib/libXinerama.so.1: undefined symbol: _XRRFreeOutputInfo
        DEBUG: Failed loading XRRFreeOutputInfo: /usr/lib/libXi.so.6: undefined symbol: _XRRFreeOutputInfo
        DEBUG: Failed loading XRRGetCrtcInfo: /usr/lib/libX11.so.6: undefined symbol: _XRRGetCrtcInfo
        DEBUG: Failed loading XRRGetCrtcInfo: /usr/lib/libXext.so.6: undefined symbol: _XRRGetCrtcInfo
        DEBUG: Failed loading XRRGetCrtcInfo: /usr/lib/libXcursor.so.1: undefined symbol: _XRRGetCrtcInfo
        DEBUG: Failed loading XRRGetCrtcInfo: /usr/lib/libXinerama.so.1: undefined symbol: _XRRGetCrtcInfo
        DEBUG: Failed loading XRRGetCrtcInfo: /usr/lib/libXi.so.6: undefined symbol: _XRRGetCrtcInfo
        DEBUG: Failed loading XRRFreeCrtcInfo: /usr/lib/libX11.so.6: undefined symbol: _XRRFreeCrtcInfo
        DEBUG: Failed loading XRRFreeCrtcInfo: /usr/lib/libXext.so.6: undefined symbol: _XRRFreeCrtcInfo
        DEBUG: Failed loading XRRFreeCrtcInfo: /usr/lib/libXcursor.so.1: undefined symbol: _XRRFreeCrtcInfo
        DEBUG: Failed loading XRRFreeCrtcInfo: /usr/lib/libXinerama.so.1: undefined symbol: _XRRFreeCrtcInfo
        DEBUG: Failed loading XRRFreeCrtcInfo: /usr/lib/libXi.so.6: undefined symbol: _XRRFreeCrtcInfo
        DEBUG: Failed loading XRRSetCrtcConfig: /usr/lib/libX11.so.6: undefined symbol: _XRRSetCrtcConfig
        DEBUG: Failed loading XRRSetCrtcConfig: /usr/lib/libXext.so.6: undefined symbol: _XRRSetCrtcConfig
        DEBUG: Failed loading XRRSetCrtcConfig: /usr/lib/libXcursor.so.1: undefined symbol: _XRRSetCrtcConfig
        DEBUG: Failed loading XRRSetCrtcConfig: /usr/lib/libXinerama.so.1: undefined symbol: _XRRSetCrtcConfig
        DEBUG: Failed loading XRRSetCrtcConfig: /usr/lib/libXi.so.6: undefined symbol: _XRRSetCrtcConfig
        DEBUG: Failed loading XRRListOutputProperties: /usr/lib/libX11.so.6: undefined symbol: _XRRListOutputProperties
        DEBUG: Failed loading XRRListOutputProperties: /usr/lib/libXext.so.6: undefined symbol: _XRRListOutputProperties
        DEBUG: Failed loading XRRListOutputProperties: /usr/lib/libXcursor.so.1: undefined symbol: _XRRListOutputProperties
        DEBUG: Failed loading XRRListOutputProperties: /usr/lib/libXinerama.so.1: undefined symbol: _XRRListOutputProperties
        DEBUG: Failed loading XRRListOutputProperties: /usr/lib/libXi.so.6: undefined symbol: _XRRListOutputProperties
        DEBUG: Failed loading XRRQueryOutputProperty: /usr/lib/libX11.so.6: undefined symbol: _XRRQueryOutputProperty
        DEBUG: Failed loading XRRQueryOutputProperty: /usr/lib/libXext.so.6: undefined symbol: _XRRQueryOutputProperty
        DEBUG: Failed loading XRRQueryOutputProperty: /usr/lib/libXcursor.so.1: undefined symbol: _XRRQueryOutputProperty
        DEBUG: Failed loading XRRQueryOutputProperty: /usr/lib/libXinerama.so.1: undefined symbol: _XRRQueryOutputProperty
        DEBUG: Failed loading XRRQueryOutputProperty: /usr/lib/libXi.so.6: undefined symbol: _XRRQueryOutputProperty
        DEBUG: Failed loading XRRGetOutputProperty: /usr/lib/libX11.so.6: undefined symbol: _XRRGetOutputProperty
        DEBUG: Failed loading XRRGetOutputProperty: /usr/lib/libXext.so.6: undefined symbol: _XRRGetOutputProperty
        DEBUG: Failed loading XRRGetOutputProperty: /usr/lib/libXcursor.so.1: undefined symbol: _XRRGetOutputProperty
        DEBUG: Failed loading XRRGetOutputProperty: /usr/lib/libXinerama.so.1: undefined symbol: _XRRGetOutputProperty
        DEBUG: Failed loading XRRGetOutputProperty: /usr/lib/libXi.so.6: undefined symbol: _XRRGetOutputProperty
        DEBUG: Failed loading XRRGetOutputPrimary: /usr/lib/libX11.so.6: undefined symbol: _XRRGetOutputPrimary
        DEBUG: Failed loading XRRGetOutputPrimary: /usr/lib/libXext.so.6: undefined symbol: _XRRGetOutputPrimary
        DEBUG: Failed loading XRRGetOutputPrimary: /usr/lib/libXcursor.so.1: undefined symbol: _XRRGetOutputPrimary
        DEBUG: Failed loading XRRGetOutputPrimary: /usr/lib/libXinerama.so.1: undefined symbol: _XRRGetOutputPrimary
        DEBUG: Failed loading XRRGetOutputPrimary: /usr/lib/libXi.so.6: undefined symbol: _XRRGetOutputPrimary
        DEBUG: Failed loading XScreenSaverQueryExtension: /usr/lib/libX11.so.6: undefined symbol: _XScreenSaverQueryExtension
        DEBUG: Failed loading XScreenSaverQueryExtension: /usr/lib/libXext.so.6: undefined symbol: _XScreenSaverQueryExtension
        DEBUG: Failed loading XScreenSaverQueryExtension: /usr/lib/libXcursor.so.1: undefined symbol: _XScreenSaverQueryExtension
        DEBUG: Failed loading XScreenSaverQueryExtension: /usr/lib/libXinerama.so.1: undefined symbol: _XScreenSaverQueryExtension
        DEBUG: Failed loading XScreenSaverQueryExtension: /usr/lib/libXi.so.6: undefined symbol: _XScreenSaverQueryExtension
        DEBUG: Failed loading XScreenSaverQueryExtension: /usr/lib/libXrandr.so.2: undefined symbol: _XScreenSaverQueryExtension
        DEBUG: Failed loading XScreenSaverQueryVersion: /usr/lib/libX11.so.6: undefined symbol: _XScreenSaverQueryVersion
        DEBUG: Failed loading XScreenSaverQueryVersion: /usr/lib/libXext.so.6: undefined symbol: _XScreenSaverQueryVersion
        DEBUG: Failed loading XScreenSaverQueryVersion: /usr/lib/libXcursor.so.1: undefined symbol: _XScreenSaverQueryVersion
        DEBUG: Failed loading XScreenSaverQueryVersion: /usr/lib/libXinerama.so.1: undefined symbol: _XScreenSaverQueryVersion
        DEBUG: Failed loading XScreenSaverQueryVersion: /usr/lib/libXi.so.6: undefined symbol: _XScreenSaverQueryVersion
        DEBUG: Failed loading XScreenSaverQueryVersion: /usr/lib/libXrandr.so.2: undefined symbol: _XScreenSaverQueryVersion
        DEBUG: Failed loading XScreenSaverSuspend: /usr/lib/libX11.so.6: undefined symbol: _XScreenSaverSuspend
        DEBUG: Failed loading XScreenSaverSuspend: /usr/lib/libXext.so.6: undefined symbol: _XScreenSaverSuspend
        DEBUG: Failed loading XScreenSaverSuspend: /usr/lib/libXcursor.so.1: undefined symbol: _XScreenSaverSuspend
        DEBUG: Failed loading XScreenSaverSuspend: /usr/lib/libXinerama.so.1: undefined symbol: _XScreenSaverSuspend
        DEBUG: Failed loading XScreenSaverSuspend: /usr/lib/libXi.so.6: undefined symbol: _XScreenSaverSuspend
        DEBUG: Failed loading XScreenSaverSuspend: /usr/lib/libXrandr.so.2: undefined symbol: _XScreenSaverSuspend
        DEBUG: Failed loading XShapeCombineMask: /usr/lib/libX11.so.6: undefined symbol: _XShapeCombineMask
        DEBUG: Failed loading XF86VidModeGetAllModeLines: /usr/lib/libX11.so.6: undefined symbol: _XF86VidModeGetAllModeLines
        DEBUG: Failed loading XF86VidModeGetAllModeLines: /usr/lib/libXext.so.6: undefined symbol: _XF86VidModeGetAllModeLines
        DEBUG: Failed loading XF86VidModeGetAllModeLines: /usr/lib/libXcursor.so.1: undefined symbol: _XF86VidModeGetAllModeLines
        DEBUG: Failed loading XF86VidModeGetAllModeLines: /usr/lib/libXinerama.so.1: undefined symbol: _XF86VidModeGetAllModeLines
        DEBUG: Failed loading XF86VidModeGetAllModeLines: /usr/lib/libXi.so.6: undefined symbol: _XF86VidModeGetAllModeLines
        DEBUG: Failed loading XF86VidModeGetAllModeLines: /usr/lib/libXrandr.so.2: undefined symbol: _XF86VidModeGetAllModeLines
        DEBUG: Failed loading XF86VidModeGetAllModeLines: /usr/lib/libXss.so.1: undefined symbol: _XF86VidModeGetAllModeLines
        DEBUG: Failed loading XF86VidModeGetModeLine: /usr/lib/libX11.so.6: undefined symbol: _XF86VidModeGetModeLine
        DEBUG: Failed loading XF86VidModeGetModeLine: /usr/lib/libXext.so.6: undefined symbol: _XF86VidModeGetModeLine
        DEBUG: Failed loading XF86VidModeGetModeLine: /usr/lib/libXcursor.so.1: undefined symbol: _XF86VidModeGetModeLine
        DEBUG: Failed loading XF86VidModeGetModeLine: /usr/lib/libXinerama.so.1: undefined symbol: _XF86VidModeGetModeLine
        DEBUG: Failed loading XF86VidModeGetModeLine: /usr/lib/libXi.so.6: undefined symbol: _XF86VidModeGetModeLine
        DEBUG: Failed loading XF86VidModeGetModeLine: /usr/lib/libXrandr.so.2: undefined symbol: _XF86VidModeGetModeLine
        DEBUG: Failed loading XF86VidModeGetModeLine: /usr/lib/libXss.so.1: undefined symbol: _XF86VidModeGetModeLine
        DEBUG: Failed loading XF86VidModeGetViewPort: /usr/lib/libX11.so.6: undefined symbol: _XF86VidModeGetViewPort
        DEBUG: Failed loading XF86VidModeGetViewPort: /usr/lib/libXext.so.6: undefined symbol: _XF86VidModeGetViewPort
        DEBUG: Failed loading XF86VidModeGetViewPort: /usr/lib/libXcursor.so.1: undefined symbol: _XF86VidModeGetViewPort
        DEBUG: Failed loading XF86VidModeGetViewPort: /usr/lib/libXinerama.so.1: undefined symbol: _XF86VidModeGetViewPort
        DEBUG: Failed loading XF86VidModeGetViewPort: /usr/lib/libXi.so.6: undefined symbol: _XF86VidModeGetViewPort
        DEBUG: Failed loading XF86VidModeGetViewPort: /usr/lib/libXrandr.so.2: undefined symbol: _XF86VidModeGetViewPort
        DEBUG: Failed loading XF86VidModeGetViewPort: /usr/lib/libXss.so.1: undefined symbol: _XF86VidModeGetViewPort
        DEBUG: Failed loading XF86VidModeQueryExtension: /usr/lib/libX11.so.6: undefined symbol: _XF86VidModeQueryExtension
        DEBUG: Failed loading XF86VidModeQueryExtension: /usr/lib/libXext.so.6: undefined symbol: _XF86VidModeQueryExtension
        DEBUG: Failed loading XF86VidModeQueryExtension: /usr/lib/libXcursor.so.1: undefined symbol: _XF86VidModeQueryExtension
        DEBUG: Failed loading XF86VidModeQueryExtension: /usr/lib/libXinerama.so.1: undefined symbol: _XF86VidModeQueryExtension
        DEBUG: Failed loading XF86VidModeQueryExtension: /usr/lib/libXi.so.6: undefined symbol: _XF86VidModeQueryExtension
        DEBUG: Failed loading XF86VidModeQueryExtension: /usr/lib/libXrandr.so.2: undefined symbol: _XF86VidModeQueryExtension
        DEBUG: Failed loading XF86VidModeQueryExtension: /usr/lib/libXss.so.1: undefined symbol: _XF86VidModeQueryExtension
        DEBUG: Failed loading XF86VidModeQueryVersion: /usr/lib/libX11.so.6: undefined symbol: _XF86VidModeQueryVersion
        DEBUG: Failed loading XF86VidModeQueryVersion: /usr/lib/libXext.so.6: undefined symbol: _XF86VidModeQueryVersion
        DEBUG: Failed loading XF86VidModeQueryVersion: /usr/lib/libXcursor.so.1: undefined symbol: _XF86VidModeQueryVersion
        DEBUG: Failed loading XF86VidModeQueryVersion: /usr/lib/libXinerama.so.1: undefined symbol: _XF86VidModeQueryVersion
        DEBUG: Failed loading XF86VidModeQueryVersion: /usr/lib/libXi.so.6: undefined symbol: _XF86VidModeQueryVersion
        DEBUG: Failed loading XF86VidModeQueryVersion: /usr/lib/libXrandr.so.2: undefined symbol: _XF86VidModeQueryVersion
        DEBUG: Failed loading XF86VidModeQueryVersion: /usr/lib/libXss.so.1: undefined symbol: _XF86VidModeQueryVersion
        DEBUG: Failed loading XF86VidModeSwitchToMode: /usr/lib/libX11.so.6: undefined symbol: _XF86VidModeSwitchToMode
        DEBUG: Failed loading XF86VidModeSwitchToMode: /usr/lib/libXext.so.6: undefined symbol: _XF86VidModeSwitchToMode
        DEBUG: Failed loading XF86VidModeSwitchToMode: /usr/lib/libXcursor.so.1: undefined symbol: _XF86VidModeSwitchToMode
        DEBUG: Failed loading XF86VidModeSwitchToMode: /usr/lib/libXinerama.so.1: undefined symbol: _XF86VidModeSwitchToMode
        DEBUG: Failed loading XF86VidModeSwitchToMode: /usr/lib/libXi.so.6: undefined symbol: _XF86VidModeSwitchToMode
        DEBUG: Failed loading XF86VidModeSwitchToMode: /usr/lib/libXrandr.so.2: undefined symbol: _XF86VidModeSwitchToMode
        DEBUG: Failed loading XF86VidModeSwitchToMode: /usr/lib/libXss.so.1: undefined symbol: _XF86VidModeSwitchToMode
        DEBUG: Failed loading XF86VidModeLockModeSwitch: /usr/lib/libX11.so.6: undefined symbol: _XF86VidModeLockModeSwitch
        DEBUG: Failed loading XF86VidModeLockModeSwitch: /usr/lib/libXext.so.6: undefined symbol: _XF86VidModeLockModeSwitch
        DEBUG: Failed loading XF86VidModeLockModeSwitch: /usr/lib/libXcursor.so.1: undefined symbol: _XF86VidModeLockModeSwitch
        DEBUG: Failed loading XF86VidModeLockModeSwitch: /usr/lib/libXinerama.so.1: undefined symbol: _XF86VidModeLockModeSwitch
        DEBUG: Failed loading XF86VidModeLockModeSwitch: /usr/lib/libXi.so.6: undefined symbol: _XF86VidModeLockModeSwitch
        DEBUG: Failed loading XF86VidModeLockModeSwitch: /usr/lib/libXrandr.so.2: undefined symbol: _XF86VidModeLockModeSwitch
        DEBUG: Failed loading XF86VidModeLockModeSwitch: /usr/lib/libXss.so.1: undefined symbol: _XF86VidModeLockModeSwitch
        DEBUG: Failed loading XMissingExtension: /usr/lib/libX11.so.6: undefined symbol: _XMissingExtension
        DEBUG: Failed loading XextAddDisplay: /usr/lib/libX11.so.6: undefined symbol: _XextAddDisplay
        DEBUG: Failed loading XextCreateExtension: /usr/lib/libX11.so.6: undefined symbol: _XextCreateExtension
        DEBUG: Failed loading XextDestroyExtension: /usr/lib/libX11.so.6: undefined symbol: _XextDestroyExtension
        DEBUG: Failed loading XextFindDisplay: /usr/lib/libX11.so.6: undefined symbol: _XextFindDisplay
        DEBUG: Failed loading XextRemoveDisplay: /usr/lib/libX11.so.6: undefined symbol: _XextRemoveDisplay
        DEBUG: Failed loading XShmAttach: /usr/lib/libX11.so.6: undefined symbol: _XShmAttach
        DEBUG: Failed loading XShmDetach: /usr/lib/libX11.so.6: undefined symbol: _XShmDetach
        DEBUG: Failed loading XShmPutImage: /usr/lib/libX11.so.6: undefined symbol: _XShmPutImage
        DEBUG: Failed loading XShmCreateImage: /usr/lib/libX11.so.6: undefined symbol: _XShmCreateImage
        DEBUG: Failed loading XShmCreatePixmap: /usr/lib/libX11.so.6: undefined symbol: _XShmCreatePixmap
        DEBUG: Failed loading XShmQueryExtension: /usr/lib/libX11.so.6: undefined symbol: _XShmQueryExtension
        DEBUG: Failed loading XcursorImageCreate: /usr/lib/libX11.so.6: undefined symbol: _XcursorImageCreate
        DEBUG: Failed loading XcursorImageCreate: /usr/lib/libXext.so.6: undefined symbol: _XcursorImageCreate
        DEBUG: Failed loading XcursorImageDestroy: /usr/lib/libX11.so.6: undefined symbol: _XcursorImageDestroy
        DEBUG: Failed loading XcursorImageDestroy: /usr/lib/libXext.so.6: undefined symbol: _XcursorImageDestroy
        DEBUG: Failed loading XcursorImageLoadCursor: /usr/lib/libX11.so.6: undefined symbol: _XcursorImageLoadCursor
        DEBUG: Failed loading XcursorImageLoadCursor: /usr/lib/libXext.so.6: undefined symbol: _XcursorImageLoadCursor
        DEBUG: Failed loading XineramaIsActive: /usr/lib/libX11.so.6: undefined symbol: _XineramaIsActive
        DEBUG: Failed loading XineramaIsActive: /usr/lib/libXext.so.6: undefined symbol: _XineramaIsActive
        DEBUG: Failed loading XineramaIsActive: /usr/lib/libXcursor.so.1: undefined symbol: _XineramaIsActive
        DEBUG: Failed loading XineramaQueryExtension: /usr/lib/libX11.so.6: undefined symbol: _XineramaQueryExtension
        DEBUG: Failed loading XineramaQueryExtension: /usr/lib/libXext.so.6: undefined symbol: _XineramaQueryExtension
        DEBUG: Failed loading XineramaQueryExtension: /usr/lib/libXcursor.so.1: undefined symbol: _XineramaQueryExtension
        DEBUG: Failed loading XineramaQueryVersion: /usr/lib/libX11.so.6: undefined symbol: _XineramaQueryVersion
        DEBUG: Failed loading XineramaQueryVersion: /usr/lib/libXext.so.6: undefined symbol: _XineramaQueryVersion
        DEBUG: Failed loading XineramaQueryVersion: /usr/lib/libXcursor.so.1: undefined symbol: _XineramaQueryVersion
        DEBUG: Failed loading XineramaQueryScreens: /usr/lib/libX11.so.6: undefined symbol: _XineramaQueryScreens
        DEBUG: Failed loading XineramaQueryScreens: /usr/lib/libXext.so.6: undefined symbol: _XineramaQueryScreens
        DEBUG: Failed loading XineramaQueryScreens: /usr/lib/libXcursor.so.1: undefined symbol: _XineramaQueryScreens
        DEBUG: Failed loading XIQueryDevice: /usr/lib/libX11.so.6: undefined symbol: _XIQueryDevice
        DEBUG: Failed loading XIQueryDevice: /usr/lib/libXext.so.6: undefined symbol: _XIQueryDevice
        DEBUG: Failed loading XIQueryDevice: /usr/lib/libXcursor.so.1: undefined symbol: _XIQueryDevice
        DEBUG: Failed loading XIQueryDevice: /usr/lib/libXinerama.so.1: undefined symbol: _XIQueryDevice
        DEBUG: Failed loading XIFreeDeviceInfo: /usr/lib/libX11.so.6: undefined symbol: _XIFreeDeviceInfo
        DEBUG: Failed loading XIFreeDeviceInfo: /usr/lib/libXext.so.6: undefined symbol: _XIFreeDeviceInfo
        DEBUG: Failed loading XIFreeDeviceInfo: /usr/lib/libXcursor.so.1: undefined symbol: _XIFreeDeviceInfo
        DEBUG: Failed loading XIFreeDeviceInfo: /usr/lib/libXinerama.so.1: undefined symbol: _XIFreeDeviceInfo
        DEBUG: Failed loading XISelectEvents: /usr/lib/libX11.so.6: undefined symbol: _XISelectEvents
        DEBUG: Failed loading XISelectEvents: /usr/lib/libXext.so.6: undefined symbol: _XISelectEvents
        DEBUG: Failed loading XISelectEvents: /usr/lib/libXcursor.so.1: undefined symbol: _XISelectEvents
        DEBUG: Failed loading XISelectEvents: /usr/lib/libXinerama.so.1: undefined symbol: _XISelectEvents
        DEBUG: Failed loading XIQueryVersion: /usr/lib/libX11.so.6: undefined symbol: _XIQueryVersion
        DEBUG: Failed loading XIQueryVersion: /usr/lib/libXext.so.6: undefined symbol: _XIQueryVersion
        DEBUG: Failed loading XIQueryVersion: /usr/lib/libXcursor.so.1: undefined symbol: _XIQueryVersion
        DEBUG: Failed loading XIQueryVersion: /usr/lib/libXinerama.so.1: undefined symbol: _XIQueryVersion
        DEBUG: Failed loading XIGetSelectedEvents: /usr/lib/libX11.so.6: undefined symbol: _XIGetSelectedEvents
        DEBUG: Failed loading XIGetSelectedEvents: /usr/lib/libXext.so.6: undefined symbol: _XIGetSelectedEvents
        DEBUG: Failed loading XIGetSelectedEvents: /usr/lib/libXcursor.so.1: undefined symbol: _XIGetSelectedEvents
        DEBUG: Failed loading XIGetSelectedEvents: /usr/lib/libXinerama.so.1: undefined symbol: _XIGetSelectedEvents
        DEBUG: Failed loading XRRQueryVersion: /usr/lib/libX11.so.6: undefined symbol: _XRRQueryVersion
        DEBUG: Failed loading XRRQueryVersion: /usr/lib/libXext.so.6: undefined symbol: _XRRQueryVersion
        DEBUG: Failed loading XRRQueryVersion: /usr/lib/libXcursor.so.1: undefined symbol: _XRRQueryVersion
        DEBUG: Failed loading XRRQueryVersion: /usr/lib/libXinerama.so.1: undefined symbol: _XRRQueryVersion
        DEBUG: Failed loading XRRQueryVersion: /usr/lib/libXi.so.6: undefined symbol: _XRRQueryVersion
        DEBUG: Failed loading XRRGetScreenInfo: /usr/lib/libX11.so.6: undefined symbol: _XRRGetScreenInfo
        DEBUG: Failed loading XRRGetScreenInfo: /usr/lib/libXext.so.6: undefined symbol: _XRRGetScreenInfo
        DEBUG: Failed loading XRRGetScreenInfo: /usr/lib/libXcursor.so.1: undefined symbol: _XRRGetScreenInfo
        DEBUG: Failed loading XRRGetScreenInfo: /usr/lib/libXinerama.so.1: undefined symbol: _XRRGetScreenInfo
        DEBUG: Failed loading XRRGetScreenInfo: /usr/lib/libXi.so.6: undefined symbol: _XRRGetScreenInfo
        DEBUG: Failed loading XRRConfigCurrentConfiguration: /usr/lib/libX11.so.6: undefined symbol: _XRRConfigCurrentConfiguration
        DEBUG: Failed loading XRRConfigCurrentConfiguration: /usr/lib/libXext.so.6: undefined symbol: _XRRConfigCurrentConfiguration
        DEBUG: Failed loading XRRConfigCurrentConfiguration: /usr/lib/libXcursor.so.1: undefined symbol: _XRRConfigCurrentConfiguration
        DEBUG: Failed loading XRRConfigCurrentConfiguration: /usr/lib/libXinerama.so.1: undefined symbol: _XRRConfigCurrentConfiguration
        DEBUG: Failed loading XRRConfigCurrentConfiguration: /usr/lib/libXi.so.6: undefined symbol: _XRRConfigCurrentConfiguration
        DEBUG: Failed loading XRRConfigCurrentRate: /usr/lib/libX11.so.6: undefined symbol: _XRRConfigCurrentRate
        DEBUG: Failed loading XRRConfigCurrentRate: /usr/lib/libXext.so.6: undefined symbol: _XRRConfigCurrentRate
        DEBUG: Failed loading XRRConfigCurrentRate: /usr/lib/libXcursor.so.1: undefined symbol: _XRRConfigCurrentRate
        DEBUG: Failed loading XRRConfigCurrentRate: /usr/lib/libXinerama.so.1: undefined symbol: _XRRConfigCurrentRate
        DEBUG: Failed loading XRRConfigCurrentRate: /usr/lib/libXi.so.6: undefined symbol: _XRRConfigCurrentRate
        DEBUG: Failed loading XRRConfigRates: /usr/lib/libX11.so.6: undefined symbol: _XRRConfigRates
        DEBUG: Failed loading XRRConfigRates: /usr/lib/libXext.so.6: undefined symbol: _XRRConfigRates
        DEBUG: Failed loading XRRConfigRates: /usr/lib/libXcursor.so.1: undefined symbol: _XRRConfigRates
        DEBUG: Failed loading XRRConfigRates: /usr/lib/libXinerama.so.1: undefined symbol: _XRRConfigRates
        DEBUG: Failed loading XRRConfigRates: /usr/lib/libXi.so.6: undefined symbol: _XRRConfigRates
        DEBUG: Failed loading XRRConfigSizes: /usr/lib/libX11.so.6: undefined symbol: _XRRConfigSizes
        DEBUG: Failed loading XRRConfigSizes: /usr/lib/libXext.so.6: undefined symbol: _XRRConfigSizes
        DEBUG: Failed loading XRRConfigSizes: /usr/lib/libXcursor.so.1: undefined symbol: _XRRConfigSizes
        DEBUG: Failed loading XRRConfigSizes: /usr/lib/libXinerama.so.1: undefined symbol: _XRRConfigSizes
        DEBUG: Failed loading XRRConfigSizes: /usr/lib/libXi.so.6: undefined symbol: _XRRConfigSizes
        DEBUG: Failed loading XRRSetScreenConfigAndRate: /usr/lib/libX11.so.6: undefined symbol: _XRRSetScreenConfigAndRate
        DEBUG: Failed loading XRRSetScreenConfigAndRate: /usr/lib/libXext.so.6: undefined symbol: _XRRSetScreenConfigAndRate
        DEBUG: Failed loading XRRSetScreenConfigAndRate: /usr/lib/libXcursor.so.1: undefined symbol: _XRRSetScreenConfigAndRate
        DEBUG: Failed loading XRRSetScreenConfigAndRate: /usr/lib/libXinerama.so.1: undefined symbol: _XRRSetScreenConfigAndRate
        DEBUG: Failed loading XRRSetScreenConfigAndRate: /usr/lib/libXi.so.6: undefined symbol: _XRRSetScreenConfigAndRate
        DEBUG: Failed loading XRRFreeScreenConfigInfo: /usr/lib/libX11.so.6: undefined symbol: _XRRFreeScreenConfigInfo
        DEBUG: Failed loading XRRFreeScreenConfigInfo: /usr/lib/libXext.so.6: undefined symbol: _XRRFreeScreenConfigInfo
        DEBUG: Failed loading XRRFreeScreenConfigInfo: /usr/lib/libXcursor.so.1: undefined symbol: _XRRFreeScreenConfigInfo
        DEBUG: Failed loading XRRFreeScreenConfigInfo: /usr/lib/libXinerama.so.1: undefined symbol: _XRRFreeScreenConfigInfo
        DEBUG: Failed loading XRRFreeScreenConfigInfo: /usr/lib/libXi.so.6: undefined symbol: _XRRFreeScreenConfigInfo
        DEBUG: Failed loading XRRSetScreenSize: /usr/lib/libX11.so.6: undefined symbol: _XRRSetScreenSize
        DEBUG: Failed loading XRRSetScreenSize: /usr/lib/libXext.so.6: undefined symbol: _XRRSetScreenSize
        DEBUG: Failed loading XRRSetScreenSize: /usr/lib/libXcursor.so.1: undefined symbol: _XRRSetScreenSize
        DEBUG: Failed loading XRRSetScreenSize: /usr/lib/libXinerama.so.1: undefined symbol: _XRRSetScreenSize
        DEBUG: Failed loading XRRSetScreenSize: /usr/lib/libXi.so.6: undefined symbol: _XRRSetScreenSize
        DEBUG: Failed loading XRRGetScreenSizeRange: /usr/lib/libX11.so.6: undefined symbol: _XRRGetScreenSizeRange
        DEBUG: Failed loading XRRGetScreenSizeRange: /usr/lib/libXext.so.6: undefined symbol: _XRRGetScreenSizeRange
        DEBUG: Failed loading XRRGetScreenSizeRange: /usr/lib/libXcursor.so.1: undefined symbol: _XRRGetScreenSizeRange
        DEBUG: Failed loading XRRGetScreenSizeRange: /usr/lib/libXinerama.so.1: undefined symbol: _XRRGetScreenSizeRange
        DEBUG: Failed loading XRRGetScreenSizeRange: /usr/lib/libXi.so.6: undefined symbol: _XRRGetScreenSizeRange
        DEBUG: Failed loading XRRGetScreenResources: /usr/lib/libX11.so.6: undefined symbol: _XRRGetScreenResources
        DEBUG: Failed loading XRRGetScreenResources: /usr/lib/libXext.so.6: undefined symbol: _XRRGetScreenResources
        DEBUG: Failed loading XRRGetScreenResources: /usr/lib/libXcursor.so.1: undefined symbol: _XRRGetScreenResources
        DEBUG: Failed loading XRRGetScreenResources: /usr/lib/libXinerama.so.1: undefined symbol: _XRRGetScreenResources
        DEBUG: Failed loading XRRGetScreenResources: /usr/lib/libXi.so.6: undefined symbol: _XRRGetScreenResources
        DEBUG: Failed loading XRRGetScreenResourcesCurrent: /usr/lib/libX11.so.6: undefined symbol: _XRRGetScreenResourcesCurrent
        DEBUG: Failed loading XRRGetScreenResourcesCurrent: /usr/lib/libXext.so.6: undefined symbol: _XRRGetScreenResourcesCurrent
        DEBUG: Failed loading XRRGetScreenResourcesCurrent: /usr/lib/libXcursor.so.1: undefined symbol: _XRRGetScreenResourcesCurrent
        DEBUG: Failed loading XRRGetScreenResourcesCurrent: /usr/lib/libXinerama.so.1: undefined symbol: _XRRGetScreenResourcesCurrent
        DEBUG: Failed loading XRRGetScreenResourcesCurrent: /usr/lib/libXi.so.6: undefined symbol: _XRRGetScreenResourcesCurrent
        DEBUG: Failed loading XRRFreeScreenResources: /usr/lib/libX11.so.6: undefined symbol: _XRRFreeScreenResources
        DEBUG: Failed loading XRRFreeScreenResources: /usr/lib/libXext.so.6: undefined symbol: _XRRFreeScreenResources
        DEBUG: Failed loading XRRFreeScreenResources: /usr/lib/libXcursor.so.1: undefined symbol: _XRRFreeScreenResources
        DEBUG: Failed loading XRRFreeScreenResources: /usr/lib/libXinerama.so.1: undefined symbol: _XRRFreeScreenResources
        DEBUG: Failed loading XRRFreeScreenResources: /usr/lib/libXi.so.6: undefined symbol: _XRRFreeScreenResources
        DEBUG: Failed loading XRRGetOutputInfo: /usr/lib/libX11.so.6: undefined symbol: _XRRGetOutputInfo
        DEBUG: Failed loading XRRGetOutputInfo: /usr/lib/libXext.so.6: undefined symbol: _XRRGetOutputInfo
        DEBUG: Failed loading XRRGetOutputInfo: /usr/lib/libXcursor.so.1: undefined symbol: _XRRGetOutputInfo
        DEBUG: Failed loading XRRGetOutputInfo: /usr/lib/libXinerama.so.1: undefined symbol: _XRRGetOutputInfo
        DEBUG: Failed loading XRRGetOutputInfo: /usr/lib/libXi.so.6: undefined symbol: _XRRGetOutputInfo
        DEBUG: Failed loading XRRFreeOutputInfo: /usr/lib/libX11.so.6: undefined symbol: _XRRFreeOutputInfo
        DEBUG: Failed loading XRRFreeOutputInfo: /usr/lib/libXext.so.6: undefined symbol: _XRRFreeOutputInfo
        DEBUG: Failed loading XRRFreeOutputInfo: /usr/lib/libXcursor.so.1: undefined symbol: _XRRFreeOutputInfo
        DEBUG: Failed loading XRRFreeOutputInfo: /usr/lib/libXinerama.so.1: undefined symbol: _XRRFreeOutputInfo
        DEBUG: Failed loading XRRFreeOutputInfo: /usr/lib/libXi.so.6: undefined symbol: _XRRFreeOutputInfo
        DEBUG: Failed loading XRRGetCrtcInfo: /usr/lib/libX11.so.6: undefined symbol: _XRRGetCrtcInfo
        DEBUG: Failed loading XRRGetCrtcInfo: /usr/lib/libXext.so.6: undefined symbol: _XRRGetCrtcInfo
        DEBUG: Failed loading XRRGetCrtcInfo: /usr/lib/libXcursor.so.1: undefined symbol: _XRRGetCrtcInfo
        DEBUG: Failed loading XRRGetCrtcInfo: /usr/lib/libXinerama.so.1: undefined symbol: _XRRGetCrtcInfo
        DEBUG: Failed loading XRRGetCrtcInfo: /usr/lib/libXi.so.6: undefined symbol: _XRRGetCrtcInfo
        DEBUG: Failed loading XRRFreeCrtcInfo: /usr/lib/libX11.so.6: undefined symbol: _XRRFreeCrtcInfo
        DEBUG: Failed loading XRRFreeCrtcInfo: /usr/lib/libXext.so.6: undefined symbol: _XRRFreeCrtcInfo
        DEBUG: Failed loading XRRFreeCrtcInfo: /usr/lib/libXcursor.so.1: undefined symbol: _XRRFreeCrtcInfo
        DEBUG: Failed loading XRRFreeCrtcInfo: /usr/lib/libXinerama.so.1: undefined symbol: _XRRFreeCrtcInfo
        DEBUG: Failed loading XRRFreeCrtcInfo: /usr/lib/libXi.so.6: undefined symbol: _XRRFreeCrtcInfo
        DEBUG: Failed loading XRRSetCrtcConfig: /usr/lib/libX11.so.6: undefined symbol: _XRRSetCrtcConfig
        DEBUG: Failed loading XRRSetCrtcConfig: /usr/lib/libXext.so.6: undefined symbol: _XRRSetCrtcConfig
        DEBUG: Failed loading XRRSetCrtcConfig: /usr/lib/libXcursor.so.1: undefined symbol: _XRRSetCrtcConfig
        DEBUG: Failed loading XRRSetCrtcConfig: /usr/lib/libXinerama.so.1: undefined symbol: _XRRSetCrtcConfig
        DEBUG: Failed loading XRRSetCrtcConfig: /usr/lib/libXi.so.6: undefined symbol: _XRRSetCrtcConfig
        DEBUG: Failed loading XRRListOutputProperties: /usr/lib/libX11.so.6: undefined symbol: _XRRListOutputProperties
        DEBUG: Failed loading XRRListOutputProperties: /usr/lib/libXext.so.6: undefined symbol: _XRRListOutputProperties
        DEBUG: Failed loading XRRListOutputProperties: /usr/lib/libXcursor.so.1: undefined symbol: _XRRListOutputProperties
        DEBUG: Failed loading XRRListOutputProperties: /usr/lib/libXinerama.so.1: undefined symbol: _XRRListOutputProperties
        DEBUG: Failed loading XRRListOutputProperties: /usr/lib/libXi.so.6: undefined symbol: _XRRListOutputProperties
        DEBUG: Failed loading XRRQueryOutputProperty: /usr/lib/libX11.so.6: undefined symbol: _XRRQueryOutputProperty
        DEBUG: Failed loading XRRQueryOutputProperty: /usr/lib/libXext.so.6: undefined symbol: _XRRQueryOutputProperty
        DEBUG: Failed loading XRRQueryOutputProperty: /usr/lib/libXcursor.so.1: undefined symbol: _XRRQueryOutputProperty
        DEBUG: Failed loading XRRQueryOutputProperty: /usr/lib/libXinerama.so.1: undefined symbol: _XRRQueryOutputProperty
        DEBUG: Failed loading XRRQueryOutputProperty: /usr/lib/libXi.so.6: undefined symbol: _XRRQueryOutputProperty
        DEBUG: Failed loading XRRGetOutputProperty: /usr/lib/libX11.so.6: undefined symbol: _XRRGetOutputProperty
        DEBUG: Failed loading XRRGetOutputProperty: /usr/lib/libXext.so.6: undefined symbol: _XRRGetOutputProperty
        DEBUG: Failed loading XRRGetOutputProperty: /usr/lib/libXcursor.so.1: undefined symbol: _XRRGetOutputProperty
        DEBUG: Failed loading XRRGetOutputProperty: /usr/lib/libXinerama.so.1: undefined symbol: _XRRGetOutputProperty
        DEBUG: Failed loading XRRGetOutputProperty: /usr/lib/libXi.so.6: undefined symbol: _XRRGetOutputProperty
        DEBUG: Failed loading XRRGetOutputPrimary: /usr/lib/libX11.so.6: undefined symbol: _XRRGetOutputPrimary
        DEBUG: Failed loading XRRGetOutputPrimary: /usr/lib/libXext.so.6: undefined symbol: _XRRGetOutputPrimary
        DEBUG: Failed loading XRRGetOutputPrimary: /usr/lib/libXcursor.so.1: undefined symbol: _XRRGetOutputPrimary
        DEBUG: Failed loading XRRGetOutputPrimary: /usr/lib/libXinerama.so.1: undefined symbol: _XRRGetOutputPrimary
        DEBUG: Failed loading XRRGetOutputPrimary: /usr/lib/libXi.so.6: undefined symbol: _XRRGetOutputPrimary
        DEBUG: Failed loading XScreenSaverQueryExtension: /usr/lib/libX11.so.6: undefined symbol: _XScreenSaverQueryExtension
        DEBUG: Failed loading XScreenSaverQueryExtension: /usr/lib/libXext.so.6: undefined symbol: _XScreenSaverQueryExtension
        DEBUG: Failed loading XScreenSaverQueryExtension: /usr/lib/libXcursor.so.1: undefined symbol: _XScreenSaverQueryExtension
        DEBUG: Failed loading XScreenSaverQueryExtension: /usr/lib/libXinerama.so.1: undefined symbol: _XScreenSaverQueryExtension
        DEBUG: Failed loading XScreenSaverQueryExtension: /usr/lib/libXi.so.6: undefined symbol: _XScreenSaverQueryExtension
        DEBUG: Failed loading XScreenSaverQueryExtension: /usr/lib/libXrandr.so.2: undefined symbol: _XScreenSaverQueryExtension
        DEBUG: Failed loading XScreenSaverQueryVersion: /usr/lib/libX11.so.6: undefined symbol: _XScreenSaverQueryVersion
        DEBUG: Failed loading XScreenSaverQueryVersion: /usr/lib/libXext.so.6: undefined symbol: _XScreenSaverQueryVersion
        DEBUG: Failed loading XScreenSaverQueryVersion: /usr/lib/libXcursor.so.1: undefined symbol: _XScreenSaverQueryVersion
        DEBUG: Failed loading XScreenSaverQueryVersion: /usr/lib/libXinerama.so.1: undefined symbol: _XScreenSaverQueryVersion
        DEBUG: Failed loading XScreenSaverQueryVersion: /usr/lib/libXi.so.6: undefined symbol: _XScreenSaverQueryVersion
        DEBUG: Failed loading XScreenSaverQueryVersion: /usr/lib/libXrandr.so.2: undefined symbol: _XScreenSaverQueryVersion
        DEBUG: Failed loading XScreenSaverSuspend: /usr/lib/libX11.so.6: undefined symbol: _XScreenSaverSuspend
        DEBUG: Failed loading XScreenSaverSuspend: /usr/lib/libXext.so.6: undefined symbol: _XScreenSaverSuspend
        DEBUG: Failed loading XScreenSaverSuspend: /usr/lib/libXcursor.so.1: undefined symbol: _XScreenSaverSuspend
        DEBUG: Failed loading XScreenSaverSuspend: /usr/lib/libXinerama.so.1: undefined symbol: _XScreenSaverSuspend
        DEBUG: Failed loading XScreenSaverSuspend: /usr/lib/libXi.so.6: undefined symbol: _XScreenSaverSuspend
        DEBUG: Failed loading XScreenSaverSuspend: /usr/lib/libXrandr.so.2: undefined symbol: _XScreenSaverSuspend
        DEBUG: Failed loading XShapeCombineMask: /usr/lib/libX11.so.6: undefined symbol: _XShapeCombineMask
        DEBUG: Failed loading XF86VidModeGetAllModeLines: /usr/lib/libX11.so.6: undefined symbol: _XF86VidModeGetAllModeLines
        DEBUG: Failed loading XF86VidModeGetAllModeLines: /usr/lib/libXext.so.6: undefined symbol: _XF86VidModeGetAllModeLines
        DEBUG: Failed loading XF86VidModeGetAllModeLines: /usr/lib/libXcursor.so.1: undefined symbol: _XF86VidModeGetAllModeLines
        DEBUG: Failed loading XF86VidModeGetAllModeLines: /usr/lib/libXinerama.so.1: undefined symbol: _XF86VidModeGetAllModeLines
        DEBUG: Failed loading XF86VidModeGetAllModeLines: /usr/lib/libXi.so.6: undefined symbol: _XF86VidModeGetAllModeLines
        DEBUG: Failed loading XF86VidModeGetAllModeLines: /usr/lib/libXrandr.so.2: undefined symbol: _XF86VidModeGetAllModeLines
        DEBUG: Failed loading XF86VidModeGetAllModeLines: /usr/lib/libXss.so.1: undefined symbol: _XF86VidModeGetAllModeLines
        DEBUG: Failed loading XF86VidModeGetModeLine: /usr/lib/libX11.so.6: undefined symbol: _XF86VidModeGetModeLine
        DEBUG: Failed loading XF86VidModeGetModeLine: /usr/lib/libXext.so.6: undefined symbol: _XF86VidModeGetModeLine
        DEBUG: Failed loading XF86VidModeGetModeLine: /usr/lib/libXcursor.so.1: undefined symbol: _XF86VidModeGetModeLine
        DEBUG: Failed loading XF86VidModeGetModeLine: /usr/lib/libXinerama.so.1: undefined symbol: _XF86VidModeGetModeLine
        DEBUG: Failed loading XF86VidModeGetModeLine: /usr/lib/libXi.so.6: undefined symbol: _XF86VidModeGetModeLine
        DEBUG: Failed loading XF86VidModeGetModeLine: /usr/lib/libXrandr.so.2: undefined symbol: _XF86VidModeGetModeLine
        DEBUG: Failed loading XF86VidModeGetModeLine: /usr/lib/libXss.so.1: undefined symbol: _XF86VidModeGetModeLine
        DEBUG: Failed loading XF86VidModeGetViewPort: /usr/lib/libX11.so.6: undefined symbol: _XF86VidModeGetViewPort
        DEBUG: Failed loading XF86VidModeGetViewPort: /usr/lib/libXext.so.6: undefined symbol: _XF86VidModeGetViewPort
        DEBUG: Failed loading XF86VidModeGetViewPort: /usr/lib/libXcursor.so.1: undefined symbol: _XF86VidModeGetViewPort
        DEBUG: Failed loading XF86VidModeGetViewPort: /usr/lib/libXinerama.so.1: undefined symbol: _XF86VidModeGetViewPort
        DEBUG: Failed loading XF86VidModeGetViewPort: /usr/lib/libXi.so.6: undefined symbol: _XF86VidModeGetViewPort
        DEBUG: Failed loading XF86VidModeGetViewPort: /usr/lib/libXrandr.so.2: undefined symbol: _XF86VidModeGetViewPort
        DEBUG: Failed loading XF86VidModeGetViewPort: /usr/lib/libXss.so.1: undefined symbol: _XF86VidModeGetViewPort
        DEBUG: Failed loading XF86VidModeQueryExtension: /usr/lib/libX11.so.6: undefined symbol: _XF86VidModeQueryExtension
        DEBUG: Failed loading XF86VidModeQueryExtension: /usr/lib/libXext.so.6: undefined symbol: _XF86VidModeQueryExtension
        DEBUG: Failed loading XF86VidModeQueryExtension: /usr/lib/libXcursor.so.1: undefined symbol: _XF86VidModeQueryExtension
        DEBUG: Failed loading XF86VidModeQueryExtension: /usr/lib/libXinerama.so.1: undefined symbol: _XF86VidModeQueryExtension
        DEBUG: Failed loading XF86VidModeQueryExtension: /usr/lib/libXi.so.6: undefined symbol: _XF86VidModeQueryExtension
        DEBUG: Failed loading XF86VidModeQueryExtension: /usr/lib/libXrandr.so.2: undefined symbol: _XF86VidModeQueryExtension
        DEBUG: Failed loading XF86VidModeQueryExtension: /usr/lib/libXss.so.1: undefined symbol: _XF86VidModeQueryExtension
        DEBUG: Failed loading XF86VidModeQueryVersion: /usr/lib/libX11.so.6: undefined symbol: _XF86VidModeQueryVersion
        DEBUG: Failed loading XF86VidModeQueryVersion: /usr/lib/libXext.so.6: undefined symbol: _XF86VidModeQueryVersion
        DEBUG: Failed loading XF86VidModeQueryVersion: /usr/lib/libXcursor.so.1: undefined symbol: _XF86VidModeQueryVersion
        DEBUG: Failed loading XF86VidModeQueryVersion: /usr/lib/libXinerama.so.1: undefined symbol: _XF86VidModeQueryVersion
        DEBUG: Failed loading XF86VidModeQueryVersion: /usr/lib/libXi.so.6: undefined symbol: _XF86VidModeQueryVersion
        DEBUG: Failed loading XF86VidModeQueryVersion: /usr/lib/libXrandr.so.2: undefined symbol: _XF86VidModeQueryVersion
        DEBUG: Failed loading XF86VidModeQueryVersion: /usr/lib/libXss.so.1: undefined symbol: _XF86VidModeQueryVersion
        DEBUG: Failed loading XF86VidModeSwitchToMode: /usr/lib/libX11.so.6: undefined symbol: _XF86VidModeSwitchToMode
        DEBUG: Failed loading XF86VidModeSwitchToMode: /usr/lib/libXext.so.6: undefined symbol: _XF86VidModeSwitchToMode
        DEBUG: Failed loading XF86VidModeSwitchToMode: /usr/lib/libXcursor.so.1: undefined symbol: _XF86VidModeSwitchToMode
        DEBUG: Failed loading XF86VidModeSwitchToMode: /usr/lib/libXinerama.so.1: undefined symbol: _XF86VidModeSwitchToMode
        DEBUG: Failed loading XF86VidModeSwitchToMode: /usr/lib/libXi.so.6: undefined symbol: _XF86VidModeSwitchToMode
        DEBUG: Failed loading XF86VidModeSwitchToMode: /usr/lib/libXrandr.so.2: undefined symbol: _XF86VidModeSwitchToMode
        DEBUG: Failed loading XF86VidModeSwitchToMode: /usr/lib/libXss.so.1: undefined symbol: _XF86VidModeSwitchToMode
        DEBUG: Failed loading XF86VidModeLockModeSwitch: /usr/lib/libX11.so.6: undefined symbol: _XF86VidModeLockModeSwitch
        DEBUG: Failed loading XF86VidModeLockModeSwitch: /usr/lib/libXext.so.6: undefined symbol: _XF86VidModeLockModeSwitch
        DEBUG: Failed loading XF86VidModeLockModeSwitch: /usr/lib/libXcursor.so.1: undefined symbol: _XF86VidModeLockModeSwitch
        DEBUG: Failed loading XF86VidModeLockModeSwitch: /usr/lib/libXinerama.so.1: undefined symbol: _XF86VidModeLockModeSwitch
        DEBUG: Failed loading XF86VidModeLockModeSwitch: /usr/lib/libXi.so.6: undefined symbol: _XF86VidModeLockModeSwitch
        DEBUG: Failed loading XF86VidModeLockModeSwitch: /usr/lib/libXrandr.so.2: undefined symbol: _XF86VidModeLockModeSwitch
        DEBUG: Failed loading XF86VidModeLockModeSwitch: /usr/lib/libXss.so.1: undefined symbol: _XF86VidModeLockModeSwitch
        INFO: OpenGL shaders: ENABLED
        INFO: Created renderer: opengl
        INFO: Created renderer: software

Interesting because the same program works when I try it, and I get the same log messages. Have you tried creating an accelerated renderer? Do other SDL2 programs work?

We actually tried accelerated first and that didn’t work either, not sure of any apps that have SDL

UPDATE: I found an app on my PC that uses SDL a open source game called Xonotic didn’t have any issues launching it.

Maybe you could try some of the sample programs from the lazyfoo.net SDL2 tutorial.

1 Like

I recognize the site I think we were using this as we went along

ended up doing a clean install of my OS it seems to be working again