LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 11-02-2012, 11:01 AM   #1
spirit1988
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Rep: Reputation: Disabled
WebGL + Linux + Acer Notebook


Hi! I have an Acer 5720 with Ubuntu 12 (not sure if it's 12.04 or 12.10, but I don't think it makes much difference).

When I enter to http://get.webgl.org/ with Chrome I got:

Hmm. While your browser seems to support WebGL, it is disabled or unavailable. If possible, please ensure that you are running the latest drivers for your video card.


My video card supports OpenGL 2.1:

glxinfo | grep -i "OpenGL version"
OpenGL version string: 2.1 Mesa 8.0.4

I really would like to use WebGL because I want to start developing 3D apps with Javascript. I am missing a driver install?

If I run an lspci:

(...)

00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 03)

I've tried with google-chrome --ignore-gpu-blacklist but didn't work.


I've just realized WebGL works in Firefox in my notebook. Not sure why is not working in Chrome.
 
Old 11-03-2012, 04:12 AM   #2
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 515

Rep: Reputation: 102Reputation: 102
It DOES make a difference. Good or bad, depends on the situation. Newer releases have newer kernels + newer drivers. How they perform is another story.
Now, the integrated intels have the worst drivers for Linux (in addition of being the worst integrated graphics). They do work with OpenGL, but not that well.

Se here some details:

http://www.khronos.org/webgl/wiki/Bl...sAndWhitelists

https://wiki.mozilla.org/Blocklistin...Drivers#On_X11

I ran WebGL on Firefox/Opera/Chromium with a A4-3400 APU + 12.10 drivers, nvidia 8200 with the 304 series drivers, so it works with nvidia and AMD cards with the proprietary driver.

But your card has to have some support for certain OpenGL features and im not so sure about intel cards such as yours.

Certain features depend on the browsers implementation. You might try the latest build of Chromium with this script (installs/upgrades to the latest version):

Code:
#!/bin/bash
unset basehttp
unset latest
cd /tmp/
rm LATEST* > null
rm LAST_CHANGE* > null
rm chrome-linux.zip
rm chrome-linux.zip.*

basehttp=http://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux

echo "Downloading latest version information..."
wget --quiet $basehttp/LAST_CHANGE

if [ -f $HOME/chrome-linux/LAST_CHANGE ]
  then
  echo "Installed dev version is `cat $HOME/chrome-linux/LAST_CHANGE`"
   else
   echo "Cannot get Google Chromium version - not installed?"
fi

echo "Latest Chromium Dev version is `cat /tmp/LAST_CHANGE`"

if [ $((`cat /tmp/LAST_CHANGE`)) -eq $((`cat $HOME/chrome-linux/LAST_CHANGE`)) ]
then
   echo " You have the latest version of Chromium Browser"
   exit 0
else

read -p "Press any key to continue installation or Ctrl-C to abort"
export latest=`cat /tmp/LAST_CHANGE`
echo "Downloading latest Chromium build..."
wget $basehttp/$latest/chrome-linux.zip && rm -rf $HOME/chrome-linux/

echo "Unpacking new version..."
unzip -o -qq /tmp/chrome-linux.zip -d $HOME/ && mv /tmp/LAST_CHANGE $HOME/chrome-linux/

echo "Creating links..."
if [ -d $HOME/bin/ ]
  then
	echo "The bin folder already exists!"
  else
  mkdir $HOME/bin
fi

echo "Creating menu link"

mkdir -p $HOME/.local/share/applications/

echo -e '[Desktop Entry]\r
Encoding=UTF-8\r
Version=1.0\r
Name=Chromium Linux\r
Comment=Browse the WWW\r
Type=Application\r
Exec='$HOME'/chrome-linux/chrome --enable-click-to-play\r
Terminal=false\r
Categories=Network\r
Name[en_US]=Chromium Browser\r
Comment[en_US]=Browse the WWW\r
Icon[en_US]='$HOME'/chrome-linux/product_logo_48.png\r
Icon='$HOME'/chrome-linux/product_logo_48.png\r' > $HOME/.local/share/applications/chromium-linux.desktop

rm $HOME/bin/chromium-linux

echo -e '#!/bin/bash\n
$HOME/chrome-linux/chrome --enable-click-to-play $1' > $HOME/bin/chromium-linux

chmod +x $HOME/bin/chromium-linux 

#ln -s /opt/google/chrome/libpdf.so $HOME/chrome-linux/
#ln -s /opt/google/chrome/libgcflashplayer.so $HOME/chrome-linux/

rm /tmp/chrome-linux.zip
echo "Installation/Upgrade complete"
exit 0
fi

Last edited by gradinaruvasile; 11-03-2012 at 04:19 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to Install linux on my Acer notebook Resmol Linux - Laptop and Netbook 7 07-02-2012 11:34 PM
can I get incredimail for linux lite on acer one notebook burleydurls Linux - Newbie 1 05-25-2010 02:33 PM
notebook display not maximised acer notebook assettt Linux - Newbie 5 09-09-2006 06:20 PM
Linux on an Acer TravelMate 2502LM Notebook shane25119 Linux - Laptop and Netbook 4 04-15-2006 09:38 AM
Linux on ACER Aspire 1681WLMi Notebook Freaksta Linux - Hardware 4 09-01-2004 07:23 AM


All times are GMT -5. The time now is 02:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration