LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 11-21-2020, 07:56 AM   #1
MeinzBeur
Member
 
Registered: Nov 2020
Posts: 30

Rep: Reputation: Disabled
Pop! os does not restart properly after freezing


Hei everyone,
I posted this issue on the forum of pop os few weeks ago but never got any answer. So I am trying my chance here.
So, sometimes when I play a game a bit demanding for my computer it will freeze. I guess it has something to do with the RAM. That thing is annoying but OK, I need to accept that my laptop isn't completely new anymore
The main problem comes after, when switching off and on the laptop by pressing the ON/OFF button, it does not work. More specifically, it starts, but it will stay stuck at the last black screen before the logging in screen. The solution I found is to start Pop os using the dongle, power off from the menu, remove the dongle, restart. Then it works... But it isn't very convenient.
I do not really know where I should look... I can say that when I used ubuntu before I did not have this issue after freezing. Also, I realised that since I installed pop os 20.10 it freezes too when I drag a file from the desktop to an open folder (Topic for another thread?). That means I can test any solution you give me with that (cause otherwise I would have to wait that it randomly freezes in a game).
I run pop os 20.10 (but had the same problem with 20.04) on a ACER aspire V nitro. Intel Core i7 and a GeForce GTX 960M graphic card.
Thanks a lot for your help.
 
Old 11-21-2020, 06:27 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,386
Blog Entries: 28

Rep: Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164
Have you looked in the log files?

You may not find anything to help with the freezing itself--it may be freezing before it can log anything, though it's worth a look--but there's a good chance you will find some hints as to what's going wrong in the boot process. https://wiki.archlinux.org/index.php/Systemd/Journal

The Arch Wiki has a good article about how to use SystemD logs. You should also find log files in tradition format, as most distros I've seen use rsyslog to pipe SystemD log data into /var/log.
 
Old 11-22-2020, 03:22 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by MeinzBeur View Post
Hei everyone,
I posted this issue on the forum of pop os few weeks ago but never got any answer. So I am trying my chance here.
So, sometimes when I play a game a bit demanding for my computer it will freeze. I guess it has something to do with the RAM. That thing is annoying but OK, I need to accept that my laptop isn't completely new anymore
The main problem comes after, when switching off and on the laptop by pressing the ON/OFF button, it does not work. More specifically, it starts, but it will stay stuck at the last black screen before the logging in screen. The solution I found is to start Pop os using the dongle, power off from the menu, remove the dongle, restart. Then it works... But it isn't very convenient.
I do not really know where I should look... I can say that when I used ubuntu before I did not have this issue after freezing. Also, I realised that since I installed pop os 20.10 it freezes too when I drag a file from the desktop to an open folder (Topic for another thread?). That means I can test any solution you give me with that (cause otherwise I would have to wait that it randomly freezes in a game).
I run pop os 20.10 (but had the same problem with 20.04) on a ACER aspire V nitro. Intel Core i7 and a GeForce GTX 960M graphic card.
Thanks a lot for your help.
You don't tell us which games and which platform you play them on.

You say you suspect RAM yet you don't tell us how much you have there.

Which GPU driver are you using? I'm sure POP_OS has an "Additional drivers" utility (or sth similar) that will allow you to install the NVIDIA driver, which will be better for gaming.
 
Old 11-22-2020, 09:17 AM   #4
MeinzBeur
Member
 
Registered: Nov 2020
Posts: 30

Original Poster
Rep: Reputation: Disabled
Thanks for your answers. So here:
@ondoho
I usually play on steam. And it has happened on several games (Tomb raider, Hades, Desperados III,...). The reason why I suspect the memory is that it usually happens when it needs to load something, or when there is a visually demanding moment. The ventilation of the laptop goes crazy, and it freezes. I have 7.7 GiB and I already run the NVIDIA drivers.

