Kevin_JD
Posts: 1
Joined: Sun May 17, 2020 4:04 pm
Location: India

Google Maps On Chromium :D

Sun May 17, 2020 4:32 pm

:lol: Have anyone tried to open Google Maps On Chromium ??? Hole Earth is upside down :D And Its On Every browser !!! Except Vivaldi :lol: Seriously how can i fix this ???
2020-05-17 1scrot.jpg
2020-05-17 1scrot.jpg (58.85 KiB) Viewed 2059 times
:|

User avatar
Botspot
Posts: 1549
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: Google Maps On Chromium :D

Mon May 18, 2020 2:46 pm

While I've not been able to reproduce this bug, it appears to be related to the Fake KMS driver.
See these other topics:
viewtopic.php?f=28&t=270113
viewtopic.php?f=28&t=269138
Want to run Minecraft Java on your RPi? Easiest way is with Pi-Apps - just click Install.
https://github.com/Botspot/pi-apps
Pi-Apps also includes Zoom, Visual Studio, Tor browser, Windows 10 theme, and 33 more.
Over 50,000 users!

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 27428
Joined: Sat Jul 30, 2011 7:41 pm

Re: Google Maps On Chromium :D

Wed May 27, 2020 9:20 am

Can anyone seeing this try setting the environment variable before running Chromium from a terminal

MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y

And see if it helps?
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

hippy
Posts: 8545
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: Google Maps On Chromium :D

Wed May 27, 2020 11:57 am

Fixed the problem for me with Google Streetview. Pi 3B (non-plus)

Google Maps was fine for me without even though Streetview wasn't.

Maybe members could post a few links to problem sites so others can test with and without ?

HudsonMoore
Posts: 10
Joined: Mon Apr 20, 2020 3:29 pm

Re: Google Maps On Chromium :D

Wed May 27, 2020 6:30 pm

Yes, fixed the problem for me too.

I originally reported (in this thread) problems with Google Maps, the Johns Hopkins Coronavirus map, and a map on the New York Times website and all three are correct now.

Thanks, jamesh!
RPi 4B Buster

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 27428
Joined: Sat Jul 30, 2011 7:41 pm

Re: Google Maps On Chromium :D

Wed May 27, 2020 10:57 pm

HudsonMoore wrote:
Wed May 27, 2020 6:30 pm
Yes, fixed the problem for me too.

I originally reported (in this thread) problems with Google Maps, the Johns Hopkins Coronavirus map, and a map on the New York Times website and all three are correct now.

Thanks, jamesh!
Igalia our contractors who deal with MESA figured it out. Smart guys.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

ndg2000
Posts: 4
Joined: Mon Apr 06, 2020 11:17 am

Re: Google Maps On Chromium :D

Sat May 30, 2020 7:27 am

Can anyone explain how I change that variable please in a noob at Linux

hippy
Posts: 8545
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: Google Maps On Chromium :D

Sat May 30, 2020 7:51 am

ndg2000 wrote:
Sat May 30, 2020 7:27 am
Can anyone explain how I change that variable please in a noob at Linux
From a Terminal / Command Line Interface opened from the desktop ...

Code: Select all

MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y chromium-browser

ashburn15
Posts: 8
Joined: Thu Sep 24, 2020 6:48 pm
Location: Singapore

Re: Google Maps On Chromium :D

Thu Sep 24, 2020 7:19 pm

Is there a way to make the settings "stick" instead of having to use it in the terminal every time before using Chromium? This setting fixes inverted games for the kids and I'm a newbie myself (RPi 3B+)..

For now, i've created a Desktop Shortcut calling the "mesa extension override.." command thru lx terminal. Not pretty but works. A "corrected" Chromium starts up after a few secs while lx terminal window is running in the background.

User avatar
Botspot
Posts: 1549
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: Google Maps On Chromium :D

Fri Sep 25, 2020 3:06 pm

ashburn15 wrote:
Thu Sep 24, 2020 7:19 pm
Is there a way to make the settings "stick" instead of having to use it in the terminal every time before using Chromium? This setting fixes inverted games for the kids and I'm a newbie myself (RPi 3B+)..
As I have never personally encountered this problem, I cannot test the below solution, but you let me know if it works. In a terminal:

Code: Select all

export MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y
Now, from the Menu, launch Chromium. Let me know if that worked.
Want to run Minecraft Java on your RPi? Easiest way is with Pi-Apps - just click Install.
https://github.com/Botspot/pi-apps
Pi-Apps also includes Zoom, Visual Studio, Tor browser, Windows 10 theme, and 33 more.
Over 50,000 users!

ashburn15
Posts: 8
Joined: Thu Sep 24, 2020 6:48 pm
Location: Singapore

Re: Google Maps On Chromium :D

Fri Oct 02, 2020 12:45 pm

Botspot wrote:
Fri Sep 25, 2020 3:06 pm
ashburn15 wrote:
Thu Sep 24, 2020 7:19 pm
Is there a way to make the settings "stick" instead of having to use it in the terminal every time before using Chromium? This setting fixes inverted games for the kids and I'm a newbie myself (RPi 3B+)..
As I have never personally encountered this problem, I cannot test the below solution, but you let me know if it works. In a terminal:

Code: Select all

export MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y
Now, from the Menu, launch Chromium. Let me know if that worked.
Doesn't work. No errors or anything in Terminal for the "export.." but still inverted when launched from Menu (Pi>Internet>Chromium) even after reboot..

User avatar
Botspot
Posts: 1549
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: Google Maps On Chromium :D

Fri Oct 02, 2020 12:54 pm

ashburn15 wrote:
Fri Oct 02, 2020 12:45 pm
Doesn't work. No errors or anything in Terminal for the "export.." but still inverted when launched from Menu (Pi>Internet>Chromium) even after reboot..
Then change the default Chromium menu button's command to include this at the beginning:

Code: Select all

MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y
Want to run Minecraft Java on your RPi? Easiest way is with Pi-Apps - just click Install.
https://github.com/Botspot/pi-apps
Pi-Apps also includes Zoom, Visual Studio, Tor browser, Windows 10 theme, and 33 more.
Over 50,000 users!

ashburn15
Posts: 8
Joined: Thu Sep 24, 2020 6:48 pm
Location: Singapore

Re: Google Maps On Chromium :D

Fri Oct 02, 2020 3:57 pm

Botspot wrote:
Fri Oct 02, 2020 12:54 pm
ashburn15 wrote:
Fri Oct 02, 2020 12:45 pm
Doesn't work. No errors or anything in Terminal for the "export.." but still inverted when launched from Menu (Pi>Internet>Chromium) even after reboot..
Then change the default Chromium menu button's command to include this at the beginning:

Code: Select all

MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y
I'm sorry but what would be entire line under "command" for the Desktop Entry (or "Exec=" if using text editor)? Things like

MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y chromium-browser %U
or
chromium-browser - -'MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y'

or similar don't work directly on the GUI Desktop Entry.

Code: Select all

lxterminal -t "Loading Chromium for Games.." -e 'MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y chromium-browser'
works (as a desktop shortcut) but its a lxterminal shortcut and not a direct Chromium menu shortcut (if 1 exists at all).

Sorry i'm a newbie :roll:

User avatar
Botspot
Posts: 1549
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: Google Maps On Chromium :D

Fri Oct 02, 2020 4:08 pm

ashburn15 wrote:
Fri Oct 02, 2020 3:57 pm
I'm sorry but what would be entire line under "command" for the Desktop Entry (or "Exec=" if using text editor)? Things like

MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y chromium-browser %U
or
chromium-browser - -'MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y'

or similar don't work directly on the GUI Desktop Entry.

Code: Select all

lxterminal -t "Loading Chromium for Games.." -e 'MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y chromium-browser'
I should have been more clear. Yes, put the chromium-browser after the MESA_GL stuff.
If you say that doesn't work, then try snclosing the whole thing in bash -c.
So your full Exec= line would look like:

Code: Select all

bash -c 'MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y chromium-browser'
Let me know if that works.
Want to run Minecraft Java on your RPi? Easiest way is with Pi-Apps - just click Install.
https://github.com/Botspot/pi-apps
Pi-Apps also includes Zoom, Visual Studio, Tor browser, Windows 10 theme, and 33 more.
Over 50,000 users!

ashburn15
Posts: 8
Joined: Thu Sep 24, 2020 6:48 pm
Location: Singapore

Re: Google Maps On Chromium :D

Fri Oct 02, 2020 4:52 pm

Botspot wrote:
Fri Oct 02, 2020 4:08 pm

