LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-23-2010, 08:20 PM   #1
Setarkos
Member
 
Registered: Jan 2010
Posts: 42

Rep: Reputation: 15
Serious problem with video drivers - desktop upside down


Hi there

I have a serious problem with my Fedora 12: The whole Desktop is shown upside down and all letters are mirrored (yes only the letters).
The source of the problem is the following: I wanted to install GoogleEarth and I followed this guide:

http://www.unixmen.com/linux-tutoria...s-on-fedora-12

I was wondering about the nvidia-packages (since I have a ATI 3650) but wasnt too worried as Google Earth worked without any problems - until the next reboot. Then suddenly everything was as described above.
I do not really know what to do. I can't really work with the Terminal because the command lines are not shown properly but it seems to be responding so I could work with it blindly.
Somehow I have to remove the nvidia-packages and probably reinstall the experimental mesa-drivers.
I have a LiveDVD ready - I already mounted the partition and chrooted but I couldn't solve the issue.
Please help - I dont want to use Windows any longer than necessary...

Last edited by Setarkos; 01-24-2010 at 04:59 AM.
 
Old 01-23-2010, 08:35 PM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Put your monitor upside down and put it in front of a mirror so you can at leats work your terminal...

But seriously, did you try to CTRL-ALT-F1? It is highly unlikely that that is screwed up as well.

And you can SSH into your box with a second computer.

If you got far like that, see if there was a backup copy made of your xorg.conf by anything. See if there is a command in FC to reconfigure X11. Try to replace the nvidia driver by "nv".

jlinkels
 
Old 01-23-2010, 08:42 PM   #3
slightlystoopid
Member
 
Registered: Jan 2010
Distribution: Arch, Gentoo, FreeBSD
Posts: 64

Rep: Reputation: 16
Is only xorg upside down? can you drop to a command line (possibly ctrl+alt+f1 followed by ctrl-c, otherwise ctrl+alt+f2), stop your display manager (possibly using "sudo stop prefdm"), purge nvidia there (possibly with "yum remove whateverthepackagewas"), then start the display manager (with "sudo start prefdm")?
 
Old 01-23-2010, 11:34 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
I was wondering about the nvidia-packages (since I have a ATI 3650)
SO you installed the drivers for a NVIDIA 3d card even though you have a ATI card ??????????????- WHY!!

Did you install the ATI catylast driver FROM ATI ????
or are you using the FREE flgrx ati driver that fedora comes with ?
1)
First REMOVE ALL nvidia.rpms ( or uninstall the nvidia.run )
2)
REINSTALL ALL and i DO MEAN ALL of the mesa Opengl
Code:
yum install mesa-* mesa*
yum reinstall mesa-* mesa*
3)
delete your xorg.conf file
reboot
4)
riinstall the ati driver
 
Old 01-24-2010, 04:19 AM   #5
Setarkos
Member
 
Registered: Jan 2010
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlinkels View Post
Put your monitor upside down and put it in front of a mirror so you can at leats work your terminal...
Rotation and mirror wont work - I tried it but it is not just tunred upside down: the top bar is still a the top but every letter is mirrored individually still in the right order and menus, windows and the desktiop show upside down although this is only the picture clicking on the icon where it shows doesnt do anything whereas clicking where it should be does...

thanks though

Quote:
Originally Posted by jlinkels View Post
But seriously, did you try to CTRL-ALT-F1? It is highly unlikely that that is screwed up as well.
This should work - I cant try right now but Ill do so in an hour or so...

Quote:
Originally Posted by jlinkels View Post
And you can SSH into your box with a second computer.

If you got far like that, see if there was a backup copy made of your xorg.conf by anything. See if there is a command in FC to reconfigure X11. Try to replace the nvidia driver by "nv".

jlinkels
I dont really know what to do after readgin that - I am not that experienced - sorry

Quote:
Originally Posted by slightlystoopid View Post
Is only xorg upside down? can you drop to a command line (possibly ctrl+alt+f1 followed by ctrl-c, otherwise ctrl+alt+f2), stop your display manager (possibly using "sudo stop prefdm"), purge nvidia there (possibly with "yum remove whateverthepackagewas"), then start the display manager (with "sudo start prefdm")?
I cant tell you whether only xorg is upside down because I dont really know what this is but it might be that way. As explained above it is not simply turned upside down, mirrored or rotated and although showing the messed up desktop working blindly (clicking where the icons should be) works as opposed to clicking on the shown icons...

Quote:
Originally Posted by John VV View Post
SO you installed the drivers for a NVIDIA 3d card even though you have a ATI card ??????????????- WHY!!

