-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thinkpad X280 and i915 driver: Screen freezes for seconds occasionally #2023
Comments
Just noting things down for future reference: I currently don't and never have observed any of the described behavior on gala/wingpanel/dock main so maybe a hardware issue? However during development I've seen similar symptoms arise when misusing the pantheon wayland protocol from the client side. |
@leolost2605 Thanks for commenting. Think I experienced the same with X11 and the X250 at least. Don't know if there's anything specific about the Lenovo X series architecture. Do you think any relation to #2024 is possible, some kind of overflow? |
Further note: I am/was running the Nextcloud desktop client on both machines. Currently it seems the freezes don't occur when I quit the client, but occour more often when I edit and save or move a local file synced via Nextcloud. Does this sound reasonable to you? Edit: After checking this twice this really seems related to the Nextcloud desktop client. But don't know where to start debugging yet. |
I'm not experiencing this issue anymore since the last updates. I don't know if this is by coincidence. But I'm closing it for now and going to reopen it in case it occurs again. |
Reopening this as occasional hangs keep occuring. I think it's not only the Nextcloud client but tasks with heavy IO that lead to the screen becoming stuck for some seconds. I don't know the code, but it seems to me there is some piece connected with IO that's not working async. |
Hmm that could very well be. I think KDE had a similar problem about doing heavy caching. Are you running an HDD by chance? |
Nope, only SSD. Is there a good way of debugging? Which place could I start digging into the code and maybe set some debug messages? |
Found the following log messages in
Don't know if any of these may cause the issue? geoclue or zeitgeist-datahub? |
During next hang appeared again:
|
Edit: It further freezes. Even without zeitgeist-datahub running. |
I freshly installed and just started GNOME Contacts, which had to load quite some addressbooks and lots of contacts of mine - and the whole screen froze again for quite some seconds. It seems to be related to IO, but it may be some synchronous waits as well as Zeitgeist as Evolution Data Server. |
I made it freeze again by using Starfish app and opening a domain (that was somehow hanging and using lots of CPU cycles which lead to the "app is not answering do you want to kill it?" dialogue). Log:
|
Two further freezes occured while doing some accidental stuff like scrolling through mails and opening the browser. In the syslog I only found entries about rtkit-daemon which I now disabled to see if it is causing the issues. If it is may that prove the theory that the freezing is related to synchronously handled DBus calls/events? |
Still observing freezes. Maybe they are shorter now and there no log messages at those times anymore… |
Coming back to @leolost2605's first proposal: Hardware/driver issue. From time to time
Symptoms look like the i915 driver hanging issue documented here: Edit: Currently I'm trying to add Edit 2, note: Check the effect with |
The latter is interesting: Neither land kernel options as boot parameters in grub nor does the updated kernel (-41) happen to be booted. It's still the old one (-40). What's going on there? |
Working with the machine having the I now need to figure out how to make the fix permanent as configuring grub does not work as pointed out above? Maybe that is a separate issue for another repo? |
Permanent fix works by creating the file and entering:
Afterwards make sure to execute: Then reboot. Check the effect with Still don't know why grub parameters don't work and why it would load the older kernel. |
The resolution to graphic hangs is described above. Boot issues are resolved by the last updates as documented in elementary/switchboard-plug-about#335. Closing this issue as resolved. |
What Happened?
Using the current OS 8 preview/daily, Wayland session, ThinkPad X280, Intel graphics, I observe a complete freeze of the whole screen (including the mouse pointer) for seconds. During this time it just hangs and would not change output, but seems to be processing the last action in the background and - after the freeze - present the result (e.g. scrolling down, opening a new window). This observation is not bound to a certain behaviour/triggering action and appears from time to time. It seems to me I experienced the same behaviour on my X250 using X11 session with OS 6.1/7.1 as well.
Any hints on how to debug this? I did not find any helpful messages in /var/log/syslog for the time this issue arose.
Steps to Reproduce
Just use the Pantheon desktop. Behaviour does not seem to relate to any specific action.
I am using the Wayland session, I have enabled fractional scaling and set it to 125%
Expected Behavior
The UI/screen should not freeze.
OS Version
8.x (Early Access)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
ThinkPad X280, Intel graphics.
The text was updated successfully, but these errors were encountered: