LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-17-2018, 10:43 AM   #1
anon047
LQ Newbie
 
Registered: Jul 2018
Location: Brazil
Posts: 17

Rep: Reputation: Disabled
Angry Linux freezing


I'm not sure if I am at the correct topic, but this problem is with me for quite a while.

I posted in this forum some time ago because any linux distro I've installed on my laptop couldn't work, always freezing when something related to using the nouveau drivers would happen, like switching from the Login Screen to the Desktop Evironment.

Link to the thread: https://www.linuxquestions.org/quest...op-4175634199/

I've found that if I disable the ACPI, linux could bootup correctly.
But my laptop was getting very hot even when doing nothing.

Some weeks ago I've found that disabling the nouveau drivers with nouveau.modeset=0 would also works, but still getting hot.

Anyone have an idea of what is happening?

Thanks in advance.

PC Specs:
Acer Nitro 5 AN515-51 50U2
NVIDIA GeForce GTX 1050 4 GB gDDR5
Intel Core i5-7300HQ
 
Old 10-17-2018, 02:24 PM   #2
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
https://ubuntuforums.org/showthread.php?t=2375169
https://bugs.launchpad.net/ubuntu/+s...x/+bug/1735024
https://www.reddit.com/r/linux4noobs...51_with_linux/
seems to be a tricky laptop.
which distro do you have on this?
i would recommend something that is not ubuntu-based, maybe manjaro or antergos.
 
Old 10-17-2018, 02:49 PM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
I think you should reread that other thread. The answers were good.
There's a good link to the Ubuntu wiki regarding ACPI boot options. Another one is to kill acpid, and restart it at once with 'acpid -l' which logs stuff to syslog. Leave 'top' running in a terminal, and flick to it when X freezes to see what's hogging resources.

Some comments also refer to special instructions; use instructions for your distro. Also there was mention of Bumblebee or Prime Drivers, and it's a bit disingenuous to ask for help without declaring what you did regarding these.

What's your card? Drivers? Mesa Version? Distro? Version? Without posting Xorg.0.log, give us a snip of any warnings/errors/advice it has on the graphics setup.

/Ruefully
A couple of us became experts on incompatible cards by buying them. You might have joined that club
 
Old 10-18-2018, 08:23 PM   #4
anon047
LQ Newbie
 
Registered: Jul 2018
Location: Brazil
Posts: 17

Original Poster
Rep: Reputation: Disabled
Sorry for the late response, but I've been doing some tests.
I tried some parameters on the kernel and I got some weird results. OK here we go:

I tested acpi=off, acpi=ht, pci=noacpi, nomodeset, nouveau.modeset=0, nouveau.accel=1, noapic
And only a few would bootup my laptop.
One search I made at google said to disable nouveau drivers, and install from nvidia. But that was the worst experience because not only my laptop stopped booting but it made a really low but high pitched noise that was painful to hear.

The only way to make everything works correctly is using nouveau.modeset=0, but I had to do this just for the first time because I removed this parameter(after logged in) from /etc/default/grub and the linux kernel loaded anyways after restart. I really would like to know the reason for this.

The problem is that my laptop gets really hot, and I will show you the tests I made with different kernel parameters(the results are basically identical) and the ACPI log I got from the Log Tool from linux Mint.

If there's any more information you need, I'd like to help;

Xorg Log:
https://pastebin.com/fmfuSBWH

ACPI Logs:
[acpi_osi=Linux]
https://pastebin.com/ijDqVR2e
[nouveau.modeset=0]
https://pastebin.com/NDigUxK5

Temperature Tests:
[without kernel parameters, using nvidia card]
https://imgur.com/AKh1FW4
[acpi_osi=Windows, using nvidia card]
https://imgur.com/amIuBwI
[without kernel parameters, using intel driver]
https://imgur.com/kOV1e67
[nouveau.modeset=0, using nvidia card]
https://imgur.com/0wlkFfB
[also i tried to run overwatch to take the temperature to its limits]
https://imgur.com/f85rOHX
 
Old 10-19-2018, 02:50 AM   #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
Quote:
Originally Posted by AGneX View Post
The only way to make everything works correctly is using nouveau.modeset=0, but I had to do this just for the first time because I removed this parameter(after logged in) from /etc/default/grub and the linux kernel loaded anyways after restart. I really would like to know the reason for this.
is this the situation you're at right now?
so it's installed to hard drive, and you're booting without any added parameters, and it's getting hot?
the images suggest that
a) it's the CPU that's getting hot, not the GPU
b) it's somewhere between 30 and 60 degrees celsius? closer to 60, so say 50?

i think you should make sure we're talking about the CPU here.

you should also make sure what the nominal temperature for this CPU is.

you should also look what is eating your resources, with 'top' or 'htop'.

and we should have a closer look at your GPU drivers:
Code:
lspci -k
 