@frankbell
Nope. I did not know such a thing existed But now I did. I went into var/log; and found several types of log. So I reproduced the crash using the dragging of a file from the desktop to a directory (it looks same, but I am actually not sure if it is the same crash). I attached the syslog (split in 3 files because too big), and the kernlog.
The timing is as such:
1423: Crash + switch off
1425: Switch on (does not work)
1426: switch off
1427: switch on, boot on dongle. Power off from USB-based pop os. Remove dongle.
1428: Switch on (works).
As you can see there is nothing in the log between 1423 and 1428... It seems that there is some info about the freezing itself though. But I have no idea what it means.
Attached Files
File Type: txt kernlog_crash.txt (111.3 KB, 19 views)
File Type: txt syslog_crash1.txt (191.4 KB, 18 views)
File Type: txt syslog_crash2.txt (164.1 KB, 8 views)
File Type: txt syslog_crash3.txt (214.9 KB, 8 views)
 
Old 11-23-2020, 11:01 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
The last 4 lines of your kernlog would suggest that Teams does not play well with Steam.
 
1 members found this post helpful.
Old 11-24-2020, 04:38 AM   #6
MeinzBeur
Member
 
Registered: Nov 2020
Posts: 30

Original Poster
Rep: Reputation: Disabled
You mean these ones?
Code:
Nov 22 14:29:06 pop-os kernel: [   24.293932] SGI_video_sync[2334]: segfault at e6 ip 0000558cccd7e112 sp 00007f94adff95c0 error 6 in teams[558cca297000+4bf9000]
Nov 22 14:29:06 pop-os kernel: [   24.293938] Code: e8 43 00 00 00 4c 89 f7 e8 db 01 00 00 41 8b 46 10 41 8b 4e 18 c1 e0 0c 25 00 f0 0f 00 c1 e1 14 81 e1 00 00 f0 0f 09 c1 09 d9 <c6> 01 00 81 e3 ff 0f 00 00 c6 03 00 bf 01 00 00 00 e8 f8 d4 10 02
Nov 22 14:29:06 pop-os kernel: [   24.590407] SGI_video_sync[2363]: segfault at e6 ip 0000555951368112 sp 00007f5a7e6fa5c0 error 6 in teams[55594e881000+4bf9000]
Nov 22 14:29:06 pop-os kernel: [   24.590414] Code: e8 43 00 00 00 4c 89 f7 e8 db 01 00 00 41 8b 46 10 41 8b 4e 18 c1 e0 0c 25 00 f0 0f 00 c1 e1 14 81 e1 00 00 f0 0f 09 c1 09 d9 <c6> 01 00 81 e3 ff 0f 00 00 c6 03 00 bf 01 00 00 00 e8 f8 d4 10 02
I see the link to teams (written in it) but how do you know that steam is involved? On top of that steam is not being opened at startup, so it should not be involved in anything at that stage.
 
Old 11-24-2020, 11:48 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by MeinzBeur View Post
but how do you know that steam is involved?
Because you wrote it happens when you play (steam) games.

Disable Teams autostarting after login.
 
Old 11-26-2020, 02:50 AM   #8
MeinzBeur
Member
 
Registered: Nov 2020
Posts: 30

Original Poster
Rep: Reputation: Disabled
I am really sceptical that teams has any role into this. I had that issue before using teams at all.
 
Old 12-14-2020, 11:06 AM   #9
MeinzBeur
Member
 
Registered: Nov 2020
Posts: 30

Original Poster
Rep: Reputation: Disabled
Disabling teams did not change anything.
 
Old 12-16-2020, 02:45 AM   #10
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 4,005
Blog Entries: 33

Rep: Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471
MeinzBeur,

If you did not have this problem with Ubuntu, why not use Ubuntu instead?
 
Old 12-16-2020, 03:55 AM   #11
MeinzBeur
Member
 
Registered: Nov 2020
Posts: 30

Original Poster
Rep: Reputation: Disabled
Because there are many other features from pop os that are better than ubuntu (I know this is subjective).
 
