[Bug 1893969] Re: Characters are rendered with a slight border when using custom xrandr scaling

2020-10-19 Thread Ethan Blanton
The emacs rendering bugs go away with this RandR configuration:

xrandr --fb $((1920 * 3))x1080 --dpi 100 \
   --output eDP-1 --mode 1920x1080 \
   --output DP-2-8 --auto --left-of eDP-1 \
   --output DP-2-1 --auto --left-of DP-2-8

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1893969

Title:
  Characters are rendered with a slight border when using custom xrandr
  scaling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/emacs/+bug/1893969/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893969] Re: Characters are rendered with a slight border when using custom xrandr scaling

2020-10-02 Thread Ethan Blanton
I just filed #1898210 for comment #9.

Note for the record that the Emacs behavior is _exactly the same_ as
Firefox, and is not _always_ related to the cursor.  In particular,
changing window focus causes it to redraw correctly without fail.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1893969

Title:
  Characters are rendered with a slight border when using custom xrandr
  scaling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/emacs/+bug/1893969/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893969] Re: Characters are rendered with a slight border when using custom xrandr scaling

2020-10-02 Thread Ethan Blanton
I will open a second bug for comment #9, then.

Regarding #8 and Emacs; I am running exactly the same Emacs with exactly
the same configuration (the configurations are both checkouts of exactly
the same Mercurial repository) on three different machines.  This is the
only machine that displays that behavior (and it also has _numerous_
other display problems, as described above).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1893969

Title:
  Characters are rendered with a slight border when using custom xrandr
  scaling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/emacs/+bug/1893969/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893969] Re: Characters are rendered with a slight border when using custom xrandr scaling

2020-10-01 Thread Daniel van Vugt
Comment #8 looks like the same bug, which I would now assign to either
emacs or xorg-server.

Comment #9 looks like a different bug so let's not discuss that here.
Each problem should have a separate bug report.


** Package changed: compton (Ubuntu) => xorg-server (Ubuntu)

** Also affects: emacs (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1893969

Title:
  Characters are rendered with a slight border when using custom xrandr
  scaling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/emacs/+bug/1893969/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893969] Re: Characters are rendered with a slight border when using custom xrandr scaling

2020-10-01 Thread Daniel van Vugt
Comment #8 looks like the same bug, which I would now assign to either
emacs or xorg-server.

Comment #8 looks like a different bug so let's not discuss that here.
Each problem should have a separate bug report.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1893969

Title:
  Characters are rendered with a slight border when using custom xrandr
  scaling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/emacs/+bug/1893969/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893969] Re: Characters are rendered with a slight border when using custom xrandr scaling

2020-10-01 Thread Ethan Blanton
I have other problems that I assume are related but may not be the same
bug, so I did not report them here; for the record (in case it helps),
they include:

* OBS will not repaint its preview window _at all_ and sometimes hangs
UNLESS I move it to my leftmost display (DP-2-1) _and resize it_.  After
doing this, it is reliable and works normally on ANY display.  If I
don't do this, it doesn't repaint at all on any display.  The UI works
fine, but the video overlay (via whatever method it uses) for the
preview window just shows a gray box that sometimes takes on corruption.

* Electron apps run fine on DP-2-1 and DP-2-8, but if I move them to
eDP-1 (located at the far right, the only unscaled panel running
3840x2160) they are _extremely_ slow to draw.  Typing in the window, the
characters take up to several seconds to show up on screen, and clicks
take seconds to register.  This is visible in Slack, Discord, Keybase,
and Element.  Disabling GPU acceleration (either via the app preference
in Slack, or the Electron option --disable-gpu for others) causes them
to run normally, with no lag.

* OpenGL applications _in general_ run terribly on eDP-1; with
vblank_mode=0, maximized glxgears runs over 400 fps on DP-2-1 and
DP-2-8, but under 100 on eDP-1.  I have seen it run as few as ~15 FPS on
eDP-1 but am not seeing that currently; that may be related to other
factors?

