webgl working with NVIDIA and not working with AMD

Hello all,

I have been using Manjaro KDE for a few months now as my only OS both at work and at home. At work I have an HP Proliant ML350p Gen8 with an NVIDIA garphics card (cand remember which but I can check) and at home I have a regular PC with an AMD Radeon RX570 graphics card.
The problem I am having is with Firefox running a webapp called Sketchup (it is used to create 3D graphics).
At the work computer I can run Sketchup without a problem in Firefox but at home it will not run, complaining about webgl. I can post some pictures with the error message if anyone wants.

Does anyone have any idea why that is? If you need more info I can post anything, just tell me what commands I should run. I am not that experienced with linux. At least I am not able to solve these kinds of problems...

Update1:
Home system info:

System:    Host: asgard Kernel: 5.0.5-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: KDE Plasma 5.15.3 
           Distro: Manjaro Linux 
Machine:   Type: Desktop System: ASUS product: All Series v: N/A serial: <filter> 
           Mobo: ASUSTeK model: MAXIMUS VII HERO v: Rev 1.xx serial: <filter> UEFI: American Megatrends v: 3103 
           date: 03/09/2016 
CPU:       Topology: Quad Core model: Intel Core i7-4790K bits: 64 type: MT MCP arch: Haswell rev: 3 L2 cache: 8192 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 12829 
           Speed: 802 MHz min/max: 800/4400 MHz Core speeds (MHz): 1: 801 2: 802 3: 801 4: 802 5: 802 6: 802 7: 801 8: 801 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] 
           vendor: Sapphire Limited Nitro+ driver: amdgpu v: kernel bus ID: 01:00.0 
           Display: x11 server: X.Org 1.20.4 driver: amdgpu FAILED: ati unloaded: modesetting resolution: 1920x1200~60Hz 
           OpenGL: renderer: N/A v: N/A direct render: N/A 
Audio:     Device-1: Intel 9 Series Family HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           Device-2: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 580] vendor: Sapphire Limited driver: snd_hda_intel 
           v: kernel bus ID: 01:00.1 
           Device-3: HP type: USB driver: snd-usb-audio,uvcvideo bus ID: 2-4:2 
           Device-4: Kingston type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 2-10:5 
           Sound Server: ALSA v: k5.0.5-1-MANJARO 
Network:   Device-1: Intel Ethernet I218-V vendor: ASUSTeK driver: e1000e v: 3.2.6-k port: f040 bus ID: 00:19.0 
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 4.09 TiB used: 900.57 GiB (21.5%) 
           ID-1: /dev/sda vendor: Kingston model: SA400S37240G size: 223.57 GiB 
           ID-2: /dev/sdb vendor: Samsung model: SSD 840 PRO Series size: 238.47 GiB 
           ID-3: /dev/sdc vendor: Seagate model: ST2000DX001-1CM164 size: 1.82 TiB 
           ID-4: /dev/sdd vendor: Seagate model: ST2000DM008-2FR102 size: 1.82 TiB 
Partition: ID-1: / size: 58.85 GiB used: 35.13 GiB (59.7%) fs: ext4 dev: /dev/sda1 
           ID-2: /home size: 144.10 GiB used: 28.11 GiB (19.5%) fs: ext4 dev: /dev/sda3 
           ID-3: swap-1 size: 16.11 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: amdgpu temp: 28 C 
           Fan Speeds (RPM): cpu: 0 gpu: amdgpu fan: 795 
Info:      Processes: 245 Uptime: 8m Memory: 15.67 GiB used: 2.61 GiB (16.7%) Init: systemd Compilers: gcc: 8.2.1 clang: 8.0.0 
           Shell: bash v: 5.0.2 inxi: 3.0.32

Update2:
Home system graphics card:

inxi -G
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] driver: amdgpu v: kernel 
           Display: x11 server: X.Org 1.20.4 driver: amdgpu FAILED: ati unloaded: modesetting resolution: 1920x1200~60Hz 
           OpenGL: renderer: N/A v: N/A

Hello,

Without more information, it is hard to help. Maybe while at your home computer, you can give the exact error messages, as well as detailed system info. You also might want to look at the log files on the working computer and compare it to the home computer. One thing I see is that they are using different video cards.

Here are some things to do:

Hello,
Firefox might have the WebGL disabled. Go to about:config in the address bar, then set

security.sandbox.content.read_path_whitelist

to

/sys/

restart Firefox and try again http://my.sketchup.com/

Thank you for your suggestion. I tried it and still receive the same error message. See below:


I have also tried to force enable the webgl in firefox but still no joy. As a last resort I installed Google Chrome on my home computer and with that it works (minus some miror glitches) without changing other settings under the hood.

I will edit the question to add more info about my home system and will do the same for the work computer in a bit.

Try resetting all the "glcontext" in about:config
Then you should have the "Graphics" part of your about:support in firefox showing that the glcontext is working now.
Also i found this
https://bbs.archlinux.org/viewtopic.php?id=243901

Thank you for your suggestions. I have now added more info about my system. Let me know if I need to add more!

I saw some posts about resetting "glcontext" but when I look for it in about:config I cannot find anything containing that. Is this normal?

I think that comes up when it crashes and used to be under the
gfx.crash-guard.status.glcontext
but to be honest i didn't mingle much with it as my Firefox is restricted only to mail stuff.

Didn't find that either but here is what I get in about:support

Also if you look at my edits of the original question, I think there are some problems with my graphics drivers. Can you help me navigate them?

try first:
sudo pacman-mirrors -f5 && sudo pacman -Syyuu
as i guess you have the "bad" mesa install.
reboot and check if the driver loads correctly.

good stuff! I did that and now Sketchup is running in firefox! However I still get this message from

inxi -G

Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] driver: amdgpu v: kernel 
           Display: x11 server: X.Org 1.20.4 driver: amdgpu FAILED: ati unloaded: modesetting resolution: 1920x1200~60Hz 
           OpenGL: renderer: Radeon RX 580 Series (POLARIS10 DRM 3.27.0 5.0.5-1-MANJARO LLVM 8.0.0) v: 4.5 Mesa 19.0.1

Is this a critical message or can I live with it?

Well, there is only one place i can point too, and is your decision if you want to use it.

I don't have much experience with AMD/ATI GPU's ...

Yeah, cool :slight_smile: We made some progress then ...

OK so am I to understand that what it is suggested in the link can potentially bork my system?

I'll have to read that tread and see what was what and why ... It might take some time as i have something else to do now.
If you are not experiencing issues and all works, then you can disregard that error ...

Ok thank you for your help! I'll leave it for now. I will check in the evening if one game I have installed still works. If that's the case then I'll just leave it like that

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.