Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Livekit, mic/screensharing support 👍 #16887

Closed
1 task done
OrgDrReach opened this issue Aug 26, 2024 · 1 comment
Closed
1 task done

Fix Livekit, mic/screensharing support 👍 #16887

OrgDrReach opened this issue Aug 26, 2024 · 1 comment
Labels
duplicate Additional reports of an existing issue

Comments

@OrgDrReach
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

can't enable permissions as it not sandboxed

image

Environment

System Details Report


Report details

  • Date generated: 2024-08-26 21:02:25

Hardware Information:

  • Hardware Model: Lenovo IdeaPad Flex 5 14ALC05
  • Memory: 16.0 GiB
  • Processor: AMD Ryzen™ 7 5700U with Radeon™ Graphics × 16
  • Graphics: AMD Radeon™ Graphics
  • Disk Capacity: (null)

Software Information:

  • Firmware Version: GJCN34WW
  • OS Name: Ubuntu 24.04 LTS
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 46
  • Windowing System: Wayland
  • Kernel Version: Linux 6.8.0-41-generic

If applicable, add mockups / screenshots to help explain present your vision of the feature

image

Referrence Fig: 1

If applicable, attach your Zed.log file to this issue.

Zed.log
2024-08-26T21:17:39.315198054+05:30 [INFO] ========== starting zed ==========
2024-08-26T21:17:39.542682927+05:30 [INFO] perform;
2024-08-26T21:17:39.542760093+05:30 [INFO] authenticate;
2024-08-26T21:17:39.543087924+05:30 [INFO] read_command;
2024-08-26T21:17:39.54790267+05:30 [INFO] Opening main db
2024-08-26T21:17:39.548154858+05:30 [INFO] socket reader;
2024-08-26T21:17:39.548330601+05:30 [INFO] new;
2024-08-26T21:17:39.54960322+05:30 [INFO] keep_updated;
2024-08-26T21:17:39.557386428+05:30 [INFO] Using git binary path: None
2024-08-26T21:17:39.612698411+05:30 [ERROR] No such file or directory (os error 2) about ["/home/sudeepta/.config/github-copilot"]
2024-08-26T21:17:39.623250722+05:30 [INFO] initializing context server client
2024-08-26T21:17:39.62399989+05:30 [INFO] Registering built-in prompt template: content_prompt
2024-08-26T21:17:39.62506142+05:30 [INFO] Registering built-in prompt template: edit_workflow
2024-08-26T21:17:39.625360517+05:30 [INFO] Registering built-in prompt template: step_resolution
2024-08-26T21:17:39.62576872+05:30 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-08-26T21:17:39.626201559+05:30 [INFO] No prompt template overrides directory found at /home/sudeepta/.local/share/zed/prompt_overrides. Using built-in prompts.
2024-08-26T21:17:39.636571374+05:30 [INFO] extensions updated. loading 3, reloading 0, unloading 0
2024-08-26T21:17:39.648769191+05:30 [INFO] performance metrics display disabled
2024-08-26T21:17:39.648884249+05:30 [INFO] activate is not implemented on Linux, ignoring the call
2024-08-26T21:17:39.656521279+05:30 [INFO] Opening main db
2024-08-26T21:17:39.65884538+05:30 [INFO] perform;
2024-08-26T21:17:39.658968093+05:30 [INFO] authenticate;
2024-08-26T21:17:39.659043535+05:30 [INFO] read_command;
2024-08-26T21:17:39.65999145+05:30 [INFO] socket reader;
2024-08-26T21:17:39.69314667+05:30 [INFO] new;
2024-08-26T21:17:39.694022508+05:30 [INFO] keep_updated;
2024-08-26T21:17:39.699120291+05:30 [INFO] set status on client 0: Authenticating
2024-08-26T21:17:39.703539599+05:30 [INFO] perform;
2024-08-26T21:17:39.704226439+05:30 [INFO] authenticate;
2024-08-26T21:17:39.704980397+05:30 [INFO] read_command;
2024-08-26T21:17:39.711198801+05:30 [INFO] socket reader;
2024-08-26T21:17:39.714807695+05:30 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-08-26T21:17:39.718056516+05:30 [WARN] Theme "macOS Classic Light" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead.
2024-08-26T21:17:39.718214175+05:30 [WARN] Theme "macOS Classic Dark" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead.
2024-08-26T21:17:39.718320166+05:30 [WARN] Theme "macOS Classic Dark2" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead.
2024-08-26T21:17:39.725354024+05:30 [INFO] new;
2024-08-26T21:17:39.727055245+05:30 [INFO] keep_updated;
2024-08-26T21:17:39.876595019+05:30 [INFO] Enabling Vulkan Portability
2024-08-26T21:17:39.87735079+05:30 [INFO] Enabling color space support
2024-08-26T21:17:39.916116122+05:30 [INFO] Adapter "AMD Radeon Graphics (RADV RENOIR)"
2024-08-26T21:17:39.916198428+05:30 [INFO] No ray tracing extensions are supported
2024-08-26T21:17:39.951728324+05:30 [INFO] Using surface present mode MAILBOX
2024-08-26T21:17:39.95223854+05:30 [WARN] Unable to forbid exclusive full screen
2024-08-26T21:17:39.95304669+05:30 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-26T21:17:39.953144816+05:30 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-26T21:17:39.953217974+05:30 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-08-26T21:17:39.973050647+05:30 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "AMD Radeon Graphics (RADV RENOIR)", driver_name: "radv", driver_info: "Mesa 24.0.9-0ubuntu0.1" }
2024-08-26T21:17:39.976579078+05:30 [INFO] set status on client 221920: Connecting
2024-08-26T21:17:39.979770531+05:30 [INFO] Opening main db
2024-08-26T21:17:39.996278509+05:30 [INFO] set environment variables from shell:/bin/bash, path:/home/sudeepta/.local/bin:/home/sudeepta/.local/bin:/home/sudeepta/.nvm/versions/node/v20.14.0/bin:/home/sudeepta/.local/bin:/home/sudeepta/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
2024-08-26T21:17:40.003346302+05:30 [INFO] Using surface present mode MAILBOX
2024-08-26T21:17:40.004089219+05:30 [WARN] Unable to forbid exclusive full screen
2024-08-26T21:17:40.008252442+05:30 [INFO] time to first window draw: 696.041554ms
2024-08-26T21:17:40.009431274+05:30 [INFO] Opening main db
2024-08-26T21:17:40.20662385+05:30 [WARN] unhandled message: Metadata(SupermavenMetadataMessage { dust_strings: None })
2024-08-26T21:17:40.206802739+05:30 [WARN] unhandled message: Set(SupermavenSetMessage { key: "disabled", value: Bool(false) })
2024-08-26T21:17:40.318085874+05:30 [INFO] Initializing default prettier with plugins {}
2024-08-26T21:17:40.318191625+05:30 [INFO] starting language servers for TSX: vtsls, tailwindcss-language-server, eslint
2024-08-26T21:17:40.318553259+05:30 [INFO] starting language server "vtsls", path: "/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo", id: 1
2024-08-26T21:17:40.318623041+05:30 [INFO] starting language server "tailwindcss-language-server", path: "/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo", id: 2
2024-08-26T21:17:40.318678917+05:30 [INFO] starting language server "eslint", path: "/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo", id: 3
2024-08-26T21:17:40.318871041+05:30 [INFO] Initializing default prettier with plugins {}
2024-08-26T21:17:40.31892861+05:30 [INFO] starting language servers for TSX: vtsls, tailwindcss-language-server, eslint
2024-08-26T21:17:40.320686669+05:30 [INFO] fetching latest version of language server "tailwindcss-language-server"
2024-08-26T21:17:40.321284771+05:30 [INFO] Node runtime install_if_needed
2024-08-26T21:17:40.321666194+05:30 [INFO] fetching latest version of language server "eslint"
2024-08-26T21:17:40.321730215+05:30 [INFO] downloading language server "eslint"
2024-08-26T21:17:40.494552365+05:30 [INFO] Initializing default prettier with plugins {}
2024-08-26T21:17:40.494661512+05:30 [INFO] starting language servers for TSX: vtsls, tailwindcss-language-server, eslint, autocorrect
2024-08-26T21:17:40.494796738+05:30 [INFO] starting language server "autocorrect", path: "/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo", id: 4
2024-08-26T21:17:40.64639992+05:30 [INFO] Node runtime install_if_needed
2024-08-26T21:17:40.717907069+05:30 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-08-26T21:17:40.756226818+05:30 [INFO] starting language server. binary path: "/home/sudeepta/.local/share/zed/node/node-v22.5.1-linux-x64/bin/node", working directory: "/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo", args: ["/home/sudeepta/.local/share/zed/languages/eslint/vscode-eslint-release/2.4.4/vscode-eslint/server/out/eslintServer.js", "--stdio"]
2024-08-26T21:17:40.783741056+05:30 [INFO] fetching latest version of language server "vtsls"
2024-08-26T21:17:40.783831327+05:30 [INFO] Node runtime install_if_needed
2024-08-26T21:17:40.876889344+05:30 [INFO] Language server with id 3 sent unhandled notification window/logMessage:
{
  "type": 3,
  "message": "ESLint server running in node v22.5.1"
}
2024-08-26T21:17:40.879869797+05:30 [WARN] unhandled capability registration: Registration { id: "56b79a7a-5f86-4b66-bdb1-2834a14840e8", method: "workspace/didChangeConfiguration", register_options: Some(Object {}) }
2024-08-26T21:17:40.880155809+05:30 [WARN] unhandled capability registration: Registration { id: "97c130af-6904-485d-8d74-c76ef0e0589c", method: "workspace/didChangeWorkspaceFolders", register_options: Some(Object {}) }
2024-08-26T21:17:41.520424919+05:30 [INFO] add connection to peer
2024-08-26T21:17:41.520566687+05:30 [INFO] add_connection;
2024-08-26T21:17:41.520713545+05:30 [INFO] waiting for server hello
2024-08-26T21:17:41.545356798+05:30 [INFO] got server hello
2024-08-26T21:17:41.5454369+05:30 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 500, id: 2741188 })
2024-08-26T21:17:41.545515418+05:30 [INFO] set status on client 221920: Connected { peer_id: PeerId { owner_id: 500, id: 2741188 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }
2024-08-26T21:17:41.546362713+05:30 [ERROR] failed to start language server "autocorrect": no asset found matching "autocorrect-linux-amd64.tar.gz"
2024-08-26T21:17:41.546516885+05:30 [ERROR] server stderr: Some("")
2024-08-26T21:17:41.546625621+05:30 [INFO] retrying installation of language server "autocorrect" in 1s
2024-08-26T21:17:41.568126062+05:30 [INFO] Node runtime install_if_needed
2024-08-26T21:17:41.695282535+05:30 [WARN] unhandled message: TaskStatus(SupermavenTaskUpdateMessage { task: "Initializing", status: Complete, percent_complete: None })
2024-08-26T21:17:41.695415447+05:30 [WARN] unhandled message: ActiveRepo(SupermavenActiveRepoMessage { repo_simple_name: None })
2024-08-26T21:17:41.864286367+05:30 [INFO] downloading language server "tailwindcss-language-server"
2024-08-26T21:17:41.86775786+05:30 [INFO] Node runtime install_if_needed
2024-08-26T21:17:42.005391482+05:30 [INFO] starting language server. binary path: "/home/sudeepta/.local/share/zed/node/node-v22.5.1-linux-x64/bin/node", working directory: "/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo", args: ["/home/sudeepta/.local/share/zed/languages/tailwindcss-language-server/node_modules/.bin/tailwindcss-language-server", "--stdio"]
2024-08-26T21:17:42.239912164+05:30 [INFO] Language server with id 2 sent unhandled notification window/logMessage:
{
  "type": 4,
  "message": "Setting up server…"
}
2024-08-26T21:17:42.240082096+05:30 [INFO] Language server with id 2 sent unhandled notification window/logMessage:
{
  "type": 4,
  "message": "Listening for messages…"
}
2024-08-26T21:17:42.546894043+05:30 [INFO] About to spawn test binary
2024-08-26T21:17:42.546980146+05:30 [WARN] test binary failed to launch
2024-08-26T21:17:42.547020954+05:30 [WARN] test binary check failed
2024-08-26T21:17:42.547059927+05:30 [INFO] beginning to reinstall server
2024-08-26T21:17:42.547110433+05:30 [INFO] deleting server container
2024-08-26T21:17:42.547340779+05:30 [ERROR] server container removal

Caused by:
No such file or directory (os error 2)
2024-08-26T21:17:42.547416062+05:30 [INFO] starting language server "autocorrect", path: "/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo", id: 5
2024-08-26T21:17:42.82094172+05:30 [INFO] Language server with id 3 sent unhandled notification eslint/status:
{
"uri": "file:///home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo/app/page.tsx",
"state": 1,
"validationTime": 1643
}
2024-08-26T21:17:42.872377706+05:30 [ERROR] failed to start language server "autocorrect": no asset found matching "autocorrect-linux-amd64.tar.gz"
2024-08-26T21:17:42.872468869+05:30 [ERROR] server stderr: Some("")
2024-08-26T21:17:42.872526818+05:30 [INFO] retrying installation of language server "autocorrect" in 1s
2024-08-26T21:17:43.87507442+05:30 [INFO] About to spawn test binary
2024-08-26T21:17:43.875265322+05:30 [WARN] test binary failed to launch
2024-08-26T21:17:43.875351154+05:30 [WARN] test binary check failed
2024-08-26T21:17:43.875436686+05:30 [INFO] beginning to reinstall server
2024-08-26T21:17:43.875538459+05:30 [INFO] deleting server container
2024-08-26T21:17:43.875827847+05:30 [ERROR] server container removal

Caused by:
No such file or directory (os error 2)
2024-08-26T21:17:43.875992849+05:30 [INFO] starting language server "autocorrect", path: "/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo", id: 6
2024-08-26T21:17:44.069545159+05:30 [INFO] downloading language server "vtsls"
2024-08-26T21:17:44.072037278+05:30 [INFO] Node runtime install_if_needed
2024-08-26T21:17:44.166056147+05:30 [INFO] Language server with id 2 sent unhandled notification @/tailwindCSS/projectInitialized:
[
null
]
2024-08-26T21:17:44.166283057+05:30 [WARN] unhandled capability registration: Registration { id: "44c43a29-0d63-496f-a2d7-26e367f65975", method: "workspace/didChangeWorkspaceFolders", register_options: Some(Object {}) }
2024-08-26T21:17:44.229561117+05:30 [ERROR] failed to start language server "autocorrect": no asset found matching "autocorrect-linux-amd64.tar.gz"
2024-08-26T21:17:44.22965783+05:30 [ERROR] server stderr: Some("")
2024-08-26T21:17:44.229706212+05:30 [INFO] retrying installation of language server "autocorrect" in 1s
2024-08-26T21:17:44.23605815+05:30 [INFO] starting language server. binary path: "/home/sudeepta/.local/share/zed/node/node-v22.5.1-linux-x64/bin/node", working directory: "/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo", args: ["/home/sudeepta/.local/share/zed/languages/vtsls/node_modules/@vtsls/language-server/bin/vtsls.js", "--stdio"]
2024-08-26T21:17:45.232062736+05:30 [INFO] About to spawn test binary
2024-08-26T21:17:45.232701175+05:30 [WARN] test binary failed to launch
2024-08-26T21:17:45.232777459+05:30 [WARN] test binary check failed
2024-08-26T21:17:45.232866948+05:30 [INFO] beginning to reinstall server
2024-08-26T21:17:45.235191801+05:30 [INFO] deleting server container
2024-08-26T21:17:45.239177157+05:30 [ERROR] server container removal

Caused by:
No such file or directory (os error 2)
2024-08-26T21:17:45.243352834+05:30 [INFO] starting language server "autocorrect", path: "/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo", id: 7
2024-08-26T21:17:45.622807494+05:30 [ERROR] failed to start language server "autocorrect": no asset found matching "autocorrect-linux-amd64.tar.gz"
2024-08-26T21:17:45.62292709+05:30 [ERROR] server stderr: Some("")
2024-08-26T21:17:45.623005359+05:30 [INFO] retrying installation of language server "autocorrect" in 1s
2024-08-26T21:17:46.625786691+05:30 [INFO] About to spawn test binary
2024-08-26T21:17:46.625901068+05:30 [WARN] test binary failed to launch
2024-08-26T21:17:46.625964969+05:30 [WARN] test binary check failed
2024-08-26T21:17:46.62602929+05:30 [INFO] beginning to reinstall server
2024-08-26T21:17:46.626107138+05:30 [INFO] deleting server container
2024-08-26T21:17:46.6264622+05:30 [ERROR] server container removal

Caused by:
No such file or directory (os error 2)
2024-08-26T21:17:46.626569283+05:30 [INFO] starting language server "autocorrect", path: "/home/sudeepta/Ubuntu-Owner/GitHub/dreach-rewant-repo", id: 8
2024-08-26T21:17:46.942980149+05:30 [ERROR] failed to start language server "autocorrect": no asset found matching "autocorrect-linux-amd64.tar.gz"
2024-08-26T21:17:46.943148608+05:30 [ERROR] server stderr: Some("")
2024-08-26T21:17:46.943237456+05:30 [ERROR] Hit 4 reinstallation attempts for "autocorrect"
2024-08-26T21:17:47.431079523+05:30 [WARN] unhandled message: Popup(SupermavenPopupMessage { message: "We don't have an active payment method on file for your account. To use Supermaven Pro, please add a payment method.", actions: [OpenUrl { label: "Add payment method", url: "https://supermaven.com/account" }, NoOp { label: "Dismiss" }] })
2024-08-26T21:18:00.33357683+05:30 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-26T21:18:00.342060445+05:30 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-26T21:18:00.358607631+05:30 [INFO] Creating a descriptor pool for at most 256 sets
2024-08-26T21:18:00.375963999+05:30 [INFO] Creating a descriptor pool for at most 256 sets
2024-08-26T21:18:34.891364129+05:30 [ERROR] no server found for url

@OrgDrReach OrgDrReach added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Aug 26, 2024
@apricotbucket28
Copy link
Contributor

apricotbucket28 commented Aug 27, 2024

LiveKit support on Linux is being tracked here:

can't enable permissions as it not sandboxed

The Zed Flatpak escapes the sandbox since it causes issues with language servers. You don't need to manually enable permissions since it's not limited by them.

@notpeter notpeter added duplicate Additional reports of an existing issue and removed bug [core label] triage Maintainer needs to classify the issue admin read Pending admin review labels Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Additional reports of an existing issue
Projects
None yet
Development

No branches or pull requests

5 participants
@notpeter @apricotbucket28 @OrgDrReach and others