Linux - Laptop and NetbookHaving 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 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.
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.
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.
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.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by MeinzBeur
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
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
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
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
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.