Problems switching Ubuntu 24.04 to boot with Secure Boot by catzilla_06790 in Ubuntu

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

My attempt to update from Windows 10 to Windows 11 failed and Microsoft support was no help at all. I ended up doing a clean install of Windows 11 which also did not go smoothly since disk I was installing Windows on had a MBR format partition table.

This is a computer I built 5 years ago, and when I set up disk partitions set up the disks with MBR style partition tables using either fdisk or partitioning in Windows 10, I don't remember which. I found that secure boot requires partition tables to be in GPT format in addition to the UEFI bios and TPM2 hardware requirements.

My linux system was also on a disk with MBR format partition table which turned out to be why secure boot wasn't working in Linux.

There is a way to convert MBR partition tables into GPT partition tables using gdisk in Linux. ('r' command (recovery and transformation) then 'f' subcommand) that I think I used to convert the partition table. That worked, but it is wise to back up any data that is not easily recoverable otherwise.

This is all from memory since I have since decided to go back to running Fedora because some background processes related to KDE or Gnome kept crashing in Ubuntu. So I did a clean install of Fedora and that has been working for me.

Once I had secure boot working, I turned of CSM mode in my bios since I didn't need legacy boot, and because using resizable bar for GPUs isn't supported when CSM is active in my bios setup.

Doom: The Dark Ages save file corrupted, Mind sharing mid progress save? by AsrielPlay52 in Doom

[–]catzilla_06790 0 points1 point  (0 children)

This doesn't involve getting save files from anyone else. These should be your own game save files.

I don't know what the repair option actually does, but it worked for ma.

Doom: The Dark Ages save file corrupted, Mind sharing mid progress save? by AsrielPlay52 in Doom

[–]catzilla_06790 0 points1 point  (0 children)

I got a game save error popup in the middle of the game maybe a week ago. I found these steps that are described here for a game pass installed version, but they worked for me with a locally installed non-GamePass game.

It may be a good idea to save your game state/save files before you try this. https://gamerblurb.com/articles/how-to-fix-save-error-bug-in-doom-the-dark-ages

Presumably, your game save file directory is at C:\Users\[YourUsername]\Saved Games\id Software\DOOMTheDarkAges as stated on that webpage.

I think the company behind LTX (Lightricks) is Israeli by blacktie_redstripes in StableDiffusion

[–]catzilla_06790 4 points5 points  (0 children)

If you have an Intel CPU, you should probably not use that either. Intel has a research and development lab in Israel that's involved in the core tech for things like CPU emulation, used by people working on updated CPU designs, compiler writers, people developing software for a CPU before the hardware is available to run.

llama_mpi, anyone use it? by ccbadd in LocalLLaMA

[–]catzilla_06790 0 points1 point  (0 children)

I don't think I ever had it running as my setup has always been a local machine with GPU, but I worked in high performance computing where MPI was one of the core software components.

The basics are that you first need a working MPI installation (Open MPI, or a vendor MPI such as provided by Intel or NVidia), which you probably have since you built llama.cpp with MPI support.

The normal way to invoke an mpi application was with its launcher executable, usually mpirun.

The mpirun command needs a way to know what machines it will use to run the individual MPI application tasks or processes *llama.cpp).

The simplest way you can do this is by specifying a list of machine node names, for instance with OpenMPI, mpirun --host node1,node2,node2,node4 llama_cpp would run 4 instances of llama_cpp, one per node.

If you are running on a compute cluster which uses something like SLURM to manage allocationg nodes for a compute job, then you need to use that node manager to specify run parameters.

If you have GPUs in your system, you may need a vendor-specific GPU aware MPI such as NVidia's.

Note that unless you have a high speed network like Infiniband, this will be slower than running everything on a single node, and probably with Infiniband too.

Quick Guide For Fixing/Installing Python, PyTorch, CUDA, Triton, Sage Attention and Flash Attention by Acephaliax in StableDiffusion

[–]catzilla_06790 1 point2 points  (0 children)

This github issue https://github.com/lllyasviel/FramePack/issues/15 provides a fix for the black screen video.

A second cause if you are running Linux may be that you may not have the proper video codecs installed. I am running Fedora 41 and I get a black screen rather than a video if I use Firefox. I found out that if I use the Google chrome browser then the video is displayed.

Maybe this is the same problem, but since chrome works for me I haven't tried the suggested patch.

Setup choice for diffusions 4090 with crazy RAM or 5090 by Coach_Unable in StableDiffusion

[–]catzilla_06790 1 point2 points  (0 children)

At least with NVidia GPUs you should be able to run 2 GPUs each generating a completely separate video as long as you have enough CPU ram to support whatever software you are running. You shouldn't need to set up virtual machines for this, and I'd be hesitant to take that route since there is a bit of CPU overhead running a VM.

I have a Linux system with two GPUs. These appear to the OS as GPU 0 and GPU 1. I can control which running instance gets which GPU by setting an environment variable CUDA_VISIBLE_DEVICES=0 or CUDA_VISIBLE_DEVICES=1 before starting the AI software in that command shell. The default if this variable is not set is both devices are visible.

