Graphic drivers doesen't work, broken desktop, strange resolution
1 Attachment(s)
I would like ask for your help.
Since the begining of using Ubuntu i can't use it with nvidia drivers - doesen't matter if i download it from nvidia website as a binary driver or from ubuntu repos either. PPA drivers from x-swat and xorg-eadgers also doesen't work. I use Ubuntu with only one flat LCD screen. As soon as i install new drivers - for my nvidia graphic card, GTX260 - i have many problems with Ubuntu. Drivers detects that i have few screens, when in fact i have only one - HP228h. Also at almost every boot there is either black screen or after logging my monitor switches off. If i succesily boot and log into X, i have broken desktop. The resolution for my one flat LCD screen is divided for two screens that's been detected and randomly one of the fakes one acts as a primary. I should have 1680x1050 but when driver detects something that is not present...don't know how, resolution is set to 1024x768 for CRT screen - i don't have it. Is there a fix for it? Don't understand why all drivers for Ubuntu with Unity doesen't work with my graphic card. I have few screens, it shows how it looks like with this strange behaviour. Look at the purple screen - there is, nvidia drivers detected two screen, one "fake crt" and one flat lcd. I have only one, i don't use twinview, but it keeps turing on - i think that. Maybe someone that is more advanced in linux could help me - i tried it on Slackware and it works. I tried it on Kubuntu - it works. I tried it on Ubuntu with Unity and on a fresh installation of 12.04.2LTS and 12.10 - it doesen't. I can't use ubuntu with nvidia because either i don't have screen at all, black screen, have to kill Xorg and restarting gdm/lightdm, after it either i could normally boot but then screen is broken just like on those screens, but most frequent behaviour is that after boot, log into X...screen goes black, monitor has "no input signal" and i have to switch to tty1, kill xorg, restaty gdm/lightdm and the problem happens from the beginnging. Help. I'm frustrated. Don't know what to do in order to nvidia driver works. Don't know what to add, remove, change. BTW - nouveau drivers work ok, but i want to have nvidia. |
You could try running nvidia-settings as root by typing the following:
Code:
sudo nvidia-settings |
Quote:
Those PPA repos, however, are unsupported by Ubuntu. You use those PPA repos at your own risk. You have tried to install the nvidia driver from multiple sources. You should only have one version of the nvidia driver installed at one time to avoid potential conflicts. Are you sure that you have completely purged all of the previous nvidia drivers before installing a new nvidia driver?? Your problem could possibly be due to having conflicting drivers simultaneously installed on your system. To uninstall the nvidia drivers from the Ubuntu repos: Code:
sudo apt-get remove --purge nvidia* Code:
sudo sh NVIDIA-XXX.run --uninstall I would also reboot after purging these nvidia drivers to be sure that no parts of them are still running on your system before you install yet another nvidia driver. Here is how I install the nvidia driver from the Ubuntu repos: Code:
sudo apt-get install nvidia-current nvidia-settings mesa-utils Code:
sudo reboot Code:
sudo nvidia-xconfig To test if the nvidia driver is working: Code:
glxinfo | grep -i render Code:
bash-4.2$ glxinfo | grep -i render OpenGL renderer string line. |
Quote:
Tried it many times - doesen't work. I save it and after reboot situation is the same - broken resolution, 2 or even more screens detected when there is only one, wrong resolution. This just doesen't work for me. |
Quote:
Quote:
Quote:
Quote:
|
What does your xorg.conf look like? In the past I've changed what X sees as the primary display by swapping around the numbers assigned to displays in xorg.conf. Perhaps you could do something similar and remove the settings for the non-existent display?
|
Quote:
Ubuntu with nouveau also doesen't need xorg.conf, with nvidia it doesen't wokr. Could you post what you changed in primary display and how it looks like? |
How did you generate the xorg.conf and what does it look like?
When you didn't have an xorg.conf then what happened when you pressed "Save to X Configuration File" whilst running nvidia-settings as root? |
Quote:
Quote:
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig |
I just don't have strenght for this. As soon as i generated xorg with nvidia-xconfig, and tried to log in...either the screen goes black/blank, there is no signal, or im log out and see lightdm greeter - it just kicks me automatically after log in.
As soon as i removed nvidia drivers...and installed nouveau, everything works. Could anybody tell me why it just doesen't work? |
I suspect that Unity doesn't play properly with normal X, you did mention that KDE works properly?
|
Quote:
|
Thanks to Polish linux users from pclab.pl i figured what is going on with my Ubuntu system, nvidia drivers, xorg.conf and what is wrong with nvidia-settings. No more broken resolution, desktop, black screen while using nvidia-drivers.
The problem is rather strange. At fault was and is file called monitors.xml. Don't know why the settnings from xorg.conf are being omitted and monitors.xml is a step higher in importance to a system but renaming monitors.xml to monitors.xml.bak solved my problem. I have now generated xorg.conf (there is something more: don't know why after renaming monitors.xml xorg.conf is not named xorg.conf after using nvidia-xconfig but now XF86Conf - but it works also when i rename it to xorg.conf), everythings works with only one detected in nvidia-settings flat screen with my desired resolution - 1680x1050 for 22 inch HP flat lcd screen. I haven't checked yet if other debian based linux systems, like kubuntu or mint, have this file but under mint or kubuntu there was no problem at all with nvidia drivers. Now i'm glad. |
Glad you got it sorted and that you reported back in case others have the same issue.
Where is the monitors.xml file located, is it in /etc/X11? |
Quote:
|
All times are GMT -5. The time now is 12:39 PM. |