Posted January 23, 2016
Smannesman
4-bit classic
Smannesman Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Oct 2010
From Netherlands
Smannesman
4-bit classic
Smannesman Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Oct 2010
From Netherlands
ssokolow
Linux Geek
ssokolow Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Feb 2011
From Canada
Posted January 23, 2016
Post edited January 23, 2016 by ssokolow
v3
Registered: Oct 2014
From Serbia
Posted January 23, 2016
Yw, glad you found the solution :)
Smannesman: Now I just need to find out what the hell kind of layout my keyboard has.
It's a lot like the UK layout, except that the top left key is next to bottom right ? key and the top left is for ~ and #.
Have you tried browsing through available layouts by using your DE's Keyboard or Keyboard Layout program?It's a lot like the UK layout, except that the top left key is next to bottom right ? key and the top left is for ~ and #.
Smannesman
4-bit classic
Smannesman Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Oct 2010
From Netherlands
Posted January 23, 2016
v3: Have you tried browsing through available layouts by using your DE's Keyboard or Keyboard Layout program?
I'm using i3 so I don't think there is a tool like that, I suppose I could install KDE or something to check it. ssokolow: What xrandr arguments were you trying? ...because I seem to remember changing those sort of things via xrandr a few months ago on my triple-head TwinView setup.
Eh cvt and gft to find the resolution modeline and then xrandr --newmode and xrandr --addmode. Newmode worked, but trying to add the mode to my monitor failed with a bunch of stuff I don't understand ;)
In order to really 'clone' the displays I need to bring my monitor down to 1920x1080 (same as the TV), but adding the resolution didn't work. It is listed in the Nvidia-Settings though, as 1920x1080 (scaled).
v3
Registered: Oct 2014
From Serbia
Posted January 24, 2016
ssokolow
Linux Geek
ssokolow Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Feb 2011
From Canada
Posted January 24, 2016
v3: Have you tried browsing through available layouts by using your DE's Keyboard or Keyboard Layout program?
Smannesman: I'm using i3 so I don't think there is a tool like that, I suppose I could install KDE or something to check it. ssokolow: What xrandr arguments were you trying? ...because I seem to remember changing those sort of things via xrandr a few months ago on my triple-head TwinView setup.
Smannesman: Eh cvt and gft to find the resolution modeline and then xrandr --newmode and xrandr --addmode. Newmode worked, but trying to add the mode to my monitor failed with a bunch of stuff I don't understand ;)
In order to really 'clone' the displays I need to bring my monitor down to 1920x1080 (same as the TV), but adding the resolution didn't work. It is listed in the Nvidia-Settings though, as 1920x1080 (scaled).
I've only used xrandr for doing stuff after they're already set up properly and, the only time I can remember ever having to manually put together a modeline, I set it in Xorg.conf on my ARM-based HTPC because our HDTV returns garbage EDID information over HDMI.
Have you looked into ways to generate a modeline from the currently active mode? (That'd let you set the resolution up in nvidia-settings, then dump the active settings for reuse later in a more scriptable way.)
That aside, I CAN actually tell you how to change your display settings in a scriptable fashion using TwinView and nvidia-settings. Here's an example of how my current configuration looks if set dynamically:
nvidia-settings --assign CurrentMetaMode="DVI-I-1: nvidia-auto-select +1280+0 { ForceFullCompositionPipeline = On }, HDMI-0: nvidia-auto-select +2560+0 { ForceFullCompositionPipeline = On }, DP-0: nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
It takes the same syntax as the MetaModes Xorg.conf line, which is well-documented. However, I'll give a quick overview.
The syntax is as follows:
1. It's a semicolon-separated list of metamodes but you can use the magic value "nvidia-auto-select" for the resolution to have one metamode expand into a whole list of autodetected ones as I've done.
2. Each metamode is a comma-separated list of monitors.
3. Each monitor consists of a monitor name (from xrandr), a colon, and a space-separated set of parameters.
4. The first parameter (the only required one) is a WxH resolution like 1280x1024 or NULL to indicate the monitor should turn off in that metamode.
5.You can specify the position of the monitor within the larger desktop by using +X+Y syntax like +1280+0 as I've done.
6. You can specify a panning domain (desktop larger than the monitor where the viewport follows the mouse) by adding an @WxH like @1600x1200.
7. You can add a set of further attributes inside curly braces as I've done. (ForceFullCompositionPipeline=On fixes tearing issues)
In your case, what you want to do is specify a metamode where both monitors have the same resolution (1920x1080) and offset (+0+0) and you'll get your cloning behaviour. (As far as I can tell, TwinView works by rendering to one giant virtual screen, then feeding rectangles from it to the displays which may overlap to any degree you want.)
By using TwinView and MetaModes, you avoid mucking around with modelines and just tell the nVidia driver "I want these resolutions at these positions. Figure it out yourself."
Also, nifty trick: If you omit the nvidia-auto-select token, you can lock your desktop to a specific set of resolutions. As soon as I can find time to write an LD_PRELOAD hook to fix games that insist on windowed mode using a valid fullscreen resolution, I plan to lock my desktop at 3840x1024 (three 1280x1024 monitors) so games can't scramble my window positions by changing resolution when fullscreening (both Openbox and Kwin like to drop the ball there).
Post edited January 24, 2016 by ssokolow
te_lanus
A Hybrid
te_lanus Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jun 2012
From South Africa
Posted January 25, 2016
Anyone know how to change the .conf file for dosinstalled games on PoL?
I've installed Screamer 2 using the install script in PoL, and it runs great, but the game is not using 100% of the screen about a 640x480 block in the middle. I've tried editing the playonlinux_dos.cfg file but it seems get ignored, and the one in the PlayOnLinux_DOSBox_tmp dir gets overwritten each time you launch the game, and reading the Wiki doesn't help :(
I've installed Screamer 2 using the install script in PoL, and it runs great, but the game is not using 100% of the screen about a 640x480 block in the middle. I've tried editing the playonlinux_dos.cfg file but it seems get ignored, and the one in the PlayOnLinux_DOSBox_tmp dir gets overwritten each time you launch the game, and reading the Wiki doesn't help :(
shmerl
🐧
shmerl Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From United States
Posted January 25, 2016
I'm not familiar with Screamer 2, but why do you need Wine for a DosBox game?
te_lanus
A Hybrid
te_lanus Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Jun 2012
From South Africa
Posted January 25, 2016
Post edited January 25, 2016 by te_lanus
ssokolow
Linux Geek
ssokolow Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Feb 2011
From Canada
Posted January 25, 2016
I just unpack them with innoextract, adjust the .conf file for things like OpenGL output instead of DirectX, and run them using a Linux-native DOSBox build.
eiii
#%&@#%
eiii Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Dec 2013
From San Marino
ssokolow
Linux Geek
ssokolow Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Feb 2011
From Canada
Posted January 27, 2016
ssokolow: because I seem to remember changing those sort of things via xrandr a few months ago on my triple-head TwinView setup.
eiii: Do you have all 3 monitors connected to one GPU or did you find a way to set up TwinView with multiple GPUs? (If your GPU has enough CRTCs to drive three displays, which means Maxwell and beyond, then the only thing preventing those passive adapters from working is if the board manufacturer was an idiot and only connected the traces needed for genuine DisplayPort data. That's the difference between regular DisplayPort and the requisite DisplayPort++ on Maxwell cards.)
Sadly, the mobo I'm currently stuck with for budgetary reasons only has one PCI-E slot and my SATA ports are off the end of it, so I'm constrained to a single half-length card unless I want to pull some of my hard drives. (It'd be nice to at least have the option of hooking up the fourth display that my GPU apparently should support.)
As for TwinView across multiple cards, nVidia calls it Mosaic (BaseMosaic is the Xorg config term for doing it without an SLI bridge) but, while it was originally useful on Linux, driver version 302.17 crippled it down to only 3 displays to "match the Windows version" (If you want Base Mosaic with more than 3 displays on Windows, you have to buy a Quadro card), which makes it not much more useful than TwinView.
Post edited January 27, 2016 by ssokolow
eiii
#%&@#%
eiii Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Dec 2013
From San Marino
Posted January 28, 2016
Post edited January 28, 2016 by eiii
shmerl
🐧
shmerl Sorry, data for given user is currently unavailable. Please, try again later. View profile View wishlist Start conversation Invite to friends Invite to friends Accept invitation Accept invitation Pending invitation... Unblock chat Registered: Sep 2011
From United States
Posted January 28, 2016
Order of the Thorne is grabbing all input in fullscreen mode, so you can't even Alt+Tab out of the game (it's a problem with Allegro lib, which is used by AGS - the engine used in Order of the Thorne). It's a common issue with real fullscreen X11 windows. I reported this bug here: https://github.com/adventuregamestudio/ags/issues/202
And upstream it's here: https://github.com/liballeg/allegro5/issues/392
If you can make AGS match your screen resolution in windowed mode (I managed to do it for 1920x1200 using "6x nearest neighbor" filter that ags provides) - the best workaround is to run it like that and then turn it into fullscreen with your window manager (KDE allows that and you can even set a persistent window rule like that). This way grabbing of keyboard shortcuts doesn't happen.
Related: https://forum.kde.org/viewtopic.php?f=111&t=121907
And upstream it's here: https://github.com/liballeg/allegro5/issues/392
If you can make AGS match your screen resolution in windowed mode (I managed to do it for 1920x1200 using "6x nearest neighbor" filter that ags provides) - the best workaround is to run it like that and then turn it into fullscreen with your window manager (KDE allows that and you can even set a persistent window rule like that). This way grabbing of keyboard shortcuts doesn't happen.
Related: https://forum.kde.org/viewtopic.php?f=111&t=121907
Post edited January 28, 2016 by shmerl