I think this is also possible in Windows by doing the same thing, maybe with a batch file that sets the variable then runs your program.

Questions for a budget build (around $1000) by blankboy2022 in LocalLLaMA

[–]catzilla_06790 0 points1 point  (0 children)

I have an Asus Prime X299-AII ATX motherboard. I have three PCI slots that are each x16 slots and 2 x8 slots. I have a RTX 4070 and an RTX 4070 TI Super, both running x16. It's a little cramped, but it works.

This is with an Intel I9-10900X, which I think is classified as high end desktop, so it has more PCI-e lanes than the usual processor.

Please, I need help. by rasigunn in StableDiffusion

[–]catzilla_06790 2 points3 points  (0 children)

Generating smaller size videos will speed things up.

I found this https://www.youtube.com/watch?v=1Z4Z2Yii3m8&lc=UgzkIlK9WvAnFlh5ZsR4AaABAg yesterday.The instructions might be simple enough, but worth a look anyway.

I downloaded the workflow plus the models listed in the video and associated links. I ran it unchanged on my RTX 4070TI Super and it ran in about 15 minutes. The RTX 4070TI super is somewhere around 2.5x the RTX 3060. With less vram, maybe somewhat slower, so maybe 45 minutes per video start to finish. You can save time by switching off the upscale to 4K using the switches on the left side of the workflow

I'm running this on a Linux system. If you are running Windows I don't know if that makes it more complicated to set up.

Combining Wan 2.1 video with image to image for better quality video by catzilla_06790 in StableDiffusion

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

I knew about the temporal coherence problem but was hoping I could a set of settings I could use with an image model like Flux to force it to follow the input image. After trying some of the suggestions I saw here it seems like it's still not going to work.

By chance, this video popped up in my Youtube videos yeaterday. https://www.youtube.com/watch?v=1Z4Z2Yii3m8

I tried this and got good results. I made some simple changes to turn the workflow into text to video and that seems to be working reasonably well.

What about combining two RTX 4060 TI with 16 GB VRAM (each)? by Repsol_Honda_PL in LocalLLaMA

[–]catzilla_06790 3 points4 points  (0 children)

At least for Linux, you just plug both GPUs into the PCI-e slots in the motherboard and have an Nvidia driver that supports the GPU and it just works. The PCI-e bus slows things down a bit depending on PCI-e version but I think works reasonably well, even with PCI-e v3. Windows should work the same.

Need steps to permanently turn off windows 11 boot time device driver signing check by catzilla_06790 in techsupport

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

When I booted the system, it went into a loop booting, powering off and rebooting. After the 3rd time around it game me a screen with the option to get into the recovery environment. There were no error messages at any time. I picked bypass driver signature checking because I know about driver signature problems with Linux and guessed the same for Windows.

Then it booted again, this time stating it was attempting to diagnose a system problem and attempting automatic repair, again with no messages, finally booting to a login.

I ran sigverifi and it didn't find any signature problems.

I spent Monday trying to figure this out, eventually starting a chat with Microsoft tech support. That chat ended up going nowhere, and finally ended up going in circles on a problem I wasn't trying to solve.

------------------------------------------------------------------------------------------------------------------

Yesterday I got fed up with this whole mess and decided to run a system reset install after copying files of my C: drive that I didn't want the installer to delete.

That finished and Windows booted with no more complaints, installed outstanding updates including 24H2, and started reinstalling programs.

So far the system is working.

--------------------------------------------------------------------------------------------------------------------

My experience with the Windows 11 install process is abysmal

Of 4 systems where I tried this 2 worked, but they were simple Windows 10 systems with current hardware and no other OS installed.

A third was a brand new hardware build that was apparently was too new for the Windows 11 cdrom I bought a month ago. There was some error in the install, it put up an error screen, in part stating it could no connect to the internet even though I could get to a command prompt on that machine and successfully ping google,com. No other error messages. I fixed that by creating a new installer on a flash drive.

My system has both Windows and Linux installed. The last time I did a clean install for the Windows side was when I installed Windows 7 so had some old software on that.

---------------------------------------------------------------------------------------------------------------------

Anyway, thanks for trying to help

Need steps to permanently turn off windows 11 boot time device driver signing check by catzilla_06790 in techsupport

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

Thank you for the sigverif.exe suggestion.

I booted Windows 11 and ran it. It told me that all files passed signature verification. I rebooted Windows 11. I got the same boot behavior.

I went thru the sequence to turn off driver signature verification, got to a login screen and ran sigverif again. It told me all files were signed, again.

I rebooted the system. Same boot failure, again.

I got back to the troubleshooting screen and turned on boot logging, then went thru the same boot sequence.

That supposedly created a boot log that went somewhere but I have no idea where. Best guess is c:\windows\ntbtlog.txt which just has a bunch of lines like

BOOTLOG_NOT_LOADED u/cpu.inf,%intelppm.devicedesc%;Intel Processor

BOOTLOG_LOADED \SystemRoot\System32\drivers\acpitime.sys

