bullen
Posts: 363
Joined: Sun Apr 28, 2013 2:52 pm

Dual Display Extended Window Position

Mon Jul 20, 2020 6:12 pm

I got the dual screens working in mirrored as default and then I call:

Code: Select all

xrandr --output HMDI-1 --left-of HMDI-2
And that makes them extended.

But then when I drag a window over to the 2nd screen it only stays put if the top/left corner is still on the primary screen otherwise it jumps back to the primary screen?!

Is there a way to boot with the screens extended?
https://github.com/tinspin/rupy - A tiny Java async HTTP application server.

bullen
Posts: 363
Joined: Sun Apr 28, 2013 2:52 pm

Re: Dual Display Extended Window Position

Sun Aug 02, 2020 9:55 pm

Hm, so now for some reason it works, just changed the same SD card to a 8GB raspberry and now it works... Might be that the 2nd monitor is now the same as the 1st... before it was a different 10" but with the same resolution.

But then I tried opening a game in fullscreen and the monitors are now replicating again and the command gives output HDMI-1 not found!?

Also audio only comes out of HDMI-1 if your screens are extended but then when they become replicated the audio comes out of both which leads to bad surprises for the neighbors!

Really we need to stabilize this whole thing... you cannot use this seriously unless we make it stable and usable.

Now half of the time I have to reboot and the other half of the time I have to reinstall to make things that windows just does out of the box flawlessly forever without rebooting ever! And again for all people thinking I'm just a troll, I'm not doing this to be a PITA, I really care and want to use my raspberry 4 as main computer!!!

Edit: Maybe a nice thing would be that sound is sent on the HDMI the window emitting the sound is in? The troubles you get when you don't have a DAC huh!
Last edited by bullen on Mon Aug 03, 2020 11:27 am, edited 1 time in total.
https://github.com/tinspin/rupy - A tiny Java async HTTP application server.

aBUGSworstnightmare
Posts: 2014
Joined: Tue Jun 30, 2015 1:35 pm

Re: Dual Display Extended Window Position

Mon Aug 03, 2020 5:10 am

Can't you simply use the screen configuration utility to arrange your screens? Don't forget to hit the breen butron to apply yoir settings. Reaolution and screen size don't matter ...

You should spend some mone on a larger uSD card. Btw: which Rpi4 do you use which what OS revision?

bullen
Posts: 363
Joined: Sun Apr 28, 2013 2:52 pm

Re: Dual Display Extended Window Position

Mon Aug 03, 2020 11:28 am

8GB was RAM, same SD card.

I always post about latest release so 2020-05-27.

I have used the GUI no change.
https://github.com/tinspin/rupy - A tiny Java async HTTP application server.

aBUGSworstnightmare
Posts: 2014
Joined: Tue Jun 30, 2015 1:35 pm

Re: Dual Display Extended Window Position

Tue Aug 04, 2020 5:13 am

I've started with a fresh installation and made an update/upgrade, having only HDMI0 connected so far.

Then I've added below to my config.txt

Code: Select all

hdmi_enable_4kp60=1
gpu_mem=160
Btw: I'm using a 2GB RPi4

after saving changed config.txt and shutting down the system I'm connecting the second monitor.
Reboot and I have a cloned display on HDMI1. Aligning it with screen configuration utility to have HDMI1 right of HDMI0, moving a window across both screens and it looks like this
IMG_2063.jpg
IMG_2063.jpg (106.42 KiB) Viewed 175 times
IMG_2064.jpg
IMG_2064.jpg (47.12 KiB) Viewed 175 times
Audio is on one screen only (if there's any audio at all for the HDMI connected monitor). Why do you want it on both?

bullen
Posts: 363
Joined: Sun Apr 28, 2013 2:52 pm

Re: Dual Display Extended Window Position

Tue Aug 04, 2020 5:31 am

The main problem with the raspberry is that it does not have a DAC and that no monitors have a good DACs, so children are supposed to program on the raspberry using HDMI TV sets? How many HDMI TV sets have good enough DACs to use headphones?

Audio is always put in the backseat compared to graphics but really sound is as important a sense as vision.

So to answer your question, if the raspberry had a DAC the audio would be on one output, but since it doesn't you need the audio to go to both monitors because otherwise you need to have the HDMI-1 monitor on to use only the HDMI-2 monitor for example if you watch a movie on it!
https://github.com/tinspin/rupy - A tiny Java async HTTP application server.

aBUGSworstnightmare
Posts: 2014
Joined: Tue Jun 30, 2015 1:35 pm

Re: Dual Display Extended Window Position

Tue Aug 04, 2020 5:50 am

Sorry, but are we talking about a multi-seat setup here? Why don't you add a DAC to it? Or a simple bluetooth speaker ?

How is this related to your problem with dual display window position? What would happen if your 'app in charge of audio' is moved like in my example above? Where would you expect to get the audio too (HDMI0, HDMI1, both)?

bullen
Posts: 363
Joined: Sun Apr 28, 2013 2:52 pm

Re: Dual Display Extended Window Position

Tue Aug 04, 2020 6:08 am

Like I said:
bullen wrote:
Sun Aug 02, 2020 9:55 pm
Edit: Maybe a nice thing would be that sound is sent on the HDMI the window emitting the sound is in? The troubles you get when you don't have a DAC huh!

Bluetooth is really really unstable, if you install it your audio will be borked (crackling noises) across the entire linux installation and you will have to reinstall to fix it.

+ I don't like to have to charge the headphones, and be interrupted by power loss and have to remember to power the headset on/off all the time.

I need my GPIO for a LoRa radio, so I can't use my DAC HATs.

USB Audio is crap.

The _only_ avenue is to solder a good DAC to the i2s pinout of the monitor HDMI controller if they are exposed!!!

Everything is related to being able to use raspberry as my main PC.

And we are so very far from that 10 years after the original release and 1 year after the release of the 4.
https://github.com/tinspin/rupy - A tiny Java async HTTP application server.

aBUGSworstnightmare
Posts: 2014
Joined: Tue Jun 30, 2015 1:35 pm

Re: Dual Display Extended Window Position

Tue Aug 04, 2020 9:36 am

sorry, but what exactly is the problem now? your dual display window position - as in the thread title, or your system setup (in regards of audio + LoRa + other issues)?

Anyhow, I consider this question as solved now and will not further involve myself.
Cheers!

Return to “General discussion”