[Ubuntu-x-swat] [Bug 1923153] Re: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU)
I tried to install hirsute daily build (495fe189e32d873ba79d7753134c22353ea89e8e6d62498f6c825a5de6a8a4a7) and didn't see this issue. but the xorg might have some problems when using hirsute. here is the result of $ xrandr -d :0 --prop --- PRIME Synchronization: 0 supported: 0, 1 GAMMA_LUT_SIZE: 4096 range: (0, -1) DEGAMMA_LUT_SIZE: 4096 range: (0, -1) GAMMA_LUT: 0 range: (0, 65535) CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 DEGAMMA_LUT: 0 range: (0, 65535) TearFree: auto supported: off, on, auto subconnector: HDMI supported: Unknown, VGA, DVI-D, HDMI, DP, Wireless, Native HDCP Content Type: HDCP Type0 supported: HDCP Type0, HDCP Type1 Content Protection: Undesired supported: Undesired, Desired, Enabled vrr_capable: 0 range: (0, 1) max bpc: 8 range: (8, 16) underscan vborder: 0 range: (0, 128) underscan hborder: 0 range: (0, 128) underscan: off supported: off, on, auto scaling mode: None supported: None, Full, Center, Full aspect link-status: Good supported: Good, Bad CONNECTOR_ID: 80 supported: 80 non-desktop: 0 range: (0, 1) --- When issuing the same command on hirsute daily build, it shows --- non-desktop: 0 range: (0, 1) --- only. Tried packages from https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers doesn't help. ** Tags added: oem-priority originate-from-1916427 stella ** Changed in: oem-priority Assignee: (unassigned) => jeremyszu (os369510) ** Changed in: oem-priority Importance: Undecided => Critical ** Changed in: oem-priority Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1923153 Title: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1923153/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1923153] Re: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU)
When I attached another monitor to dGPU (which means connecting monitor to each iGPU and dGPU), then there is no problem. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1923153 Title: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1923153/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1923153] Re: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU)
** Tags added: amdgpu radeon ** Package changed: xorg (Ubuntu) => xorg-server (Ubuntu) -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1923153 Title: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1923153/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1923153] Re: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU)
Xorg actually doesn't have support for synchronizing multiple screens very well. The compositor can only paint all screens at once, and then the Xorg drivers have to output their areas at separate times later. The 'modeset' Xorg driver will just sync to one and tear on the others. And I am not sure how radeon/amdgpu are expected to interplay. If they support a TearFree feature then that means at least one of them has to delay each frame, which you might see as lag. Also, if the monitors have different refresh rates then there's no guarantee Xorg will sync to the fastest one -- it might sync to the slowest, which has to be worked around in the drivers. I suggest the first thing to investigate here is to see if you can get both GPUs using the same driver (from the kernel onward). Because using both 'radeon' and 'amdgpu' at the same time might be causing this. GNOME Wayland sessions don't have this problem at all because there is no Xorg and it schedules each display separately. ** Package changed: xorg-server (Ubuntu) => xserver-xorg-video-amdgpu (Ubuntu) ** Also affects: xserver-xorg-video-ati (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1923153 Title: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1923153/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1923153] Re: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU)
What is the output from 'xrandr --verbose' ? -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu. https://bugs.launchpad.net/bugs/1923153 Title: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1923153/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1923153] Re: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU)
** Attachment added: "xrandr-verbose" https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-amdgpu/+bug/1923153/+attachment/5485957/+files/xrandr-verbose -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu. https://bugs.launchpad.net/bugs/1923153 Title: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1923153/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1923153] Re: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU)
BTW, the FPS is 1. $ DISPLAY=:0 glxgears Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. 344 frames in 5.6 seconds = 61.884 FPS 5 frames in 5.0 seconds = 0.997 FPS 6 frames in 6.0 seconds = 1.002 FPS 6 frames in 6.0 seconds = 1.000 FPS --- I did confirm the i915(iGPU) + amdgpu(dGPU) could reproduce this issue as well. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu. https://bugs.launchpad.net/bugs/1923153 Title: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1923153/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1923153] Re: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU)
Ooops, single monitor, I see. Next we should probably verify whether it is mutter-specific or a general Xorg problem. Can you try a desktop that is not GNOME? -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu. https://bugs.launchpad.net/bugs/1923153 Title: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1923153/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1923153] Re: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU)
backport the patches from https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/460 doesn't help. --- * d5016e5b61f96496f9b31d14eae16f5f0148b748 (HEAD -> backport-7-patches-from-Ćukasz-sync_present_to_slave_outputs) Remove unused function ms_covering_xf86_crtc() * d892481c2a3d67462f6d2c0d762c43b63cdcd45c xserver/output: rename some badly named variables/APIs. * 1fb0dc09a60e97306088d75fefeed17a39e622ea (master) modesetting: Remove few common functions from ms namespace * a1f28e05d602f5cde825111ca0654311c2aba73b modesetting: remove unnecessary ms_covering_xf86_crtc dup of ms_covering_randr_crtc * d1b3204d1f1357426864c5125bf2ff8b84827d23 modesetting: Find crtc on secondary outputs as fallback instead of returning primary crtc * 028688ba6dc50fbc6430812c608f69912e4196d4 randr: Fix link errors after previous commit * 327441e28fa50fef18c0d15f377e61479fa956a4 present: fix msc offset calculation in screen mode * 8477111ac5e3dee4066efc689d4507fa1b245900 present: Use crtc's screen present operation for syncing * c271560a66d1d0a36dd7b784e75822ee00acc216 modesetting: Initialize present extension despite glamor is disabled * 9f5b6b400462dd5b979c40361c4fcb35d08f9dd1 apt source xserver-xorg-core -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu. https://bugs.launchpad.net/bugs/1923153 Title: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1923153/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1923153] Re: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU)
@Daniel, ok, let me try the other desktops. BTW, the cursor moves smoothly but other operations laggy (e.g. move the terminal window). -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu. https://bugs.launchpad.net/bugs/1923153 Title: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1923153/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1923153] Re: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU)
XFCE has the same result. I'm able to reproduce this issue on XFCE. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu. https://bugs.launchpad.net/bugs/1923153 Title: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1923153/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1923153] Re: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU)
The attachments only show radeon and amdgpu, but at the top of the bug you said it happens with i915 too. I wonder if you could please verify that, and if it happens with i915 then please attach data from that machine: lspci -kv > lspci2.txt journalctl -b0 > journal2.txt If we can see the same bug occurring with i915 then we might be able to exclude one of the AMD drivers and would be left with only a single driver to blame then... -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu. https://bugs.launchpad.net/bugs/1923153 Title: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1923153/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1923153] Re: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU)
here is the output ** Attachment added: "journal-b-k.log" https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-amdgpu/+bug/1923153/+attachment/5486865/+files/journal-b-k.log -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu. https://bugs.launchpad.net/bugs/1923153 Title: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1923153/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1923153] Re: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU)
** Attachment added: "journal2.txt" https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-amdgpu/+bug/1923153/+attachment/5486867/+files/journal2.txt -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu. https://bugs.launchpad.net/bugs/1923153 Title: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1923153/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1923153] Re: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU)
** Attachment added: "lspci2.txt" https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-amdgpu/+bug/1923153/+attachment/5486866/+files/lspci2.txt -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu. https://bugs.launchpad.net/bugs/1923153 Title: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1923153/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1923153] Re: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU)
@Daniel, Above are the outputs. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu. https://bugs.launchpad.net/bugs/1923153 Title: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1923153/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1923153] Re: Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU)
Thanks. That shows 'radeon' is the common problem. Also, is "AMD R7 430" a typo? Should that be "AMD R7 340"? ** No longer affects: xserver-xorg-video-amdgpu (Ubuntu) ** Summary changed: - Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) + [radeon] Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) ** Tags removed: amdgpu ** Also affects: xorg-server (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu. https://bugs.launchpad.net/bugs/1923153 Title: [radeon] Display output laggy from iGPU when operating on desktop with attaching AMD R7 430 graphic (dGPU) To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1923153/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp