Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firefox:rapid stopped woring inside chroot.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
lekto
Apprentice
Apprentice


Joined: 20 Sep 2014
Posts: 201
Location: Ancient Rome

PostPosted: Wed Oct 16, 2024 3:34 pm    Post subject: Firefox:rapid stopped woring inside chroot. Reply with quote

Hi, I have installed firefox:rapid inside chroot, to use it I type:
Code:
xhost +
su
<password>
systemd-nspawn -D /mnt/chroot/ --bind=/var/cache/distfiles --bind-ro={/usr/src,/var/db/repos,/var/cache/binpkgs,/etc/portage/repos.conf}
su user
cd
DISPLAY=:0 firefox

It worked last time few months ago, today I've updated chroot and after trying to start firefox I got this:
Code:
user@chroot ~ $ DISPLAY=:0 firefox
_amdgpu_device_initialize: amdgpu_get_auth (1) failed (-1)
amdgpu: amdgpu_device_initialize failed.
libEGL warning: egl: failed to create dri2 screen
libEGL warning: DRI2: could not open /dev/dri/card0 (No such file or directory)
libEGL warning: MESA-LOADER: failed to open zink: /usr/lib64/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri)

[Parent 1290, Main Thread] WARNING: Failed to create DBus proxy for org.freedesktop.UPower: Could not connect: No such file or directory
: 'glib warning', file /var/tmp/portage/www-client/firefox-131.0.3/work/firefox-131.0.3/toolkit/xre/nsSigHandlers.cpp:187

** (firefox:1290): WARNING **: 17:18:40.477: Failed to create DBus proxy for org.freedesktop.UPower: Could not connect: No such file or directory

_amdgpu_device_initialize: amdgpu_get_auth (1) failed (-1)
amdgpu: amdgpu_device_initialize failed.
libEGL warning: egl: failed to create dri2 screen
libEGL warning: DRI2: could not open /dev/dri/card0 (No such file or directory)
libEGL warning: MESA-LOADER: failed to open zink: /usr/lib64/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri)

console.error: ({})
console.error: Region.sys.mjs: "Error fetching region" (new SyntaxError("JSON.parse: unexpected character at line 1 column 1 of the JSON data", ""))
console.error: Region.sys.mjs: "Failed to fetch region" (new Error("NO_RESULT", "resource://gre/modules/Region.sys.mjs", 411))
console.error: (new TypeError("this._searchProviderInfo is null", "resource:///modules/SearchSERPTelemetry.sys.mjs", 915))
JavaScript error: resource://gre/modules/PromiseWorker.sys.mjs, line 75: Error: Could not get children of `/home/user/.mozilla/firefox/hcrlq3q3.default-release/thumbnails': directory does not exist (NS_ERROR_FILE_NOT_FOUND)
console.error: "Experiment add-an-image-to-pdf-with-alt-text-rollout has unknown featureId: addAnImageInPDF"
console.error: "Experiment tab-hover-preview-release-rollout has unknown featureId: tabPreview"

It opened new window, with correct title (Welcome - Gentoo Linux - Mozilla Firefox (chroot)). But window content is frozen and shows what was behind it when created, like when Windows 98 program froze, right click shows right context menu. I tried to fix it by binding /dev/dri, adding user to video and render groups, and rebuilding mesa with zink. Now I'm getting same results, but slightly different errors:
Code:
user@chroot ~ $ DISPLAY=:0 firefox
_amdgpu_device_initialize: amdgpu_get_auth (1) failed (-1)
amdgpu: amdgpu_device_initialize failed.
libEGL warning: egl: failed to create dri2 screen
libEGL warning: DRI2: could not open /dev/dri/card0 (Operation not permitted)
MESA: error: ZINK: vkEnumeratePhysicalDevices failed (VK_ERROR_INITIALIZATION_FAILED)
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen
[Parent 16, Main Thread] WARNING: Failed to create DBus proxy for org.freedesktop.UPower: Could not connect: No such file or directory
: 'glib warning', file /var/tmp/portage/www-client/firefox-131.0.3/work/firefox-131.0.3/toolkit/xre/nsSigHandlers.cpp:187

** (firefox:16): WARNING **: 17:32:47.618: Failed to create DBus proxy for org.freedesktop.UPower: Could not connect: No such file or directory

_amdgpu_device_initialize: amdgpu_get_auth (1) failed (-1)
amdgpu: amdgpu_device_initialize failed.
libEGL warning: egl: failed to create dri2 screen
libEGL warning: DRI2: could not open /dev/dri/card0 (Operation not permitted)
MESA: error: ZINK: vkEnumeratePhysicalDevices failed (VK_ERROR_INITIALIZATION_FAILED)
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen
console.error: ({})
JavaScript error: resource://gre/modules/PromiseWorker.sys.mjs, line 75: Error: Could not get children of `/home/user/.mozilla/firefox/pz6ytvor.default-release/thumbnails': directory does not exist (NS_ERROR_FILE_NOT_FOUND)
console.error: Region.sys.mjs: "Error fetching region" (new SyntaxError("JSON.parse: unexpected character at line 1 column 1 of the JSON data", ""))
console.error: Region.sys.mjs: "Failed to fetch region" (new Error("NO_RESULT", "resource://gre/modules/Region.sys.mjs", 411))
console.error: "Experiment add-an-image-to-pdf-with-alt-text-rollout has unknown featureId: addAnImageInPDF"
console.error: "Experiment tab-hover-preview-release-rollout has unknown featureId: tabPreview"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum