LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-21-2021, 01:13 PM   #1
SevenChalices
LQ Newbie
 
Registered: Jun 2021
Location: Frankfurt, Germany
Distribution: Debian Buster/Stable
Posts: 1

Rep: Reputation: Disabled
Question NVIDIA (or AMD?) hardware setup for digital painting / 2D-rendering (+ strange GTK/Qt behaviour)


I am not sure whether this thread fits better in some other sub-forum - if it does, so move it please. As my question consists of several "sub-questions" I was not sure; anyway, I thought all-in-all this whole topic is definitely more related to hardware than to anything else...

Hi, I am a visual artist who is currently learning and switching to creating artwork digitally by using a Wacom graphic tablet. A few months ago, I built together a PC from second hand hardware components (before that I used notebooks for my whole life). This is what it looks like right now (the relevant parts):

Code:
Motherboard: ASUS A78M-E 

CPU: AMD A8-5600k (4 x 3.6 GHz, 2 x 2 MB shared cache, int. graphics: AMD Radeon HD 7560D)

RAM: 16 GB DDR3 @ 1600 MHz

Graphics Card: NVIDIA Quadro K5000 (4 GB; Proprietary Driver)

Disk: SanDisk 3D Ultra SSD (250 GB; up to ~500 MB/s speed)
All in all, everything (except SSD, input devices and display which all were bought new) is up to 10 years old...
I am running Debian Stable/Buster and almost everything is working smooth and fast. However, there are a few things that don't:

As the NVIDIA-GPU-monitoring-app I am using (qnsvm) is saying that practically no GTK-apps are using the GPU (f.e. MyPaint, Rawtherapee, InkScape do not at all; GIMP only in computing mode instead of graphical mode). Before switching to proprietary driver, with noveau it was even worse: GIMP didn't use the GPU at all.

