Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Vulture Culture
Jul 14, 2003

I was never enjoying it. I only eat it for the nutrients.

DevNull posted:

Don't worry, it will take VMware 6 months to release it :v:
Haha, I remember when I found a VMFS bug in 4.0 related to non-contiguous extents, identified the exact regression, identified the last known working version, identified where in their code the problem was, and it still took them 8 months to push out a fix in an official release

Adbot
ADBOT LOVES YOU

HPL
Aug 28, 2002

Worst case scenario.

DevNull posted:

I just sent this to the engineer in charge of the client. I'm not sure if he is still working on it, or handing it off to someone else. It brings up an interesting problem though. You could give that feedback pretty directly when it was a Fling because the engineers could comment directly on the Fling page. Now that it is a supported product, that kind of goes away and is replace with a ton of bureaucracy.

edit: Got a response from him. He is still on it. I filed a bug for the feature to be added. He agreed that the new console window was lacking and needed some attention.

I probably would have sent it up the ladder if I was more of a VMware guy, but I'm a KVM guy these days. I'm just glad to have something cross-platform for the free ESXi. Either way, big ups for effort. There was a thing back in the fling days where I couldn't start or stop VMs and I had to SSH in to the host and use command line to do things, but that seems to have been addressed as well. At least it made me learn more about esxcli, so that's a good thing, especially with my VCP6 exam coming up.

As it stands, the current state of the console window thing isn't too bad because the window-in-window thing works pretty well.

HPL fucked around with this message at 19:04 on Mar 18, 2016

DevNull
Apr 4, 2007

And sometimes is seen a strange spot in the sky
A human being that was given to fly

Vulture Culture posted:

Haha, I remember when I found a VMFS bug in 4.0 related to non-contiguous extents, identified the exact regression, identified the last known working version, identified where in their code the problem was, and it still took them 8 months to push out a fix in an official release

At least with that there is the excuse that they need to run a bunch of regression testing, and we don't ship updates to ESX super often. The host client should actually be able to pretty quickly. They could probably push out an updated vib once a month or so. Even if there is a bug, it won't take out a datastore and a bunch of VMs.

evol262
Nov 30, 2010
#!/usr/bin/perl

HPL posted:

I probably would have sent it up the ladder if I was more of a VMware guy, but I'm a KVM guy these days. I'm just glad to have something cross-platform for the free ESXi. Either way, big ups for effort. There was a thing back in the fling days where I couldn't start or stop VMs and I had to SSH in to the host and use command line to do things, but that seems to have been addressed as well. At least it made me learn more about esxcli, so that's a good thing, especially with my VCP6 exam coming up.

As it stands, the current state of the console window thing isn't too bad because the window-in-window thing works pretty well.

Never not report bugs. Even if you're not a very active user, filing bugs (or RFEs) still forces them to eventually be acknowledged, and people in product management can say "hey, people want this" or "this is a problem".

Even if you're just an end user and not a strategic partner or big customer, having lots of bugs filed (even if they're closed as duplicates) or whatever gets attention and raises the priority.

Thermopyle
Jul 1, 2003

...the stupid are cocksure while the intelligent are full of doubt. —Bertrand Russell

evol262 posted:

Never not report bugs. Even if you're not a very active user, filing bugs (or RFEs) still forces them to eventually be acknowledged, and people in product management can say "hey, people want this" or "this is a problem".

Even if you're just an end user and not a strategic partner or big customer, having lots of bugs filed (even if they're closed as duplicates) or whatever gets attention and raises the priority.

On the other hand, the crazy idea posted here and discussed further down-thread: https://forums.somethingawful.com/showthread.php?threadid=2803713&userid=0&perpage=40&pagenumber=865#post457560701

evol262
Nov 30, 2010
#!/usr/bin/perl
:circlefap: "Only developers can do anything to my project!" Thanks, github culture. What happens when a legitimate user of your project has a problem/request but has no idea how to even start writing tests or feature branches?

This is fine for hobby projects, I guess, maybe. Probably not in my opinion. It's completely retarded for anything even remotely professional, though.

e: I should have read further.

evol262 fucked around with this message at 19:39 on Mar 18, 2016

Mr Shiny Pants
Nov 12, 2012
^^ this. This whole devops poo poo is getting out of hand.

HPL
Aug 28, 2002

