From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 404FD158041 for ; Sun, 3 Mar 2024 19:31:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44426E2ABA; Sun, 3 Mar 2024 19:31:34 +0000 (UTC) Received: from mail-oo1-xc32.google.com (mail-oo1-xc32.google.com [IPv6:2607:f8b0:4864:20::c32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E8847E2A12 for ; Sun, 3 Mar 2024 19:31:33 +0000 (UTC) Received: by mail-oo1-xc32.google.com with SMTP id 006d021491bc7-5a12d228941so473528eaf.1 for ; Sun, 03 Mar 2024 11:31:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709494293; x=1710099093; darn=lists.gentoo.org; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:to:subject:from:to:cc:subject :date:message-id:reply-to; bh=K51ebRqJPsJu55C15AfiJEkwgAkvUuP9y4ZHVMvUUm4=; b=XGv+v8Kg5YI8XJFhe0ltv+mLNTmqAGK2wpMxnyITfi/p2jT7s0c/0HmW8Go6IbTyfz sLC3cgbiVlTBHmeZ7MMykYiiOr1CglTFFSodi3Y4zylAtDOOhfS/vUnDsFBOY6JSY4H9 ItJIHR4fKu67FrOMIiyYhOyXOGTsVMq1wkoJdrSIcwO09hDyMhCZIMTz9L8NcD+BQ9f5 6o6gbNabFzfpxoO6P3woddhN1dqFS72xMJUI8LY65vc2bA9pdKJAPxzDb68UAWotu0Fq vgST+qmvvNf4+YHW5+PP1ZbwKobAG58WDfQZODZx8P3FaCIs6MFdwvOz9t6hWDu0w+gG g4Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709494293; x=1710099093; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:to:subject:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=K51ebRqJPsJu55C15AfiJEkwgAkvUuP9y4ZHVMvUUm4=; b=wDhWp+JbbIUHDS80JEvI4LcCate+8OcrBrqgYxp5TUSof/8LkL9LGRcuUVX9V+k1KK L5p0nu+PDkzHJyuc4+Kl32X9agIevH/hmLcU5I4Qd8GXOjKf812iAK+5UQmeCIG3rs3r 5Wv1FAXUnlBAwB9eRhTLrxsS/NVCCnFnnWR9WByJeA+gYd4JI02phpQ2P3aNi531rvkC fWHUox6tUZdUvOX5Cit9C2ya3j9xXclZYYv83XoUIFOCaOIxq7S28IW5zL0d4krUAoS+ SFEwq1Tx7MPi/O9Lq7mLfddhObB5alKBFHP2LSse5EY0NWf4MazKKhgMHcsgLu2dr3d1 v06A== X-Gm-Message-State: AOJu0YyqBP7TaB3dye1kMCrOAkSWnWoObU5zMmUpn3fGZhEnxWGUW+cM ak881ElUicqxYUkvFfwR4kiU4dkL2lwgmYwkUU5OahvUbwRENL3S X-Google-Smtp-Source: AGHT+IF+NYeXrDm2FUfixZhrOI7BQSO5qmO16s7AQi1jiRNCzDAYjgWBPcOh+OGKF2gKlDW5YpKiuA== X-Received: by 2002:a4a:928c:0:b0:5a0:daf5:a5d0 with SMTP id i12-20020a4a928c000000b005a0daf5a5d0mr5636382ooh.9.1709494292845; Sun, 03 Mar 2024 11:31:32 -0800 (PST) Received: from [10.8.8.18] ([107.179.20.190]) by smtp.gmail.com with ESMTPSA id j24-20020a4a7518000000b005a0a1aab496sm1705642ooc.44.2024.03.03.11.31.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 03 Mar 2024 11:31:32 -0800 (PST) Subject: Re: [gentoo-user] Why is KDE so bad at multiple monitors? To: gentoo-user@lists.gentoo.org References: <6c3931ca-944a-41b1-8980-6e6ac10faacd@gmail.com> <8ad6c6ce-14eb-7c3d-ef2e-3b8204fededb@gmail.com> <35dee577-dbb4-4422-8a7f-1e3dc5835a94@gmail.com> From: Dale Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata= mQINBGFSciYBEADcEGMyJBSuavKO/XKUVvgkxck7Nl8Iuu8N2lcnRji/rSKg5c1Acix1ll9i oW8JBCHwvn0+Xy60BvEsqcup3YSHw5STl/bR1ePEehtnYrg8FdjdS91+B805RfnKMm69rFVI wLSBHQrSG1yxHd8CloWoEdhmVtP24buajbh114bgXd9ahtpZrCVMrWdWYUg2mEXguGV5uNAh Rf8SWxDNc79w24JxsV34a8niMUYMjzWr0rafIbzk732X38vGjVMLo/2mMpkbp9mPp++LHoY+ 0Pet8zxxdXPJSCd475kza1AD+hhSyBZXB9yknYWgyY3cZe1rGmooJSi2KX4QxO7npwLThcO1 be6KKRkd35+Fi/a1BzVOHsZMiK/gcwxEFoMd27gir4ehaeHJfFXl+65w4hj0EsOZSxrJrm2C R50g5By2czSKP1bADEygFNpIJj51AR+wM88NImG2RPtlT2maYBzazvF05g65cdHXGp1C7W5P wwwKU2DgABB2t7N7z5A69LnryBRw4zUYDRRYLTYlBlYgg+xILm2c0OrBdxJgLJa7JE50Eo25 d3PFwt9J0gYvqy6sPFLl9So0sDg9zm0hKQtXOP5kgropUFGrNoJI+mjwF4rYLRBVzZwNAvlO OhEvHubBo3mEllv4x+FeptwXZxlk7gUsdqI8AxnFB8K9wi6FVQARAQABtBtEYWxlIDxyZGFs ZWsxOTY3QGdtYWlsLmNvbT6JAk4EEwEIADgCGyMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AW IQQSG1h01ruv/WNXc3Q3RqOgiQH1GwUCYVJ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gaFX9iQAM/CDfKvTtvgGWpqtCL2raq/mQoJEU Message-ID: Date: Sun, 3 Mar 2024 13:31:30 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <35dee577-dbb4-4422-8a7f-1e3dc5835a94@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: bc56bb52-b795-4f4b-be7e-8ead67617274 X-Archives-Hash: 763dc2037a0594b53d6e38190c975399 Daniel Frey wrote: > On 2/29/24 03:27, Dale wrote: >> To provide a little more info on how this works.  This is how I did >> it.  It helps a LOT to have tab completion with this.  It will fill >> in a lot of the info and when unsure, list the available options. >> First, I had to install the package xrandr.  My first problem is the >> command isn't available since it wasn't installed.  So, if you don't >> have it, install it. It's tiny.  This is what I have for my setup. >> You can ignore that I watch TV and just pretend you have two monitors >> side by side or whatever and get the same results.  I have a DB15HD >> connector, referred to as VGA within xrandr.  That is my main >> monitor.  The second monitor is is connected to a HDMI port, seen as >> same in xrandr, and what I watch TV with.  This is the output I >> started with to get good clues. >> >> >> root@fireball / # xrandr --listmonitors >> Monitors: 2 >>   0: +*VGA-0 1920/598x1080/336+0+0  VGA-0 >>   1: +HDMI-0 1920/1150x1080/650+1920+0  HDMI-0 >> root@fireball / # >> >> >> Since I have different ports, it is easy to see which is which.  The >> last bit is what you use in the command, not the first bits.  If all >> your ports are the same, mini HDMI for example, I think the port >> lowest to the bottom of the video card is number 0, or the first >> port.  Anyway, mine is easy.  I then typed in xrandr --output and hit >> tab twice.  It will list all the available monitors.  Pick the one >> you want to be the first output or main monitor.  In my case, VGA-0 >> as shown on the end of line one.  Once you type enough, tab >> completion will fill it in.  Then add --primary to that to make it >> the primary display. >> >> For the second monitor, continue on with the command and tab >> completion.  Type in --output and hit tab twice again to list >> options.  Pick the second monitor and type enough in for tab >> completion to fill in the rest.  Then add --right-of, --left-of, >> --above or --below and then the output device for the main monitor. >> For me, this is what my command looks like. >> >> >> root@fireball / # xrandr --output VGA-0 --primary --output HDMI-0 >> --right-of VGA-0 >> root@fireball / # >> >> >> That makes VGA the primary, HDMI-0 second and to the right of VGA-0.  >> If you have more than two monitors, just keep adding --output and >> list and place the other monitors.  I don't have the means to test >> but that should work.  I'd think setting the primary is key in this >> so I wouldn't forget to include that. >> >> Once you get that command, you can test it by going to a Konsole if >> using KDE or some other similar tool you can type commands in as root >> and run the command manually.  If it works correctly, add the command >> to the file in this path.  /usr/share/sddm/scripts/Xsetup  I haven't >> logged out and back in again yet so we will see when that happens if >> it really works and my little quirk goes away. >> >> There is a man page for this.  It may have other options that you may >> need to add.  Just keep in mind, what is between each --output is >> what it applies too.  One could have different resolutions, image >> flipped or something and lots of other options.  Just keep the >> options in the right section of the command. >> >> I hope this helps someone and makes decent sense.  I also hope it >> works after I logout and back in again.  :/   I'm making a note of >> the location in case I need to comment it out.  Better to be safe >> than sorry.  LOL >> >> Dale >> >> :-)  :-) > > I've been gone for a few days as I was rebuilding my main PC. > > I thought I'd provide an update: it was xorg-server causing all the > issues. > > I figured as I had to redo everything anyway to switch to systemd and > wayland as that's what the bigger DE's tend to be supporting nowadays. > > After fiddling around with systemd for a day (I'd tried it once before > converting a system from openrc->systemd and failed miserably - > nothing worked) I've reconfigured most things the "systemd" way. > > I guess starting fresh solves all sorts of issues. :o) > > Some things I like about systemd: >   - It is capable of automounting NFS shares out of the box; I just >     configured fstab so systemd automatically generated the automount >     configured it required. No extra steps needed; >   - It provides a scrollable list by default showing all the items you >     have access to in order to change how your machines behaves; >   - It isolates services in logs. This was helpful when sddm didn't want >     to behave. > > Some things I don't like: >   - It has nutty network configuration. It was applying an APIPA network >     address as the primary for my interface which broke all sorts of >     tools. Took me a while to figure out how to stop that. >   - It doesn't update resolv.conf even though I'd specified a DNS >     server! So literally nothing worked. For now I manually removed >     resolv.conf and put the DNS server there. Plan to use something >     else for network management that sets resolv.conf properly. I have >     no desire to use networkd-resolved. > > But, back to the original problem... > > I don't know what was broken in my original system. I always had to > reconfigure monitors every time I logged in. > > As I mentioned I switched to wayland and on the fresh install it > actually gave me a desktop. I set the monitor orientation and > location, and I can log out and back in and it remembers the monitor > orientation and location now. Which is what I was trying to solve. > > However, sddm was still quite broken and the monitors were in some > default strange configuration that made no sense. I fought with this > with xrandr trying to solve it and nothing I did would make it stick. > I then found in KDE's sccm settings you can apply the wayland desktop > settings to sccm - I did that but was disappointed when I rebooted > that it didn't work. What did work was reading the docs and switching > sddm to use wayland and kwin instead of X11! Once I did that, now the > monitor layouts are the same between the desktop and sddm. So I'm > happy about that. > > Other issues I came across were forgetting the kernel config for > nvidia cards and tty output. It took me a lot of head scratching and > searching to realize I had enabled something in the kernel that was > doing this. > > The sound server also dramatically changed as I had no sound at all > from KDE but I could see, use and get sound from the shell. Some new > pipewire thing. I really wish that devs would fix existing things that > have issues instead of making a new thing that doesn't work. > > Other than that, I really had no issues. Was able to mount encrypted > volumes with no fuss. > > I'm now working on the important bits - customizing KDE again and > restoring my backups. > > I did have an odd issue (well, still have actually - it's not > resolved) with microcode but I'll create a new thread for that. > > So, wayland and systemd actually fixed something for me. Who would've > thought... > > Dan > > Since my last post, I did my weekly updates.  During that, I log out, switch to boot runlevel, restart anything that checkrestart says needs it, then back to default runlevel and log back in.  With the config file change, my monitors came up just like they should.  I didn't have to adjust anything.  I guess it goes to show, one thing fixes one person's system while yet another fixes someone else's system.  Go figure.  ROFL  Dale :-)  :-)