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

Brave and Chromium unresponsive : possibly graphical issue #63968

Open
aakropotkin opened this issue Jul 1, 2019 · 8 comments
Open

Brave and Chromium unresponsive : possibly graphical issue #63968

aakropotkin opened this issue Jul 1, 2019 · 8 comments
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

Comments

@aakropotkin
Copy link
Contributor

Issue description

Both Brave and Chromium browsers will randomly become unresponsive for me. I suspect that it is a graphical failure because I get that classic "burn" effect when any other windows overlap it and are moved (OG windows users might know what I'm talking about here). I know that Brave and Chromium share large sections of a code-base so I'm unsurprised that the issue effects both.

Steps to reproduce

# /etc/nixos/configuration.nix
{ config, pkgs, ... }:
{
    # ....

  hardware.enableAllFirmware = true;

  services = {
    # X11 and WMs
    xserver = {
      enable = true;
      layout = us;
      exportConfiguration = true;
      videoDrivers = ["nouveau"];
      dpi = myDpi;
      xrandrHeads = [ 
        "HDMI-1" {
          output = "DP-3";
          monitorConfig = ''Option "PreferredMode" "1920x1080"'';
        }
        "DVI-D-1"
      ];
    };
  };

  boot.initrd.availableKernelModules = [
    "xhci_pci"
    "ahci"
    "ohci_pci"
    "ehci_pci"
    "usb_storage"
    "sd_mod"
  ];
  boot.kernelModules = [ "kvm-amd" ];
  boot.blacklistedKernelModules = [ "radeon" "amdgpu" ];

# ...

}

Technical details

λ nix-shell -p nix-info --run "nix-info -m"                   
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.52, NixOS, 19.09pre183392.83ba5afcc96 (Loris)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2.2`
 - channels(camus): `"home-manager, nextbookit, nixos-mio"`
 - channels(root): `"home-manager, nixos-19.09pre183832.20b993ef2c9, nixos-hardware, nixos-stable-18.09.2574.a7e559a5504"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
@gloaming
Copy link
Contributor

gloaming commented Jul 5, 2019

Have you tried with Linux 5?

@aakropotkin
Copy link
Contributor Author

No I hadn't even noticed that my kernel was so outdated until you pointed this out.

@markus1189
Copy link
Contributor

markus1189 commented Jul 26, 2019

I have the same problem...

 - system: `"x86_64-linux"`
 - host os: `Linux 5.1.10, NixOS, 19.09pre186460.c4fec1c6314 (Loris)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2.2`
 - channels(root): `"nixos-19.09pre186460.c4fec1c6314"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Unfortunately I also have no idea how to debug this

It not only happens with chromium but also chromium-based apps like spotify

@markus1189
Copy link
Contributor

@alexameen just FYI: https://unix.stackexchange.com/questions/524205/help-chromium-display-frozen-but-the-app-keeps-working

I have not yet tried anything but that seems to relate to the problems we are experiencing

@markus1189
Copy link
Contributor

@alexameen can you try if running chromium with LIBGL_DRI3_DISABLE=1 chromium from a terminal solves the problem for you?

@stale
Copy link

stale bot commented Jun 2, 2020

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 2, 2020
@gaurav-src
Copy link

I am having the same issue on Void Linux. Brave just stops responding. It works fine until Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf pops up on terminal.

[3203:3203:0603/031850.734667:ERROR:gl_surface_glx.cc(90)] glXGetFBConfigs failed.
[3203:3203:0603/031850.734827:ERROR:gl_surface_glx.cc(130)] Failed to get GLXConfig
[3203:3203:0603/031850.734868:ERROR:gl_surface_glx.cc(479)] CreateDummyWindow(gfx::GetXDisplay()) failed
[3203:3203:0603/031850.734907:ERROR:gl_initializer_x11.cc(148)] GLSurfaceGLX::InitializeOneOff failed.
[3203:3203:0603/031850.740884:ERROR:viz_main_impl.cc(159)] Exiting GPU process due to errors during initialization
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open amdgpu (search paths /run/opengl-driver/lib/dri)
failed to load driver: amdgpu
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
[3178:3178:0603/031850.942100:ERROR:browser_switcher_service.cc(238)] XXX Init()
[3178:3178:0603/031852.914456:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Cannot access contents of url "chrome://newtab/". Extension manifest must request permission to access this host.", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/_generated_background_page.html (0)
Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/fonts.conf", line 6: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/fonts.conf", line 9: unknown element "description"
Fontconfig warning: "/home/vitkrn/.config/fontconfig/fonts.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/home/vitkrn/.config/fontconfig/fonts.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/home/vitkrn/.config/fontconfig/fonts.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/home/vitkrn/.config/fontconfig/fonts.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/home/vitkrn/.config/fontconfig/fonts.conf", line 6: invalid attribute 'version'
Fontconfig error: "/home/vitkrn/.config/fontconfig/fonts.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 2, 2020
@stale
Copy link

stale bot commented Nov 30, 2020

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Projects
None yet
Development

No branches or pull requests

4 participants