one way to do this from within python itself would be to use the site module with pth files to monkeypatch the code in question. This would amount to patching it each time it gets started, not modifying the python file permanently, and without having to touch the original python code at all.
This write-up goes into more details and also links to this (unmaintained) tool for doing so.
You can get Fusion360 to work okay-ish in Wine. Probably not good enough for professional use but for my hobby use case it works well enough (sometimes a bit laggy but usable). this does most of the heavy lifting in getting it installed.
there’s a lot of stuff you can do, and you can end up with something usable, though not great, at least not in my experience. NVidia’s drivers are to blame, they don’t really work well with opengl and have lots of issues (and also regressions).
The 550 beta driver is ok-ish, steam flickers but I can play games. Drivers before 535 also somewhat worked, though it really depends on your GPU.
But I don’t think you will have it working acceptably without some work.
Here’s some pointers on stuff to try:
XWAYLAND_NO_GLAMOR=1
, WLR_RENDERER=vulkan
, LIBVA_DRIVER_NAME=nvidia
, GBM_BACKEND=nvidia-drm
(for the drm above), __GLX_VENDOR_LIBRARY_NAME=nvidia
The above is meant more as hints than something to copy paste, so use at your own risk. You can of course always just install a second DE with X11 and log into that for gaming and use your regular DE for everything else
You can set a hook to do it automatically or use this, but I agree that this should be default behaviour
There’s currently a known bug with nvidia and steam, might be what you’re having. See https://github.com/ValveSoftware/steam-for-linux/issues/9634 There’s some workarounds there that worked for me
Have you tried Jellyfin? It’s a FOSS fork of emby, so pretty much a drop in replacement and it’s been working very well for me.
Personally I use jellyfin as a backend, with the web interface and jellyfin app as frontend. Plus Kodi as an additional frontend for my beamer, with the Kodi Jellyfin plugin and Yatse remote to make it feel more like a TV.