this post was submitted on 09 Jul 2023
44 points (95.8% liked)

Linux

48153 readers
658 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Edit: I was able to run some benchmark tests, so I don't need help with this anymore, but after running the tests, I'm pretty sure my computer is having hardware issues. I don't really have any other options, though, so I just have to deal with it.

The computer I was using stopped working and I had to switch to a different computer but despite having a significantly better GPU, games are performing only slightly better. I want to benchmark test the GPU to see if it's a potential hardware problem or if something else is causing a bottleneck.

top 36 comments
sorted by: hot top controversial new old
[–] [email protected] 16 points 1 year ago (1 children)

First check if the games are using the GPU. I had an issue where everything would launch with integrated graphics only.

[–] [email protected] 8 points 1 year ago (1 children)

Actually, the computer only has integrated graphics because it's a laptop.

[–] [email protected] 9 points 1 year ago (2 children)

My laptop has two graphics cards lol but I totally get what you meant

[–] [email protected] 1 points 1 year ago (2 children)

What? How large is you laptop?? When you say "two graphics cards", do you mean two GPUs or two full boards?

[–] [email protected] 6 points 1 year ago

It's pretty common for a laptop to have a dedicated gpu, plus the integrated gpu that's actually part of the cpu.

[–] [email protected] 1 points 1 year ago (2 children)

Do they make laptops that have two GPUs or are you using an external GPU?

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago)

https://superuser.com/questions/908824/why-does-my-laptop-have-two-graphics-cards

It's not uncommon. The main use is running the powerful GPU only in games and such, while using the other one the rest of the time, to reduce power consumption, heat and noise.

See also Nvidia Optimus:

https://wiki.archlinux.org/title/NVIDIA_Optimus

[–] [email protected] 1 points 1 year ago

Bought a laptop with two pre built. Dedicated and a 1080ti it's not amazing but it does what I need it to do lol

[–] [email protected] 13 points 1 year ago (1 children)

I use the unigine benchmarks sometimes. unigine-heaven and unigine-superposition (which btw is just cool to watch in my opinion). They provide linux packages here https://benchmark.unigine.com/ , check your distributions repos too though, some include these too though it's rare. They are not open source, but games usually aren't either.

The phoronix one that someone else posted also looks cool, I'll have to try that one out next time I need something like this.

[–] [email protected] 2 points 1 year ago (1 children)

I tried to download unigine but I can't seem to figure out how to download it. I'm using Linux Mint and the only download option seems to be a .run file which doesn't seem to be executable in Mint. I also don't know how to look through the repositories and when I tried to install "unigine-heaven" in apt, it told me it couldn't find it in the repositories. So unless it's called something else when you install it through apt, I don't know how to download it.

Also, I did look into Phoronix but it only mentions that it benchmarks CPUs and not GPUs.

[–] [email protected] 5 points 1 year ago (2 children)

Did you gave execution permission to the file?

chmod +x yourfile.run

[–] [email protected] 2 points 1 year ago (1 children)

Ok that worked, as it turns out, the problem was that I've never used a .run file before and, at least from what I can tell, .run files are similar to .sh files.

Anyways, I've never really done benchmark tests before but I did play around with it a little. The settings I used was low graphics, full screened to the custom resolution of 1360x768 (the resolution of the monitor I use) and everything else was disabled. The frame rate ranged from 12 to 26 (or at least somewhere around that), does that seem good for an AMD Radeon R2 Graphics?

[–] [email protected] 1 points 1 year ago

does that seem good for an AMD Radeon R2 Graphics?

about this I actually cannot help you, I understand almost nothing about this kind of benchmark, sorry

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I'll have to tell you later, I'm trying to re-download it but it seems like my ISP is throttling my internet connection because Firefox is telling me that it's going to take an hour and a half to download, even though the first time only took a few minutes to download.

[–] [email protected] 7 points 1 year ago (1 children)

I seem to recall a browser test that sort of works.

glxgears and glmark2 are probably too basic.

Phoronix test thing maybe? https://github.com/phoronix-test-suite/phoronix-test-suite/

[–] [email protected] 1 points 1 year ago (1 children)

Do you know what the browser test is called or how to run it?

I didn't run glxgears and I did run glmark2 yesterday but I stopped it half way through. If I remember correctly, the frame rates from the test ranged from 80 to over 1000 fps depending on the test but I have no idea if that's good for the GPU or bad because I don't remember the results I got on my old computer. If someone knows GPUs well enough, my old GPU was an intel HD Graphics 3000 and the GPU in this computer is an AMD Radeon R2 Graphics.

Also, I looked into Phoronix but it looks like it just benchmarks CPUs.

[–] [email protected] 2 points 1 year ago (2 children)

I did find it but it is just a VSYNC test thing. Not sure how to diagnose these things. The only time I had major issues was when I installed the wrong drivers, so user error. Maybe the distro you're using has an IRC or Matrix chat room that would be willing to help out?

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)
[–] [email protected] 1 points 1 year ago (1 children)

