Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Teleswarm

Pages: [1]
1
Window / Fullscreen problem
« on: February 08, 2009, 07:13:01 pm »
Ok, I completely uninstalled the debian packaged SFML 1.3 and compiled using SFML 1.4. The error remains.

Output:
Code: [Select]

Failed to get the list of available video modes
The requested video mode is not available, switching to a valid mode
Failed to get the list of available video modes
Failed to get the list of available video modes
Fullscreen is not supported, switching to window mode
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  1 (X_CreateWindow)
  Value in failed request:  0x0
  Serial number of failed request:  50
  Current serial number in output stream:  52
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x7f8bbc50d97c]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x15) [0x7f8bbc50da15]
#2 /usr/lib/libX11.so.6 [0x7f8bbdefd420]
#3 /usr/lib/libGL.so.1 [0x7f8bc02e45c6]

2
Window / Fullscreen problem
« on: February 08, 2009, 04:31:07 pm »
I just noticed that SFML isn't available for 64-bit Linux (at least in the Sourceforge site), so the code just won't compile. Will the source (labeled as i386) compile in amd64? Thanks.

3
Window / Fullscreen problem
« on: February 08, 2009, 03:57:08 am »
Also, a different but related problem.
Doing the same using NVIDIA TwinView actually runs, but the output is like, blinking horizontal lines in the screen instead of a "solid" window.

4
Window / Fullscreen problem
« on: February 08, 2009, 03:33:39 am »
I've been playing with the window-opengl.cpp example, using SFML 1.3.

The unmodified program runs just fine, but trying to set the window to fullscreen produces a horrible crash. The modified line of code is :

Code: [Select]
sf::Window App(sf::VideoMode(1024, 768, 32), "SFML OpenGL", sf::Style::Fullscreen);

And the output is:

Code: [Select]
Failed to get the list of available video modes
The requested video mode is not available, switching to a valid mode
Failed to get the list of available video modes
Failed to get the list of available video modes
Fullscreen is not supported, switching to window mode
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  1 (X_CreateWindow)
  Value in failed request:  0x0
  Serial number of failed request:  51
  Current serial number in output stream:  53
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x7ff92ad8997c]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x15) [0x7ff92ad89a15]
#2 /usr/lib/libX11.so.6 [0x7ff92cd9f420]
#3 /usr/lib/libGL.so.1 [0x7ff92f0675c6]


Some extra information:
- I'm using 2 screens and a NVIDIA video card (propietary driver)
- I'm not using a TwinView setup, and the XRandR isn't available.
- Doing the equivalent action using SDL works directly, same with games, and same with everything else.
- The OS is Debian GNU/Linux "sid" (unstable)

Please suggest me what to do since I'm trying to port an application from SDL to SFML. Thanks.

Pages: [1]
anything