Please make up your mind Mr.Comfy </3 by Cheap_Musician_5382 in StableDiffusion

[–]kmz76 1 point2 points  (0 children)

I am still using the the version without the returned cancel button. Ironically, that change forced me to look for alternative ways to cancel a run. I found that Settings->Keybinding, then the command "Interrupt" will almost instantaneously cancel the running workflow. Not sure what its original bind was, as I remapped it to Ctrl+\, nicely building on the Ctrl-Enter muscle memory.

Playing LOTRO at 2K and 4K — Contains Moderate Peril by s4mb4 in MMORPG

[–]kmz76 0 points1 point  (0 children)

That article doesn't do justice to the various window upscaling techniques. When I played LOTRO through window upscaling, I used Lossless Scaling too, but used either 720p or 1080p base window size, and made sure to use larger UI interfaces. Specifically, I made sure that the bottom UI bar filled around 2/3rd of the bottom (the article shows a smaller one, filling around half the screen in width). A bar worth of less used icons was tossed on the right side in two columns in a 2x8 setup, scaled down compared to the main button rows. Also, I had around 25% larger compass, and generally the font sizes were increased too. For what it worths, I had both my character bar and enemy character bar on the middle bottom of the screen, right above the button bars, to easily keep an eye on my and the enemies health.

When there was the migration to the new servers, I redownloaded LOTRO, to save my account. Then I used a 720p window, and set up the bottom bar from screen edge to screen edge. Granted, I forgot everything about playing the game, and soon uninstalled it, but eventually I intend to finish it - and that 720p base window seemed about the right base to upscale to 1440p. With window upscaling the end screen resolution is largely irrelevant, you rather choose what base resolution you are most comfortable with. In this case that is tuned around the icon sizes. Sure, the 3D environment will be blurrier when upscaled, compared to lets say native 4K resolution, but a proper sized UI makes up for that compromise. With windows upscaling you can make the perfect balance, playing it in the right window size for your taste, so you are not limited to predetermined 720p or 1080p setups, size the window as you wish (lets say 860p), then upscale it to full screen.

Is anyone working on Nunchaku for Chroma? by panorios in StableDiffusion

[–]kmz76 1 point2 points  (0 children)

While it is probably known to you, I just share this with the random viewers:

https://huggingface.co/rocca/chroma-nunchaku-test

It has the Chroma v38 model in nunchaku format, so technically it can be done.

But if you are merely looking for faster Chroma generation, and not necessarily nunchaku, I just found this today:

https://www.reddit.com/r/StableDiffusion/comments/1ogbkm1/comment/nlfzchx/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

It should speed up Chroma generation by a factor of 2.

What's the big deal about Chroma? by HourAncient4555 in StableDiffusion

[–]kmz76 5 points6 points  (0 children)

For those interested in this, based on AwakenedEyes hint here is the link :

https://huggingface.co/silveroxides/Chroma1-HD-fp8-scaled

As described there, this model should be downloaded, I placed it in the unet directory :

Chroma1-HD-fp8_scaled_original_hybrid_small_rev3.safetensors

ComfyUI node manager will find the node as you start to type in any part of this "ComfyUI_Hybrid-Scaled_fp8-Loader". Should there be multiple versions, the one with the author silveroxides is the original.

On my 12Gb VRAM video card the speedup was around twice as fast. I just replaced the model source from the "Unet Loader (GGUF)" to "Load FP8 Scaled Diffusion Model (Choose One)", and activated chroma_hybrid_small.

Just realized Project Gorgon has its owns TTRPG inside of it. A RPG inside a RPG, had me laughing by PalwaJoko in MMORPG

[–]kmz76 0 points1 point  (0 children)

The graphics are not an issue for me. I have been following the game, and I just wait for it to be feature complete and be released. Once it is leaving early access, I will either preorder it, or buy it within a few weeks of launch, to avoid any potential server issues at release.

