Re: [gentoo-user] Why is KDE so bad at multiple monitors?

2024-02-25 Thread Mark Knecht
On Sun, Feb 25, 2024 at 10:35 AM Daniel Frey  wrote:

> I probably should have added more details... I do have an nvidia card -
> RTX 3070Ti. Monitors use 2x DP ports and 1x HDMI port.
>
> KDE behaves very strangely. Like, it crashes often when using multiple
> monitors and I've never been able to figure that out.
>
> nvidia-settings (which I plain forgot about) can generate an Xorg.conf
> file from what I remember, maybe I'll try that.
>
> I currently don't have an Xorg.conf (as everything I've read says it
> should autodetect...) so maybe I'll try overriding it.
>
> Dan

I'm not Gentoo-based but have a similar setup. 3080ti, 2 Asus
monitors, 1 Samsung, all running 1920x1080, all in landscape.

I have absolutely no problems at all with KDE remembering where
everything goes, all 3 monitors, all taskbars, for multiple users
with different configurations. I use 1 HDMI cable and 2 HDMI->DVI
cables. Everything just works.

I have no xorg.conf file.

I tried Wayland for a while but there were too many weird artifacts
so I'm back to basics.

I'd suggest you look carefully at every flag you are using to
build your software. I've used 3 distros here recently, as well
as Win 10 & 11 and none of them have had problems like
you are describing.

Best of luck,
Mark


Re: [gentoo-user] Why is KDE so bad at multiple monitors?

2024-02-25 Thread Michael
On Sunday, 25 February 2024 17:36:25 GMT Daniel Frey wrote:
> On 2/25/24 01:01, Michael wrote:
> > I used to experience the same when using Xorg with AMD-Radeon graphics
> > instead of Nvidia, but since I moved to Wayland the problem of losing
> > screen settings has gone.  One monitor is using the DVI port of the card
> > and the other HDMI. It should be worth trying Wayland instead of Xorg to
> > see if it works out better for your setup.
> 
> I actually tried Wayland maybe 3 months ago to try to solve the problem.
> Wayland doesn't work at all - it just gave me a blank screen at login. I
> did check USE flags and recompiled and still login did not work at all.
> 
> At least Xorg gave me a misconfigured working login (better than no
> login at all.)
> 
> -Dan

>From the little I know about Nividia nuances the symptom of a black screen 
points to KMS mode setting missing in the kernel.  Also nvidia_drm.modeset 
should be able to load without errors, or the wayland compositor will not 
work.  Also, I recall reading somewhere Nvidia does not like monitors with 
different resolutions and refresh rates, but I don't know if there is any 
workaround to this.  TBH I moved away from Xorg because it was getting worse 
and worse over time with my graphics.  Wayland was a bit unstable on my 
systems in the beginning, but over time it has improved significantly.


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Why is KDE so bad at multiple monitors?

2024-02-25 Thread Daniel Frey

On 2/25/24 01:01, Michael wrote:


I used to experience the same when using Xorg with AMD-Radeon graphics instead
of Nvidia, but since I moved to Wayland the problem of losing screen settings
has gone.  One monitor is using the DVI port of the card and the other HDMI.
It should be worth trying Wayland instead of Xorg to see if it works out
better for your setup.


I actually tried Wayland maybe 3 months ago to try to solve the problem. 
Wayland doesn't work at all - it just gave me a blank screen at login. I 
did check USE flags and recompiled and still login did not work at all.


At least Xorg gave me a misconfigured working login (better than no 
login at all.)


-Dan



Re: [gentoo-user] Why is KDE so bad at multiple monitors?

2024-02-25 Thread Daniel Frey

On 2/24/24 21:52, Dale wrote:

I have two monitors too, sort of.  One monitor is for computer stuff,
checking email, surfing the net etc etc etc.  The other monitor I use to
watch TV with.  The output from the video card second output goes to a
splitter so I can have the same video in both my bedroom and the living
room.  I use Nvidia settings to manage mine but I run into the same
problem you do.  Sometimes when I login, the second monitor output is
dead.  TV shows the dreaded "No signal" thing floating around.  I have
to open Nvidia settings, disable the second monitor output, hit apply,
click that I can see the screen still, re-enable the second monitor,
click apply, click I can see the monitor and then the second monitor
works again.  It's annoying as heck.  I'm on the 470 series of Nvidia
drivers.  Best my old card can do.  LOL