Old 12-16-2020, 11:44 AM   #12
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by MeinzBeur View Post
Hei everyone,
I posted this issue on the forum of pop os few weeks ago but never got any answer. So I am trying my chance here.
So, sometimes when I play a game a bit demanding for my computer it will freeze. I guess it has something to do with the RAM. That thing is annoying but OK, I need to accept that my laptop isn't completely new anymore
The main problem comes after, when switching off and on the laptop by pressing the ON/OFF button, it does not work. More specifically, it starts, but it will stay stuck at the last black screen before the logging in screen. The solution I found is to start Pop os using the dongle, power off from the menu, remove the dongle, restart. Then it works... But it isn't very convenient.
I do not really know where I should look... I can say that when I used ubuntu before I did not have this issue after freezing. Also, I realised that since I installed pop os 20.10 it freezes too when I drag a file from the desktop to an open folder (Topic for another thread?). That means I can test any solution you give me with that (cause otherwise I would have to wait that it randomly freezes in a game).
I run pop os 20.10 (but had the same problem with 20.04) on a ACER aspire V nitro. Intel Core i7 and a GeForce GTX 960M graphic card.
Thanks a lot for your help.
Looking at your kernel log in post #4, the output you posted in post #6 is talking about a segfault (Segmentation Fault) that's occurring with the SGI_video_sync extension, that appears to be caused by "teams". It's a software bug, not a hardware problem with your RAM, although a segfault does mean that a program has attempted to access memory it shouldn't be trying to access. So the only way to fix it, is with a software fix, so you'll have to report it to the relevant developers and have them fix the code responsible and release an update you can install that fixes it. Or use Ubuntu as beachboy2 has said if you didn't have the problem on that.

Is the freezing occurring exactly when the segfaults happen?

EDIT: If it's happening with more than just one program, it's possible it might be a driver bug too. Are you using NVIDIA's proprietary drivers, or the open-source driver? Which driver were you using in Ubuntu?

You can check with the following command at the terminal:

Code:
lspci -nnk | grep -A3 VGA

Last edited by jsbjsb001; 12-16-2020 at 12:03 PM. Reason: added questions and more info
 
Old 12-17-2020, 04:01 AM   #13
MeinzBeur
Member
 
Registered: Nov 2020
Posts: 30

Original Poster
Rep: Reputation: Disabled
Thanks for the detailed answer. So:
* Ok, that segfault thingy is something new to me. I get the issue, but I don't think there is anyway to get it fix, as teams full name is "Microsoft teams". Wish me good luck to get the developers to fix it
* No, the segfaults seems non related to the freezing; for at least 2 reasons: (i) Segfault happens when teams opens, regardless of the computer freezing before or after and (ii) I had freezing issues before I even installed teams on my computer.

As much as it puzzles me I don't think the segfault creates any issue in the running of my computer, and I am forced to use it for my work. I don't think I can get microsoft to change their software.

So seems to me that we don't have a solution to my issue. Maybe the attached picture can help. When I restart after the freeze, it sometimes blocks on this screen instead of a black screen. I guess that could mean that there is actually more than reason why my computer freezes.

EDIT: just saw your edit to the previous post. I use NVIDIA drivers 455. I had NVIDIA also when I was on Ubuntu, not sure which version though. I moved to pop os in february this year, so I guess the latest NVIDIA primers at that time.


NEW EDIT: Wait, no. Actually this is maybe weird:
* In the pop shop I can see that NVIDIA drivers 455 are installed.
* In the NVIDIA X server settings it tells me that 440.95.01 is in use.
* and the output of lspi is:
Code:
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06)
	Subsystem: Acer Incorporated [ALI] HD Graphics 530 [1025:1039]
	Kernel driver in use: i915
	Kernel modules: i915
That does not seem like NVIDIA to me, right?
Attached Thumbnails
Click image for larger version

Name:	20201210_103716.jpg
Views:	18
Size:	256.2 KB
ID:	34903  

