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

Author Topic: SVN-Version: RenderWindow kills x11  (Read 7749 times)

0 Members and 1 Guest are viewing this topic.

Kernelpanic

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • http://eisenholz.bplaced.net
SVN-Version: RenderWindow kills x11
« on: July 01, 2008, 09:15:33 pm »
Hi!
I have installed the latest SVN-Version.
Then I tried to recompile one of my programs and x11 was restarted.
That is "normal" because I have often bugs producing this errors.
But then I tried the example and I lost x11 again.
What could be the problem?

The dependencies - do I only need freetype? In the tutorials no other dependencies are mentioned, I am wondering about it.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SVN-Version: RenderWindow kills x11
« Reply #1 on: July 02, 2008, 02:46:56 am »
Well, SFML should never cause X11 to restart, event after a bug :shock:
I think's there's something wrong or corrupted about your X11 configuration, did you try to reinstall it properly ?
Laurent Gomila - SFML developer

Kernelpanic

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • http://eisenholz.bplaced.net
SVN-Version: RenderWindow kills x11
« Reply #2 on: July 02, 2008, 12:44:43 pm »
Which are the important packages?
xorg-x11 and xorg-x11-devel?

Xylankant

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://xylankant.xy.funpic.de
SVN-Version: RenderWindow kills x11
« Reply #3 on: July 02, 2008, 02:01:25 pm »
What Linux are you using?

If it's Ubuntu, the simples way to reinstall X11 is opening a Terminal and typing
"sudo apt-get -f install xserver-xorg"

Edit: Ubuntu and any System using apt. of course ;)

Kernelpanic

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • http://eisenholz.bplaced.net
SVN-Version: RenderWindow kills x11
« Reply #4 on: July 02, 2008, 02:27:01 pm »
I have not installed apt or dpkg, I am using OpenSuSE, rpm.
I have reinstalled xorg-x11-server and some other packages.
Now I will reboot...

Edit:
No effect, maybe the graphic-driver is the problem, but I dont think that there are other drivers for a s3 prosavage8.

Xylankant

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://xylankant.xy.funpic.de
SVN-Version: RenderWindow kills x11
« Reply #5 on: July 02, 2008, 04:55:40 pm »
wth is that graphics-card? ^^

Ok, what you could try is using standard VESA-Drivers.
For that to work, you have to edit your xorg.conf file. Therein, search for
Section "Device"
where there is (or should be) an entry
Driver "whatever"
change that to
Driver "vesa"

don't forget backuping your xorg.conf, so you can reuse it if that doesn't work.

At least, this could be a hint whether it's a driver-issue...

Kernelpanic

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • http://eisenholz.bplaced.net
SVN-Version: RenderWindow kills x11
« Reply #6 on: July 03, 2008, 01:34:27 pm »
With Vesa drivers it is the same problem.
But now I know, that the constructor is not the problem, X11 restarts, when Display() is called.

Xylankant

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://xylankant.xy.funpic.de
SVN-Version: RenderWindow kills x11
« Reply #7 on: July 03, 2008, 01:53:52 pm »
mhhh, that's quite strange.

So you're saying as long as you don't call your window's Display()-Method, the window won't crash your X11?
I'm not quite sure, but as SFML is using openGL for displaying content within the window, maybe sth is wrong with your system's configuration of openGL (or your graphics card is not capable of openGL, what I doubt, though...)

Kernelpanic

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • http://eisenholz.bplaced.net
SVN-Version: RenderWindow kills x11
« Reply #8 on: July 03, 2008, 08:46:06 pm »
Version 1.2 worked fine.
I ll look for a new graphiccard, but nevertheless it is not good that I cant write sfml-based applications. :(

Xylankant

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://xylankant.xy.funpic.de
SVN-Version: RenderWindow kills x11
« Reply #9 on: July 03, 2008, 09:02:10 pm »
Well, maybe one way of debuging is using 1.2 (if it's working as you said) doing the same things where 1.3 crashes X11 and then report here what exact methods etc. you used.
Maybe Laurent has changed some lines of code of these methods, which is now crashing your system (even though it's quite unlikely...)

Kernelpanic

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • http://eisenholz.bplaced.net
SVN-Version: RenderWindow kills x11
« Reply #10 on: July 04, 2008, 04:18:10 pm »
In which package can I find these "glX"-Functions?