can RANDR be ignored with Linux compile?

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Post Reply
User avatar
wayward4now
Rookie
Rookie
Posts: 31
Joined: 22 Apr 2007, 09:40

can RANDR be ignored with Linux compile?

Post by wayward4now »

Xlib: extension "RANDR" missing on display ":0.0".
I would like to have that ignored as a build option. I've played warzone for years using 2 nvidia cards and 4 monitors using xinerama. It hasn't worked for months now giving me that error. Can I defeat that?? Thanx for all the good work!
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: can RANDR be ignored with Linux compile?

Post by Per »

We've been linking against Xrandr for a very long time (unconditionally since 2011), so no idea why it should suddenly stop working now. Did you upgrade Warzone? If so, which version last worked?
User avatar
wayward4now
Rookie
Rookie
Posts: 31
Joined: 22 Apr 2007, 09:40

Re: can RANDR be ignored with Linux compile?

Post by wayward4now »

I've kept all of my builds since back when, they all stall now with that error. Including the latest. I'm running Ubuntu 17.04 (zesty) 16 gigs of system ram, 4 gigs video ram with two nvida GTX 750ti cards using nvidia driver 375.66 and xinerama. No clue. We had this problem in the past but it was "fixed" somehow. Thanks for all you do. Ric
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: can RANDR be ignored with Linux compile?

Post by Per »

You can try to change the line
X_LIBS="-lX11 -lXrandr ${X_LIBS}"
to
X_LIBS="-lX11 ${X_LIBS}"
in configure.ac and recompile, see if that helps.
User avatar
wayward4now
Rookie
Rookie
Posts: 31
Joined: 22 Apr 2007, 09:40

Re: can RANDR be ignored with Linux compile?

Post by wayward4now »

I got the same error again, but at least we know it is not from the edited code. I wonder if qt is a problem?? Ric
User avatar
wayward4now
Rookie
Rookie
Posts: 31
Joined: 22 Apr 2007, 09:40

Re: can RANDR be ignored with Linux compile?

Post by wayward4now »

From what I have googled it is more of a display problem with qt5 when it was upgraded from qt4.
User avatar
wayward4now
Rookie
Rookie
Posts: 31
Joined: 22 Apr 2007, 09:40

Re: can RANDR be ignored with Linux compile?

Post by wayward4now »

ric@iam:~/Downloads/warzone2100-3.2.3/src$ ./warzone2100

** (warzone2100:19031): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-lVClwEAxC3: Connection refused
Post Reply