* Video playback is noticeably jerky sometimes, appearing to skip or
jitter frames.  I have not noticed whether it matters which display I am
using when this happens.  Sometimes I don't notice it, sometimes it
seems pretty bad.  This is visible using mplayer or watching YouTube in
Firefox.  This is a subjective point, I cannot _measure_ the frame drops
(or at least, I don't know how).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1893969

Title:
  Characters are rendered with a slight border when using custom xrandr
  scaling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compton/+bug/1893969/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893969] Re: Characters are rendered with a slight border when using custom xrandr scaling

2020-10-01 Thread Ethan Blanton
This video shows litter at the cursor when using Swiper for Emacs
search.  Note near the top left of the screen, while the search string
"bitwise" is being typed in at the bottom, that the first match (the
word Bitwise in \subtitle{Bitwise Operations}) does not correctly
repaint, with echoes of the cursor being left behind as it moves across
the word.

This is the Ubuntu-installed Emacs 1:26.3+1-1ubuntu2, using Swiper
installed from ELPA; however, this sort of corruption shows up in a
variety  of cases in Emacs (this is just the most reliable method I know
to trigger it).

Compton is NOT running in this test.  Xorg is modesetting.  Kernel is
5.4.0-42-generic.

Firefox just glitched significantly while looking up how to reliably
determine my Xorg server module, I will upload a video of that, as well.

** Attachment added: "emacs-search.mp4"
   
https://bugs.launchpad.net/ubuntu/+source/compton/+bug/1893969/+attachment/5416131/+files/emacs-search.mp4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1893969

Title:
  Characters are rendered with a slight border when using custom xrandr
  scaling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compton/+bug/1893969/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893969] Re: Characters are rendered with a slight border when using custom xrandr scaling

2020-10-01 Thread Ethan Blanton
This video is taken under the same conditions as the previous (emacs-
search.mp4) video.  It shows me killing a Firefox tab, and the screen
covered in litter; as I edit in the Launchpad comment box and move the
cursor within firefox, you can see parts of the screen repaint.  The
entire window does not repaint until I move the cursor to focus another
window (off-screen to the right).

Again, compton not running, Xorg modesetting server 2:1.20.8-2ubuntu2.4,
Linux 5.4.0-42-generic.

** Attachment added: "firefox-kill-tab.mp4"
   
https://bugs.launchpad.net/ubuntu/+source/compton/+bug/1893969/+attachment/5416143/+files/firefox-kill-tab.mp4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1893969

Title:
  Characters are rendered with a slight border when using custom xrandr
  scaling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compton/+bug/1893969/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893969] Re: Characters are rendered with a slight border when using custom xrandr scaling

2020-10-01 Thread Ethan Blanton
I have disabled compton as follows:

* Quit Firefox and other applications that have shown these problems
* Kill compton
* Restart applications

Unfortunately, I still see the same behavior, in just a few seconds of
tinkering.  I'll leave compton off until I have to start it (e.g., for
Zoom, which won't run without a compositor) and see if I can get another
screen shot.

If that is not a suitable method to rule out compton as the culprit,
please let me know how I should do so.  (But it seems to me that if it
is not running, it's probably not the problem.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1893969

Title:
  Characters are rendered with a slight border when using custom xrandr
  scaling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compton/+bug/1893969/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1893969] Re: Characters are rendered with a slight border when using custom xrandr scaling

2020-10-01 Thread Daniel van Vugt
In my experience the kind of corruption shown in comment #3 can only
happen with X11 compositors. Because only X11 allows apps to defer
responsibility for placing parts of the app (like characters in an
editor) to a separate compositor.

So this is probably a bug in compton. Less likely a bug in Xorg.

** Package changed: xorg-server (Ubuntu) => compton (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1893969

Title:
  Characters are rendered with a slight border when using custom xrandr
  scaling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compton/+bug/1893969/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs