Can I run Stable Diffusion with this specs?

I’m sorry if this is not the correct place for this, but I’ve been curious about learning Artificial intelligence. I’m using Manjaro so I wonder if with these specs I can run Stable Diffusion models:

These are my values from neofetch:

OS: Manjaro Linux x86_64 
Host: 81UH Lenovo Legion Y740-15IRHg 
Kernel: 6.1.9-1-MANJARO 
Uptime: 4 hours, 10 mins 
Packages: 1718 (pacman), 21 (snap) 
Shell: zsh 5.9 
Resolution: 1920x1080 
DE: GNOME 43.2 
WM: Mutter 
WM Theme: Adwaita 
Theme: Adwaita-dark [GTK2/3] 
Icons: hicolor [GTK2/3] 
Terminal: poetry 
CPU: Intel i7-9750H (12) @ 4.500GHz 
GPU: NVIDIA GeForce RTX 2060 Mobile 
Memory: 11646MiB / 32022MiB 

If you need something more detailed, here is my inxi -Fazi

  Kernel: 6.1.9-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=b7ccff9c-3ed2-4871-9171-b63a484b3dc9 rw quiet splash apparmor=1
    security=apparmor resume=UUID=796ccbcb-530d-434a-8efd-c4a8a7338c8b
  Desktop: GNOME v: 43.2 tk: GTK v: 3.24.36 wm: gnome-shell dm: GDM v: 43.0
    Distro: Manjaro Linux base: Arch Linux
  Type: Laptop System: LENOVO product: 81UH v: Lenovo Legion Y740-15IRHg
    serial: <superuser required> Chassis: type: 10 v: Lenovo Legion Y740-15IRHg
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN
    serial: <superuser required> UEFI-[Legacy]: LENOVO v: BVCN11WW(V1.07)
    date: 07/04/2019
  ID-1: BAT1 charge: 47.2 Wh (100.0%) condition: 47.2/52.4 Wh (90.1%)
    volts: 12.8 min: 11.6 model: Celxpert L17L3PG1 type: Li-ion serial: <filter>
    status: full
  Device-1: hid-f4:73:35:55:65:86-battery model: Keyboard K380 serial: N/A
    charge: N/A status: discharging
  Info: model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Coffee Lake
    gen: core 9 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF0
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 950 high: 2600 min/max: 800/4500 scaling:
    driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 2600
    bogomips: 62431
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
  Device-1: NVIDIA TU106BM [GeForce RTX 2060 Mobile] vendor: Lenovo
    driver: nvidia v: 525.85.05 alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2023-02) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 16 link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0
    chip-ID: 10de:1f51 class-ID: 0300
  Device-2: Chicony Integrated Camera (1280x720@30) type: USB
    driver: uvcvideo bus-ID: 1-7:4 chip-ID: 04f2:b604 class-ID: 0e02
    serial: <filter>
  Display: x11 server: v: with: Xwayland v: 22.1.7
    compositor: gnome-shell driver: X: loaded: nvidia gpu: nvidia display-ID: :1
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
  Monitor-1: DP-4 res: 1920x1080 hz: 144 dpi: 142
    size: 344x194mm (13.54x7.64") diag: 395mm (15.55") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 525.85.05 renderer: NVIDIA GeForce RTX
    2060/PCIe/SSE2 direct-render: Yes
  Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:a348 class-ID: 0403
  Device-2: NVIDIA TU106 High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:10f9 class-ID: 0403
  Sound API: ALSA v: k6.1.9-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.65 running: yes
  Device-1: Intel Cannon Lake PCH CNVi WiFi vendor: Rivet Networks Killer
    Wireless-AC 1550i Wireless driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:a370 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 3000 bus-ID: 3f:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp63s0 state: down mac: <filter>
  IF-ID-1: br-efd05ea646ee state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IF-ID-2: docker0 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  WAN IP: <filter>
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
    driver: btusb v: 0.8 bus-ID: 1-14:5 chip-ID: 8087:0aaa class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 3 state: up address: <filter>
  Local Storage: total: 953.87 GiB used: 256.86 GiB (26.9%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVLB1T0HALR-000L2 size: 953.87 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 5L1QEXA7 temp: 34.9 C scheme: MBR
  ID-1: / raw-size: 919.45 GiB size: 903.95 GiB (98.31%)
    used: 256.86 GiB (28.4%) fs: ext4 dev: /dev/nvme0n1p1 maj-min: 259:1
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 34.41 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p2 maj-min: 259:2
  System Temperatures: cpu: 54.0 C pch: 61.0 C mobo: N/A gpu: nvidia
    temp: 55 C
  Fan Speeds (RPM): N/A
  Processes: 389 Uptime: 4h 16m wakeups: 83 Memory: 31.27 GiB
  used: 12.21 GiB (39.1%) Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: 1739
  pm: pacman pkgs: 1718 libs: 358 tools: gnome-software,pamac,yay pm: flatpak
  pkgs: 0 pm: snap pkgs: 21 Shell: Zsh v: 5.9 running-in: poetry inxi: 3.3.25

What could I do with Stable Diffusion, Manjaro and these specs? Any recommendations?

I see no reason for why not.
Did you try and run into limitations/problems?

I actually have no idea what this even is or what it is supposed to do.
… do you not have a possible use case and are simply looking for one?

More like I wasn’t able to use the GPU on Manjaro.

Generating AI images basically, and img2img as well

There are two packages in AUR:

AUR (en) - Packages

One seems to be a GUI installer that does … whatever.

We don’t know (I don’t) about possible prerequisites.

Then why not ask about that, specifically?
… what you did, what was supposed to happen, what the actual result was …

1 Like

Okay, so I was able to run it using docker, however it’s not able to use the GPU, I get this

docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].

Not sure if this is something related to docker only, or manjaro has a role on it

re your docker link:

By default, the pipeline uses the full model and weights which requires a CUDA capable GPU with 8GB+ of VRAM


On less powerful GPUs you may need to modify some of the options; see the Examples section for more details.

Probably neither, specifically - but rather the capabilities of the GPU and whether you have set it up … correctly.

… but I was speculating right from the start - trying to give direction where to look …

I was able to remove the warning installing nvidia-container-toolkit, so I will use this as a solution

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.