It seems that as just mentioned my NVIDIA card refuses in most cases to work with GTK-apps while it works suspiciously well with Qt-apps (I use KDE as DE), even those that do not have to do with any graphics (for some reason even Electrum, a BTC-/LTC-wallet app, as well as some akonadi-processes appear in the qnsvm-list, all in graphical mode...I think I don't have to explain why this confuses me, do I? Krita and G'MIC (regardless if started as Krita's or GIMP's plugin) on the other hand are working and displayed (in qnsvm) as one would expect and do not let and questions left. Native 3D-games and even those that run under Wine work properly and tend to be displayed in qnsvm's list.


So my actual questions are:

1. Is this phenomenon of "choosyness" of NVIDIA cards a common known thing? I googled around here and there but could not find any preference of Nv. cards for Qt over GTK...
I assume there isn't any way to force any GUI app (regardless of which GUI libs it uses) to use the GPU, is there?..

2. The second question belongs in the first case to users who also work a lot with photo-editing and digital drawing/painting apps but have an AMD graphic card in their computers: Do you encounter similar problems or not at all? The thought of changing my current NVIDIA for a AMD graphic card with even less memory, as I barely work with 3D-graphics, isn't leaving my mind. My primary goal is have my dedicated GPU used regardless of whether a painting app is using GTK (MyPaint, which has even a slightly behind-pulling cursor when drawing on an empty single layer; GIMP in graphical mode, RawTherapee/DarkTables) or Qt (Krita) or with none of those (apps like Blender or Xaos).

3. If we forget for a moment about vector graphics I do not use often yet anyway (I have read they rely on a strong CPU and barely use GPU power) and focus ourselves on pure 2D/raster graphics, big canvas-/layer-resolutions - what hardware parts would you recommend me to replace at first (with maximum priority)? My budget won't be great enough to buy a whole middle-class graphics-editor machine within the next time respectively this year...and if the above mentioned issues wouldn't affect my digital work, I would be absolutely okay with the overall power of my current machine (maybe because I previously had only notebooks in my life to work with - with typical notebook-hardware and all the "fun" included by that...so I am really a bit modest haha)


I hope I didn't f--up too bad by putting these questions into one big thread instead of creating multiple threads in different sub-forums with having to explain the same problems and background - otherwise please tell me.

I'm excited to read your statements on these topics and questions - anyway, great thanks in advance for your time and your effort for help!

SevenChalices
 
Old 07-22-2021, 04:37 PM   #2
EdGr
Senior Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 1,044

Rep: Reputation: 487Reputation: 487Reputation: 487Reputation: 487Reputation: 487
Quote:
I assume there isn't any way to force any GUI app (regardless of which GUI libs it uses) to use the GPU, is there?..
No, there isn't any way to do that, but I suspect that the Nvidia monitoring app may be reporting only one type of use.

I own AMD graphics cards and write hobby programs that call GTK. 2D drawing is largely done on the CPU. The GPU does copies and fills. This results in nearly-instantaneous 2D drawing.

If 2D drawing is slow, check the Xorg.0.log to see that GPU hardware acceleration is enabled.

Slow drawing can result from a poorly-tuned application, but that is a problem for the programmer.

Quote:
The second question belongs in the first case to users who also work a lot with photo-editing and digital drawing/painting apps but have an AMD graphic card in their computers: Do you encounter similar problems or not at all?
No problems. My AMD graphics cards work out-of-the-box on Linux.

Quote:
If we forget for a moment about vector graphics I do not use often yet anyway (I have read they rely on a strong CPU and barely use GPU power) and focus ourselves on pure 2D/raster graphics, big canvas-/layer-resolutions - what hardware parts would you recommend me to replace at first (with maximum priority)?
That observation is true. A faster CPU will belp. Those applications tend to be multi-threaded, and so more cores will help. But you should upgrade only if your present computer is too slow.
Ed
 
1 members found this post helpful.
Old 07-22-2021, 08:14 PM   #3
obobskivich
Member
 
Registered: Jun 2020
Posts: 608

Rep: Reputation: Disabled
Agree with EdGr. It sounds like everything is working exactly as intended/expected here (the GPU is not a 'magic bullet' for any displayed content), and if you want/need more performance that's going to be CPU-bounded by a large degree (and the CPU you have is an oddball pairing with that big Quadro). Or, as EdGr says, could just be an issue with a specific program. You probably don't have much upward upgrade ability with that FM2 motherboard (there are some stupidly overpriced used 6000/7000-generation FM2 chips but they'll still all be dual-module 15h with no L3 cache like the 5600k - these are a fine 'office PC' chips but they're not workstation material). You'd need to consider an entirely new platform to see significant upgrade in performance, sorry to say. No idea on specific applications' preference for 'cores vs clockspeed' (and my own examination of this issue with various hardware leads to consistently inconsistent conclusions with real-world software).

Something else to note: nVidia is dropping support for Kepler in the coming months, which may lead to support issues for that K5000 going forward.

Also ditto on no issues with AMD cards - the open source drivers (be it radeon or amdgpu) are consistently good. You can try the AMD GPU on your 5600k if you'd like to play with it yourself - it is pre-GCN hardware and thus will only support the radeon driver (the biggest 'gotcha' for most people is no Vulkan support) but should be otherwise competent within its performance limits (again, these chips are great cheap and cheerful SoCs, but they were never speed demons).
 
Old 07-28-2021, 04:17 PM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 6,245
Blog Entries: 1

Rep: Reputation: 2173Reputation: 2173Reputation: 2173Reputation: 2173Reputation: 2173Reputation: 2173Reputation: 2173Reputation: 2173Reputation: 2173Reputation: 2173Reputation: 2173
Before shopping for a different GPU, you ought to evaluate your starting point. Remove the NVidia and see what your IGP can do. If it falls only modestly short of your needs, there are IGP upgrades to consider. I too have an FM2+ A8 CPU, but with significantly newer GCN IGP. The same CPU I have is available on ebay for as little as $22USD. There's another there for $22.50USD.

I'm not into graphics applications, but mine seems to work little differently from newer graphics hardware from both AMD and Intel.
Code:
# xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
Screen 0: minimum 320 x 200, current 2560 x 2520, maximum 16384 x 16384
HDMI-1 connected 2560x1080+0+0 (normal left inverted right x axis y axis) 673mm x 284mm
DP-1 connected primary 2560x1440+0+1080 (normal left inverted right x axis y axis) 598mm x 336mm
   2560x1440     59.95*+  74.92
   2560x1080     60.00*+
# inxi -CSMyz
System:
  Kernel: 4.19.0-16-amd64 x86_64 bits: 64 Desktop: Trinity R14.0.10
  Distro: Debian GNU/Linux 10 (buster)
Machine:
  Type: Desktop Mobo: ASRock model: FM2A88X Extreme6+ serial: <filter>
  UEFI: American Megatrends v: P4.20 date: 01/13/2016
CPU:
  Info: Quad Core model: AMD PRO A8-8650B R7 10 Compute Cores 4C+6G bits: 64
  type: MCP cache: L2: 2 MiB
  Speed: 1394 MHz min/max: 1400/3200 MHz Core speeds (MHz): 1: 1394 2: 1397
  3: 1394 4: 1397
# inxi -Gay
Graphics:
  Device-1: AMD Kaveri [Radeon R7 Graphics] vendor: ASRock
  driver: amdgpu v: kernel alternate: radeon bus-ID: 00:01.0 chip-ID: 1002:1313
  class-ID: 0300
  Display: x11 server: X.Org 1.20.4 driver: loaded: modesetting
  unloaded: fbdev,vesa alternate: ati display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x2520 s-dpi: 120 s-size: 541x533mm (21.3x21.0")
  s-diag: 759mm (29.9")
  Monitor-1: DP-1 res: 2560x1440 hz: 60 dpi: 109 size: 598x336mm (23.5x13.2")
  diag: 686mm (27")
  Monitor-2: HDMI-1 res: 2560x1080 hz: 60 dpi: 97 size: 673x284mm (26.5x11.2")
  diag: 730mm (28.8")
  OpenGL: renderer: AMD KAVERI (DRM 3.27.0 4.19.0-16-amd64 LLVM 7.0.1)
  v: 4.5 Mesa 18.3.6 direct render: Yes
# glxgears -info
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
GL_RENDERER   = AMD KAVERI (DRM 3.27.0, 4.19.0-16-amd64, LLVM 7.0.1)
GL_VERSION    = 4.5 (Compatibility Profile) Mesa 18.3.6
GL_VENDOR     = X.Org
GL_EXTENSIONS =...VisualID 1422, 0x58e
366 frames in 5.0 seconds = 73.068 FPS
301 frames in 5.0 seconds = 60.083 FPS
301 frames in 5.0 seconds = 60.078 FPS
301 frames in 5.0 seconds = 60.082 FPS
 
  


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: Krita Devs Want to Know What Type of Hardware You're Using for Digital Painting LXer Syndicated Linux News 0 01-25-2017 11:42 PM
LXer: What sets Krita apart from other open source digital painting tools LXer Syndicated Linux News 0 04-21-2016 05:12 PM
LXer: Digital Painting with Krita 2.9 provides the missing Krita documentation LXer Syndicated Linux News 0 01-22-2016 06:41 AM
LXer: MyPaint 1.2.0 Open Source Digital Painting Tool Is Out After Three Years of Development LXer Syndicated Linux News 0 01-18-2016 06:02 AM

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

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