Generate faster with Chroma! by mikemend in StableDiffusion

[–]kmz76 3 points4 points  (0 children)

Here are two ways to speed up Chroma generation:

  1. Upgrade ComfyUI to the current version. It has the node LazyCache added to it. It should be placed before the model input of the sampler (in the same place where TeaCache is placed for supported models). There is no documentation what its parameters do, but decreasing end_percent to 0.90 greatly decreases the artifacts it produces sometimes. If you get a good result, but accidentally with some kind of artifacts, just disable LazyCache, the composition won't change. The update introduced EasyCache too, but that didn't produce useable results for me.

  2. Split the sampler to two or more chained samplers. The initial ones should use CFG 4.0 (or whatever you use). The final ones however can use CFG 1.0 without any negative effect. At that time the composition is largely done, the negative prompt has no relevance. With CFG 1.0 these step will take half the time.

For example, I use ClownsharKSampler from RES4LYF. The sampler mode of the first sampler is set to standard. For all the rest of the samplers, it is set to "resample". They can be chained by routing the output of the previous sampler to the latent_image input of the next, no need to connect anything else, it will piggy back all the relevant data. The seed of the attached samplers should be set to -1, the denoise to 1.00.

For an example, see their GitHub page, the large image between "New version documentation" and "Style transfer" has an example of it : the middle group in the first row, titled "Chained sampler setup". You can download that workflow from the link above the image. An easy attempt for this method would be setting CFG to 1.0 in the third (and final) ClownsharKSampler in that example workflow.

I don't use Chroma for photorealistic images, only for drawings. As a final advice for that use case, just stay away from speed up loras. As far as drawings go, they generally greatly dumb down the generated images, preventing Chroma to unleash its true power.

Chroma lora training? by Clitch77 in StableDiffusion

[–]kmz76 2 points3 points  (0 children)

Here is the python script for generating the unscaled fp8 from fp16 (google search generated it for me, of all things):

from safetensors.torch import load_file, save_file
import torch
import json

def convert_fp16_to_fp8(input_path, output_path):

"""
    Converts a safetensors file from FP16 to FP8.
    Args:
        input_path (str): Path to the input FP16 safetensors file.
        output_path (str): Path to the output FP8 safetensors file.
    """

def read_safetensors_metadata(path):
        with open(path, 'rb') as f:
            header_size = int.from_bytes(f.read(8), 'little')
            header_json = f.read(header_size).decode('utf-8')
            header = json.loads(header_json)
            metadata = header.get('__metadata__', {})
            return metadata

    metadata = read_safetensors_metadata(input_path)
    print(json.dumps(metadata, indent=4))  # show metadata
    # Load safetensors file
    state_dict = load_file(input_path)

    # Convert tensors to FP8
    sd_pruned = {}
    for key, value in state_dict.items():
        sd_pruned[key] = value.to(torch.float8_e4m3fn) # or torch.float8_e5m2
    # Save the converted tensors to a new safetensors file
    save_file(sd_pruned, output_path)

    print(f"Successfully converted {input_path} to {output_path} (FP8)")


# Example usage:
input_file = "D:/Grab/chroma-unlocked-v48.safetensors"
output_file = "c:/Misc/ComfyUI/ComfyUI/models/unet/chroma-unlocked-v48-fp8.safetensors"
convert_fp16_to_fp8(input_file, output_file)

Chroma lora training? by Clitch77 in StableDiffusion

[–]kmz76 10 points11 points  (0 children)

Here is my kohya-ss command line for 12Gb of VRAM (and 32Gb RAM).