Worst case scenario.
I guess I never report bugs because 99.99999% of the time the problem is because of something stupid I'm doing. And then when I have an idea for a feature, it turns out it's already there, I just didn't know how to get to it.

DevNull
Apr 4, 2007

And sometimes is seen a strange spot in the sky
A human being that was given to fly

HPL posted:

turns out it's already there, I just didn't know how to get to it.

This should also be reported as a "bug" so we can make our stuff easier to use.

HPL
Aug 28, 2002

Worst case scenario.
Is there a way to change the default timeout value for the new esxi html5 client?

Kachunkachunk
Jun 6, 2011

Vulture Culture posted:

Haha, I remember when I found a VMFS bug in 4.0 related to non-contiguous extents, identified the exact regression, identified the last known working version, identified where in their code the problem was, and it still took them 8 months to push out a fix in an official release
It can be frustrating, but sometimes this is how release vehicle schedules work out.
You might be so late in the release cycle for an update that the bugfix can't be included in it, making it slip for the next update, which is a few months out.
But maybe the fix is also quite non-trivial, so it needs to be in a major Update release (given testing, host base installation considerations, etc) which happens to be planned for release even more months out.

I'm not entirely sure what the best approach is anymore. Not have bugs, I guess. :P

Vulture Culture
Jul 14, 2003

I was never enjoying it. I only eat it for the nutrients.

Kachunkachunk posted:

It can be frustrating, but sometimes this is how release vehicle schedules work out.
You might be so late in the release cycle for an update that the bugfix can't be included in it, making it slip for the next update, which is a few months out.
But maybe the fix is also quite non-trivial, so it needs to be in a major Update release (given testing, host base installation considerations, etc) which happens to be planned for release even more months out.

I'm not entirely sure what the best approach is anymore. Not have bugs, I guess. :P
Yeah, I understand why it happens, the turnaround cycles on commercial software are just really frustrating to someone coming from an OSS mindset where the solution would have otherwise been "apply five-line patch file, rebuild package, upload to internal repository" and then push the fix upstream when you get around to it

HPL
Aug 28, 2002

Worst case scenario.

Vulture Culture posted:

Yeah, I understand why it happens, the turnaround cycles on commercial software are just really frustrating to someone coming from an OSS mindset where the solution would have otherwise been "apply five-line patch file, rebuild package, upload to internal repository" and then push the fix upstream when you get around to it

The thing is that how can you be 100% sure that the patch won't screw up something else? And what if it affects something currently in development? I mean I totally get where you're coming from, but there's a lot of risk and money riding on every patch release. With free software, there's always the whole "caveat emptor" factor happening.

Vulture Culture
Jul 14, 2003

I was never enjoying it. I only eat it for the nutrients.

HPL posted:

The thing is that how can you be 100% sure that the patch won't screw up something else? And what if it affects something currently in development? I mean I totally get where you're coming from, but there's a lot of risk and money riding on every patch release. With free software, there's always the whole "caveat emptor" factor happening.
Hotfixes :)

cliffy
Apr 12, 2002

HPL posted:

The thing is that how can you be 100% sure that the patch won't screw up something else? And what if it affects something currently in development? I mean I totally get where you're coming from, but there's a lot of risk and money riding on every patch release. With free software, there's always the whole "caveat emptor" factor happening.

The answer to this is to have comprehensive unit and functional tests covering as much of the project as possible. It doesn't push the risk to zero, but it sure does make it way less likely to break something without being aware of it.

HPL
Aug 28, 2002

Worst case scenario.

cliffy posted:

The answer to this is to have comprehensive unit and functional tests covering as much of the project as possible. It doesn't push the risk to zero, but it sure does make it way less likely to break something without being aware of it.

And then there's prioritization. A bug that affects a small percentage of users a small percentage of time probably isn't worth the hassle of of hotfix or whatever. On the flip side, look how fast things move when there's something major like Drown.

evol262
Nov 30, 2010
#!/usr/bin/perl

HPL posted:

And then there's prioritization. A bug that affects a small percentage of users a small percentage of time probably isn't worth the hassle of of hotfix or whatever. On the flip side, look how fast things move when there's something major like Drown.

Things actually move at about the same pace. It's just that CVEs get embargoed, so it looks really fast once it's public, but the actual discovery/investigation/patch/review/test/release cycle takes at least a week.

It's only when embargoes are broken with a public, easy, high-impact proof of concept that things get hectic.

