Hacker Newsnew | past | comments | ask | show | jobs | submit | galad87's commentslogin

Which version of svt-av1 are you using? Neon optimisations were added quite recently in svt-av1, and are still a bit incomplete, so it might make a difference.

Running something with "Wine" doesn't usually mean "porting", "porting" means making a native binary that doesn't run through an emulation layer.

Anyway, probably you are trying to run a 32-bit executable with Rosetta, that won't be fast, because Rosetta was never meant to run 32-bit things and has got a lot of pitfalls.


Cool, but Apple didn't announce any M6 Pro yet, so where is this coming from?

Probably internal tests?

The software identifies the hardware, performs the benchmarks, and sends the heading and results to the Geekbench DB. Somebody who had the machine at hand must have run it.


I thought they were skipping the M6 pro chips (or is that just the max and ultra?) to accelerate AI focused M7.

The word was that they weren't going to ship systems with the M6 Pro, Max or Ultra.

The M7 generation has updated the tensor instructions in the GPU cores and they want to ship that ASAP.


I haven’t heard about the updated tensor instructions before - got any sources?

This was just rumors like 99% of other Apple-related news.

Speaking of rumours, Apple is reportedly developing a server box with multiple top of the line chips.

I would love to see macOS replacing Windows in virtual desktop environments.


We know they have them for internal use, it seems crazy they won’t sell a box with, 2 or 4 or 8 or 10 Ultras crammed in.

If they’re rushing the M7, it’s possible the M6 Pro and Max will be MacBook Ultra only. It would certainly give it quite a halo.

How does Geekbench even verify what CPU I'm using? Couldnt you inject forged data and add a even faster M100?

Internal leaks, these happen frequently. Employees have access to these devices for months prior to launch. Someone ran a benchmark and uploaded it on a machine they weren't supposed to.

I find that hard to believe at Apple. Not even possible that it’s accidental. They have their own internal tools, all packets leaving the network will be interrogated, leaking data is a sackable offence… if it’s in the geekbench database then it’s there because they put it there.

> Not even possible that it’s accidental. They have their own internal tools, all packets leaving the network will be interrogated, leaking data is a sackable offence

This is a story that folks like to tell, but it's not really how things work - at least since they stopped letting Steve Jobs lock all his engineers in the conference venue.

Leaks are a sackable offence at every tech firm, deep packet inspection firewalls are used all over the place, information leaks like this still happen pretty much every single product cycle.


People love to tell stories about how stuff is done at Apple, which are often utter bullshit.

Not to mention that Apple has a huge number of teams, and no absolute standards across them. People would be shocked at the things Apple DOESN'T do.

Then again, with the current state of their QA, I think it's becoming clear what Apple doesn't do much of anymore.


The details of the Apple vs. OpenAI dispute over leaked data show their security is not quite that tight.

+1 . The only case it is allowed is Apple's own marketing team.

Just recently there was the OpenAI vs Apple trial, where it came out that employees that left the company still had access to their internal net, sooo super plausible

It’s happened in the past. Like that employee who left the unreleased iPhone in a bar by accident.

> I find that hard to believe at Apple

Where does the myth of Apple come from? You should go on blind and ask someone that works there the reality lolol


You think they need geekbench to verify how fast their chips run?

No I think Apple employees run geekbench for fun and don't care the stats get uploaded (you know just like other normal careless humans rather than demigods)

Apple's Weather app has an animated background, glassy views, and nice animations like water droplets on the glassy views when it's raining. So rendering all that on a 4k or more display at 10bit depth is going to consume a bit of RAM. However I guess it can surely be improved to make it consume less RAM.


Snow Leopard shipped a new 64-bit Cocoa Finder too, but no one noticed because it was almost a pixel perfect and behaviour perfect copy of the previous one.


Of course, but that works only if the files are already in the same partition. A dmg is a virtual image, even if it's stored in the same partition, once mounted it acts like another partition.


Tahoe can't ramp up the GPU frequency fast enough, and many animation like the QuickLook one often run at less than 30 fps. So much fun.


Games are an almost perfect type of software to be run in a sandbox. The question is, why aren't they already run in a sandbox?