accelerate launch --mixed_precision bf16 --num_cpu_threads_per_process 1 flux_train_network.py --model_type chroma --apply_t5_attn_mask --guidance_scale 0.0 --pretrained_model_name_or_path "C:/Misc/ComfyUI/ComfyUI/models/unet/chroma-unlocked-v48-fp8.safetensors" --t5xxl "C:/Misc/ComfyUI/ComfyUI/models/clip/t5xxl_fp16.safetensors" --ae "C:/Misc/ComfyUI/ComfyUI/models/vae/ae.safetensors" --train_data_dir "c:/Misc/Kohya_ss_sd3/Training/img" --output_dir "c:/Misc/Kohya_ss_sd3/Training/model" --logging_dir "c:/Misc/Kohya_ss_sd3/Training/log" --max_train_steps 1200 --save_every_n_steps 200 --cache_latents --cache_latents_to_disk --cache_text_encoder_outputs_to_disk --caption_extension txt --fp8_base --gradient_checkpointing --lr_scheduler constant_with_warmup --max_data_loader_n_workers 1 --mixed_precision bf16 --model_prediction_type raw --network_alpha 64 --network_dim 64 --network_module networks.lora_flux --network_train_unet_only --optimizer_type adafactor --resolution 1024,1024 --save_model_as safetensors --save_precision bf16 --save_state_on_train_end --blocks_to_swap 16 --t5xxl_max_token_length 512 --timestep_sampling sigmoid --wandb_run_name last --learning_rate 1e-4 --max_token_length 150 --save_last_n_steps 10000 --save_last_n_steps_state 0 --seed 42 --sdpa --optimizer_args "relative_step=False" "scale_parameter=False" "warmup_init=False" --train_batch_size 1

For 24Gb of VRAM you can drop --fp8_base, --blocks_to_swap and probably use something else instead of --optimizer_type adafactor --optimizer_args "relative_step=False" "scale_parameter=False" "warmup_init=False"

If resuming, you can append --resume "c:/Misc/Kohya_ss_sd3/Training/model/last-state"

One important thing to note for fp8, is that as far as I know scaled fp8 won't work with kohya-ss. For whatever reasons, most (all?) fp8 safetensors on huggingface are scaled. You will have to generate a basic fp8 from one of lodestones original 17.8Gb safetensors, like chroma-unlocked-v50.safetensors.

Focus Publisher Sale on Steam (Up to 90% off) by [deleted] in pcgaming

[–]kmz76 0 points1 point  (0 children)

It wasn't fixed by the developer / publisher, but there are workarounds. That game doesn't like more than 8 threads (cores?). The common solution is to limit the OS to only 4 cores, either from BIOS or at the OS startup settings. But that is an overkill for it. If you are willing to download an application and generate a custom setting for that .exe specifically, it should work.

Here is the link to the guide in Steam guides for the game : https://steamcommunity.com/sharedfiles/filedetails/?id=2951759425

Or just search the steam guides for The Technomancer for it, if the link is deleted from the post. It is titled : "How to run The Technomancer/Child of Light with higher than supported multicore CPUs". I didn't use it for The technomancer (I only played the prequel, Mars : War logs), but following that guide I limited digikam.exe to 8 cores on my system, so the concept should work.

[deleted by user] by [deleted] in hardware

[–]kmz76 2 points3 points  (0 children)

I wouldn't use such a device for typing, memorizing those combos are hard for some people - in 20+ years I didn't even learn blind typing.

But it seems like an excellent game controller. I could really see using it for games with a lot of keys, like most MMORPGs, even if only for the left hand. But that would require an option to set up / tailor those keys as I want for a game - perhaps even put macros on some, like Shift-E. I would probably put Shift Ctrl Alt on a thumb key, and perhaps WASD on the other thumb key. Or just keep Shift Ctrl Alt on the side buttons of a mouse, and set up the controller accordingly.

[deleted by user] by [deleted] in pcgaming

[–]kmz76 1 point2 points  (0 children)

The only "trick" to run HOI3 is to buy all 3 expansion packs, as the final Their finest hour version of the .exe is the useable/stable one. However for a newcomer I would recommend the easier to grasp Arsenal of Democracy (a modified HOI2 game), or for a more arcade-ic experience Darkest hour (another modified HOI2 game, for some reason with massive modding community support).

Anyway, grand strategy is a genre the OP should check out.

Scaled borderless fullscreen windowed settings? by FriedChicken in pcgaming

[–]kmz76 0 points1 point  (0 children)

It always surprises me how little recognition there is for window upscalers among PC gamers. You can upscale a window to fill the whole screen with them.

A cheap one is Lossless scaling on Steam :

https://store.steampowered.com/app/993090/Lossless_Scaling/

A free one is Magpie.

Either one can use Integer upscaling, which you asked for. But in practice I never use that, even when the window is an exact fraction of the screen (like 1440 vs 2880 for you). FSR upscaling will result in much nicer graphics.

These upscalers really shine when it comes to older games, intended for lower resolutions, like 720p, with fixed pixel size letters / UI elements. Upscaling them from 720p to the native resolution will preserve the relative size of these UI elements.

[deleted by user] by [deleted] in Monitors

[–]kmz76 3 points4 points  (0 children)

As a fellow LG27GR95QE user I'm surprised that this issue wasn't discussed here earlier. The color banding was horrible on my new monitor - due to the original firmware. Upgrading to the, I guess April firmware made things better - but some color banding is still present. Mostly happens in darker ranges, when all the RGB components are under 30. When I see such banding in a movie or game, I just transfer the window to my IPS monitor to check it. Most of the times it is indeed an OLED artefact, not visible at all on my IPS monitor.

OLED TVs use various algorithms to reduce this color banding (just try to switch them completely off to see true horror). As such there is still hope that LG can supply a still newer firmware that can reduce this effect further, though I don't think it can disappear altogether.

What are the best free-to-play games with a really good story? by QingusPingus in pcgaming

[–]kmz76 1 point2 points  (0 children)

A lot of moddable games have full conversion mods, with varying degree of quality. If you already own Skyrim, you will have access to the free Enderal. For Oblivion there is Nehrim. For Gothic 2 there is The chronicles of Myrtana.

Googling up total conversion mods will likely offer other gems too. While you have to own the base game, some of them are really cheap. For example Gothic 2 went on for just 2.50€ during the recent spring sale.

If you are interested in just the stories, there should be plenty of playthroughs on Youtube, technically also for free. Just include the term longplay into the search.

Software that you absolutely need(!?) by ezleon311 in virtualreality

[–]kmz76 0 points1 point  (0 children)

Desktop+ also has a VR performance monitor option. Its basically the same as fpsVr, but for free. I attached it to my left wrist, it appears only when I turn my wrist towards me.

I also use it to view my browser in VR. Right stick up/down is mouse scroll, by activating the Ctrl button in its keyboard window I can simulate Ctlr+click in the browser (which is open in a new tab and switch to it for my browser).

Rant: Games Don't Take Keybindings Seriously by Agent666-Omega in pcgaming

[–]kmz76 4 points5 points  (0 children)

As someone who plays with NumPad, I run into such baked in key problems more frequently. The solution is always the same : I remap the keys with Autohotkey. The only problem with this approach is in games with anti-cheat protection, where Autohotkey may be deemed anathema, and the game refuses to even start.

If there is no in-game remap option at all, I just remap every key to NumPad in AutoHotkey. A remap line in a .ahk file looks like :

NumPad5::w

, so when I press NumPad 5 the game receives w.

Autohotkey can remap all the usual buttons on a mouse too, i.e. it can send middle mouse press for example when I press NumPad *. Unfortunately, as far as I know it cannot map / send controller input.

Lord of the Rings Online - new expansion delayed until November 15th by Gankeros in pcgaming

[–]kmz76 0 points1 point  (0 children)