Did you install the ATI catylast driver FROM ATI ????
or are you using the FREE flgrx ati driver that fedora comes with ?
1)
First REMOVE ALL nvidia.rpms ( or uninstall the nvidia.run )
2)
REINSTALL ALL and i DO MEAN ALL of the mesa Opengl
Code:
yum install mesa-* mesa*
yum reinstall mesa-* mesa*
3)
delete your xorg.conf file
reboot
4)
riinstall the ati driver
Okay I got a similar answer in the fedora-forum but I am afraid I need a bit more details to execute this:

0) I tried to install the Catalyst drivers but they wouldnt work so I installed the mesa-dri-drivers-experimental and they worked great.
I dont know if that answers the question whether I am using flgr...
1) Okay now pleas read the guide I followed (first post) to tell me what to do.
simply ctrl+alt+f1
su
pw
yum remove nvidia (and all packages from that guide - just to make sure)
- delete xorg.conf ( how do I do that via terminal?)
yum install mesa-dri-drivers-experimental
reboot...

Thanks, I much appreciate your help and would like to avoid a clean reinstall of Fedora
 
Old 01-24-2010, 04:51 AM   #6
slightlystoopid
Member
 
Registered: Jan 2010
Distribution: Arch, Gentoo, FreeBSD
Posts: 64

Rep: Reputation: 16
Quote:
Originally Posted by Setarkos
Quote:
Originally Posted by jlinkels
Put your monitor upside down and put it in front of a mirror so you can at leats work your terminal...
Rotation and mirror wont work - I tried it
lawl.

Quote:
Originally Posted by Setarkos
1) Okay now pleas read the guide I followed (first post) to tell me what to do.
One of the first things I did, but you pasted an abbreviation, so it's broken.

so try...

Quote:
Originally Posted by slightlystoopid
can you drop to a command line (possibly ctrl+alt+f1 followed by ctrl-c, otherwise ctrl+alt+f2), stop your display manager (possibly using "sudo stop prefdm"), purge nvidia there (possibly with "yum remove whateverthepackagewas")
and then...

Quote:
Originally Posted by John VV
2)
REINSTALL ALL and i DO MEAN ALL of the mesa Opengl

Code:
yum install mesa-* mesa*
yum reinstall mesa-* mesa*
3)
delete your xorg.conf file
reboot
4)
riinstall the ati driver
 
Old 01-24-2010, 05:03 AM   #7
Setarkos
Member
 
Registered: Jan 2010
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by slightlystoopid View Post
One of the first things I did, but you pasted an abbreviation, so it's broken.
My bad - I'm sorry here it is:
http://www.unixmen.com/linux-tutoria...s-on-fedora-12

To your guide:
1) what does ctrl+c do (after ctrl+alt+f1)?
2) still... - and Im sorry for my ignorance - how do I delete the xorg.conf file
 
Old 01-24-2010, 05:16 AM   #8
Setarkos
Member
 
Registered: Jan 2010
Posts: 42

Original Poster
Rep: Reputation: 15
Okay:
- ctrl+alt+f1/f2 works properly
- i switched the window manager with the compiz fusion icon from compiz to metacity and now everything looks fine but without all copmiz stuff and only with 2 workspaces etc.
 
Old 01-24-2010, 05:29 AM   #9
slightlystoopid
Member
 
Registered: Jan 2010
Distribution: Arch, Gentoo, FreeBSD
Posts: 64

Rep: Reputation: 16
Quote:
Originally Posted by Setarkos
1) what does ctrl+c do (after ctrl+alt+f1)?
Nothing if there wasn't an open process. If there was just a command prompt, then there's no need to do that.

Quote:
Originally Posted by Setarkos
- i switched the window manager with the compiz fusion icon from compiz to metacity and now everything looks fine but without all copmiz stuff and only with 2 workspaces etc.
Did you do everything else?

Quote:
Originally Posted by Setarkos
2) still... - and Im sorry for my ignorance - how do I delete the xorg.conf file
After the previous steps, do:

Code:
$ X -configure
$ sudo mv /etc/X11/xorg.conf.new /etc/X11/xorg.conf
 
Old 01-24-2010, 06:25 AM   #10
Setarkos
Member
 
Registered: Jan 2010
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by slightlystoopid View Post
Nothing if there wasn't an open process. If there was just a command prompt, then there's no need to do that.



Did you do everything else?



After the previous steps, do:

