LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-25-2021, 10:21 PM   #1
iworkwithu
LQ Newbie
 
Registered: Aug 2021
Posts: 22

Rep: Reputation: Disabled
Why is Ubuntu so slow at my PC?


Hi i am new to Linux and i am surprized, that my PC is slower with ubuntu (ssd1) than with W10 (ssd2).

I also could change to another distribution.
Main main goal is to program Code. But anyway i want to run applications like photoshop, Unreal Engine and eclipse, or whatever.

W10 was like super nice - but ok I used another ssd.

Maybe my ssd is bad, where my linux is on?
Can someone tell me whats up?

At the moment I have only 8 GB RAM and a Ryzen 5600g.
But for example google chrome doesnt move so smooth and with my other ssd with w10 it was so good.
---
 
Old 08-25-2021, 11:59 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
Quote:
Originally Posted by iworkwithu View Post
Hi i am new to Linux and i am surprized, that my PC is slower with ubuntu (ssd1) than with W10 (ssd2).

I also could change to another distribution.
Main main goal is to program Code. But anyway i want to run applications like photoshop, Unreal Engine and eclipse, or whatever.

W10 was like super nice - but ok I used another ssd.

Maybe my ssd is bad, where my linux is on?
Can someone tell me whats up?

At the moment I have only 8 GB RAM and a Ryzen 5600g.
But for example google chrome doesnt move so smooth and with my other ssd with w10 it was so good.
---
You don't tell us much - e.g.: how the "slowness" manifests itself. What apps you have open. How you installed Ubuntu, or what apps you installed, or tweaked.

Generally speaking, GPU driver problems (hardware accelaration) are common problems.

Also a sort of over-confidence in the magic abilities of Linux to make your hardware "fly". Vanilla Ubuntu is pretty bloated, you might want to try Xubuntu.

Have you un/checked hardware accelaration in Chrome's settings? Have you done any troubleshooting?

Last but not least: Google Chrome is not part of the Ubuntu repositories. It is also closed source. Have you considered using Chromium instead?
 
Old 08-26-2021, 10:52 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,154

Rep: Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318
Id your RAM one stick or two? Apparently the graphics core is happier when it can use a different memory to the other cores:
https://forum.manjaro.org/t/ryzen-5-...formance/78102

The general opinion seems to be that the 5600G is a good processor:
https://www.novatech.co.uk/blog/amd-5600g-apus-in-2021/
It should certainly be up to running Ubuntu. I bought a new computer last year with an AMD A6 — the Ryzen processors seemed completely over the top for a non-gamer. Is it just Chrome that seems slow? If so, dump it.
 
1 members found this post helpful.
Old 08-26-2021, 02:40 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
I'd think it should be ok.

Are the SSD's the same?

I'm with the notion of some graphics issue. Could run the command line program "top" to see metrics or other system performance gui.
 
1 members found this post helpful.
Old 08-26-2021, 03:34 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,799

Rep: Reputation: 8002Reputation: 8002Reputation: 8002Reputation: 8002Reputation: 8002Reputation: 8002Reputation: 8002Reputation: 8002Reputation: 8002Reputation: 8002Reputation: 8002
Quote:
Originally Posted by iworkwithu View Post
Hi i am new to Linux and i am surprized, that my PC is slower with ubuntu (ssd1) than with W10 (ssd2).

I also could change to another distribution. Main main goal is to program Code. But anyway i want to run applications like photoshop, Unreal Engine and eclipse, or whatever. W10 was like super nice - but ok I used another ssd.

Maybe my ssd is bad, where my linux is on? Can someone tell me whats up? At the moment I have only 8 GB RAM and a Ryzen 5600g. But for example google chrome doesnt move so smooth and with my other ssd with w10 it was so good.---
Related to this?
https://www.linuxquestions.org/quest...sb-4175699607/

Are you running Ubuntu off of a USB stick?? And if you're wanting to use Windows applications like Photoshop...you need to stay with Windows. Beyond that, as others have said, it could be a myriad of issues. Personally, I'd suggest you use Mint instead of Ubuntu, but on a Ryzen with 8GB, even Ubuntu should be pretty good.
 
1 members found this post helpful.
Old 08-27-2021, 09:31 PM   #6
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,897
Blog Entries: 1

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Please provide here the URL resulting from running this command in Ubuntu:
Code:
pastebinit /var/log/Xorg.0.log
If it produces only an error message, try again this way:
Code:
pastebinit ~/.local/share/xorg/Xorg.0.log
 
Old 08-31-2021, 07:34 AM   #7
iworkwithu
LQ Newbie
 
Registered: Aug 2021
Posts: 22

Original Poster
Rep: Reputation: Disabled
----
quick update:
I dont no why, but now my ubuntu works as fast as W10. maybe sometimes slower but i think even sometimes faster
(ubuntu wasnt able to boot for a while - i used a usb boot stick and made some repairs- i was surprised that everything flows now how it should flow - at least from my perspective...)
----