Old 10-19-2018, 03:53 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
I had more of a look than you probably did at that Xorg.0.log. It's a total disaster area, and I have never seen such a long winded output on graphics. If there's a config (a conf file or conf.d directory in /usr/lib(64)/X11 overwritten by stuff in /etc/X11/) take it out of circulation and try again. Two drivers you don't want are fbdev and vesa. fbdev is a framebuffer driver from the last millenium, and vesa is what passed for graphics when graphics cards hadn't been invented yet. I know vesa is limited to 4:3 monitors, and I think fbdev is also. They were developing those in the 1980s :-/.

It threw out the nouveau driver and is not using that. It couldn't find the monitor, and set up 640x480@60hz, which is a default mode. If you start X with no config, it should find stuff

All this points to a kernel module not being loaded as one possible explanation. Anyhow, it's a total mess, and you'll have to configure X with whatever tools your distro offers.
 
Old 10-21-2018, 10:24 AM   #7
anon047
LQ Newbie
 
Registered: Jul 2018
Location: Brazil
Posts: 17

Original Poster
Rep: Reputation: Disabled
lspci -k
https://pastebin.com/dNqiGiEg

Ok, now I tried to use FreeBSD, it worked pretty well, until I installed SLIM, the Display Manager.
Before installing Slim, I rebooted and started the X(with startx, and using mate) without any problems, everything is good, but then I decided to have a Display Manager... Tried to login and freezed.

Now I'm testing Manjaro and it is one of my favorites since Pop!_OS. (still have to use nouveau.modeset=0)

Talking about the long Xorg log, it happened only when using Linux Mint, after that I installed Ubuntu and it was a very short file.
But now with Manjaro, it's a little longer than Ubuntu's log file and less than Mint's log file.

xorg log in manjaro:
https://pastebin.com/mhTSZMpB
 
Old 10-21-2018, 10:58 AM   #8
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
To the OP - FYI: FreeBSD is Unix, not Linux. Because of it's existence on distrowatch, many people think it is Linux.

Does your laptop have 2 video cards (optimus?) I don't have a laptop so can't intelligently comment but I believe there are laptops out there with 2 video cards: one for gaming/3d and the other for just "normal" work. Is this the case with your laptop?
 
Old 10-21-2018, 12:43 PM   #9
anon047
LQ Newbie
 
Registered: Jul 2018
Location: Brazil
Posts: 17

Original Poster
Rep: Reputation: Disabled
I know freebsd is not linux and I knew people would think that.
But the case is that I wanted to show that even without using linux, the problem is there.

My laptop has intel integrated graphics and a nvidia video card.

Last edited by anon047; 10-21-2018 at 12:44 PM.
 
Old 10-22-2018, 01:19 AM   #10
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
re lspci output:
it says intel Xeon processor, i don't see a problem there.
it has, however, dual/hybrid graphics: intel and nvidia.
these need special setup to work together, it used to be bumblebee, now there's a different software (prime? optimus?) whose name i keep forgetting.
as you can see i am by no means a specialist here, never had such a setup.

you will have to search various wikis and the wild web in addition to reading our answers here.

it will be very difficult to get results if you keep switching distros, and almost impossible to help.

personally i think your intel might require some firmware, and your nvidia will benefit from the proprietary driver.
 
Old 10-22-2018, 11:55 PM   #11
anon047
LQ Newbie
 
Registered: Jul 2018
Location: Brazil
Posts: 17

Original Poster
Rep: Reputation: Disabled
I think I now what is happening, while using Windows, the fans make noise and on linux not.
Looks like something related to that, maybe the fan control system not working as my expectations.

I just have one more question and I'll mark this thread as solved. Does setting nouveau.modeset=0 bad for my laptop's performance or anything else?
 
Old 10-23-2018, 05:14 AM   #12
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
I'm presuming that's a kernel option or bootup parameter. It disables kernel modesetting.
 
Old 10-24-2018, 02:55 AM   #13
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,799
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
If you are still using Manjaro I suggest based upon https://forum.manjaro.org/t/manjaro-...l-nvidia/43356 and https://forum.manjaro.org/t/bumblebe...tel-card/43657 that your problem stems from not following Optimus hardware user installation instructions. You've mentioned using neither bumblebee nor prime nor primusrun, which indicates to me you're not done installing required software and suggest you read https://forum.manjaro.org/t/howto-se...y-driver/40225 and if necessary its references.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Freezing in many different linux distros. samool2 Linux - Newbie 3 05-02-2009 05:18 AM
Linux Freezing! DiGitaLReePer Linux - Newbie 7 06-06-2006 05:03 PM
Linux freezing kevinens Linux - Newbie 11 11-15-2004 12:58 AM
My Linux keeps on freezing. ParalyZer Linux - Newbie 3 09-28-2004 02:26 PM
Linux is freezing! Kyle Linux - General 3 02-13-2004 11:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:49 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