Skip to content

u/JDaxe

In this archive from Nov 2017 to Jan 2025

9
posts
98
comments
2
media
527
score

Hmm yeah, that seems to be the case:

# strace -econnect glxinfo >/dev/null
connect(3, {sa_family=AF_UNIX, sun_path=@"/tmp/.X11-unix/X0"}, 20) = -1 ECONNREFUSED (Connection refused)
connect(3, {sa_family=AF_UNIX, sun_path="/tmp/.X11-unix/X0"}, 110) = -1 ENOENT (No such file or directory)
connect(3, {sa_family=AF_INET, sin_port=htons(6000), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
connect(3, {sa_family=AF_INET6, sin6_port=htons(6000), sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable)
connect(3, {sa_family=AF_INET, sin_port=htons(6000), sin_addr=inet_addr("127.0.0.1")}, 16^C) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
strace: Process 30295 detached

So if I understand correctly, it failed because /tmp/.X11-unix/X0 doesn't exist in the filesystem. Is there a way I can add this named socket back?

Edit: I just noticed that there is a named socket in the filesystem /tmp/.X11-unix/X1. I'm also running a VNC server that is using display :1, could this be causing issues?

1 points

ok I'm looking in there and I can't see anything that looks like the wifi driver is loading, what happens if you "modprobe iwlwifi", or "modinfo iwlwifi"

Also, if you configured the driver to be compiled into the kernel rather than as a separate module then you will also need to build in the firmware.

I suspect that something is wrong with your driver somehow, read through this page carefully https://wiki.gentoo.org/wiki/Iwlwifi

2 points

You didn't mention if you are using NetworkManager or netifrc etc...

If you're using netifrc you'll need wpa_supplicant and the driver for your wireless card, probably iwlwifi since you said it's an Intel card

2 points

Speaking as someone who prefers to run things on my own hardware.

The pricing seems reasonable, I can see how this would be useful to a less techy type of person.

I didn't see if you already offer this, but I think you should provide users with the option of downloading the ckpt file since for many people the training of dreambooth is the difficult part but they are happy to do the inference on their own hardware.

6 points

I went through this process trying to get my rx 580 working with SD on Gentoo.

You're right about AMD drivers being in the kernel, but those are only the graphics drivers, not the compute drivers.

Now, AMD compute drivers are called ROCm and technically are only supported on Ubuntu, you can still install on other distros but it will be harder.

In addition, your gpu is unsupported by ROCm, Rx 570 is in the class of gpu called gfx803, so you'll have to compile ROCm manually for gfx803.

You'll also need to compile pytorch and torchvision for gfx803, although I recommend you install the whl files from here inside your venv because it's a massive pain to compile them on non-Ubuntu (I tried)

I did eventually get it working on Gentoo, so I'm sure it's possible on Fedora but if you are able to run Ubuntu then it will make your life much easier.

By the way, I hope you have the 8gb rx 570 because I wouldn't have much hope that the 4gb version will even work at all.

3 points

I found I could get a used 2080 ti for around the same price as a new 3060, with 11GB VRAM but faster, albeit uses more power.

It took me 3.80s to run your example on 2080 ti

If I set batch size to 6 it takes 17.17 seconds which is 2.86 seconds per image

I am able to train dreambooth with it, using the AUTOMATIC1111 dreambooth extension.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.