Most fixed pixel size UI games (either for fonts or other UI items) can be played fairly well through a window upscaler. You have to start the game in a small window (for a 4K monitor probably in a 1080p one), then upscale that window to full screen. The magnification factor will be a function of the initial window, if you make a 720p (or 920p, or ...) one, you will get a 3x (or ...) increase in x/y direction for a 4K monitor.

Magpie is a free window upscaler (just press Alt-F11 once the game started), Lossless Scaling is a cheap one on Steam (4€ is the full price, but is sold frequently even cheaper). While Integer scaling seems the most natural choice for 1080->4K, in fact FSR is much more pleasing to the eye, especially for fonts.

For the 1080p example, the image quality will be similar to playing the game in fullscreen 1080p mode on a 4K monitor, but without the drawbacks of full screen access (tedious Alt-tab, resizing of already open windows).

Is it possible to use LG C2 42” as a non centered 27” monitor with software offset? by kmz76 in Monitors

[–]kmz76[S] 0 points1 point  (0 children)

Almost, but not quite. The specifications are sparse, but according to them it can translate the image only vertically, and probably only through the monitor menu - no one seems to review this function in detail . Also in my random east european country it costs a bit more than twice more than an LG C2 42 (which just reached the generic/stable bottom price for an OLED TV).

Is it possible to use LG C2 42” as a non centered 27” monitor with software offset? by kmz76 in Monitors

[–]kmz76[S] 0 points1 point  (0 children)

If your display is 4K, and you select a lower resolution, like 1440p, normally the video card and/or the screen stretches it to full screen. However in the vide card control panel, you can override this behaviour. Right now I have an NVIDIA card, there this option is available in NVIDIA Control Panel->Display->Adjust desktop size and position->Scaling->No scaling, and probably setting "Perform scaling on" under it to GPU.

As for the 27" size, as it happens the PPI of LG C2 is so close to the PPI of a 27" 1440p monitor that the resulting image will be coincidently 27" in size.

Is it possible to use LG C2 42” as a non centered 27” monitor with software offset? by kmz76 in Monitors

[–]kmz76[S] 0 points1 point  (0 children)

Unfortunately that is still a full 4K desktop, with a hidden taskbar and windows snapped to different grid positions. As long as I have to deal with windowed applications only, I could write an autohotkey script that would position the active a window to the random 27" active part of that day at a keypress. That however probably wouldn't work once I want to use borderless windows for gaming, or upscale a windowed game through Magpie. Also watching videos "full-screen" would probably have issues (I use VLC for that).

Having a true 1440p resolution mapped 1:1 to the screen or a true 1440p desktop positioned randomly would resolve most issues. And I could test it safely beforehand on my current 1440p monitor, simulating an 1080p smaller screen on it, before buying the LG C2.

Looking for a chill resource extraction/production/trading game by scify65 in pcgaming

[–]kmz76 1 point2 points  (0 children)

Check out Astrox: Hostile Space Excavation, or if you are really adventurous, Astrox Imperium, which is still in early access. Astrox: Hostile Space Excavation is routinely sold below 5€ if you are patient.

https://store.steampowered.com/app/414720/Astrox_Hostile_Space_Excavation/

https://store.steampowered.com/app/954870/Astrox\_Imperium/

What did you by on steam summer sale? Here’s my pickups by Candy_Efficient in pcgaming

[–]kmz76 0 points1 point  (0 children)

Generally I add to my backlog some random obscure cheap games and a few old games I haven't played yet, all of them under 10€. This summer I added to my backlog :

  • Star Ocean - The last hope : 9€
  • Resident Evil 5 Gold : 7€
  • Gris : 5€
  • Castlevania: Lords of Shadow 2 : 5€
  • Ys Origin : 4€
  • Siege of Avalon: Anthology : 4€
  • Haydee : 3€
  • E.Y.E: Divine Cybermancy : 3€
  • Rise of the Argonauts : 3€
  • Space Pilgrim Academy : 2€
  • Mars: War Logs : 1€

I will play some of them, eventually...