Testgl & XFree86 4

Hello,

I’m using a freshly installed Mandrake 7 with a self build XFree86 4 and
Clanlib 1.1 (from CVS).

when I try to run the testgl example I get the following error:

[japj at localhost test]$ ./testgl
X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 2 (X_ChangeWindowAttributes)
Value in failed request: 0xd0
Serial number of failed request: 59
Current serial number in output stream: 63

Does this sound familiar to anybody?

Best regards,

Jeroen Janssen

Jeroen Janssen wrote:

Hello,

I’m using a freshly installed Mandrake 7 with a self build XFree86 4 and
Clanlib 1.1 (from CVS).

when I try to run the testgl example I get the following error:

actually… I seem to get this error for every testprogram that want to
do some graphical output (but not with HOM3 1.3.1).> [japj at localhost test]$ ./testgl

X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 2 (X_ChangeWindowAttributes)
Value in failed request: 0xd0
Serial number of failed request: 59
Current serial number in output stream: 63

Jeroen Janssen wrote:

Hello,

I’m using a freshly installed Mandrake 7 with a self build XFree86 4 and
Clanlib 1.1 (from CVS).

SDL it is :wink: BTW, it worked perfect with 3.3.6 for him.–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right

Daniel Vogel wrote:

Jeroen Janssen wrote:

Hello,

I’m using a freshly installed Mandrake 7 with a self build XFree86 4 and
Clanlib 1.1 (from CVS).

SDL it is :wink: BTW, it worked perfect with 3.3.6 for him.

yeah… ehm… sorry :slight_smile: SDL indeed :slight_smile:

I never tried running testgl with 3.3.6, I only ran UnrealTournament
with 3.3.6 wich was ok!–
Jeroen

Did anyone try rebuilding SDL after upgrading to XFree86 4? I tried
to upgrade, and then had to downgrade back to 3.3.5. After I did this
SDL’s OpenGl support was broken until I rebuilt it.

Phoenix Kokido
members.xoom.com/kokido
@Wes_Poole

Daniel Vogel wrote:> Jeroen Janssen wrote:

Hello,

I’m using a freshly installed Mandrake 7 with a self build XFree86 4 and
Clanlib 1.1 (from CVS).

SDL it is :wink: BTW, it worked perfect with 3.3.6 for him.


Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right

Jeroen Janssen wrote:

I never tried running testgl with 3.3.6, I only ran UnrealTournament
with 3.3.6 wich was ok!

Ups, sorry I thought you did (maybe I should reread some emails ;)).–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right

In your /etc/X11/XF86Config file that comes with XFree4, uncomment the line
Load "glx"
or add it in yourself. This loads up Xfree4’s glx module which just uses
Mesa. If you don’t want to use the version of Mesa that comes with Xfree4.0 you
can just set an enviroment variable to the path of your original Mesa libs like
export LD_LIBRARY_PATH=/usr/local/lib
or where ever you have Mesa installed.On Sat, 18 Mar 2000, you wrote:

Did anyone try rebuilding SDL after upgrading to XFree86 4? I tried
to upgrade, and then had to downgrade back to 3.3.5. After I did this
SDL’s OpenGl support was broken until I rebuilt it.

Phoenix Kokido
members.xoom.com/kokido
kokido at postmark.net

Daniel Vogel wrote:

Jeroen Janssen wrote:

Hello,

I’m using a freshly installed Mandrake 7 with a self build XFree86 4 and
Clanlib 1.1 (from CVS).

SDL it is :wink: BTW, it worked perfect with 3.3.6 for him.


Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right

-Garrett, WPI student majoring in Computer Science
"The fastest way to succeed is to look as if you’re playing by somebody
else’s rules, while quietly playing by your own." -Michael Konda

I did’nt downgrade because I was unhappy with GLX and DRI, I
downgraded because XFree86 4.0 just did’nt work for me, it would boot
to a garbled screen and then quit out and say it had hit an unresolved
function. I went back to 3.3.5 and reinstalled Mesa but SDL-OpenGl
would’nt work until I rebuilt SDL from sources.

Phoenix Kokido
members.xoom.com/kokido
@Wes_Poole

Garrett wrote:

In your /etc/X11/XF86Config file that comes with XFree4, uncomment the
line
Load "glx"
or add it in yourself. This loads up Xfree4’s glx module which just uses
Mesa. If you don’t want to use the version of Mesa that comes with Xfree4.0
you
can just set an enviroment variable to the path of your original Mesa libs
like
export LD_LIBRARY_PATH=/usr/local/lib
or where ever you have Mesa installed.

Did anyone try rebuilding SDL after upgrading to XFree86 4? I tried
to upgrade, and then had to downgrade back to 3.3.5. After I did this
SDL’s OpenGl support was broken until I rebuilt it.

Phoenix Kokido
members.xoom.com/kokido
@Wes_Poole

Daniel Vogel wrote:

Jeroen Janssen wrote:

Hello,

I’m using a freshly installed Mandrake 7 with a self build XFree86 4
and> On Sat, 18 Mar 2000, you wrote:

Clanlib 1.1 (from CVS).

SDL it is :wink: BTW, it worked perfect with 3.3.6 for him.


Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right

-Garrett, WPI student majoring in Computer Science
"The fastest way to succeed is to look as if you’re playing by somebody
else’s rules, while quietly playing by your own." -Michael Konda