Author Topic: [SOLVED] FS start on the wrong display in dual head with debian 8  (Read 4052 times)

0 Members and 1 Guest are viewing this topic.

[SOLVED] FS start on the wrong display in dual head with debian 8
First of all i'm very upset that wxlauncher and fs 3.7.0 in debian stable does not works.
I've used FS2 for ages under win7 without any problem but now i'm back on a linux desktop.

I've compiled myself a 3.7.2 64bit.

It works in "-window" mode but i want full screen of course.

When i try fullscreen it opens on the 2nd monitor or it opens spawning on both 1st and 2nd monitor!!!

Is there a way to fix it?

The command line i'm using is this one:
Code: [Select]
./fs2_open_3.7.2 -3dshockwave -cache_bitmaps -ship_choice_3d -weapon_choice_3d -warp_flash -fps  -res 1920x1200 -voicer
This is the output of my xrandr:
Code: [Select]
Screen 0: minimum 320 x 200, current 3280 x 1200, maximum 16384 x 16384
HDMI-0 connected 1360x768+1920+0 (normal left inverted right x axis y axis) 160mm x 90mm
   1360x768      60.02*+
   1920x1080     60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98 
   1920x1080i    60.00    50.00    59.94 
   1280x720      60.00    50.00    59.94 
   1024x768      75.08    70.07    60.00 
   832x624       74.55 
   800x600       72.19    75.00    60.32 
   720x576       50.00 
   720x480       60.00    59.94 
   640x480       75.00    72.81    66.67    60.00    59.94 
   720x400       70.08 
DVI-0 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 495mm x 310mm
   1920x1200     59.95*+
VGA-0 disconnected (normal left inverted right x axis y axis)

This is how xrand is configured:
Code: [Select]
xrandr --output DVI-0 --primary --mode 1920x1200 --output HDMI-0 --mode 1360x768 --right-of DVI-0
Thanks.
« Last Edit: May 02, 2015, 07:05:05 am by badpenguin »

 

Offline niffiwan

  • 211
  • Eluder Class
Re: FS start on the wrong display in dual head with debian 8
From what I know FSO isn't really dual-head aware, it's probably spawning on the 1st "detected by hardware" screen (although that doesn't fit the issue of spawning across both screens). Can you switch your DVI/HDMI cables between the two monitors? Otherwise, you could try compiling the antipodes branch and see if that works any better? It has SDL2.0 support which ~may~ handle dual-head under Linux better than the current SDL1.2.
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 
Re: FS start on the wrong display in dual head with debian 8
Solved!!! :)))

Code: [Select]
export SDL_VIDEO_FULLSCREEN_HEAD=0
 ;7

 

Offline niffiwan

  • 211
  • Eluder Class
Re: [SOLVED] FS start on the wrong display in dual head with debian 8
sweet! I'll have to put that in the wiki
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 
Re: [SOLVED] FS start on the wrong display in dual head with debian 8
sweet! I'll have to put that in the wiki

Do you have some info about how to enable /dev/speech ???

I cannot find a debian package for that :-/

 

Offline niffiwan

  • 211
  • Eluder Class
Re: [SOLVED] FS start on the wrong display in dual head with debian 8
Sorry, I haven't investigated/tested either TTS (e.g. for briefings) or voice recognition in FSO on Linux yet.
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: [SOLVED] FS start on the wrong display in dual head with debian 8
Sorry, I haven't investigated/tested either TTS (e.g. for briefings) or voice recognition in FSO on Linux yet.
If someone can find a cross-platform voice recognition library, it'd be great to make that feature no longer be Windows-only.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: [SOLVED] FS start on the wrong display in dual head with debian 8
http://stackoverflow.com/questions/23772698/well-documented-cross-platform-speech-recognition-api

Quote
I've been looking for a decent library to start a speech recognition project, and have found quite a few libraries, all with poor documentation or implementation.

Are there any cross-platform solutions that aren't terrible, or that you wouldn't exclusively recommend to your worst enemy?

So far I've seen Microsoft's SAPI, CMUSphinx, VOCE, and Julius.

The library can be in any language, however I've mostly been looking in C++. Does anyone have any experience or suggestions?


asked May 21 '14 at 1:43


          
Try CMUSphinx, if you count answers on cmusphinx tag here it will win with 5:0 score. SAPI is not cross-platform.      May 21 '14 at 8:28

 
Re: [SOLVED] FS start on the wrong display in dual head with debian 8
oh well i had speechd working on /dev/speech but FS fails to initialize
when i'll have time i will look in the speech directory of the FS's source code
does not seems much complicated at first look