Setting dual monitor game machine, 1 CRT and 1 LCD - how to

I’m not sure how that setup would work.

I have not tested Xubuntu. So, The Xorg vre/config may not work well or at all as you have stated.

This has been tested and proved working on:

Ubuntu 14, 16, 18 Lubuntu 16, 18 Arch Linux with Xorg + LXDE

Not working or partially working: Fedora - switching does not always work and revolutions look odd when switching does work.

I think after your report I will be adding Xubuntu to the not working list. I believe this is an issue with the windowing environment XFCE

Hi @Alphanu , sorry for my bad english, i just installed Retroarch nightly build (with testing repo) to try out your latest CRTSwitchres changes (I was hoping the multi monitor setup finally worked) but nothing, same problem, resolutions are applied to wrong monitor, below my xradr: https://pastebin.com/93ALkBVQ

As you can see CRTSwitchres append its resolutions on a disconnected monitor, the last on the xrandr list instead of the correct one (VGA-1-1).

Besides these newly modelines are not cleared when closing retroarch.

Thanks.

Currently, my changes are not merged into mainstream RA. Hopefully, this will happen later today.

1 Like

Hi @Alphanu, i think that your code are merged, but now, when i launch a game (like bubble bobble for nes) retroarch close by itself, below terminal verbose…

https://pastebin.com/wLNiZnhk

No way to start a game now… :frowning: Some idea?

@Nikoh77 I have had a look at the output. RRDdelOutputMode only runs when ReatroArch exits. So, this should not be related to the crash.

Can you test this with CRTSwitchRes turned of? and try wit a different core and game.

Can you let me know the version of Mame and rom you are using so that I can test.

@Alphanu I had already done this test, RA closes itself only with crtswitchres turned on.

My .xprofile:

xrandr --newmode "768x576x25.00"  14.750000  768 792 864 944  576 586 592 625  -HSync -VSync interlace
xrandr --addmode VGA-1-1 "768x576x25.00"
xrandr --output VGA-1-1 --mode "768x576x25.00" --right-of DisplayPort-0

I have an intel embedded video card with vga output and one discrete gpu AMD Radeon rx 570 with HDMI/DP ports.

For my tests i use nestopia as core, but e.g. with snes9x 2010 same problem.

Ok Let me do some testing. Is this all roms?

@Alphanu Yes, standard roms that i have downloaded, until yesterday they worked fine.

OK, I have located the issue. I have just submitted a pull request with a bug fix. Hopefully, this will get merged quickly.

For now you can clone and compile my git if you want to test?

1 Like

@Alphanu many thanks, you are very kind, hopefully together we can finally get your awesome crtswitchrest to work on a multimonitor setup; I’ve been waiting for about 2 years and I really want to use it :wink:

I’ve never done this and I wouldn’t want to do something wrong

do you think tomorrow they could update ra with these changes?

Hopefully, it will be merged for tonight.

The PR has been merged, so this will be fixed in the next nightly. Let me know how multi monitor goes. I may still need to work at this.

2 Likes

Sure, it will be a pleasure to help you.

@Alphanu i just update retroarch trough its testing repo but the problem persist, it closes.

Maybe not yet merged?

When I fix the bug. I tested using the cores you mentioned. I did get the same error. This was fixed. In the PR which was merged.

Do you mind checking some other cores and games ECT?

Also what distro are you on?

Have you check xrandr to make sure you don’t have any residuary CRT resllutiins?

Hi all,

I was actually bugging Alphanu in a private message when I realised I had the same error message.

Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 19 (RRDeleteOutputMode) Serial number of failed request: 67 Current serial number in output stream: 69

I will follow up in here to maybe help as well though i am not that litterate in Linux…

Hi @Miaou @Nikoh77 this is probably related to the change in auto detecting outputs. I will have to have a look at detecting this in manual mode.

In my change log notes I stated that auto switching has been moved to monitor index 20. please turn off CRTSwitchRes. change the output to monitor index 20 then turn it back on.

This currently does cause an issue if you are trying to locate which out put to use for manual/ dual monitor setups. I will work on a work around for this, please be patient.

In the mean time can you switch to monitor index 20 and confirm this is working for you?

Hi,

So I tested this on my latptop that has a vga output (the other computer has a power supply issue so i will need to replace it before testing)

Its a sony VAIO laptop with an ATI card (need to check which one)

So i switched to output port 20 and re enabled crt switchres.

For some reason the 15khz CRT screen is only displaying part of the picture (as if the CRT screen resolution switched to low and 15khz as it is stable but the game itself remained within the laptop lcd resolution)

When i try to change from dynamic to native etc RA crashes and i get the below error msg:

Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 17 (RRDestroymode) Serial number of failed request: 65 Current serial number in output stream: 66

xrandr is clean, distro is regular xubuntu 20.04 and yes, i tryed with several cores and games.

That error. Does not have to do with the crash. RRDelMode only runs when RA exits.

When you have that change reolution issue. Exit to save the setting then reload. So if it helps.