Patches accepted upstream which you backport or cherry pick yourself are pretty reliable, especially since downstream is often a rebase or straight clone of upstream.

A small bug which affects a small portion of users but doesn't merit a hotfix/async release still gets the normal amount of scrutiny from QE for verification, and culling patches from verified fixed issues upstream is very likely to work reliably.

"Caveat emptor" is a "this is community-supported" thing, not a "we release broken code" thing, since broken code upstream invariably leads to regressions/broken code downstream, where paying customers subsidize development work on upstream.

HPL
Aug 28, 2002

Worst case scenario.
I just figured out there's a Windows QXL driver on the virtio Windows ISO. What a difference. Now video performance is smoother and mouse response is way, way better.

Mr Shiny Pants
Nov 12, 2012

HPL posted:

I just figured out there's a Windows QXL driver on the virtio Windows ISO. What a difference. Now video performance is smoother and mouse response is way, way better.

I just use RDP.........

HPL
Aug 28, 2002

Worst case scenario.

Mr Shiny Pants posted:

I just use RDP.........

This is for using a VM on a local host machine. SPICE kicks the crap out of RDP in that regard.

Also, this seems to be a day of discovery for me. How come I never noticed the "Redirect USB device" menu item in virt-manager before?

Combat Pretzel
Jun 23, 2004

No, seriously... what kurds?!
I came across a script from a guy that can switch the graphics driver of the primary device during runtime, including unbinding and rebinding the VTs. I'd figure that if you can go between nvidia and nouveau, it might be possible to bind vfio-pci and use the primary adapter with passthrough. If anyone wants to try to recycle this (gonna take a while until I get a second SSD to run Linux), efifb needs to be compiled as module, tho:

https://gist.github.com/davispuh/84674924dff1db3e7844

--edit:
I sent that to the guy on reddit I had a chat with about that a while ago and let me hanging with the results, he replied to be that he got it working in a similar fashion a while ago. So I guess if you want to occasionally game but not disgrace your harddrive/SSD physically with Windows, this is an option that works without the need of two GPUs.

Combat Pretzel fucked around with this message at 15:08 on Mar 22, 2016

HPL
Aug 28, 2002

Worst case scenario.
Just as a heads-up, upgrading ESXi to 6.0u2 broke the USB passthrough I had to a printer. I couldn't re-add it with the HTML client. The option to add a USB device isn't even in the HTML client. You can add a hub, but not a device. Had to hold my nose and use the Windows vSphere Client. So if anyone is in the same boat, there you go.

Internet Explorer
Jun 1, 2005





USB pass-through... printer? :psyduck:

HPL
Aug 28, 2002

Worst case scenario.

Internet Explorer posted:

USB pass-through... printer? :psyduck:

I know, I know. I've tried just about everything to get this stupid Canon printer to be available over the network and this is pretty much the best I could do short of dedicating an actual computer to it. It has driven me up the wall and I can't wait to get rid of it.

cliffy
Apr 12, 2002

Anyone use hv_vendor_id with qemu? I have version 2.5.0 built from source and installed, confirmed the property exists in the source I compiled from, but I can't seem to get the command line to accept it. Also confirmed qemu-system-x86_64 version is 2.5.0.

Relevant command-line:
code:
...
 -cpu host,kvm=off,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_vendor_id=deadbeef \
...
And the output:
code:
qemu-system-x86_64: Property '.hv-vendor-id' not found
Doesn't make any sense to me. Examples online seem to use it the way I have it. Any ideas?

Combat Pretzel
Jun 23, 2004

No, seriously... what kurds?!
hv-vendor-id and not hv_vendor_id for some reason. Probably going to be fixed at some point.

cliffy
Apr 12, 2002

Combat Pretzel posted:

hv-vendor-id and not hv_vendor_id for some reason. Probably going to be fixed at some point.

Tried this too, got the same result.

cliffy
Apr 12, 2002

I went ahead and hacked the vendor ID in qemu's source, which shows up if I inspect the binary with strings. Seems to have worked because my card no longer refuses to start in the guest with code 43.

cliffy
Apr 12, 2002

Also, a big gently caress you to NVIDIA for making this so difficult.

Combat Pretzel
Jun 23, 2004

No, seriously... what kurds?!
Now I'm not even so sure about hv-vendor-id being in 2.5.0. Back then, I went pretty quickly to 4.5-rc and qemu-git for moar powah!!!

cliffy
Apr 12, 2002