Code:
$ X -configure
$ sudo mv /etc/X11/xorg.conf.new /etc/X11/xorg.conf
Well what I did:
I removed the nvidia package mentioned in the link, deleted xorg with cd rm
then reinstalled the mesa-drivers (it told they were already installed) then rebooted
now I dont even get to the log-in screen
but ctrl+alt+F2 still works so I logged in and tried to connect to my wireless using iwconfig which didnt work probably because of the wpa2-key
then i read your last post and I ran X -configure which gave me a list of video drivers (so it said):
silicommotion
dummy
ati
r128
nvidia
mga
vmware
tdfx
radeon
rendition
apm
sisusb
i740
i128
nouveau
openchrome
s3virge
mach64
sis
savage
trident
intel
glint
v4l
nv
ast
voodoo
cirrus
fbdev
vesa

Then:
FATAL: Error inserting nvidia
(EE) NVIDIA: Failed to load the NVIDIA kernel module
...
(++) using config file: "/root/xorg.conf.new"

The second command you mentioned didnt do anything

........

So its now worse than before...

What I could do now is removing the libraries I installed from the guide that came after the nvidia installation, i didnt do it before because it said it had to remove 295 packages as dependencies - so i got scared

when I type eg: yum remove glibc.i686
It is telling me 291 packages have to be removed too: including many xmms-packages but also xorg-x11-drv-ati for example...

I would much rather use my Live DVD to solve the issue. Can i not mount the partition and do something to be able to remove and install packages?

Last edited by Setarkos; 01-24-2010 at 06:29 AM.
 
Old 01-24-2010, 06:31 AM   #11
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Try to choose "nv" instead of nvidia. If that produces the error about a module not being found, try "vesa". That should you give at least a GUI to work with.

jlinkels
 
Old 01-24-2010, 06:36 AM   #12
Setarkos
Member
 
Registered: Jan 2010
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlinkels View Post
Try to choose "nv" instead of nvidia. If that produces the error about a module not being found, try "vesa". That should you give at least a GUI to work with.

jlinkels
1. how do I choose a driver?

2. Im back in with working X! I have a Thinkpad T500 with switchable graphics and if I choose the ati-card in bios it seems to work (although still only with metacity and a bug report from glx-utils)

So Im back with a working desktop but I still want to make things as they were before when i didnt have to edit the settings in bios - that worked well with the mesa-drivers - how do I do that now?

if I enter the package manager there are still some nvidia packages marked as installed but as far as i know i have a nvidia sound card so i cant tell whether i may remove those packages
 
Old 01-24-2010, 06:53 AM   #13
slightlystoopid
Member
 
Registered: Jan 2010
Distribution: Arch, Gentoo, FreeBSD
Posts: 64

Rep: Reputation: 16
@jlinkels: he's using an ati-based computer.

so, 'cat /etc/X11/xorg.conf' says there's no file?

it sounds like you're running a 32-bit installation, is that correct? either way, I think the libraries are trivial.

can you run 'yum list installed *nvidia*' to verify all nvidia packages are removed?
 
Old 01-24-2010, 06:55 AM   #14
slightlystoopid
Member
 
Registered: Jan 2010
Distribution: Arch, Gentoo, FreeBSD
Posts: 64

Rep: Reputation: 16
ok, just remove the remaining nvidia junk, and reinstall the mesa junk. you should be set.
 
Old 01-24-2010, 06:57 AM   #15
Setarkos
Member
 
Registered: Jan 2010
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by slightlystoopid View Post
@jlinkels: he's using an ati-based computer.

so, 'cat /etc/X11/xorg.conf' says there's no file?

it sounds like you're running a 32-bit installation, is that correct? either way, I think the libraries are trivial.

can you run 'yum list installed *nvidia*' to verify all nvidia packages are removed?
"cat /etc/X11/xorg.conf" gives:

Code:
# Xorg configuration created by livna-config-display

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib64/xorg/modules/extensions/nvidia"
	ModulePath   "/usr/lib64/xorg/modules"
	FontPath     "catalogue:/etc/X11/fontpath.d"
	FontPath     "built-ins"
EndSection

Section "Module"
	Load  "record"
	Load  "dri2"
	Load  "glx"
	Load  "dbe"
	Load  "extmod"
EndSection

Section "ServerFlags"
	Option	    "AIGLX" "on"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "Dac8Bit"            	# [<bool>]
        #Option     "BusType"            	# [<str>]
        #Option     "CPPIOMode"          	# [<bool>]
        #Option     "CPusecTimeout"      	# <i>
        #Option     "AGPMode"            	# <i>
        #Option     "AGPFastWrite"       	# [<bool>]
        #Option     "AGPSize"            	# <i>
        #Option     "GARTSize"           	# <i>
        #Option     "RingSize"           	# <i>
        #Option     "BufferSize"         	# <i>
        #Option     "EnableDepthMoves"   	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "NoBackBuffer"       	# [<bool>]
        #Option     "DMAForXv"           	# [<bool>]
        #Option     "FBTexPercent"       	# <i>
        #Option     "DepthBits"          	# <i>
        #Option     "PCIAPERSize"        	# <i>
        #Option     "AccelDFS"           	# [<bool>]
        #Option     "IgnoreEDID"         	# [<bool>]
        #Option     "CustomEDID"         	# [<str>]
        #Option     "DisplayPriority"    	# [<str>]
        #Option     "PanelSize"          	# [<str>]
        #Option     "ForceMinDotClock"   	# <freq>
        #Option     "ColorTiling"        	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "RageTheatreCrystal" 	# <i>
        #Option     "RageTheatreTunerPort" 	# <i>
        #Option     "TunerType"          	# <i>
        #Option     "RageTheatreMicrocPath" 	# <str>
        #Option     "RageTheatreMicrocType" 	# <str>
        #Option     "ScalerWidth"        	# <i>
        #Option     "RenderAccel"        	# [<bool>]
        #Option     "SubPixelOrder"      	# [<str>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "ClockGating"        	# [<bool>]
        #Option     "VGAAccess"          	# [<bool>]
        #Option     "ReverseDDC"         	# [<bool>]
        #Option     "LVDSProbePLL"       	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "DRI"                	# [<bool>]
        #Option     "ConnectorTable"     	# <str>
        #Option     "DefaultConnectorTable" 	# [<bool>]
        #Option     "DefaultTMDSPLL"     	# [<bool>]
        #Option     "TVDACLoadDetect"    	# [<bool>]
        #Option     "ForceTVOut"         	# [<bool>]
        #Option     "TVStandard"         	# <str>
        #Option     "IgnoreLidStatus"    	# [<bool>]
        #Option     "DefaultTVDACAdj"    	# [<bool>]
        #Option     "Int10"              	# [<bool>]
        #Option     "EXAVSync"           	# [<bool>]
        #Option     "ATOMTVOut"          	# [<bool>]
        #Option     "R4xxATOM"           	# [<bool>]
        #Option     "ForceLowPowerMode"  	# [<bool>]
        #Option     "DynamicPM"          	# [<bool>]
        #Option     "NewPLL"             	# [<bool>]
	Identifier  "Card0"
	Driver      "radeon"
	VendorName  "ATI Technologies Inc"
	BoardName   "Mobility Radeon HD 3650"
	Option	    "Composite" "Enable"
        #Option     "RageTheatreSVideoPort" 	# <i>
	BusID       "PCI:1:0:0"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card1"
	Driver      "nvidia"
	VendorName  "Intel Corporation"
	BoardName   "Mobile 4 Series Chipset Integrated Graphics Controller"
	Option	    "AddARGBGLXVisuals" "True"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Extensions"
	Option	    "Composite" "Enable"
EndSection
and "yum list installed *nvidia*" gives:

Code:
Loaded plugins: presto, refresh-packagekit
Installed Packages
kmod-nvidia.x86_64                 190.53-1.fc12.1    @rpmfusion-nonfree-updates
kmod-nvidia-2.6.31.12-174.2.3.fc12.x86_64.x86_64
                                   190.53-1.fc12.1    @rpmfusion-nonfree-updates
nvidia-settings.x86_64             1.0-3.2.fc12       @rpmfusion-nonfree-updates
nvidia-xconfig.x86_64              1.0-1.fc12         @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia.x86_64         190.53-1.fc12      @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64    190.53-1.fc12      @rpmfusion-nonfree-updates
Should I remove all those packages? What do I have to do with the xorg.conf file to reconfigure it?

Edit: No its a 64-bit Fedora 12

Last edited by Setarkos; 01-24-2010 at 07:03 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Video drivers problem VaNkAtA Linux - Laptop and Netbook 4 03-21-2009 11:15 AM
video problem on HP a1010n Desktop lqfun Linux - Hardware 1 03-10-2009 03:11 PM
Problem installing video card drivers! poler8tor Linux - Software 4 01-07-2005 01:43 AM
Problem installing video card drivers! poler8tor Linux - Hardware 0 01-06-2005 07:26 PM
Problem with notebook video drivers nads General 7 04-06-2004 11:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration