Thanks for the bug report. I think this is related to a family of
scaling bugs in gnome-shell I've only discovered recently:

https://gitlab.gnome.org/GNOME/mutter/merge_requests/1004
https://gitlab.gnome.org/GNOME/mutter/issues/849

Those are not this bug, but I think it's related whereby display scaling
is confusing mutter/gnome-shell into creating textures of the wrong
size.


** Bug watch added: gitlab.gnome.org/GNOME/mutter/issues #849
   https://gitlab.gnome.org/GNOME/mutter/issues/849

** Package changed: xorg (Ubuntu) => mutter (Ubuntu)

** Summary changed:

- xorg resizes framebuffer when playing fullscreen video over and over again
+ Gnome resizes framebuffer when playing fullscreen video over and over again

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1862081

Title:
  Gnome resizes framebuffer when playing fullscreen video over and over
  again

Status in mutter package in Ubuntu:
  New

Bug description:
  When I play a video with mpv (or e.g. Firefox), it works just fine.

  When this video is fullscreened (e.g. in mpv by pressing f), the
  screen quickly turns off, and switches resolution modes in such a rate
  the screen is unusable.

  The native resolution of the screen is 1440p, but Xorg somehow
  increases the size to 3424x1926 for the fullscreen, then quickly
  switches back to 1440p, before increasing it again.

  As soon as the video is de-fullscreened (by pressing f again in mpv,
  or esc in Firefox), the funny resolution switching stops and the
  system is usable again.

  This also happens with the modesetting 2d-driver. This does not happen
  with Wayland.

  This can be seen in the Xorg-log:
  [    20.215] (II) intel(0): EDID vendor "JDI", prod id 0
  [    20.215] (II) intel(0): Printing DDC gathered Modelines:
  [    20.215] (II) intel(0): Modeline "2560x1440"x0.0  245.12  2560 2608 2640 
2720  1440 1443 1449 1502 +hsync -vsync (90.1 kHz eP)
  [   258.869] (II) intel(0): resizing framebuffer to 3424x1926
  [   258.905] (II) intel(0): switch to mode 2560x1440@60.0 on eDP1 using pipe 
0, position (0, 0), rotation normal, reflection none
  [   268.955] (II) intel(0): resizing framebuffer to 2560x1440
  [   269.097] (II) intel(0): switch to mode 2560x1440@60.0 on eDP1 using pipe 
0, position (0, 0), rotation normal, reflection none
  [   270.383] (II) intel(0): resizing framebuffer to 3424x1926
  [   270.400] (II) intel(0): switch to mode 2560x1440@60.0 on eDP1 using pipe 
0, position (0, 0), rotation normal, reflection none
  [   271.852] (II) intel(0): resizing framebuffer to 2560x1440
  [   271.858] (II) intel(0): switch to mode 2560x1440@60.0 on eDP1 using pipe 
0, position (0, 0), rotation normal, reflection none
  [   273.294] (II) intel(0): resizing framebuffer to 3424x1926
  [   273.314] (II) intel(0): switch to mode 2560x1440@60.0 on eDP1 using pipe 
0, position (0, 0), rotation normal, reflection none

  When the resolution is increased, the Kernel complains about the
  framebuffer size:

  [  269.830034] [drm] Reducing the compressed framebuffer size. This
  may lead to less power savings than a non-reduced-size. Try to
  increase stolen memory size if available in BIOS.


  
  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: xorg 1:7.7+19ubuntu13
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  ApportVersion: 2.20.11-0ubuntu16
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Feb  6 00:00:07 2020
  DistUpgraded: 2020-02-05 22:21:13,002 DEBUG Running PostInstallScript: 
'./xorg_fix_proprietary.py'
  DistroCodename: focal
  DistroVariant: ubuntu
  DpkgLog:

  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Intel Corporation UHD Graphics 620 [8086:5917] (rev 07) (prog-if 00 [VGA 
controller])
     Subsystem: Lenovo UHD Graphics 620 [17aa:2259]
  MachineType: LENOVO 20LES01W00
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-12-generic 
root=/dev/mapper/hostname-ubunturoot ro quiet splash vt.handoff=7
  SourcePackage: xorg
  UpgradeStatus: Upgraded to focal on 2020-02-05 (0 days ago)
  dmi.bios.date: 11/27/2019
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N25ET52W (1.38 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20LES01W00
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Defined
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.modalias: 
dmi:bvnLENOVO:bvrN25ET52W(1.38):bd11/27/2019:svnLENOVO:pn20LES01W00:pvrThinkPadX1Yoga3rd:rvnLENOVO:rn20LES01W00:rvrNotDefined:cvnLENOVO:ct31:cvrNone:
  dmi.product.family: ThinkPad X1 Yoga 3rd
  dmi.product.name: 20LES01W00
  dmi.product.sku: LENOVO_MT_20LE_BU_Think_FM_ThinkPad X1 Yoga 3rd
  dmi.product.version: ThinkPad X1 Yoga 3rd
  dmi.sys.vendor: LENOVO
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.100-4
  version.libgl1-mesa-dri: libgl1-mesa-dri 19.3.3-1ubuntu1
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.7-2ubuntu1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20190815-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to