Jump to content

okrasit

Members
  • Content Count

    184
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by okrasit

  1. I got the nvme emulation working with macos Here's a patch against the latest qemu from git. diff --git a/hw/block/nvme.c b/hw/block/nvme.c index 9b453423cf..832294e571 100644 --- a/hw/block/nvme.c +++ b/hw/block/nvme.c @@ -783,6 +783,15 @@ static uint16_t nvme_get_feature_timestamp(NvmeCtrl *n, NvmeCmd *cmd) sizeof(timestamp), prp1, prp2); } +static uint16_t nvme_get_log_page(NvmeCtrl *n, NvmeCmd *cmd, NvmeRequest *req) +{ + uint32_t result=0; + + req->cqe.result = result; + return NVME_SUCCESS; +} + + static uint16_t nvme_get_feature(NvmeCtrl *n, NvmeCmd *cmd, NvmeRequest *req) { uint32_t dw10 = le32_to_cpu(cmd->cdw10); @@ -872,6 +881,8 @@ static uint16_t nvme_admin_cmd(NvmeCtrl *n, NvmeCmd *cmd, NvmeRequest *req) return nvme_set_feature(n, cmd, req); case NVME_ADM_CMD_GET_FEATURES: return nvme_get_feature(n, cmd, req); + case NVME_ADM_CMD_GET_LOG_PAGE: + return nvme_get_log_page(n, cmd, req); default: trace_nvme_err_invalid_admin_opc(cmd->opcode); return NVME_INVALID_OPCODE | NVME_DNR;
  2. okrasit

    Vega Frontier Edition on High Sierra

    It's almost at stock values. Memory 985M, SOC around 1200M and DPM7 around 1550M.
  3. okrasit

    Vega Frontier Edition on High Sierra

    <key>PP_PhmSoftPowerPlayTable</key> <data>tgIIAQBcAOEGAAAILAAAGwBIAAAAgKkDAPBJAgAyAAgAAAAAAAAAAAAAAAAAAAIBXABPAkYClACeAb4AKAF6AIwAvAEAAAAAcgIAAJAAqAJtAUMBlwHwSQIAcQICAgAAAAAAAAgAAAAAAAAABQAHAAMABQAAAAAAAAABCCADhAO2A+gDGgRMBGUEfgQBAUYFAQGEAwAIYOoAAABAGQEAAYA4AQAC3EoBAAOQXwEABAB3AQAFkJEBAAbA1AEABwEI0EwBAAAAgAAAAAAAAByDAQABAAAAAAAAAABwpwEAAgAAAAAAAAAAiLwBAAMAAAAAAAAAAMDUAQAEAAAAAAAAAABEIwIABQAAAAABAAAA8EkCAAYAAAAAAQAAAKhVAgAHAAAAAAEAAAAABWDqAAAAQBkBAACAOAEAANxKAQAAkF8BAAAACChuAAAALMkAAAH4CwEAAoA4AQADkF8BAAT0kQEABdCwAQAGwNQBAAcACGw5AAAAJF4AAAH8hQAAAqy8AAADNNAAAARobgEABQiXAQAG7KMBAAcAAWg8AQAAAQQ8QQAAAAAAUMMAAAAAAIA4AQACAADEgAEABQAAAQgAmIUAAEC1AABg6gAAUMMAAAGAuwAAYOoAAJQLAQBQwwAAAgDhAACUCwEAQBkBAFDDAAADeP8AAEAZAQCIJgEAUMMAAARAGQEAgDgBAIA4AQBQwwAABYA4AQDcSgEA3EoBAFDDAAAGAHcBAAB3AQCQXwEAUMMAAAeQkQEAkJEBAAB3AQBQwwAAARgAAAAAAAAAC+QSvAIkEy0ACgBUA5ABkAGQAZABkAGQAZABAAAAAAACCDEH9wD3APcAUQEAAFkAaQBKAEoAXwBzAHMAZABAAAAAl2CWAJBVAAAAAAAAAAAAAAAAAAAAAAACAtQwAAACEGDqAAACEA==</data> <key>PP_DisablePowerContainment</key> <integer>1</integer> <key>PP_FuzzyFanControl</key> <integer>0</integer> <key>PP_ThermalAutoThrottlingEnable</key> <integer>1</integer> <key>PP_DisableDIDT</key> <integer>1</integer> <key>PP_DisableULPS</key> <integer>1</integer> I've been using the above, on my vega fe air, since the crashing issue surfaced. Zero crashes for weeks now.
  4. okrasit

    Vega Frontier Edition on High Sierra

    Try this: tgIIAQBcAOEGAADuKwAAGwBIAAAAgKkDAPBJAgCOAAgAAAAAAAAAAAAAAAAAAAIBXABPAkYClACeAb4AKAF6AIwAvAEAAAAAcgIAAJAAqAJtAUMBlwHwSQIAcQICAgAAAAAAAAgAAAAAAAAABQAHAAMABQAAAAAAAAABCIQDhAOEA4QDhAOEA7YDTAQBAUwEAQGEAwAIYOoAAABAGQEAAYA4AQAC3EoBAAOQXwEABAB3AQAFkJEBAAZQvQEABwEI0EwBAAAAgAAAAAAAAByDAQABAAAAAAAAAABwpwEAAgAAAAAAAAAAiLwBAAMAAAAAAAAAADjBAQAEAAAAAAAAAACI1QEABQAAAAABAAAAmPwBAAYAAAAAAQAAAMBRAgAHAAAAAAEAAAAABWDqAAAAQBkBAACAOAEAANxKAQAAkF8BAAAACChuAAAALMkAAAH4CwEAAoA4AQADkF8BAAT0kQEABdCwAQAGOMEBAAcACGw5AAAAJF4AAAH8hQAAAqy8AAADNNAAAARobgEABQiXAQAGsK0BAAcAAWg8AQAAAQQ8QQAAAAAAUMMAAAAAAIA4AQACAAA0mAEABAAAAQgAmIUAAEC1AABg6gAAUMMAAAGAuwAAYOoAAJQLAQBQwwAAAgDhAACUCwEAQBkBAFDDAAADeP8AAEAZAQCIJgEAUMMAAARAGQEAgDgBAIA4AQBQwwAABYA4AQDcSgEA3EoBAFDDAAAGAHcBAAB3AQCQXwEAUMMAAAeQkQEAkJEBAAB3AQBQwwAAARgAAAAAAAAACwAAvAJIJiUACgBUA5ABkAGQAZABkAGQAZABAAAAAAACBDEH3ADcANwAkAEAAFkAaQBKAEoAXwBzAHMAZABAAJCSl2CWAJBVAAAAAAAAAAAAAAAAAAAAAAACAtQwAAACEGDqAAACEA== Not since Google switched to VP9 codec
  5. okrasit

    Vega Frontier Edition on High Sierra

    @CMMChris and @max.1974 you could try adding this: <key>PP_DisableVoltageIsland</key> <integer>0</integer>
  6. okrasit

    Vega Frontier Edition on High Sierra

    @cmk☆ did you try without the integrated Radeon Pro 560 ?
  7. okrasit

    Vega Frontier Edition on High Sierra

    It seems you have SIP (System Integrity Protection) enabled. Check with 'csrutil status'. In Clover, there's a key 'CsrActivateConfig', I have it set to 0x3e7. Fix the clover, reboot, re-run the 'touch ...: kextcache ...' and it should work. Oh, if it's a real Mac, you can just do 'csrutil disable'.
  8. okrasit

    Vega Frontier Edition on High Sierra

    Yes ofc, near the end of the file, there's the "common" aty_properties, do it there. @cmk☆ did you get it working
  9. okrasit

    Vega Frontier Edition on High Sierra

    <key>PP_PhmSoftPowerPlayTable</key> <data>tgIIAQBcAOEGAADuKwAAGwBIAAAAgKkDAPBJAgCOAAgAAAAAAAAAAAAAAAAAAAIBXABPAkYClACeAb4AKAF6AIwAvAEAAAAAcgIAAJAAqAJtAUMBlwHwSQIAcQICAgAAAAAAAAgAAAAAAAAABQAHAAMABQAAAAAAAAABCIQDhAOEA4QDhAOEA7YDTAQBAUwEAQGEAwAIYOoAAABAGQEAAYA4AQAC3EoBAAOQXwEABAB3AQAFkJEBAAZQvQEABwEI0EwBAAAAgAAAAAAAAByDAQABAAAAAAAAAABwpwEAAgAAAAAAAAAAiLwBAAMAAAAAAAAAADjBAQAEAAAAAAAAAACI1QEABQAAAAABAAAAmPwBAAYAAAAAAQAAAMBRAgAHAAAAAAEAAAAABWDqAAAAQBkBAACAOAEAANxKAQAAkF8BAAAACChuAAAALMkAAAH4CwEAAoA4AQADkF8BAAT0kQEABdCwAQAGOMEBAAcACGw5AAAAJF4AAAH8hQAAAqy8AAADNNAAAARobgEABQiXAQAGsK0BAAcAAWg8AQAAAQQ8QQAAAAAAUMMAAAAAAIA4AQACAAA0mAEABAAAAQgAmIUAAEC1AABg6gAAUMMAAAGAuwAAYOoAAJQLAQBQwwAAAgDhAACUCwEAQBkBAFDDAAADeP8AAEAZAQCIJgEAUMMAAARAGQEAgDgBAIA4AQBQwwAABYA4AQDcSgEA3EoBAFDDAAAGAHcBAAB3AQCQXwEAUMMAAAeQkQEAkJEBAAB3AQBQwwAAARgAAAAAAAAACwAAvAJIJiUACgBUA5ABkAGQAZABkAGQAZABAAAAAAACBDEH3ADcANwAkAEAAFkAaQBKAEoAXwBzAHMAZABAAJCSl2CWAJBVAAAAAAAAAAAAAAAAAAAAAAACAtQwAAACEGDqAAACEA==</data> <key>PP_DisablePowerContainment</key> <integer>1</integer> <key>PP_FuzzyFanControl</key> <integer>0</integer> <key>PP_DisableDIDT</key> <integer>1</integer> Here you go Don't forget to: touch /System/Library/Extensions; kextcache -update-volume /
  10. okrasit

    Vega Frontier Edition on High Sierra

    Ok, I got the performance issue sorted. That's with core @1482MHz
  11. okrasit

    Vega Frontier Edition on High Sierra

    With Mojave, at least with the build 18A326h, to get the fan going, the temperature target needs to be brought way down (below 30C). The temperature reading from the driver seems weird (too low). It's behaving way different from High Sierra. While Luxmark's luxball scores well, anything compute heavy runs like {censored}. High Sierra's performance is around 30% better.
  12. okrasit

    Vega Frontier Edition on High Sierra

    It does! There's just some weird dependency (library), GTK# or something. Install it and it's good to go!
  13. okrasit

    Vega Frontier Edition on High Sierra

    Those temps
  14. okrasit

    Vega Frontier Edition on High Sierra

    I'm sure you got some throttling during the benchmark, due to low initial fan speed & high temps. Run the benchmark twice and you'll see. OR NOT Try this, it has lower temp target (57C). tgIIAQBcAOEGAADuKwAAGwBIAAAAgKkDAPBJAgCOAAgAAAAAAAAAAAAAAAAAAAIBXABPAkYClACeAb4AKAF6AIwAvAEAAAAAcgIAAJAAqAJtAUMBlwHwSQIAcQICAgAAAAAAAAgAAAAAAAAABQAHAAMABQAAAAAAAAABCIQDhAOEA4QDhAOEA7YDMwQBATMEAQGEAwAIYOoAAABAGQEAAYA4AQAC3EoBAAOQXwEABAB3AQAFkJEBAAZQvQEABwEI0EwBAAAAgAAAAAAAAByDAQABAAAAAAAAAABwpwEAAgAAAAAAAAAAiLwBAAMAAAAAAAAAADjBAQAEAAAAAAAAAACI1QEABQAAAAABAAAAmPwBAAYAAAAAAQAAAEgzAgAHAAAAAAEAAAAABWDqAAAAQBkBAACAOAEAANxKAQAAkF8BAAAACChuAAAALMkAAAH4CwEAAoA4AQADkF8BAAT0kQEABdCwAQAGOMEBAAcACGw5AAAAJF4AAAH8hQAAAqy8AAADNNAAAARobgEABQiXAQAGsK0BAAcAAWg8AQAAAQQ8QQAAAAAAUMMAAAAAAIA4AQACAAA0mAEABAAAAQgAmIUAAEC1AABg6gAAUMMAAAGAuwAAYOoAAJQLAQBQwwAAAgDhAACUCwEAQBkBAFDDAAADeP8AAEAZAQCIJgEAUMMAAARAGQEAgDgBAIA4AQBQwwAABYA4AQDcSgEA3EoBAFDDAAAGAHcBAAB3AQCQXwEAUMMAAAeQkQEAkJEBAAB3AQBQwwAAARgAAAAAAAAACwAAvAJIJjkACgBUA5ABkAGQAZABkAGQAZABAAAAAAACBDEH3ADcANwAkAEAAFkAaQBKAEoAXwBzAHMAZABAAJCSl2CWAJBVAAAAAAAAAAAAAAAAAAAAAAACAtQwAAACEGDqAAACEA== I got some throttling with FE too (memory gets too hot, probably) , didn't notice it before as I also have RX64.
  15. okrasit

    Vega Frontier Edition on High Sierra

    Running luxmark benchmark, your fan rpm should go very high, you’d notice it for sure. Also, make sure you don’t have SIP enabled, csrutil or something and Clover config has some activecsr config option, google it!
  16. okrasit

    Vega Frontier Edition on High Sierra

    Please, do the pp-table mod. At stock the fan doesn't work (correctly) and your card is overheating!
  17. okrasit

    Vega Frontier Edition on High Sierra

    I'm getting that same black video output here too, with FCPX & HEVC. I think the problem is the FCPX, maybe there will be an update soon.
  18. okrasit

    Vega Frontier Edition on High Sierra

    It looks like the WX9100 is actually the same as Vega FE with a bit lower TDP & clocks. You should try the 1442MHz/1045MHz powerplay table with your card. I'll check the FCPX & HEVC later today!
  19. okrasit

    Vega Frontier Edition on High Sierra

    Just make sure it's stable in _every_ situation (play some Fortnite at 4k :D).
  20. okrasit

    Vega Frontier Edition on High Sierra

    It's not a good benchmark, your fps will get capped to screen refresh rate in some situations, like an open browser window etc.
  21. okrasit

    Vega Frontier Edition on High Sierra

    Exactly, it affects only the pump I'd guess. Can you check the temperatures & fan (pump) speed ? ioreg -l |grep \"PerformanceStatistics\" | cut -d '{' -f 2 | tr '|' ',' | tr -d '}' | tr ',' '\n'|grep 'Temp\|Fan'
  22. okrasit

    Vega Frontier Edition on High Sierra

    How is it working with vanilla AMD10000Controller.kext ?
  23. okrasit

    Vega Frontier Edition on High Sierra

    ioreg -l |grep \"PerformanceStatistics\" | cut -d '{' -f 2 | tr '|' ',' | tr -d '}' | tr ',' '\n'|grep 'Temp'
  24. okrasit

    Vega Frontier Edition on High Sierra

    No crashing here, with the 2 RX64 nor the 1 FE what I have. Could be the core/memory clock/voltage... And yes, Clover is the way to go! Although, that 1600MHz/1150mV wasn't stable for me, Fortnite crashed the system. Or the vrm’s ocp tripped...
×