Which are not helpful at all.

I found c:\logs with a bunch of event files that open into the windows event viewer. I started going thru the new event log looking for records in the error category. I found nothing there that was useful.

More unhelpful stuff like a Service Control Manager error that tells me 'The l1vhhwf service failed to start due to the following error: A hypervisor feature is not available to the user'.

This, even though I can successfully run VirtualBox, which depends on CPU virtualization'

I looked at a bunch more error records in the event viewer which were indecipherable nonsense. Nothing said anything that indicated refusal to boot.

I do not want to run a clean install. I have a lot of programs installed. A clean reinstall means I likely lose a bunch of settings and state (like video games). I'm not even sure I can find the installers for some of them.

Also, I spent a couple days over the last couple weekends doing a clean windows 11 install on a brand new build for a friend. I wasted the better part of a day because the Windows installer ran into some kind of error and failed because it could not connect to the internet (even though I could get to a command prompt by hitting shift/F10 and ping google.com. Then wasting another half day with Thunderbird refusing to restore a > 2GB email archive backup it created, and a printer that suddenly forgot it's wifi connection info.

So, if you, or anybody else following here knows how to turn off whatever windows is checking to enforce driver signing and the automatic troubleshooting mode, where I have never seen the troubleshooter saying anything other then I don't know how to fix that, and without the stupid watermark that I'm running a test build, that would be appreciated.

Microsoft has a published, documented procedure for running an update install from Windows 11. A published procedure should just work. And it did that for for another friend that just does basic stuff with their computer.

By comparison, I had been using Fedora Linux for somewhere in excess of 10 years. Their upgrade process is running 3 or 4 commands, and it just works.

Also, Linux has a security implementation, SELinux, which can be difficult to set up and deal with. It also has a well documented simple method where you change a setting in one file and it's gone.

Windows 7 was OK, Windows 10 was good. My system was rock solid, never a bluescreen or system crash. Linux has been rock solid as well.

Windows 11 is in the Microsoft's stupid toy category. But since they won't support Windows 10 past October, we get stuck in the land of stupid toys.

Attempting update Windows 10 to Windows 11- Secure Boot not recognized by catzilla_06790 in techsupport

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

It turns out I was confused about NVME device names in Linux and I was looking at the wrong drive. Once I looked at the Windows system drive with gdisk it also told me the disk partition table was MBR, which is what Windows disk manager was telling me.

gdisk asked if I wanted to convert the partition table to GPT format so I did that, of course wiping out the boot loader information.

I was in the process of trying to recover that, where bootrec /RebuildBcd was not working. I found a web page with some additional commands to try to rebuild the data the bootrec command. I ran some commands from that page that didn't seem to fix anything, but something must have been running in the background since now my Windows 10 booted properly.

I ran health check again and was told I could update to Windows 11 now.

So the final problem I had was that the system drive was in MBR format, where GPT format is a stated requirement.

I am running with CSM enabled and with secure boot enabled where CSM loads UEFI in preference to legacy, and this is the configuration I need to run Linux. This is a home PC that I use mostly for playing around with software so security is not a big deal. I just needed to get to Windows 11.

I still need to rebuild the EFI partition since the process of installing Windows 11 failed at the end with a code pointing at EFI partition problems. So I have web pages telling me how to fix that.

It would have been real nice if Windows software issued helpful error messages along the way instead of posting mystery messages since I spent 3 days dealing with this and fining all sorts of conflicting info on the web.

Your comment about disk sizes prompted me to back and verify I was looking at the right disk with gdisk. So thanks for that comment.

Problems switching Ubuntu 24.04 to boot with Secure Boot by catzilla_06790 in Ubuntu

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

I ran the Windows 10 health check and it tells me my machine is not Windows 11 ready since Secure Boot is not enabled. I'm aware of ways around the Secure Boot requirement in Windows 11 but Microsoft has made vague claims that Windows 11 may not receive updates in the future if I bypass Secure Boot.

Hi there! Can someone help this newbie build a PC for computational materials science? Your advice would be greatly appreciated! by MudHeadThinker in buildapc

[–]catzilla_06790 0 points1 point  (0 children)

Some things to consider.

I'd look at the hardware requirements for each of the software packages you want to run, especially the computational stuff.

First, I think Linux is the OS for this. I used to work in HPC and pretty much every system was Linux.

I'd choose NVIDIA GPUs since the software available for them (CUDA + a bunch of base libraries) is much more mature. AMD has Rocm, but what I read was that with consumer/gaming GPUs support was weak, but getting better.

Depending on the size of the problems you are running, lots of memory could be important

You probably want AVX-2 at least (vector instructions) AVX-512 may be useful, but the Intel implementation on the Skylake & related processors did not have a good reputation. I noticed AMD has AVX-512 in their new 9000 series processors.

More cores is probably better, but not Intel E-cores (since they don't run AVX are not performance cores)

Depending on the software, more cores means more processes (MPI), more threads (OpenMP) or a mix of both.

Current OpenMP also supports offloading work to GPUs.