SteamOS leverages namespaces via pressure-vessel already. The problem exists exclusively on Windows. Paravirtualized drivers introduce API incompatibility issues and decades of cumulative engine infrastructure made for Windows using the Win32 API means nobody wants to swap over to using UWP and thus AppContainers are a non-starter (and that's without getting to sacrificing Wine/Proton compatibility).

The native isolation mechanisms like silos are things that require wrangling by professional sysadmins, I didn't even know they existed until I started writing this post. The real question to be asking is why is sandboxing so bad on Windows? Despite some searching, I still have no conclusive answer as to how to go about filesystem isolation in Win32-space, or if it's even possible.


Sandboxing is quite easy (user-wise), once you install the sandbox system. By default it allows only a single sandbox, and with small `.wsb` file you can drive what's visible from the host, whether the GPU should be active, etc. - https://learn.microsoft.com/en-us/windows/security/applicati...

It's great for testing, and Sandbox is just the tip of the iceberg of what Windows Containers support

- e.g. maybe someone can come up with "launcher" that goes through it (somehow).


Ummm, yeah, but Windows Containers is windows Pro and Enterprise only (security is an optional, paid extra on windows), and only for these using Hyper-V (meaning Virtual Box users are excluded).

Personally I'm coping with sandboxie.


They are? Games need pretty much all the performance they can possibly get. Can you sandbox them without having a performance impact?

Consider that people pay a $300 premium to get ~10% better performance (buying an RTX 5080 instead of a 5070 Ti).

Personally I know that sometimes closing the web browser in the background makes my game run better - that web browser doesn't even interact with the game! Would a sandbox have a smaller impact?


It certainly could.

Buying a better GPU improves your graphics performance and that's basically unrelated to the area where a sandbox impacts performance.

Killing your web browser is probably just lowering memory pressure?

Sandboxes add overhead to syscalls. It's kind of similar to running under Wine, which also adds significant syscalls overhead. Wine also has a much more impactful DirectX translation layer, so your sandbox performance would be probably be much better than the Wine performance.


> your sandbox performance would be probably be much better than the Wine performance.

That’s hard to believe, given that many games run better under WINE than native Windows.


AIUI, this is relatively rare, and is because of DXVK on games that use old DirectX APIs.


Most of the sandboxing you need for a game is less full sandbox and more a whitelist on file access and local network communication.


> Can you sandbox them without having a performance impact?

On Linux certainly so, and I think if Steam is installed as a flatpak all games naturally are sandboxed.


PC games tend to be the reverse: they demand control over the machine, in order to try to detect or prevent being run alongside various forms of cheating software.

They also need low-latency access to the GPU, which I suspect is a fertile vector for privilege escape exploits.


Only a relatively small (but popular) subset of games use anticheat. Most games -- including the one in this article -- could theoretically run in a sandbox.


Even games with strong anticheat could benefit from sandboxing, as the anticheat mechanisms that need access outside the sandbox represent a much smaller surface area for exploits than the entire game.

In theory, sandboxing mechanisms could even be used to improve anticheat.

What I always sort of assume the endgame could be for highly competitive Windows games is something akin to cartridge or bootable floppy games from the 8-bit era, where games would install into or be supplied as disk images containing locked-down Windows installations that only permit signed (and possibly whitelisted) drivers and whitelisted applications, which would include the game and a small number of other approved applications like Discord, MS Edge and possibly selected third-party browsers, and support software for hardware like GPUs and gaming input devices, which Windows would then boot to run the game, either on bare metal or in an isolated VM.


Every Xbox game runs in a HyperV container, maybe it's not a crazy idea for PC


Running games on Linux via Proton provides some isolation. It’s not technically a proper sandbox though.


Proton is just emulation, and it will happily expose the underlying host system to the running game software. In particular the filesystem and some peripheral devices. However, Valve is moving towards sandboxing in Steam. You can already run the whole thing with a flatpak sandbox, and valve themselves are using ostree. With srvio is possible to run the whole thing in a throwaway windows vm while the graphics card is passed through


This is why it was foolish to give a new name to it. It was originally called Wine Is Not an Emulator.


It's not a new name. Proton is Valve's fork of wine. They also contribute patches to wine.


I think their point is proton is not an emulator.


P. I. N. E. from here on out then


You can just use Linux syscalls from an .exe executed by Wine. There is no sandboxing.

https://gist.github.com/q3k/e5952111283ea59ee78a7699919a055b


Anything that wants to traverse your filesystem could do so trivially from a wineprefix, but stuff like sniffing your browser extensions might be harder depending on the technique.


I've formally studied gamedev, but haven't done anything in over a decade, but even before you get to the thorny issue of anti-cheat sustems, games rely on running at a(n often very) low level and doing unconventional things. I imagine they're one of the hardest things there are to sandbox without causing massive levels of breakage. But someone more knowledgeable about either side of the equation (sandboxing and/or game development) might be able to shed more light.


I run Proton in Steam flatpak, as well as itch.io from flatpak. That is reasonable enough isolation for my use case.



Is this not just an artifact of windows not sandboxing anything meaningfully and that itself is an artifact of punch cards?


Windows has a lot of powerful sandboxes. A lot of them Windows maybe made too easy to opt-out from and/or defaulted them to opt-in rather than opt-out which makes them things that developers need to learn or developers try to avoid or developers don't think they need.


Linux doesn't sandbox anything at all, unless you go out of your way for Bazzite or accidently run something from Flatpak/Snap.


Some anti piracy is already a sandbox.


Long press is a shortcut, the longer way is to click on the icon beside the url and tap/click the enormous "reader mode" button.


That's what I've done for years.

Long pressing is much more pleasant.

I wish Apple would give us a hint rather than requiring us to chance upon this recommendation on HN.


That’s a nice use for AI - pop up hints when it sees you using the long way a few times.

The problem is Apple’s hints keep popping up even after you say no thanks or it’s fine.


TCC is a leaky shoot at limiting non-sandboxed apps permissions. The actual macOS sandbox is a different thing.

I would say that TCC is working as intended, unfortunately, with many obscure behaviors to avoid breaking existing apps.

It's even more unfortunate that a lot of apps that could be easily sandboxed aren't.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: