Various odd issues

Various odd issues

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Various odd issues

Post by AF »

I installed 0.75b2 from source as described in the wiki since I'm on a 64bit system and thus the deb files wont work.

1) My spring is always in windowed mode

This is regardless of whatever my settings files/Settings++ says. Whatsmore when I put the window at max resolution the trees get garbled, and the higher the resolution the mroe garbled trees I get. As I zoom out they get more and more garbled.

2) ctrl key

I have to do ctrl+double press 1 to create a group and vice versa double press to select one, and I cant use ctrl + mouse wheel or any other key combo involving ctrl.

3) Scroll wheel

The shift from Vista to ubuntu has made my scroll wheel zoom at least 5x slower. Its annoying taking 30 seconds zooming out to view the map when I used to be able todo it in 3-4 seconds.

4) sudo scons versus scons

I made the mistake of typing sudo scons and now I can't execute scons without file permission errors. There's no clean up commands I'm aware of and there's no uninstall method either. Bad enough as it is I needed tot est what I'd built so now I have various spring files dotted across my system with root ownership, preventing my spring menu launcher from working.

5) Widget selector and the eyes widget

My first proper game under Linux had all the above problems crippling my game play, but what really annoyed me was spending the first 5 minutes trying to turn off the googly eyes widget with the flashing text that new users get when they first turn on Lua UI.

The widget drew itself on top of the widget selector, obscuring all the options and making it much harder for me to find the eyes widget in a scrolling menu of 30 or so widgets.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Various odd issues

Post by Tobi »

1) Compiled in debug mode maybe?

4) Maybe something like

Code: Select all

sudo find . -user root
in the directory where you did the sudo scons and then, if you are happy with the file list it gives, change ownership of all the files:

Code: Select all

sudo find . -user root -exec chown user:group '{}' \;
Make sure to fill in user and group to your own user and group name.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Post by Auswaschbar »

1.
Awkward trees are a common problem in windowed mode. Goes away when turning on fullscreen.
Also, try running spring with "-f"

3.
Maybe its because of this:

Code: Select all

#ifdef _WIN32
#define DEFAULT_MOUSE_SCALE 0.01f
#else
#define DEFAULT_MOUSE_SCALE 0.003f
#endif
I have no clue why this code is there...

4.
Try "sudo rm -r ./build/rts" in the builddirectory. Unfortunately you have to "scons configure && scons" again

5.
+1 for removing these widgets
Last edited by Auswaschbar on 11 Oct 2007, 23:59, edited 2 times in total.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

3) there should be a line

Code: Select all

ScrollWheelSpeed=25
(default value) in your .springrc . Fiddling with that could help.
Settings++ doesn't have a slider for that atm, but I'll add it in my version once I get it to build on windows.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

1)
I skipped over the trees part in my first post, but trees should work fine in windowed mode as long as you keep the Spring window on top and on screen during loading. (if any part of the window is obscured during the tree generation step the trees may look garbled)
CautionToTheWind
Posts: 272
Joined: 30 May 2006, 17:06

Post by CautionToTheWind »

AF, there must be a bunch of root owned files in your spring source after a sudo scons. Assuming your linux username is "af" and your spring source is in "src", do this:

sudo chown -R af:af src

It will change the ownership of all files back to you. -R makes it recursive on subfolders.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

What does the -f option mean?

I've gotten it to do scons without a need for sudo scons but the last hurdle in that story is the sudo scons install.

I've pointed out the error with the eyes widget displaying ontop of the widget selector in #lua

I've fixed my issue with fullscreen and trees, and modified .springrc to fix the scroll wheel.

---------------

hmm I've just ran a test of spring while writing this post and it crashed. But when it crashed the screen just froze. I could still do capslock/numlock etc I could alt+tab into the other programs and my only way of escaping spring was to press the reset button on my tower. erm?
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

You could just restart the xserver if spring crashs it. Ctrl+Atl+Backspace
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

There's a bug in the current proprietry nvidia drivers which means that the OS outputs no video signal unless the X server is running. pressing ctrl+alt+backspace brings up a black screen with no visible indication of what's happening followed a few seconds later with a 'no signal' message from my monitor. What's more to get rid of the black screen you have to press a power button and wait to boot up again as you cant use a key combo to return to the desktop.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

What driver version is that? There is a bug that affects the start up and shut down screens so they do that, but that can be fixed.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

yah I tried to fix it by adding vga=775 to the end of my grub entry and it brought back the splash screen. Its smaller and in the upper left corner though and so is the shut-down logo, which is now in funky colours.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

Well, you need to find the right vga=for your monitor. I got the correct one and my splash screens look normal.
Post Reply

Return to “Linux”