Last edited by MeinzBeur; 12-17-2020 at 04:08 AM.
 
Old 12-17-2020, 07:48 AM   #14
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
From the research I've done, I'm not sure that the segfault and the error messages in the screenshot you posted are related at all, and therefore I'm thinking that they are two different problems at this point. Although when I replied before, I wasn't sure if you were talking about Microsoft Teams or something else called "teams", but I did find this when I replied before, so it seems they already know about the bug.

The reason the lspci output says Intel graphics while you have NVIDIA graphics drivers installed is probably because you have a NVIDIA Optimus setup. In relation to the error messages [in your posted screenshot] from ACPI, my research suggests it maybe that your graphics hardware/setup may have problems with KMS (Kernel Mode Setting). You can try disabling KMS and see it that helps.

Steps to do that:

1. When your machine boots and you see the GRUB menu asking you to select a choice (eg. a normal boot, recovery mode, etc), select whatever the normal boot option you use to start the system and press "e".
2. Use the down arrow key on your keyboard to scroll down to the line that starts with the word "linux".
3. Use the right arrow key to move the cursor to the end of that same line, then press the spacebar key.
4. Type in nomodeset then press CTRL+X (not including the plus sign).

Although, note that this will only disable KMS for that session, and not permanently.

For example:

Code:
linux   /boot/vmlinuz-5.9.14-desktop-2omv4002 root=UUID=2109a25b-cf60-41f1-965c-1b08dd9cf9b5 ro single  failsafe nomodeset xdriver=vesa vga=788 acpi_osi=Linux acpi_osi='!Windows 2012' acpi_backlight=vendor systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M audit=0 rd.timeout=120
The above line will look a little different on your machine, particularly the version of your kernel and the UUID for your root partition.

Last edited by jsbjsb001; 12-17-2020 at 09:19 AM. Reason: made post a little clearer and added more info
 
Old 12-19-2020, 04:26 AM   #15
MeinzBeur
Member
 
Registered: Nov 2020
Posts: 30

Original Poster
Rep: Reputation: Disabled
Yes, I agree with you regarding the segfault issue. Well, obviously they know about the issue since some months... and obviously it will remain for a while more

Ok. I had never heard about this Optimus setup before.

For the whole KMS setting stuff. I had already looked into it a while ago. There are a bunch of forum posts on the topic. I can't remember exactly what I did but it obviously did not work at that time. "Luckily" my computer crashed while playing yesterday evening, so I tested your fix this morning:

I attached the screen after pressing "e" in GRUB. Maybe you can find some info there.
I added `nomodeset` in the line and pressed ctrl + X.
The screen gets back to the one in the previous screenshot (platform device creation failed: -16 + other things) and quickly after this line is appended to the screen:
Code:
[    4.321480] systemd[1]: Failed to start Remount Root and Kernal File Systems.
Then I get to a next screen where there is only a lower dash blinking, and after 1 min maybe this appears:
Code:
[    66.686119] hdaudio hdaudioCOD2: Unable to bind the codec]
Not sure if this is linked to the problem.Probably not (https://ubuntuforums.org/showthread.php?t=2437409). In any case nothing happened in the next 5 mins, so I just rebooted the computer on the pop os dongle to get around the issue (as described in earlier posts).

Does that trigger any guess?
Attached Thumbnails
Click image for larger version

Name:	20201219_105116.jpg
Views:	13
Size:	255.7 KB
ID:	34927  
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] samba needs a restart after a system restart dimm0k Slackware 16 12-04-2016 03:34 PM
[SOLVED] My Fedora 13 keeps freezing and freezing.. One Clueless Man Linux - Newbie 7 08-18-2010 10:33 AM
Program to get mail from POP server, that acts as POP server MQMan Linux - Networking 5 01-19-2007 02:26 PM
ET not running properly, freezing etc edM Linux - Games 7 10-20-2005 02:48 PM
Restart And Freezing.. NePt Mandriva 15 02-18-2005 09:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration