video issues

i have trouble viewing any media except flash (youtube), so i figure it's not my driver??, how do i generate code that shows where the funk is? like i tried using vlc, mplayer, all that, but nada. i can't even watch dvds, please help. ubuntu 8.04. thanks.