Skip to content

u/squeezyphresh

In this archive from Jun 2014 to Feb 2024

5
posts
75
comments
1
media
272
score
1 saved before deletion

I'd say ROCm. I see a lot more research activity involving ROCm (I see this anecdotally, but if you do a search on Google Scholar, you'll see that MoltenVK has very few mentions compared to ROCm), and thus I anticipate it being more relevant. I'd also wager ROCm being more similar to CUDA and OpenCL than Vulkan compute, meaning the skills will be more easily transferable to other frameworks.

2 points

I thought CUDA was released before OpenCL though?

Actually, you're right! OpenCL definitely took some notes from CUDA, not the other way around.

I thought Vulkan compute was separate to Vulkan, being able to do headless compute

Aaaaaaand looks like you're right about that too. You've taught me two things now, haha. Thanks! https://www.khronos.org/blog/getting-started-with-vulkan-compute-acceleration

I'm currently in grad school doing HPC, so anecdotally what I see being used most often is definitely CUDA. However, the number one supercomputing in the world right now uses AMD GPUs, so I don't know if that will shift things towards ROCm. OpenCL definitely seems like it's lost steam, but some devices don't have alternates to OpenCL like Xilinx FPGAs (well technically they have native XRT, but I don't see anyone using that right now). Then you've got OneAPI/DPC++ which there seems to be a lot of hype about right now, but I've yet to see it used in a serious capacity. I would guess that CUDA/ROCm will be the most popular for a while since all the DL model training is going to use these for the near future. Intel and FPGA vendors will have to make some serious strides before they get a significant market share.

3 points

It really doesn't matter. CUDA and by extension ROCm both are clearly inspired by OpenCL. If you learn one, switching to the other will be trivial. OpenCL opens you up to programming other supported devices like FPGAs, but you might not care about that.

Vulkan has a completely different use case. It's for graphics programming, not for using GPUs for general purpose computing.

2 points

Seems like ymmv. I personally was using LightDM for a while. One day, it magically stopped booting Sway. I tried to find help and everything thread indicated that LightDM wouldn't boot wayland, so I gave up and switched to ly. Maybe LightDM technically supports wayland, but in practice, it doesn't seem like it plays nicely with it.

1 points

sway/i3 on desktop and plasma + i3 on laptop. I prefer the minimalism of just a tiling wm. I like to keep my fingers on the keyboard and I feel I can operate more efficiently this way. On laptop, it's worth having all the bells and whistles (e.g.having sleep on lid close, sleep in x min, sleep in ymin for low battery, etc.). Honestly, I'd like to have Plasma just have a tiling wm built in so that there's a nice out of box tiling wm experience.

1 points

I just did this recently. What you can do is remove windows, create a new boot partition, and then copy your root partition after that. You'll have to reassign your new root partition's uuid if that's what is used to boot the kernel. Then just reinstall and reconfigure your bootloader in your new boot partition to boot your new root. Once you've verified that your new boot and root work, then you can delete your old partitions and resize the new one to grow it.

My instructions assume you're windows partition is larger than your linux partition and that you don't want to keep it, so if both of those aren't true, you may need a second drive.

1 points

I'm not sure what exactly xidlehook exactly considers as "not idle", so it's possible that "a video is playing" doesn't count as idle. However, it does have a setting to specify that xidlehook shouldn't trigger when a windows is fullscreen or there is audio playing, which likely you're doing one of those when playing a video. I think the problem with a lot of the other auto lockers is that it assumes that there is a DE that will report the idle state to them, whereas I believe xidlehook checks for the idle state itself. I used to play games with a different auto locker and mid-session have my screen locked (imagine fighting a Sekiro boss and getting locked after almost beating it). Same with videos too. When I switched to xidlehook, I didn't have to worry about it anymore.

4 points

I think I'm done fixing this issue. I'm able to use both wired and wireless interfaces successfully without wpa_supplicant, and systemd-network + iwd seems to be working well. Reading a bit on iwd, it appears that that is supposed to replace wpa_supplicant, so perhaps having both installed caused one to block the other's services or something.

1 points

So I don't really do anything interesting with my network. I basically use the systemd-networkd example configs for simultaneous wired and wireless interfaces. Then I have iwd and wpa_supplicant installed. Uninstalling wpa_supplicant completely removes the delay. So I suppose it has something to do with attempting to connect to my wireless network? I do primarily use a wired connection though. Reinstalling wpa_supplicant reintroduces the delay though, so my problem is only solved of I don't need wpa_supplicant.

1 points

I hang at this spot:

starting version 245.7-1-arch
/dev/nvme0n1p5: clean, 287158/2121720 files, 7492622/8474881 blocks

and this is my fstab:

# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p5
UUID=d6414030-1179-4991-a1da-35fa48476fa6       /               
ext4            rw,relatime     0 1

# /dev/nvme0n1p3
UUID=8379-2A17          /efi            vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro       0 2

# /dev/nvme0n1p4
UUID=55d99a17-185d-4a79-b38e-e86cc99927c7       none            swap            defaults        0 0

# /dev/nvme0n1p5
UUID=d6414030-1179-4991-a1da-35fa48476fa6       /               ext4            rw,relatime     0 1

# /dev/nvme0n1p3
UUID=8379-2A17          /efi            vfat    rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro       0 2

# /dev/nvme0n1p2 LABEL=Games
UUID=2600B57700B54F15   /drive_g        ntfs            uid=1000,gid=1000,rw,user,exec,umask=000 0 0

# /dev/sdb2 LABEL=HDD
UUID=12BC5D8FBC5D6DEB   /drive_e        ntfs            uid=1000,gid=1000,rw,user,exec,umask=000 0 0

# /dev/nvme0n1p4
UUID=55d99a17-185d-4a79-b38e-e86cc99927c7       none            swap            defaults        0 0

I don't think I see anything wrong with it, and there isn't any message that implies anything is wrong with it.

1 points

Why would using a Windows app with WINE be a security issue? If the Windows app isn't sketchy, it shouldn't be a security risk, should it? Unless you're talking about privacy, in which case the issue is still the specific to the app you're running and not the fact that it is a Windows app in WINE... Or am I missing something?

2 points

My set up doesn't have a DE and boy oh boy if you forgo it you realize how much polish does into developing a DE. I spent maybe 3 days sorting out my lockscreen and suspend/hibernate... and I'm still not really done because for some reason when my screen blanks my lockscreen doesn't show up until I've unblanked my screen and pressed a key. The same issue doesn't exist when hibernating manually.

1 points

Seems like if you spent enough time, you could make your dotfiles robust enough to make sure certain features were on/off if the system was configured to support them, but practically it seems like you're better off storing non-config files in a separate partition and leave home as a space for system specific files. But I don't really mess with multiple installs on the same machine, so I'm just sort of spitballing.

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.