Quote:
pastebinit ~/.local/share/xorg/Xorg.0.log
doesnt work
i will google it
update: here it is:
paste ubuntu

yes
---
at the moment i let a repais boot usb stick inside so my ubuntu boots xD it is not really stable
---
i have also a w10 ssd -- which I also want to put in later- because this pc is the best I have and some apps are easier to install on windows I think...
---


Quote:
I'd think it should be ok.
Are the SSD's the same?
ssd1 = W10 ssd2 = Ubuntu
but i unplugged for example now W10 - my focus was today on just running linux - this is also where i am writing now

Last edited by iworkwithu; 08-31-2021 at 07:50 AM.
 
Old 08-31-2021, 11:35 AM   #8
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 iworkwithu View Post
"You need to be logged in to view this paste:"

Quote:
ssd1 = W10 ssd2 = Ubuntu
I think the question was whether the two SSDs are the same make and model, and connect in the same way (internally or USB or something else). Obviously, different devices and different connections result in different speeds.
 
Old 08-31-2021, 01:35 PM   #9
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,897
Blog Entries: 1

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Quote:
Originally Posted by iworkwithu View Post
Quote:
Code:
pastebinit ~/.local/share/xorg/Xorg.0.log
...
paste ubuntu
Your log contains this:
Code:
(EE) open /dev/dri/card0: No such file or directory
This indicates a serious error. Absence of /dev/dri/card0 prevents loading of optimal X drivers. This is typically caused by absence of needed firmware, which in turn is often caused by using hardware that is too new for the selected distro to support. The fallback driver used as a result is very crude and slow. Please provide output from inxi -GSa or inxi -GSxxx and dpkg -l | egrep 'mwar'. I suspect this very new CPU requires firmware and/or kernel and possibly X server from backports repo.
 
Old 08-31-2021, 01:40 PM   #10
iworkwithu
LQ Newbie
 
Registered: Aug 2021
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
I think the question was whether the two SSDs are the same make and model, and connect in the same way (internally or USB or something else). Obviously, different devices and different connections result in different speeds.
yeah different models both with [SATA]:
* sanDisk sdssda 2,5" ssd drive 480G 6G/s [UBUNTU] in my PC
* Kingston 120 SA400S37 SBFK71E0 120G [W10] just lies on my table today
--
I just checked the datasheets- the have the same read/ write speed... like 500 MB/s
--
actually, as I maybe told before, linux ubuntu is now a little bit faster than before two days - maybe I did some repairs with my repair-usb-stick...
the feeling is now like on W10 I think - sometimes faster/ slower
---


Quote:
"You need to be logged in to view this paste:"
yeah I created a account extra for this - its part of this command xD
---------

Quote:
his indicates a serious error. Absence of /dev/dri/card0 prevents loading of optimal X drivers.
best thing i have heard today


/home/oem# inxi -GSa
System:
Host: oem-MS-7B86 Kernel: 5.11.0-27-generic x86_64 bits: 64 compiler: N/A
parameters: BOOT_IMAGE=/boot/vmlinuz-5.11.0-27-generic
root=UUID=1b0b3de7-bd8a-4212-8c12-8f7a34528d63 ro quiet splash
vt.handoff=7
Desktop: Gnome 3.36.9 wm: gnome-shell dm: GDM3 3.36.3
Distro: Ubuntu 20.04.3 LTS (Focal Fossa)
Graphics:
Device-1: AMD driver: amdgpu v: kernel bus ID: 30:00.0 chip ID: 1002:1638
Display: server: X.Org 1.20.11 driver: ati,fbdev
unloaded: modesetting,radeon,vesa compositor: gnome-shell
resolution: 1024x768~60Hz
OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.11.0-27-generic LLVM 12.0.0)
v: 4.6 Mesa 21.0.3 direct render: Yes