Combat Pretzel posted:

Now I'm not even so sure about hv-vendor-id being in 2.5.0. Back then, I went pretty quickly to 4.5-rc and qemu-git for moar powah!!!

Yeah I'm thinking about just living on the edge, but it certainly appears to be in 2.5.0: https://github.com/qemu/qemu/blob/v2.5.0/target-i386/kvm.c#L554

cliffy
Apr 12, 2002

It seems as though the NVIDIA driver is finicky about checking enlightenments on startup, or maybe there is some legitimate problem there. I haven't totally narrowed it down, but its one of

code:
hv_relaxed,hv_spinlocks=0x1fff,hv_time
but sometimes it seems it will boot just fine with them all on.

cliffy
Apr 12, 2002

Ah, hv_spinlocks is enough to send into a bluescreen loop after a second reboot.

Maybe I should start a VGA passthrough thread instead of spamming this one?

Combat Pretzel
Jun 23, 2004

No, seriously... what kurds?!
You using i440 machine type or the Q35 one? Also, do you use OVMF UEFI?

cliffy
Apr 12, 2002

Combat Pretzel posted:

You using i440 machine type or the Q35 one? Also, do you use OVMF UEFI?

q35 and yes using OVMF UEFI. Although I don't think I have a UEFI vars file attached to this VM.

evol262
Nov 30, 2010
#!/usr/bin/perl
You don't need vars attached. It's just that vfio is much nicer than the old way.

Set KVM to hidden. Disable all the enlightenments. Should be good.

Combat Pretzel
Jun 23, 2004

No, seriously... what kurds?!
Certainly strange that you've got these issues. My Windows 10 VM ran just fine and rebooted without going BSOD. That was with qemu-git and the rc's of Linux 4.5. CPU was a Haswell-E on an ASRock X99, and the graphics cars was a GTX 780 as secondary.

The relevant parameters of mine were these:

quote:

-machine type=q35,accel=kvm,kernel_irqchip=on \
-cpu host,kvm=off,hv_relaxed,hv_spinlocks=0x1fff,hv_time,hv-vendor-id=servo,hv-vpindex,hv-reset,hv-runtime,hv-crash,hv-stimer \

--edit:
Now thinking about it, check your kernel log for KVM complaining about unknown MSRs and crashing the Windows VM. I heard that those can be an issue. If that's the case, one of the HV parameters listed above seems to fix it, according to people on /r/vfio, for whatever reason. Alternatively, create a conf file in modprobe.d and put options kvm ignore_msrs=1 into it.

If you ditch the HV enlightenments, try running some graphics benchmark app to see how much of a difference it makes. People keep saying it's considerable.

Combat Pretzel fucked around with this message at 07:00 on Mar 24, 2016

cliffy
Apr 12, 2002

Combat Pretzel posted:

Certainly strange that you've got these issues. My Windows 10 VM ran just fine and rebooted without going BSOD. That was with qemu-git and the rc's of Linux 4.5. CPU was a Haswell-E on an ASRock X99, and the graphics cars was a GTX 780 as secondary.

The relevant parameters of mine were these:


--edit:
Now thinking about it, check your kernel log for KVM complaining about unknown MSRs and crashing the Windows VM. I heard that those can be an issue. If that's the case, one of the HV parameters listed above seems to fix it, according to people on /r/vfio, for whatever reason. Alternatively, create a conf file in modprobe.d and put options kvm ignore_msrs=1 into it.

If you ditch the HV enlightenments, try running some graphics benchmark app to see how much of a difference it makes. People keep saying it's considerable.

Benchmarked with Unigine Heaven 4.0. Settings are DX11, 1080p, 8xAA, quality ultra, tessellation extreme. Hardware is 5280k @ 4Ghz, 980ti stock settings.

With enlightenments (I think, I ran this a week or two ago when I had enlightenments enabled with no issues):
Score: 2136

Without (-cpu host, kvm=off only):
Score: 2128

Enlightenments don't seem to matter, at least not for this benchmark.

stubblyhead
Sep 13, 2007

That is treason, Johnny!

Fun Shoe
When you deploy from OVF via url in the vmware web client does vcenter grab the remote bits directly, or do they go through your local machine first?

Adbot
ADBOT LOVES YOU

Mierdaan
Sep 14, 2004

Pillbug
https://labs.vmware.com/flings/vsphere-html5-web-client

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply