Updating opengl on ubuntu

11-Oct-2015 07:53

[AMD/ATI] Cayman PRO [Radeon HD 6950] (prog-if 00 [VGA controller]) Subsystem: Hightech Information System Ltd.

Device 2307 Control: I/O+ Mem+ Bus Master+ Spec Cycle- Mem WINV- VGASnoop- Par Err- Stepping- SERR- Fast B2B- Dis INTx+ Status: Cap+ 66MHz- UDF- Fast B2B- Par Err- DEVSEL=fast Kernel driver in use: radeon ....

updating opengl on ubuntu-14

dating site portraits

), which rely on Mesa for their Open GL implementation.

Ubuntu 13.10 only provides Mesa 9.2 (implementing Open GL 3.1) "out of the box". Here's some additional information that may be useful.

It is however possible to install Mesa 10.1 (implementing Open GL 3.3) from this PPA as explained in this thread: Stack Overflow: Open GL & GLSL 3.3 on an HD Graphics 4000 under Ubuntu 12.04 I used the exact same steps as explained there: 1.) Add the PPA Repository $ sudo add-apt-repository ppa:oibaf/graphics-drivers 2.) Update sources $ sudo apt-get update 3.) Dist-upgrade (rebuilds many packages) $ sudo apt-get dist-upgrade 4.) Then I rebooted. Org Open GL renderer string: Gallium 0.4 on AMD CAYMAN Open GL core profile version string: 3.1 (Core Profile) Mesa 10.1.0-devel (git-7f57408 saucy-oibaf-ppa+curaga) Open GL core profile shading language version string: 1.40 Open GL core profile context flags: (none) Open GL core profile extensions: Open GL version string: 3.0 Mesa 10.1.0-devel (git-7f57408 saucy-oibaf-ppa+curaga) Open GL shading language version string: 1.30 Open GL context flags: (none) Open GL extensions: glfw Open Window Hint(GLFW_OPENGL_VERSION_MAJOR, 3); glfw Open Window Hint(GLFW_OPENGL_VERSION_MINOR, 3); glfw Open Window Hint(GLFW_OPENGL_PROFILE, 0); if(GL_TRUE ! $ apt-cache policy libgl1-mesa-glx libgl1-mesa-glx: Installed: 10.1~git1402041945.7f5740+curaga~gd~s Candidate: 10.1~git1402041945.7f5740+curaga~gd~s Version table: *** 10.1~git1402041945.7f5740+curaga~gd~s 0 500 saucy/main amd64 Packages 100 /var/lib/dpkg/status 9.2.1-1ubuntu3 0 500 saucy/main amd64 Packages $ lspci -vv ....

= glfw Open Window( _window Dimensions.x, _window Dimensions.y, 0, 0, 0, 0, 32, 0, GLFW_WINDOW)) { THROW("GLFW error: failed to create window."); } reports Open GL version 4.2), so the application itself really is not the problem, but the supported Open GL is. .0 VGA compatible controller: Advanced Micro Devices, Inc.

$ lsmod | egrep 'radeon|fglrx' radeon 1402995 3 i2c_algo_bit 13413 1 radeon ttm 84169 1 radeon drm_kms_helper 52710 1 radeon drm 297056 5 ttm,drm_kms_helper,radeon $ modinfo radeon filename: /lib/modules/3.11.0-15-generic/kernel/drivers/gpu/drm/radeon/license: GPL and additional rights description: ATI Radeon author: Gareth Hughes, Keith Whitwell, others. firmware: radeon/CAYMAN_firmware: radeon/CAYMAN_firmware: radeon/CAYMAN_firmware: radeon/CAYMAN_firmware: radeon/CAYMAN_.... srcversion: D174B1E4686391B33437915 alias: pci:v00001002d000099A4sv*sd*bc*sc*i* alias: pci:v00001002d000099A2sv*sd*bc*sc*i* ....depends: drm,drm_kms_helper,ttm,i2c-algo-bit intree: Y vermagic: 3.11.0-15-generic SMP mod_unload modversions parm: no_wb: Disable AGP writeback for scratch registers (int) parm: modeset: Disable/Enable modesetting (int) parm: dynclks: Disable/Enable dynamic clocks (int) parm: r4xx_atom: Enable ATOMBIOS modesetting for R4xx (int) parm: vramlimit: Restrict VRAM for testing (int) parm: agpmode: AGP Mode (-1 == PCI) (int) parm: gartsize: Size of PCIE/IGP gart to setup in megabytes (32, 64, etc) (int) parm: benchmark: Run benchmark (int) parm: test: Run tests (int) parm: connector_table: Force connector table (int) parm: tv: TV enable (0 = disable) (int) parm: audio: Audio enable (1 = enable) (int) parm: disp_priority: Display Priority (0 = auto, 1 = normal, 2 = high) (int) parm: hw_i2c:hw i2c engine enable (0 = disable) (int) parm: pcie_gen2: PCIE Gen2 mode (-1 = auto, 0 = disable, 1 = enable) (int) parm: msi: MSI support (1 = enable, 0 = disable, -1 = auto) (int) parm: lockup_timeout: GPU lockup timeout in ms (defaul 10000 = 10 seconds, 0 = disable) (int) parm: fastfb: Direct FB access for IGP chips (0 = disable, 1 = enable) (int) parm: dpm: DPM support (1 = enable, 0 = disable, -1 = auto) (int) parm: aspm: ASPM support (1 = enable, 0 = disable, -1 = auto) (int) $ dpkg -S /lib/modules/3.11.0-15-generic/kernel/drivers/gpu/drm/radeon/linux-image-extra-3.11.0-15-generic: /lib/modules/3.11.0-15-generic/kernel/drivers/gpu/drm/radeon/$ apt-cache policy linux-image-extra-3.11.0-15-generic linux-image-extra-3.11.0-15-generic: Installed: 3.11.0-15.25 Candidate: 3.11.0-15.25 Version table: *** 3.11.0-15.25 0 500 saucy-updates/main amd64 Packages 500 saucy-security/main amd64 Packages 100 /var/lib/dpkg/status Can I ask what part of GLSL 3.30 you actually need?

Picture yourself shopping on Grafton Street, catch a Gaelic football match or let your hair down at a foot-stomping ceilidh.… continue reading »

Read more