Code Monkey home page Code Monkey logo

Comments (9)

tobhe avatar tobhe commented on June 3, 2024 1

Oh you are right, it isn't supposed to be enabled in lunar. This is because we are tracking a newer kernel and rebasing the changes from mantic was easier. I agree that we should probably disable it then, there is probably a lot more that won't work without manual changes in lunar.

from ubuntu-asahi.

clementperon avatar clementperon commented on June 3, 2024 1

Fixed with 6.5.0-1005-apple-arm thanks a lot @tobhe 👍

from ubuntu-asahi.

tobhe avatar tobhe commented on June 3, 2024

How did you install vscode? I think this might get fixed soon once we have our own gnome-sdk enabled.

from ubuntu-asahi.

tobhe avatar tobhe commented on June 3, 2024

Since this is electron I wonder if MESA_LOADER_DRIVER_OVERRIDE=asahi and --ignore-gpu-blocklist make a difference

from ubuntu-asahi.

tobhe avatar tobhe commented on June 3, 2024

image
MESA_LOADER_DRIVER_OVERRIDE=asahi /usr/share/code/bin/code --no-sandbox --enable-features=UseOzonePlatform --ozone-platform=wayland

from ubuntu-asahi.

clementperon avatar clementperon commented on June 3, 2024

@tobhe sorry for the late reply, for "--no-sandbox" flag.

it seems related to this bug: https://bugs.launchpad.net/ubuntu/+source/linux-meta-nvidia-5.19/+bug/2017980

because the asahi kernel have this feature enabled:

sudo cat /proc/sys/kernel/apparmor_restrict_unprivileged_userns
1

Maybe it should be a nice thing to disable it to track the same behavior as Lunar kernel no ?

from ubuntu-asahi.

tobhe avatar tobhe commented on June 3, 2024

Interesting! I would recommend keeping that option enabled since it really helps protect against many potential local root exploits but this means we can also just add an apparmor config which explicitly allows code to use them. Let me see if I can get it running.

from ubuntu-asahi.

clementperon avatar clementperon commented on June 3, 2024

@tobhe ok it makes sense, could it be possible to try to rebase the asahi kernel on the "new" lunar 6.2?

from ubuntu-asahi.

hamza72x avatar hamza72x commented on June 3, 2024
MESA_LOADER_DRIVER_OVERRIDE=asahi /opt/brave.com/brave-beta/brave-browser-beta --no-sandbox --enable-features=UseOzonePlatform --ozone-platform=wayland

[24505:24505:1105/074745.108718:ERROR:policy_logger.cc(157)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
[1105/074745.135800:ERROR:elf_dynamic_array_reader.h(64)] tag not found
/opt/brave.com/brave-beta/brave-browser-beta: line 48: 24505 Segmentation fault      (core dumped) "$HERE/brave" "$@"

@tobhe

from ubuntu-asahi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.