Git Product home page Git Product logo

flake-chromium's Introduction

flake-chromium

probably abandoning this

if it works, the build is old.

flake-chromium's People

Contributors

colemickens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

efouladi

flake-chromium's Issues

probably abandoning ship

Heads up.

I'm not really interested in spending time on chromium* or google-chrome* anymore.

Firefox works out of box in nearly all scenarios (with some env vars) whereas Chromium needs vaapi patches, pipewire-0.3 patches, they don't publish Chromium builds.

I no longer have Chromium installed, except for transitively via some unspeakable Electron apps.

I'm probably going to archive this repo.

crashes on start

Thanks for the binaries! Can't seem to boot the browser; here's the STDOUT/ERR

Linux nixos 5.5.9-ck1 #1-NixOS SMP Thu Mar 12 06:18:49 UTC 2020 x86_64 GNU/Linux
Nixos-unstable channel
Custom kernel compiled with NVidia drivers
NVIDIA GeForce 1080 TI

Fontconfig warning: "/etc/fonts/fonts.conf", line 86: unknown element "blank"
/nix/store/y9zg6ryffgc5c9y67fcmfdkyyiivjzpj-glibc-2.27/lib/libm.so.6: version `GLIBC_2.29' not found (required by /nix/store/xnxc4g607a30c8vwaj6310x2v8bg5i2v-spidermonkey-60.9.0/lib/libmozjs-60.so)
Failed to load module: /nix/store/rszzz3jr95qk6hdzbzjxpgwxrd5d4rgc-glib-networking-2.62.3/lib/gio/modules/libgiolibproxy.so
MESA-LOADER: failed to open nouveau (search paths /run/opengl-driver/lib/dri)
failed to load driver: nouveau
MESA-LOADER: failed to open kms_swrast (search paths /run/opengl-driver/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /run/opengl-driver/lib/dri)
failed to load swrast driver
[2129:2129:0324/230501.019925:ERROR:gl_surface_egl.cc(691)] EGL Driver message (Error) eglGetPlatformDisplay: EGL_BAD_PARAMETER error: In internal function: Additional INFO may be available

[2129:2129:0324/230501.019942:ERROR:gl_surface_egl.cc(691)] EGL Driver message (Error) eglGetDisplay: Could not create EGLDisplay
[2129:2129:0324/230501.019963:ERROR:gl_surface_egl.cc(1137)] EGL display query failed with error EGL_BAD_PARAMETER
Received signal 11 SEGV_MAPERR 000000000000
#0 0x558041dbebc9 base::debug::CollectStackTrace()
#1 0x558041d262f3 base::debug::StackTrace::StackTrace()
#2 0x558041dbe731 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7f896bf84860 (/nix/store/y9zg6ryffgc5c9y67fcmfdkyyiivjzpj-glibc-2.27/lib/libpthread-2.27.so+0x1285f)
#4 0x7f896a7c1531 __strlen_avx2
#5 0x5580418c3d35 std::__1::basic_string<>::append()
#6 0x5580427fa214 gl::(anonymous namespace)::LogEGLDebugMessage()
#7 0x7f8969f2ff69 __eglDebugReport
#8 0x7f8969f350f6 FetchVendorFunc
#9 0x7f8969f35898 eglInitialize
#10 0x5580427f988a gl::GLSurfaceEGL::InitializeDisplay()
#11 0x5580427f847a gl::GLSurfaceEGL::InitializeOneOff()
#12 0x55803f676107 ui::GLOzoneEGL::InitializeGLOneOffPlatform()
#13 0x558042f1182b gl::init::InitializeGLOneOffPlatformImplementation()
#14 0x558042f114b2 gl::init::(anonymous namespace)::InitializeGLOneOffPlatformHelper()
#15 0x558042f1162c gl::init::InitializeGLNoExtensionsOneOff()
#16 0x558043577515 gpu::GpuInit::InitializeAndStartSandbox()
#17 0x558045321cbf content::GpuMain()
#18 0x558041875fa5 content::ContentMainRunnerImpl::Run()
#19 0x5580418d0c13 service_manager::Main()
#20 0x5580418742e1 content::ContentMain()
#21 0x55803edcc5ee ChromeMain
#22 0x7f896a691b8e __libc_start_main
#23 0x55803edcc44a _start
  r8: 0000000000000000  r9: 0000000000000000 r10: 0000000000000073 r11: 0000000000000206
 r12: 0000000000000000 r13: 00007f8969f36513 r14: 00007fffe81da4b0 r15: 0000000000000000
  di: 0000000000000000  si: 0000000000000000  bp: 00007fffe81da400  bx: 0000000000000000
  dx: 0000000000000000  ax: 00007fffe81da410  cx: 0000000000000000  sp: 00007fffe81da3e8
  ip: 00007f896a7c1531 efl: 0000000000010283 cgf: 002b000000000033 erf: 0000000000000004
 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
MESA-LOADER: failed to open nouveau (search paths /run/opengl-driver/lib/dri)
failed to load driver: nouveau
MESA-LOADER: failed to open kms_swrast (search paths /run/opengl-driver/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /run/opengl-driver/lib/dri)
failed to load swrast driver
[2175:2175:0324/230501.197695:ERROR:gl_surface_egl.cc(691)] EGL Driver message (Error) eglGetPlatformDisplay: EGL_BAD_PARAMETER error: In internal function: Additional INFO may be available

[2175:2175:0324/230501.197711:ERROR:gl_surface_egl.cc(691)] EGL Driver message (Error) eglGetDisplay: Could not create EGLDisplay
[2175:2175:0324/230501.197717:ERROR:gl_surface_egl.cc(1137)] EGL display query failed with error EGL_BAD_PARAMETER
Received signal 11 SEGV_MAPERR 000000000000
#0 0x55e61cb23bc9 base::debug::CollectStackTrace()
#1 0x55e61ca8b2f3 base::debug::StackTrace::StackTrace()
#2 0x55e61cb23731 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7ff90f7d4860 (/nix/store/y9zg6ryffgc5c9y67fcmfdkyyiivjzpj-glibc-2.27/lib/libpthread-2.27.so+0x1285f)
#4 0x7ff90e011531 __strlen_avx2
#5 0x55e61c628d35 std::__1::basic_string<>::append()
#6 0x55e61d55f214 gl::(anonymous namespace)::LogEGLDebugMessage()
#7 0x7ff90d77ff69 __eglDebugReport
#8 0x7ff90d7850f6 FetchVendorFunc
#9 0x7ff90d785898 eglInitialize
#10 0x55e61d55e88a gl::GLSurfaceEGL::InitializeDisplay()
#11 0x55e61d55d47a gl::GLSurfaceEGL::InitializeOneOff()
#12 0x55e61a3db107 ui::GLOzoneEGL::InitializeGLOneOffPlatform()
#13 0x55e61dc7682b gl::init::InitializeGLOneOffPlatformImplementation()
#14 0x55e61dc764b2 gl::init::(anonymous namespace)::InitializeGLOneOffPlatformHelper()
#15 0x55e61dc7662c gl::init::InitializeGLNoExtensionsOneOff()
#16 0x55e61e2dc515 gpu::GpuInit::InitializeAndStartSandbox()
#17 0x55e620086cbf content::GpuMain()
#18 0x55e61c5dafa5 content::ContentMainRunnerImpl::Run()
#19 0x55e61c635c13 service_manager::Main()
#20 0x55e61c5d92e1 content::ContentMain()
#21 0x55e619b315ee ChromeMain
#22 0x7ff90dee1b8e __libc_start_main
#23 0x55e619b3144a _start
  r8: 0000000000000000  r9: 0000000000000000 r10: 0000000000000073 r11: 0000000000000202
 r12: 0000000000000000 r13: 00007ff90d786513 r14: 00007ffc8c0bf370 r15: 0000000000000000
  di: 0000000000000000  si: 0000000000000000  bp: 00007ffc8c0bf2c0  bx: 0000000000000000
  dx: 0000000000000000  ax: 00007ffc8c0bf2d0  cx: 0000000000000000  sp: 00007ffc8c0bf2a8
  ip: 00007ff90e011531 efl: 0000000000010283 cgf: 002b000000000033 erf: 0000000000000004
 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
MESA-LOADER: failed to open nouveau (search paths /run/opengl-driver/lib/dri)
failed to load driver: nouveau
MESA-LOADER: failed to open kms_swrast (search paths /run/opengl-driver/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /run/opengl-driver/lib/dri)
failed to load swrast driver
[2194:2194:0324/230501.353255:ERROR:gl_surface_egl.cc(691)] EGL Driver message (Error) eglGetPlatformDisplay: EGL_BAD_PARAMETER error: In internal function: Additional INFO may be available

[2194:2194:0324/230501.353269:ERROR:gl_surface_egl.cc(691)] EGL Driver message (Error) eglGetDisplay: Could not create EGLDisplay
[2194:2194:0324/230501.353274:ERROR:gl_surface_egl.cc(1137)] EGL display query failed with error EGL_BAD_PARAMETER
Received signal 11 SEGV_MAPERR 000000000000
#0 0x5596b68babc9 base::debug::CollectStackTrace()
#1 0x5596b68222f3 base::debug::StackTrace::StackTrace()
#2 0x5596b68ba731 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7f18124b8860 (/nix/store/y9zg6ryffgc5c9y67fcmfdkyyiivjzpj-glibc-2.27/lib/libpthread-2.27.so+0x1285f)
#4 0x7f1810cf5531 __strlen_avx2
#5 0x5596b63bfd35 std::__1::basic_string<>::append()
#6 0x5596b72f6214 gl::(anonymous namespace)::LogEGLDebugMessage()
#7 0x7f1810463f69 __eglDebugReport
#8 0x7f18104690f6 FetchVendorFunc
#9 0x7f1810469898 eglInitialize
#10 0x5596b72f588a gl::GLSurfaceEGL::InitializeDisplay()
#11 0x5596b72f447a gl::GLSurfaceEGL::InitializeOneOff()
#12 0x5596b4172107 ui::GLOzoneEGL::InitializeGLOneOffPlatform()
#13 0x5596b7a0d82b gl::init::InitializeGLOneOffPlatformImplementation()
#14 0x5596b7a0d4b2 gl::init::(anonymous namespace)::InitializeGLOneOffPlatformHelper()
#15 0x5596b7a0d62c gl::init::InitializeGLNoExtensionsOneOff()
#16 0x5596b8073515 gpu::GpuInit::InitializeAndStartSandbox()
#17 0x5596b9e1dcbf content::GpuMain()
#18 0x5596b6371fa5 content::ContentMainRunnerImpl::Run()
#19 0x5596b63ccc13 service_manager::Main()
#20 0x5596b63702e1 content::ContentMain()
#21 0x5596b38c85ee ChromeMain
#22 0x7f1810bc5b8e __libc_start_main
#23 0x5596b38c844a _start
  r8: 0000000000000000  r9: 0000000000000000 r10: 0000000000000073 r11: 0000000000000206
 r12: 0000000000000000 r13: 00007f181046a513 r14: 00007ffc79545090 r15: 0000000000000000
  di: 0000000000000000  si: 0000000000000000  bp: 00007ffc79544fe0  bx: 0000000000000000
  dx: 0000000000000000  ax: 00007ffc79544ff0  cx: 0000000000000000  sp: 00007ffc79544fc8
  ip: 00007f1810cf5531 efl: 0000000000010283 cgf: 002b000000000033 erf: 0000000000000004
 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
MESA-LOADER: failed to open nouveau (search paths /run/opengl-driver/lib/dri)
failed to load driver: nouveau
MESA-LOADER: failed to open kms_swrast (search paths /run/opengl-driver/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /run/opengl-driver/lib/dri)
failed to load swrast driver

Convert to package set

This should almost certainly just be used as a package set. It's probably better for users to have to keep extra packages around than have to rebuild chromium from scratch every time their channel advances faster than pre-built binaries are uploaded.

Crash when opening file chooser dialog

(chrome:29442): GLib-GIO-ERROR **: 11:52:36.542: No GSettings schemas are installed on the system
Trace/breakpoint trap (core dumped)

Maybe the wrapGAppsHook is not run or not run correctly?

Home manager integration? Screen-sharing?

Hi,

First of all, thanks for doing this!

I normally install chromium via Home Manager. Is there a way to integrate this package with it? It installs properly if I install it as environment.systemPackages (/etc/nixos/configuration.nix) but if I try to install it via HM nothing happens, not even a failure.

This is what I have (minimal example):

let
  chromium-dev-ozone = builtins.fetchTarball {
    url    = "https://github.com/colemickens/nixpkgs-chromium/archive/master.tar.gz";
    sha256 = "0d5gmcnalh3x154mg40cx70d48a9nvn5x8kkcp2xxp0cha6hqh96";
  };
in
  {
    programs.chromium = {
      enable = true;
      extensions = [
        "kklailfgofogmmdlhgmjgenehkjoioip" # google meet grid view
        "aapbdbdomjkkjkaonfhkkikfgjllcleb" # google translate
        "hdokiejnpimakedhajhdlcegeplioahd" # lastpass password manager
        "dbepggeogbaibhgnhhndojpepiihcmeb" # vimium
      ];
      package = chromium-dev-ozone;
    };
}

Also, do you know if screen-sharing in Google Meet (for example) is supported with this package? That's the whole reason why I'm trying this out. It didn't work when I installed it via environment.systemPackages. When I open a Meet session, I get the "Present" option disabled and it says "Your browser can't share your screen" when I hover.

img

Thanks again!

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.