Closed MattiaVerticchio closed 5 years ago
@ahkok Would this be a reasonable case for using gnome fallback?
We don't test on this exact CPU since we use mostly the APL NUC (which is a celeron j3455 and slightly more powerful, but also uses a small bit more power).
The combination with a laptop design may however significantly change the thermal envelope and bios settings may cause this cpu/gpu to have less power available for software graphics work like compositing. There is really no way to tell what appears to be the issue. Also of notice is the connected display, if it's a 4K screen then the gfx chipset may definitely have issues with that, but even at 1080p this may be a concern if the bios is attempting to keep the cpu cool by throttling it. This is much less a problem in the NUC due to it's cooling solution.
Gnome fallback is a possible solution. I'd like to know if you can play e.g. minetest or fullscreen videos using flatpaks without issue to see if the hardware accelerated parts are working efficiently, since I assume you're likely more interested in games/video than fancy desktop animations? Knowing that the hardware accelerated graphics are working well would certainly help.
Perhaps you can share your hardware model and display specs?
I'd like to know if you can play e.g. minetest or fullscreen videos using flatpaks without issue to see if the hardware accelerated parts are working efficiently
I ran flatpaks of Minetest and GNOME MPV (with hardware decoding enabled) and they were both smooth, as well as YouTube videos through Firefox with hardware acceleration force-enabled. The low frame rate persists only in the desktop environment. In addition i get direct rendering confirmed by glxinfo
, so I think the GPU is working as expected.
# glxinfo | grep "direct rendering"
direct rendering: Yes
Perhaps you can share your hardware model and display specs?
The laptop is a Chuwi LapBook 12.3 with the following specs.
# hwinfo
cat: /etc/xensource-inventory: No such file or directory
RC: 1
b''
Bios Info:
+----------------------+--------------------------------------------------+
| Key | Value |
+----------------------+--------------------------------------------------+
| bios_vendor_name | American Megatrends Inc. |
| bios_version | B3W6_NA123C.033 |
| bios_release_date | 06/12/2017 |
| system_manufacturer | CHUWI INNOVATION AND TECHNOLOGY(SHENZHEN)CO.,LTD |
| system_product_name | NA123 |
| system_serial_number | L123 Q64G60170604140 |
| system_uuid | 03000200-0400-0500-0006-000700080009 |
| chassis_type | Desktop |
| socket_designation | SOCKET 0 |
| socket_count | 1 |
+----------------------+--------------------------------------------------+
CPU Info:
+-----------+--------------+------------+-------+----------+-----------------------------------------+----------+
| processor | vendor_id | cpu_family | model | stepping | model_name | cpu_mhz |
+-----------+--------------+------------+-------+----------+-----------------------------------------+----------+
| 0 | GenuineIntel | 6 | 92 | 9 | Intel(R) Celeron(R) CPU N3450 @ 1.10GHz | 1880.837 |
| 1 | GenuineIntel | 6 | 92 | 9 | Intel(R) Celeron(R) CPU N3450 @ 1.10GHz | 2078.962 |
| 2 | GenuineIntel | 6 | 92 | 9 | Intel(R) Celeron(R) CPU N3450 @ 1.10GHz | 1137.733 |
| 3 | GenuineIntel | 6 | 92 | 9 | Intel(R) Celeron(R) CPU N3450 @ 1.10GHz | 1497.081 |
+-----------+--------------+------------+-------+----------+-----------------------------------------+----------+
Ethernet Controller Info:
+---------------+-------------------+-----------+---------------+-----------+-------------------+--------------+----------------+--------------+
| device_bus_id | vendor_name | vendor_id | device_name | device_id | subvendor_name | subvendor_id | subdevice_name | subdevice_id |
+---------------+-------------------+-----------+---------------+-----------+-------------------+--------------+----------------+--------------+
| 01:00.0 | Intel Corporation | 8086 | Wireless 3165 | 3165 | Intel Corporation | 8086 | [Device 8010] | 8010 |
+---------------+-------------------+-----------+---------------+-----------+-------------------+--------------+----------------+--------------+
Storage Controller Info:
+---------------+-------------------+-----------+--------------------------------------------------------------------+-----------+-------------------+--------------+----------------+--------------+
| device_bus_id | vendor_name | vendor_id | device_name | device_id | subvendor_name | subvendor_id | subdevice_name | subdevice_id |
+---------------+-------------------+-----------+--------------------------------------------------------------------+-----------+-------------------+--------------+----------------+--------------+
| 00:12.0 | Intel Corporation | 8086 | Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller | 5ae3 | Intel Corporation | 8086 | [Device 7270] | 7270 |
+---------------+-------------------+-----------+--------------------------------------------------------------------+-----------+-------------------+--------------+----------------+--------------+
GPU Info:
+---------------+-------------------+-----------+---------------+-----------+-------------------+--------------+----------------+--------------+
| device_bus_id | vendor_name | vendor_id | device_name | device_id | subvendor_name | subvendor_id | subdevice_name | subdevice_id |
+---------------+-------------------+-----------+---------------+-----------+-------------------+--------------+----------------+--------------+
| 00:02.0 | Intel Corporation | 8086 | [Device 5a85] | 5a85 | Intel Corporation | 8086 | [Device 2212] | 2212 |
+---------------+-------------------+-----------+---------------+-----------+-------------------+--------------+----------------+--------------+
The display is a Samsung ID SDC8353 IPS 12.3" with a resolution of 2736x1824 pixels, which could be a problem for GNOME.
As a test I logged in with GNOME Flashback (Metacity) instead of GNOME on Xorg. On Flashback I get a really smooth experience compared to Xorg, exception made for some diagonal tearing and bad HiDPI scaling, so the frame rate issue seems to be limited to the GNOME on Xorg setting.
If it helps, when running GNOME on Xorg with my AMD HD 7750 or Intel i5-4690k (4600 HD graphics series, I think), GNOME also suffers from a low framerate.
The GNOME on Wayland session fixed this for me. However, with Clear defaulting (and disabling Wayland completely now) to Xorg, this brought back the framerate issue.
we've had Wayland on for a few days now
sadly bug reports jumped up correlated with that
On Fri, Mar 22, 2019, 11:11 OpenSourceAnarchist notifications@github.com wrote:
If it helps, when running GNOME on Xorg with my AMD HD 7750 or Intel i5-4690k (4600 HD graphics series, I think), GNOME also suffers from a low framerate.
The GNOME on Wayland session fixed this for me. However, with Clear defaulting (and disabling Wayland completely now) to Xorg, this brought back the framerate issue.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/539#issuecomment-475725174, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPeFaU-y5Fe4pRan94gtXr5ZgJWiudCks5vZRy_gaJpZM4b21Yh .
That is unfortunate because it solves so many issues for me. I haven't been at my desktop for a few days, so that is why I haven't noticed! At least it's an option now.
I think Clear should default to Xorg and provide Wayland as an option. That should resolve most issues.
I'm closing this issue because I also found it in other distros (Fedora) and I think it's GNOME specific.
Describe the bug GNOME desktop runs at low (<20fps) frame rate.
To Reproduce Move windows around or observe animations.
Expected behavior Displaying smoother movements at a higher (~60fps) frame rate.
Environment:
Additional context I am using an Intel Celeron N3450 laptop with a bare metal installation. I don't really know if it's a bug or a device specific problem. I also acknowledge the N3450 is a mobile processor, but in comparison Microsoft Windows has a much smoother desktop environment than Clear Linux despite Intel's hardware optimizations. Let me know if you need other particular specs.