I looked in the KDE System Settings display settings screen and it shows
the same as Nvidia.  Maybe one copies the other???  There's really
nothing for me to change there so I can't hit apply.  :/   I've always
wondered if I can set this up in xorg.conf file instead of the GUI.
Maybe it would work better.  Thing is, everything says it should "just
work" and the file shouldn't be needed.

This may not be a KDE problem.  It could be a Nvidia problem.  It may be
KDE but I'm not sure which to blame.  I don't let my screen go off
except for the once a week trip to town to get shots so I just put up
with it.  The rest of the time, my monitors and TVs tend to stay on.

You are not alone.  I'm just not real sure this is a KDE problem.  It's
possible tho.  Mostly, you are not alone.

Dale

:-)  :-)



I probably should have added more details... I do have an nvidia card - 
RTX 3070Ti. Monitors use 2x DP ports and 1x HDMI port.


KDE behaves very strangely. Like, it crashes often when using multiple 
monitors and I've never been able to figure that out.


nvidia-settings (which I plain forgot about) can generate an Xorg.conf 
file from what I remember, maybe I'll try that.


I currently don't have an Xorg.conf (as everything I've read says it 
should autodetect...) so maybe I'll try overriding it.


Dan



Re: [gentoo-user] Why is KDE so bad at multiple monitors?

2024-02-25 Thread Dale
Michael wrote:
> On Sunday, 25 February 2024 05:52:20 GMT Dale wrote:
>> Daniel Frey wrote:
>>> After cursing KDE for a while with three monitors, does anyone have
>>> any idea why KDE is so bad at managing multiple monitors?
>>>
>>> All I'm trying to do is get it to remember *where* my monitors are (I
>>> have two side-by-side and one above the right monitor.) I go into
>>> System Settings, set it up and it works perfectly... until I log out.
>>> Then it resets everything and I have to set it up again.
>>>
>>> Anyone have any clue why it refuses to save settings?
>>>
>>> -Dan
>> I have two monitors too, sort of.  One monitor is for computer stuff,
>> checking email, surfing the net etc etc etc.  The other monitor I use to
>> watch TV with.  The output from the video card second output goes to a
>> splitter so I can have the same video in both my bedroom and the living
>> room.  I use Nvidia settings to manage mine but I run into the same
>> problem you do.  Sometimes when I login, the second monitor output is
>> dead.  TV shows the dreaded "No signal" thing floating around.  I have
>> to open Nvidia settings, disable the second monitor output, hit apply,
>> click that I can see the screen still, re-enable the second monitor,
>> click apply, click I can see the monitor and then the second monitor
>> works again.  It's annoying as heck.  I'm on the 470 series of Nvidia
>> drivers.  Best my old card can do.  LOL 
>>
>> I looked in the KDE System Settings display settings screen and it shows
>> the same as Nvidia.  Maybe one copies the other???  There's really
>> nothing for me to change there so I can't hit apply.  :/   I've always
>> wondered if I can set this up in xorg.conf file instead of the GUI. 
>> Maybe it would work better.  Thing is, everything says it should "just
>> work" and the file shouldn't be needed. 
>>
>> This may not be a KDE problem.  It could be a Nvidia problem.  It may be
>> KDE but I'm not sure which to blame.  I don't let my screen go off
>> except for the once a week trip to town to get shots so I just put up
>> with it.  The rest of the time, my monitors and TVs tend to stay on. 
>>
>> You are not alone.  I'm just not real sure this is a KDE problem.  It's
>> possible tho.  Mostly, you are not alone. 
>>
>> Dale
>>
>> :-)  :-) 
> I used to experience the same when using Xorg with AMD-Radeon graphics 
> instead 
> of Nvidia, but since I moved to Wayland the problem of losing screen settings 
> has gone.  One monitor is using the DVI port of the card and the other HDMI.  
> It should be worth trying Wayland instead of Xorg to see if it works out 
> better for your setup.


I've read where Wayland still has a few other issues.  I'm sure at some
point, Xorg is going to end and the switch will be the only option. 
When that time comes, likely most all issues will be fixed.  That said,
I've also read where some people really like it.  I think it is
installed here and even used by some things.  I've seen the USE flag on
a lot of packages. 

Given this only affects me once a week, I'll stay where I am at the
moment.  It is nice to know there is another option tho.  One that might
even work better.  ;-)

Dale

:-)  :-) 



Re: [gentoo-user] Why is KDE so bad at multiple monitors?