I'm using Linux Mint and I'm just using the drivers that were preinstalled by the distro. If it's possible that Mint installed the wrong drivers somwhow, I wouldn't know where to look to get help with that.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (2 children)

It might be using the integrated GPU...

Try and install lshw and run sudo lshw -numeric -C display and give us the output.

Edit...

Or glxinfo | grep "OpenGL vendor|OpenGL renderer"

[–] [email protected] 1 points 1 year ago (1 children)

I just tried glxinfo but it didn't do anything and unless it's called something else, apt can't locate the package.

[–] [email protected] 1 points 1 year ago

I think it is in the mesa-utils package but that doesn't matter...your other answer provided some more info

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

It is using the integrated GPU, it's a laptop that only has an integrated GPU. Also, lshw is having the same problem it had with my old computer, where it doesn't seem to list the right clock speed and just says it's running at 33Mhz. I know this is wrong because on my old computer, other software would state the clock speed was much higher. But another thing I'm noticing that's wrong is the GPU is listed as an R3 when the GPU is actually an R2, so unless they share drivers, It's possible that Mint (I'm using Linux Mint) installed the wrong drivers.

  *-display                 
       description: VGA compatible controller
       product: Mullins [Radeon R3 Graphics] [1002:9850]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI] [1002]
       physical id: 1
       bus info: pci@0000:00:01.0
       logical name: /dev/fb0
       version: 40
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=radeon latency=0 resolution=1366,768
       resources: irq:38 memory:e0000000-efffffff memory:f0000000-f07fffff ioport:4000(size=256) memory:f0d00000-f0d3ffff memory:c0000-dffff
[–] [email protected] 1 points 1 year ago (1 children)

I was kinda hoping I'd see something obvious but I am not a great troubleshooter, more of try things to see what works...

You can still use the Phoronix thing for testing the GPU:

But perhaps something else is interfering.

What does sudo apt list --installed | grep -i radeon show?

[–] [email protected] 1 points 1 year ago (1 children)

Unigine-heaven was available by itself and it worked but I've never benchmark tested anything before. The settings I used was low graphics, full screened to the custom resolution of 1360x768 (the resolution of the monitor I use) and everything else was disabled. The frame rate ranged from 12 to 26 (or at least somewhere around that), does that seem good for an AMD Radeon R2 Graphics?

Also that command returns this: `WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libdrm-radeon1/jammy-updates,now 2.4.113-2~ubuntu0.22.04.1 amd64 [installed] xserver-xorg-video-radeon/jammy-updates,now 1:19.1.0-2ubuntu1 amd64 [installed] `

[–] [email protected] 2 points 1 year ago

🤷‍♂️ all I can say is the drivers are installed.

Perhaps there is a Xorg option that needs to be modified or set a kernel parameter. Sorry I can't help anymore.

Even though it is Mint, the advice on the ArchWiki might help you out.

https://wiki.archlinux.org/title/AMDGPU#Loading says that it should use the amdgpu driver so that is something to look into.

Good luck!

[–] [email protected] 5 points 1 year ago (1 children)

Honestly your best bet is probably to use a game with a built-in benchmark over Steam. That way you get numbers that are somewhat comparable to the ones from public sources (game review sites/videos).
I don't know why there isn't a proper tool like 3DMark for Linux systems.

[–] [email protected] 1 points 1 year ago (1 children)

When you say "built-in benchmark over Steam" what does that mean? If that is a common thing, I have a steam account but I've never really used it before as I get pretty much all of my games from itch.

[–] [email protected] 1 points 1 year ago (1 children)

Sorry, what I really meant was over Proton. So, installing a game like Shadow of the Tomb Raider that have a built-in benchmark and run it via Proton.

[–] [email protected] 1 points 1 year ago

Oh ok, but on top of the fact that I can't run that game, I don't really need help anymore. I've already determined that I'm pretty sure that my GPU is having hardware problems.

[–] [email protected] 2 points 1 year ago (1 children)

I use this, but more as a stress test instead of actually checking performance. https://www.geeks3d.com/gputest/

[–] [email protected] 1 points 1 year ago (1 children)

Ok, I tried that but is it just supposed to display a triangle? It also didn't have a GUI, is that only in the MacOS version of the app or am I supposed to run the .py file? If I'm to run the .py file, that is something I don't know how to do.

[–] [email protected] 1 points 1 year ago

There's a bunch of benchmarks you can run apart from the triangle, like Furmark which render a more complex scene. I've only used the shell scripts, no idea what the python script does.

[–] [email protected] 1 points 1 year ago

Forcing Cyberpunk to abnormal resolutions with (I honestly forgot the command name -- haven't used it since a while). That'll make your GPU cry a bit.

[–] [email protected] 1 points 1 year ago

you can run furmark in wine if you're trying to compare with windows performance

load more comments
view more: next ›