Installing ATI Radeon HD 6870 on a 2560x1080 monitor on Ubuntu 10.04 (focal)

 

Hardware info

lshw -c video

 

  *-display                 
       description: VGA compatible controller
       product: Barts XT [Radeon HD 6870]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=radeon latency=0
       resources: irq:37 memory:d0000000-dfffffff memory:fbbc0000-fbbdffff ioport:b000(size=256) memory:c0000-dffff

 

lspci -k | grep -EA2 'VGA|3D'

02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Barts XT [Radeon HD 6870]
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Barts XT [Radeon HD 6870]
    Kernel driver in use: radeon

 

linux-hardware: AMD Radeon HD 6870

 

=Removing old drivers (for nvidia card)=

sudo apt-get remove --purge '^nvidia-.*'

sudo apt-get install --reinstall xserver-xorg-video-intel libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core

sudo dpkg-reconfigure xserver-xorg

sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

 

=Video Drivers=

  • Use "radeon" driver
  • "amdgpu" incompatable (only newer cards)
  • "amdgpu-pro" incompatable (only newer cards)
  • "frglx", obsolete, unmaintained since Ubuntu 12 or 13 or so

 

=Cables=

  • DVI(Single Link) doesnt support greater than 1920x1080(FHD)
  • DVI(Dual Link) might work, i didn't have one
  • HDMI didn't support greater than 1920x1080(FHD), I guess the graphics card uses an older version of HDMI
  • DisplayPort: I had to use a mini-Display Port(miniDP) to Display Port(DP) cable to get the full resolution

 

Check for Errors

 

dmesg | egrep 'drm|radeon'

 

References

 

http://help.ubuntu.com/community/RadeonDriver

Instrumental Despacito covers using unusal instruments

Many Despacito covers using unusal instruments

iPod Shuffle gen 1, noise/static when using while pluged in

So I figured the out the hard way, so I thought I'd post what I found.

The reason for the noise is because Apple thought they would be clever and combine the head phone jack with the ability to use it as a USB connector.

 

Here is the pinout of the headphone jack.

So if you try to play while charging, the USB will countinuiosly try to connect, adding noise to the right and left channels of the head phone jack.

 

So that's my theory, and killed the project I tried, making it an ambiant/nature sound generator. It may only apply for Generation 1 Shuffle.

So, I hate Apple

 

How to add Codemirror to CKEditor in GetSimple CMS

I had problems getting Codemirror to work properly in GetSimple.  So this is a bit of a work around to Codemirror to work with CKEditor while using GetSimple CMS.  This may not work with all versions of each, so here are the ones I've used

 

  • GetSimple CMS version 3.3.15
  • CKEditor version 4.5.9
  • Codemirror version 1.17.8

Basicly the problem was GetSimple includes some libraries of Codemirror that conflict with the "CKEditor plugin Codemirror"

 

So here are the steps

  • Using a clean install of GetSimple CMS version 3.3.15
  • move "admin/template/js/codemirror" to "admin/template/js/codemirror.old"
  • create the following empty files as placeholders, (it avoids some warnings)
    • admin/template/js/codemirror/lib/codemirror-compressed.js
    • admin/template/js/codemirror/theme/default.css
  • Download CKEditor-CodeMirror-Plugin.zip
  • Unzip it in "admin/template/js/ckeditor/plugins/"
  • Edit "admin/template/js/ckeditor/config.js"
    • Find line that includes "var extraPlugins = new Array();"
    • add the following line after "var extraPlugins = new Array();"
    • "extraPlugins.push('codemirror');"
  • Make sure you do a full reload of the page (Ctrl-Shift-R) or delete cached files for the site