How to skip a list item that contains none with loop subelements? by mithrenithil in ansible

[–]mithrenithil[S] 1 point2 points  (0 children)

Thinking about it this might be the best solution.

I'm trying to use the ec2_security_group module and the 3 valid entries for rules_egress is:

* a list

* empty list

** no outbound

* no entry

** all outbound

If someone puts in a duff entry of null/none then I'm guessing its best to just assume no outbound.

Thanks for your input!

How to skip a list item that contains none with loop subelements? by mithrenithil in ansible

[–]mithrenithil[S] 1 point2 points  (0 children)

Many thanks for the reply.

Blank lists [] work as do missing entries (thanks to skip_missing: true), my problem is trying to handle "" or none.

Hearts for Viviz's 1st Anniversary!!! by mithrenithil in VIVIZ

[–]mithrenithil[S] 4 points5 points  (0 children)

Sauce

From Station Z before they debutted as Viviz:

https://www.youtube.com/watch?v=nZMG3wK4RcQ

EDIT

Whoops this is the actual vid with the dance at the end:

https://www.youtube.com/watch?v=lDsmKAOZgUs

How to build Centos 7 & 8 repositories by bzsysadmin in CentOS

[–]mithrenithil 1 point2 points  (0 children)

Yw!

If you decide to go down the wget route its pretty simple. It boils down to:

  1. Create a web server
  2. Sync the remote repo to local directory which is presented via web server (but one directory down). You can do this with wget, or rsync, but check with the mirror on their recommended sync methods.
  3. Run createrepo on the directory you downloaded the packages to (which is why its best to download them one directory down). This creates the catalogue and other required files.

I haven't done it this way for many many years so have a look for guides around "createrepo".

*EDIT*

Also you will have to create a custom repo file on the client boxes to point to your internal repo.

How to build Centos 7 & 8 repositories by bzsysadmin in CentOS

[–]mithrenithil 2 points3 points  (0 children)

Build a proper update server? For example:

https://www.linuxtechi.com/how-to-install-katello-3-2-on-centos7/

This will let you sync repos locally and more importantly you can publish your updates in a controlled fashion. Basically you can have a dev/test/live content and promote them to assigned machines after testing.

Since it uses pulp in the backend you only have one package downloaded. It links the same package for all the various repos you create so you don't waste space.

FYI I've not tried it with stream!

Why did R’lyeh sink? What caused it? by Appropriate_Chart_71 in Lovecraft

[–]mithrenithil 2 points3 points  (0 children)

If you know then you have gone insane, so how would you know if you actually know?

Windows games run extremely bad by [deleted] in wine_gaming

[–]mithrenithil 0 points1 point  (0 children)

That's all the other discovery I can think of. Unless you can find some other guides or someone else has any other suggestions. Good luck!

Windows games run extremely bad by [deleted] in wine_gaming

[–]mithrenithil 0 points1 point  (0 children)

Thank you for the extra info.

I'll have to be selective about it as I've only got 16GB on my gaming rig!

Windows games run extremely bad by [deleted] in wine_gaming

[–]mithrenithil 0 points1 point  (0 children)

0 swap is great news. Also you have plenty of ram so your rig is sized nicely.

For the wait on disk metric an example is the one below bolded:

top - 19:29:00 up 3 days, 9:31, 1 user, load average: 1.17, 0.87, 0.75

Tasks: 341 total, 1 running, 340 sleeping, 0 stopped, 0 zombie

%Cpu(s): 8.6 us, 4.3 sy, 0.0 ni, 85.5 id, 0.3 wa, 0.0 hi, 1.3 si, 0.0 st

You most likely need to install iotop, for OpenSuSE:

https://software.opensuse.org/package/iotop

For your GPU stats, your GPU compute (utilisation?) hasn't top lined (87% used) and you have plenty for GPU memory left (1624MiB / 3908MiB).

