Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I try to switch from nvidia to nouveau driver via script:

!/bin/bash

stop gdm

rmmod nvidia

sed -i "s/nouveau/nvidia/" /etc/modprobe.d/blacklist-nvidia-nouveau.conf

update-alternatives --set gl_conf /usr/lib/mesa/ld.so.conf ldconfig

modprobe nouveau

cp /etc/X11/xorg.conf{.nouveau,}

start gdm

and driver is loaded and X started but compiz it doesn't. In .xsession-errors I see:

Compiz (opengl) - Fatal: Root visual is not a GL visual compiz (opengl) - Error: initScreen failed compiz (core) - Error: Couldn't activate plugin 'opengl' Compiz (opengl) - Fatal: Root visual is not a GL visual Compiz (opengl) - Fatal: Root visual is not a GL visual Compiz (opengl) - Fatal: Root visual is not a GL visual Compiz (opengl) - Fatal: Root visual is not a GL visual Compiz (opengl) - Fatal: Root visual is not a GL visual Compiz (opengl) - Fatal: Root visual is not a GL visual Compiz (opengl) - Fatal: Root visual is not a GL visual Compiz (opengl) - Fatal: Root visual is not a GL visual gnome-session[19075]: WARNING: App 'compiz.desktop' respawning too quickly gnome-session[19075]: WARNING: Application 'compiz.desktop' killed by signal gnome-session[19075]: WARNING: App 'compiz.desktop' respawning too quickly

what I'm doing wrong??

share|improve this question
    
I found solution by myself!! :-) I missed: libgl1-mesa-dri-experimental –  karolszk Sep 20 '12 at 19:27

1 Answer 1

up vote 1 down vote accepted

I found solution by myself!! :-) I missed: libgl1-mesa-dri-experimental

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.