2024-02-25 Thread Paul Colquhoun
On Sunday, February 25, 2024 3:53:37 P.M. AEDT Daniel Frey wrote:
> After cursing KDE for a while with three monitors, does anyone have any
> idea why KDE is so bad at managing multiple monitors?
> 
> All I'm trying to do is get it to remember *where* my monitors are (I
> have two side-by-side and one above the right monitor.) I go into System
> Settings, set it up and it works perfectly... until I log out. Then it
> resets everything and I have to set it up again.
> 
> Anyone have any clue why it refuses to save settings?
> 
> -Dan

Have a look in /etc/Xorg/xorg.conf

Mine has this section, which I think I edited by hand. My monitor config does 
survive reboots.

Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
Screen  1  "Screen1" RightOf "Screen0"
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection


"man xorg.conf" gives the syntax. Here is the section for the "Screen" part of 
"ServerLayout"

Screen  screen-num "screen-id" position-information
One  of  these  entries must be given for each screen being used in
a session.  The screen-id field is mandatory, and specifies the Screen 
section  being  referenced.
The  screen-num  field is optional, and may be used to specify the
screen number in multi-head configurations.  When this field is
omitted, the screens  will  be  numbered  in the order that they are
listed in.  The numbering starts from 0, and must be consecutive. 
The position-information field describes the way multiple  screens
are  positioned.  There are a number of different ways that this
information can be provided:

  x y

  Absolute  x y
  These both specify that the upper left corner’s coordinates
  are (x,y).  The Absolute keyword is optional.  Some older
  versions of XFree86 (4.2  and  earlier) don’t  recognise the
  Absolute keyword, so it’s safest to just specify the
  coordinates without it.

  RightOf   "screen-id"

  LeftOf"screen-id"

  Above "screen-id"

  Below "screen-id"

  Relative  "screen-id" x y
  These give the screen’s location relative to another screen.
  The  first  four position  the  screen immediately to the
  right, left, above or below the other screen. When
  positioning to the right or left, the top edges  are
  aligned. When positioning above or below, the left edges are
  aligned. The Relative form specifies the offset of the
  screen’s origin (upper left corner) relative to the
  origin of another screen.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] Why is KDE so bad at multiple monitors?

2024-02-25 Thread Michael
On Sunday, 25 February 2024 05:52:20 GMT Dale wrote:
> Daniel Frey wrote:
> > After cursing KDE for a while with three monitors, does anyone have
> > any idea why KDE is so bad at managing multiple monitors?
> > 
> > All I'm trying to do is get it to remember *where* my monitors are (I
> > have two side-by-side and one above the right monitor.) I go into
> > System Settings, set it up and it works perfectly... until I log out.
> > Then it resets everything and I have to set it up again.
> > 
> > Anyone have any clue why it refuses to save settings?
> > 
> > -Dan
> 
> I have two monitors too, sort of.  One monitor is for computer stuff,
> checking email, surfing the net etc etc etc.  The other monitor I use to
> watch TV with.  The output from the video card second output goes to a
> splitter so I can have the same video in both my bedroom and the living
> room.  I use Nvidia settings to manage mine but I run into the same
> problem you do.  Sometimes when I login, the second monitor output is
> dead.  TV shows the dreaded "No signal" thing floating around.  I have
> to open Nvidia settings, disable the second monitor output, hit apply,
> click that I can see the screen still, re-enable the second monitor,
> click apply, click I can see the monitor and then the second monitor
> works again.  It's annoying as heck.  I'm on the 470 series of Nvidia
> drivers.  Best my old card can do.  LOL 
> 
> I looked in the KDE System Settings display settings screen and it shows
> the same as Nvidia.  Maybe one copies the other???  There's really
> nothing for me to change there so I can't hit apply.  :/   I've always
> wondered if I can set this up in xorg.conf file instead of the GUI. 
> Maybe it would work better.  Thing is, everything says it should "just
> work" and the file shouldn't be needed. 
> 
> This may not be a KDE problem.  It could be a Nvidia problem.  It may be
> KDE but I'm not sure which to blame.  I don't let my screen go off
> except for the once a week trip to town to get shots so I just put up
> with it.  The rest of the time, my monitors and TVs tend to stay on. 
> 
> You are not alone.  I'm just not real sure this is a KDE problem.  It's
> possible tho.  Mostly, you are not alone. 
> 
> Dale
> 
> :-)  :-) 

I used to experience the same when using Xorg with AMD-Radeon graphics instead 
of Nvidia, but since I moved to Wayland the problem of losing screen settings 
has gone.  One monitor is using the DVI port of the card and the other HDMI.  
It should be worth trying Wayland instead of Xorg to see if it works out 
better for your setup.

signature.asc
Description: This is a digitally signed message part.