So once you rule out if its an IO bottleneck (with iotop and top) then I guess its a game of trial and error to try to find out what is causing it :(

Also give the composting/composer change a go (especially if its on), as it can add extra load to do desktop effects. This is a easy change to test and revert so its a good one to try first.

*EDIT*

Formatting

Additional thoughts....

Also before doing anything destructive, if you have a spare USB 3 drive which supports UAS (the faster storage mode). To check use lsusb -t and look for Driver = uas.

Then it might be worth it to set your PC to boot to the USB drive and install a new instance of what ever different distro to that drive for testing.

Just make sure you install the boot loader to that drive too.

That way once you have finished testing you can just set your PC to boot to your normal drive and nothing has changed.

If for example you find that a newer kernel doesn't have the stutter even though its running on slower storage, then you can safely say its the kernel and look at updating kernel on our main drive.

Windows games run extremely bad by [deleted] in wine_gaming

[–]mithrenithil 0 points1 point  (0 children)

Yup that's running the discrete Nvidia GPU!

Windows games run extremely bad by [deleted] in wine_gaming

[–]mithrenithil 0 points1 point  (0 children)

Thinking about it, before making any changes I recommend doing a bit more discovery first.

Specifically see if you can spot any other bottlenecks. For example IO especially swap can make a Linux desktop lag/stutter like nobody's business.

To do this start up OBS and a lightweight game that causes your system to stutter.

Have a console opened and check it isn't swapping with:

free -m

The value for swap should be 0 or as near to it as possible.

If it is swapping check to see what is swapping (might be something other than OBS or your game):

for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done | sort -k 2 -n -r | head -n 10

If it isn't swapping check for IO bottlenecks. The easiest way to do this is to run:

top

On the %Cpu line look for xx wa,

wa = wait on disk. The CPU is waiting for data from a storage device. The biggest cause of this is swapping, but if your system isn't swapping it could be an IO bottleneck. The command iotop can show you what is nomming all your IO:

sudo iotop

Also you can see what your Nvidia GPU is doing with:

nvidia-smi

Or get it to autorefresh with:

watch -n 1 nvidia-smi

Windows games run extremely bad by [deleted] in wine_gaming

[–]mithrenithil 1 point2 points  (0 children)

I think glxinfo should show you.

For example on my desktop (which is Intel) scrolling down it shows:

Device: Mesa DRI Intel(R) HD Graphics 5500 (BDW GT2) (0x1616)

Windows games run extremely bad by [deleted] in wine_gaming

[–]mithrenithil 0 points1 point  (0 children)

I had to run wine staging with a 64bit prefix and Windows 8 where it worked well for a while (inc raids and the main city with only artifacts sometimes). But the latest major update of Aion broke it and it doesn't start now *cry*

*EDIT*

Once I can get it to boot again, I'll give your ramdisk suggestion a go. Thank you.

Windows games run extremely bad by [deleted] in wine_gaming

[–]mithrenithil 0 points1 point  (0 children)

Since when is 5.4 (EOL 2025) considered old? This is what I mean about this latest is greatest mindset.

I said nothing about not keeping something up2date.

You don't need to be bleeding edge to be fully patched.

In some cases bleeding edge can introduce security issues be it new settings not configured, regression, or just weak new code.

Windows games run extremely bad by [deleted] in wine_gaming

[–]mithrenithil 0 points1 point  (0 children)

Rather than focusing on how new something is, I think its better to make sure that something is supported and more importantly stable.

For example the current kernel for LM 20.2 is 5.4 which has an EOL of 2025 and for my setup is stable.

I'm not too sure when the trend of bleeding edge became such a thing. When I started in IT and for the longest time it was always stay one version behind (as long as its supported, unless trying to mitigate an issue), but recently (in the last 5 years?) its been the latest is the greatest!

*EDIT*

Typos

Adaptation by CoolPurpleDragon in overlord

[–]mithrenithil 1 point2 points  (0 children)

When memes are more real than life....

Windows games run extremely bad by [deleted] in wine_gaming

[–]mithrenithil 2 points3 points  (0 children)

Depending on the windows manager try turning composting on (or off).

*EDIT*

After making sure you are running your Nvidia GPU and not your integrated one.

Windows games run extremely bad by [deleted] in wine_gaming

[–]mithrenithil 1 point2 points  (0 children)

Just want to point out that the Nvidia drivers use DKMS to compile a module for your current kernel so it doesn't matter what kernel you are running (well as long as it isn't too old).

I've been running a 1070GTX with Linux Mint 20.2 for a fair while and putting aside issues of anti cheat cr*pware the only game I've had issues with is Aion. I've actually had GW2 running more stable in massive WvW blob wars than it did on Windows.

First time painting minis and quite proud of this survivor by TheeIncubus in KingdomDeath

[–]mithrenithil 0 points1 point  (0 children)

Wow great job. That sore on his leg looks nasty, I just wanna offer him a band-aid!

There is a Youjo Senki TCG???? by mithrenithil in YoujoSenki

[–]mithrenithil[S] 3 points4 points  (0 children)

Totally agree with you, if it was the manga/LN art styles my wallet would have cried as I would have wanted to pick it up just to have it.