I should have been more clear. Yes, put the chromium-browser after the MESA_GL stuff.
If you say that doesn't work, then try snclosing the whole thing in bash -c.
So your full Exec= line would look like:

Code: Select all

bash -c 'MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y chromium-browser'
Let me know if that works.
Thank You! Yes. This finally works! Can be used for editing the Chromium shortcuts in Menu and Desktop.

Now looking for the way to edit the Application Launch Bar (LXpanel?) on the bottom left and it will be complete. Thank you again!

User avatar
Botspot
Posts: 1549
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: Google Maps On Chromium :D

Fri Oct 02, 2020 4:56 pm

ashburn15 wrote:
Fri Oct 02, 2020 4:52 pm
Thank You! Yes. This finally works! Can be used for editing the Chromium shortcuts (Menu and Desktop) under "Command" or "Exec".

Code: Select all

bash -c 'MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y chromium-browser'
Now looking for the way to edit the Application Launch Bar (LXpanel?) on the bottom left and it will be complete. Thank you again!
Good to know.
The Application Launch bar stores its own .desktop files in a separate location. To make it use the new .desktop file, first remove Chromium from Application Launch Bar's list, then add it back again.
Want to run Minecraft Java on your RPi? Easiest way is with Pi-Apps - just click Install.
https://github.com/Botspot/pi-apps
Pi-Apps also includes Zoom, Visual Studio, Tor browser, Windows 10 theme, and 33 more.
Over 50,000 users!

ashburn15
Posts: 8
Joined: Thu Sep 24, 2020 6:48 pm
Location: Singapore

Re: Google Maps On Chromium :D

Fri Oct 02, 2020 5:08 pm

Botspot wrote:
Fri Oct 02, 2020 4:56 pm
ashburn15 wrote:
Fri Oct 02, 2020 4:52 pm
Thank You! Yes. This finally works! Can be used for editing the Chromium shortcuts (Menu and Desktop) under "Command" or "Exec".

Code: Select all

bash -c 'MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y chromium-browser'
Now looking for the way to edit the Application Launch Bar (LXpanel?) on the bottom left and it will be complete. Thank you again!
Good to know.
The Application Launch bar stores its own .desktop files in a separate location. To make it use the new .desktop file, first remove Chromium from Application Launch Bar's list, then add it back again.
That's a great tip! Just remove the "Browser" option in the Application Launch Bar Settings and add "Chromium" from your Internet List. Now all the Chromium shortcuts reference the inverted/upside down fix correctly. Thank you once again!

blankNick
Posts: 1
Joined: Wed Oct 21, 2020 7:06 am

Re: Google Maps On Chromium :D

Wed Oct 21, 2020 7:10 am

How to override chromium start .sh file to include this option that it would start everytime? I'm running only chromium browser. Tried before chromium-browser command to include MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y, but nothing changed. Also tried in flag line as flag like this --MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y also nothing. How to make it always flip chromium on start? Thanks for help I'm noob on linux too...

User avatar
Botspot
Posts: 1549
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: Google Maps On Chromium :D

Wed Oct 21, 2020 1:02 pm

blankNick wrote:
Wed Oct 21, 2020 7:10 am
How to override chromium start .sh file to include this option that it would start everytime? I'm running only chromium browser. Tried before chromium-browser command to include MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y, but nothing changed. Also tried in flag line as flag like this --MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y also nothing. How to make it always flip chromium on start? Thanks for help I'm noob on linux too...
First, we have to understand that this variable (MESA_EXTENSION_OVERRIDE) is a bash environment variable that chromium is programmed to obey.
To automatically set environment variables on boot, just add this line to your /home/pi/.bashrc file:

Code: Select all

export MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y
Want to run Minecraft Java on your RPi? Easiest way is with Pi-Apps - just click Install.
https://github.com/Botspot/pi-apps
Pi-Apps also includes Zoom, Visual Studio, Tor browser, Windows 10 theme, and 33 more.
Over 50,000 users!

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6259
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Google Maps On Chromium :D

Tue Nov 17, 2020 6:44 pm

I'm trying to figure out if that parameter is something we should add to the launcher script by default, but am unable to reproduce the issue.

Could somebody who experiences this issue please post their 'chrome://gpu' page?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6259
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Google Maps On Chromium :D

Tue Nov 17, 2020 7:00 pm

Okay, I managed to find an old email detailing the issue and reproduce it with v78. It seems to be fixed in v84.

Return to “Beginners”