-----
/home/oem# inxi -GSa
System:
Host: oem-MS-7B86 Kernel: 5.11.0-27-generic x86_64 bits: 64 compiler: N/A
parameters: BOOT_IMAGE=/boot/vmlinuz-5.11.0-27-generic
root=UUID=1b0b3de7-bd8a-4212-8c12-8f7a34528d63 ro quiet splash
vt.handoff=7
Desktop: Gnome 3.36.9 wm: gnome-shell dm: GDM3 3.36.3
Distro: Ubuntu 20.04.3 LTS (Focal Fossa)
Graphics:
Device-1: AMD driver: amdgpu v: kernel bus ID: 30:00.0 chip ID: 1002:1638
Display: server: X.Org 1.20.11 driver: ati,fbdev
unloaded: modesetting,radeon,vesa compositor: gnome-shell
resolution: 1024x768~60Hz
OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.11.0-27-generic LLVM 12.0.0)
v: 4.6 Mesa 21.0.3 direct render: Yes
root@oem-MS-7B86:/home/oem# inxi -GSxxx
System:
Host: oem-MS-7B86 Kernel: 5.11.0-27-generic x86_64 bits: 64 compiler: N/A
Desktop: Gnome 3.36.9 wm: gnome-shell dm: GDM3 3.36.3
Distro: Ubuntu 20.04.3 LTS (Focal Fossa)
Graphics:
Device-1: AMD driver: amdgpu v: kernel bus ID: 30:00.0 chip ID: 1002:1638
Display: server: X.Org 1.20.11 driver: ati,fbdev
unloaded: modesetting,radeon,vesa compositor: gnome-shell
resolution: 1024x768~60Hz
OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.11.0-27-generic LLVM 12.0.0)
v: 4.6 Mesa 21.0.3 direct render: Yes
------
dpkg -l | egrep 'mwar'
ii amd64-microcode 3.20191218.1ubuntu1 amd64 Processor microcode firmware for AMD CPUs
ii fwupd 1.5.11-0ubuntu1~20.04.2 amd64 Firmware update daemon
ii fwupd-signed 1.27.1ubuntu5+1.5.11-0ubuntu1~20.04.2 amd64 Linux Firmware Updater EFI signed binary
ii intel-microcode 3.20210608.0ubuntu0.20.04.1 amd64 Processor microcode firmware for Intel CPUs
ii libfwupd2:amd64 1.5.11-0ubuntu1~20.04.2 amd64 Firmware update daemon library
ii libfwupdplugin1:amd64 1.5.11-0ubuntu1~20.04.2 amd64 Firmware update daemon plugin library
ii linux-firmware 1.187.16 all Firmware for Linux kernel drivers
ii xserver-xorg-video-vmware 1:13.3.0-3 amd64 X.Org X server -- VMware display driver
----

Quote:
I suspect this very new CPU requires firmware and/or kernel and possibly X server from backports repo.
hmm interesting.
this would be nice because it is already faster than my old laptop - then it would be much more faster than my old laptop after driver setup

Last edited by iworkwithu; 08-31-2021 at 01:54 PM.
 
Old 08-31-2021, 10:35 PM   #11
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,897
Blog Entries: 1

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Quote:
Originally Posted by iworkwithu View Post
Code:
...
  Display: server: X.Org 1.20.11 driver: ati,fbdev 
  unloaded: modesetting,radeon,vesa
What this should look like, if using a current or recent inxi version, and new enough drivers and firmware for your 5600G, is approximately the following:
Code:
...
  Display: server: X.Org 1.20.11 driver: loaded: amdgpu  alternate: ati,fbdev 
  unloaded: modesetting,radeon,vesa
Conspicuously absent is any loaded display driver. However, the desirable display drivers, amdgpu and modesetting, can't load because of the absent /dev/dri/card0 that a new enough kernel amdgpu driver, and new enough firmware, must provide.

Please run sudo inxi -U before using inxi for posting here again. The -U switch updates to the current upstream inxi version. The inxi version provided by 20.04 is quite old, and broken in several ways.
 
Old 09-01-2021, 01:42 AM   #12
iworkwithu
LQ Newbie
 
Registered: Aug 2021
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
run sudo inxi -U before using inxi for posting here again.
Code:
/home/oem# inxi -U 
Error 20: Option: U has been disabled by the inxi distribution maintainer.
inixi shows:
i think it looks ok on the first view
Quote:
/home/oem# inxi
CPU: 6-Core AMD Ryzen 5 5600G with Radeon Graphics (-MT MCP-)
speed: 2991 MHz Kernel: 5.11.0-27-generic x86_64 Up: 9m
Mem: 2453.1/7403.1 MiB (33.1%) Storage: 776.05 GiB (23.4% used) Procs: 348
Shell: bash 5.0.17 inxi: 3.0.38

Last edited by iworkwithu; 09-01-2021 at 01:48 AM.
 
Old 09-01-2021, 01:53 AM   #13
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,897
Blog Entries: 1

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Quote:
Originally Posted by iworkwithu View Post
Code:
/home/oem# inxi -U 
Error 20: Option: U has been disabled by the inxi distribution maintainer.
It's rude of a maintainer to do that and not keep the package up to date on the mirrors. Inxi typically goes out of date between the time a distro's version freeze occurs and the actual release of the distro, not to mention getting still more ancient as a distro ages.

Save the following as /etc/inxi.conf and the -U switch will override the rudeness:
Code:
B_ALLOW_UPDATE=true
 
Old 09-01-2021, 03:29 AM   #14
iworkwithu
LQ Newbie
 
Registered: Aug 2021
Posts: 22

Original Poster
Rep: Reputation: Disabled
(btw. just changed my screen connection from vga to hdmi)
inxi -U
Starting inxi self updater.
Using tiny as downloader.
Currently running inxi version number: 3.0.38
Current version patch number: 00
Current version release date: 2020-03-14
Updating inxi in /usr/bin using main branch as download source...
Successfully updated to main branch version: 3.3.06
New main branch version patch number: 00
New main branch version release date: 2021-07-21
To run the new version, just start inxi again.
----------------------------------------

Starting download of man page file now.
Downloading Man page file...
Download successful. Compressing file...
Download and install of man page successful.
Check to make sure it works: man inxi
-----
inxi
CPU: 6-Core AMD Ryzen 5 5600G with Radeon Graphics (-MT MCP-)
speed: 3893 MHz Kernel: 5.11.0-27-generic x86_64 Up: 1h 54m
Mem: 4980.1/7403.1 MiB (67.3%) Storage: 776.05 GiB (23.4% used) Procs: 368
Shell: Bash inxi: 3.3.06

------


inxi -GSa
System:
Host: oem-MS-7B86 Kernel: 5.11.0-27-generic x86_64 bits: 64 compiler: gcc
v: 9.3.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.11.0-27-generic
root=UUID=1b0b3de7-bd8a-4212-8c12-8f7a34528d63 ro quiet splash
vt.handoff=7
Desktop: GNOME 3.36.9 tk: GTK 3.24.20 wm: gnome-shell dm: GDM3 3.36.3
Distro: Ubuntu 20.04.3 LTS (Focal Fossa)
Graphics:
Device-1: AMD driver: amdgpu v: kernel bus-ID: 30:00.0 chip-ID: 1002:1638
class-ID: 0300
Display: server: X.Org 1.20.11 compositor: gnome-shell driver:
loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa display-ID: :0
screens: 1
Screen-1: 0 s-res: 1024x768 s-dpi: 96 s-size: 270x203mm (10.6x8.0")
s-diag: 338mm (13.3")
Monitor-1: HDMI-A-0 res: 1024x768 hz: 60 dpi: 102
size: 256x192mm (10.1x7.6") diag: 320mm (12.6")
OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.11.0-27-generic LLVM 12.0.0)
v: 4.6 Mesa 21.0.3 direct render: Yes


-------

inxi -GSxxx
System:
Host: oem-MS-7B86 Kernel: 5.11.0-27-generic x86_64 bits: 64 compiler: gcc
v: 9.3.0 Desktop: GNOME 3.36.9 tk: GTK 3.24.20 wm: gnome-shell
dm: GDM3 3.36.3 Distro: Ubuntu 20.04.3 LTS (Focal Fossa)
Graphics:
Device-1: AMD driver: amdgpu v: kernel bus-ID: 30:00.0 chip-ID: 1002:1638
class-ID: 0300
Display: server: X.Org 1.20.11 compositor: gnome-shell driver:
loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa
resolution: 1024x768~60Hz s-dpi: 96
OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.11.0-27-generic LLVM 12.0.0)
v: 4.6 Mesa 21.0.3 direct render: Yes
 
Old 09-02-2021, 02:13 AM   #15
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,897
Blog Entries: 1

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Quote:
Originally Posted by iworkwithu View Post
Code:
inxi -GSa
...
Graphics:
  Device-1: AMD driver: amdgpu v: kernel bus-ID: 30:00.0 chip-ID: 1002:1638 
  class-ID: 0300 
  Display: server: X.Org 1.20.11 compositor: gnome-shell driver: 
  loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa display-ID: :0 
  screens: 1 
  Screen-1: 0 s-res: 1024x768 s-dpi: 96 s-size: 270x203mm (10.6x8.0") 
  s-diag: 338mm (13.3") 
  Monitor-1: HDMI-A-0 res: 1024x768 hz: 60 dpi: 102 
  size: 256x192mm (10.1x7.6") diag: 320mm (12.6") 
  OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.11.0-27-generic LLVM 12.0.0) 
  v: 4.6 Mesa 21.0.3 direct render: Yes
Looks OK. Since you say in #7 fast or faster than Win10, this looks like a thread that can be marked closed, but it is rather surprising to see you say you've switched to an HDMI connection while inxi shows you've used a screen resolution of only 1024x768.
 
  


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
Suse 9.2 & SATA - Slow, Slow, Slow jess1975 SUSE / openSUSE 6 01-28-2007 12:17 PM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 01:39 PM
RH 6.2 Slow, Slow, Slow.... kbajwa Linux - General 2 07-28-2004 09:16 AM
RH8 vs. W2k - Slow, slow, slow zerojosh Linux - Software 2 06-30-2003 07:19 PM
p4 1.8 ghz SLOW SLOW SLOW Acmeshells Slackware 7 03-12-2003 07:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:44 AM.

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