LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-03-2021, 06:43 PM   #1
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora, Mint, MX Linux
Posts: 178
Blog Entries: 1

Rep: Reputation: 20
Extremely Slow Linux on AMD Ryzen 3550H


The system runs Linux extremely slow .. seconds between keystrokes. I have tried Ubuntu 20.04, Mint, MX Linux, Fedora and Debian (all latest releases) to no avail. They either run extremely slow or crash. Here's my info:

HP Pavilion Gaming - 15-ec0013dx
Processor: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx 2.10 Ghz
RAM: 16.0 GB
System Type: 64 -bit Operating System, x64-based processor

I have two SSD's. One is 250 GB containing Windows (fast and no problems) and the second is 1 Terabyte partitioned as follows:

General Data
566 GB NTFS
---Linux---
Size Used Type
512 MB 1.05 MB Primary
186 GB 12.54 GB Logical
201 GB 50.66 MB Primary

Could my partitioning / installation of the second "data" drive be a reason?
 
Old 04-03-2021, 07:06 PM   #2
leclerc78
Member
 
Registered: Dec 2020
Posts: 179

Rep: Reputation: Disabled
I would revise the swapping scheme, but try first to set swappiness to 0 (with 16GB RAM you can afford it).
 
Old 04-03-2021, 07:36 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
My first suspect is graphics. I'd examine logs to make sure the drivers are loaded along with firmwares, I think there are several blobs to be loaded to make it work. With newest hardware automatic setup may fail and manual intervention is required.
 
Old 04-03-2021, 07:37 PM   #4
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,849

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
Quote:
Originally Posted by loftus49 View Post
The system runs Linux extremely slow .. seconds between keystrokes. I have tried Ubuntu 20.04, Mint, MX Linux, Fedora and Debian (all latest releases) to no avail. They either run extremely slow or crash. Here's my info:

<snip>

I have two SSD's. One is 250 GB containing Windows (fast and no problems) and the second is 1 Terabyte partitioned as follows:

General Data
566 GB NTFS
---Linux---
Size Used Type
512 MB 1.05 MB Primary
186 GB 12.54 GB Logical
201 GB 50.66 MB Primary

Could my partitioning / installation of the second "data" drive be a reason?
Define "crash". Is the system hanging/going catatonic? Are you receiving a kernel panic message?

It'd might be simpler to obtain the output of "sudo fdisk -l" when you're running Linux and post that. (Within "code" tags, please. Highlight the fdisk output and click on the "#" above the Message window.)

Also, can you reply back with the output of "free" and "uptime"---if possible, twice: when the Linux system is "fast" and again when it's running "slowly". Again, post each of these inside "code" tags.

What do you have running when Linux gets slow?
 
Old 04-03-2021, 07:48 PM   #5
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora, Mint, MX Linux
Posts: 178

Original Poster
Blog Entries: 1

Rep: Reputation: 20

leclerc78
Thank you I'll try setting swappiness to 0

Emerson Also thank you. Unfortunately, I don't know how to "make sure the drivers are loaded" and then how to automate their loading going forward. I'm sort of like a bull that needs to be led by a ring in the nose. Is there anywhere I can go to get specific code to do this?
 
Old 04-04-2021, 08:21 AM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
loftus49,

I do not have such hardware and can't tell from experience. In general, you examine your dmesg, there is kernel hardware initialization, any problems seen there should be corrected before further troubleshooting. Then the next step is examining your Xorg log, graphics driver loading is seen there (in case you are using Wayland I even do not know where it logs).
I suspect the correct driver for your graphics is not loaded, causing Xorg to fall back to a generic driver which does not support video hardware acceleration.
 
Old 04-04-2021, 11:24 AM   #7
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora, Mint, MX Linux
Posts: 178

Original Poster
Blog Entries: 1

Rep: Reputation: 20
Again, thank you for the responses. There is no "fast" running linux and "slow" ... it is all slow, very slow or "crashes" defined as freezes and locks up .. no key/mouse/input device works, including ctrl C.

I will re-install a distro (done this about 8 times now)then examine dmesg. However I don't know what to look for to determine if "any problems" need to be corrected. I will also examine Xorg to see if a graphics driver (correct one or not) is loading. But once again, I don't know what the "correct" graphics driver should be.

But I'll stay at it!
 
1 members found this post helpful.
Old 04-04-2021, 11:43 AM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Commendable attitude!

In a terminal window type:
Code:
dmesg | pastebinit
Then post the link.
 
Old 04-04-2021, 11:05 PM   #9
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora, Mint, MX Linux
Posts: 178

Original Poster
Blog Entries: 1

Rep: Reputation: 20
Pastebinit link:

https://paste.ubuntu.com/p/rJ7ttb6Dkq/
 
Old 04-04-2021, 11:10 PM   #10
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora, Mint, MX Linux
Posts: 178

Original Poster
Blog Entries: 1

Rep: Reputation: 20
New info. I updated with the Radeon Vega Gfx driver and my laptop now seems to run ubuntu ok but does not work with the external Dell Ultra Sharp connected via HDMI. When I connect to the external display the system slows down considerablyu and often "hangs up" - freezing window or being unresponsive to keys.
 
Old 04-05-2021, 12:03 AM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,361

Rep: Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190
That pastebin shows nouveau driver constantly causing a kernel oops. That explains everything running slow/locking up. Do you have NVIDIA video as well - maybe on the motherboard ?
 
Old 04-05-2021, 04:56 AM   #12
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Yes, has this laptop hybrid graphics?

https://www.ordinatechnic.com/genera...ybrid-graphics

Last edited by Emerson; 04-05-2021 at 04:58 AM.
 
Old 04-05-2021, 10:57 PM   #13
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora, Mint, MX Linux
Posts: 178

Original Poster
Blog Entries: 1

Rep: Reputation: 20
Yes.

1. AMD Radeon Vega 8 Graphics
2. NVIDIA GeForce Gtx 1050
 
Old 04-06-2021, 04:06 AM   #14
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
There seems to be a solution, good luck.
 
Old 04-06-2021, 09:56 AM   #15
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
That solution is extremely dated. Hardware has changed / improved since that thread was initially posted.

The best solution I have seen is to install the nvidia drivers instead of relying on the nouveau drivers for nvidia. That requires running X instead of wayland (which will happen automatically), then in most cases everything just works for those who have posted results.

There are a few similar questions on the ask fedora forum.
 
  


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
LXer: This Week in Linux 110: AMD Ryzen Linux Laptops, Thunderbird 78, Cooler Master Raspberry Pi Case LXer Syndicated Linux News 0 07-28-2020 10:15 PM
LXer: Overclock your AMD Ryzen Mobile on Linux with Ryzen Controller LXer Syndicated Linux News 0 08-27-2019 06:31 PM
LXer: How to Overclock Your AMD Ryzen CPU On Linux LXer Syndicated Linux News 0 08-31-2017 03:02 PM
LXer: Monitor AMD Ryzen Temperatures In Linux with latest kernel modules LXer Syndicated Linux News 0 07-21-2017 07:33 AM
IBM T42 "Extremely, EXTREMELY Slow" alwayslearning Linux - Laptop and Netbook 5 10-11-2009 03:34 AM

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

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