LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 04-28-2007, 09:17 PM   #1
HmmLinux
Member
 
Registered: Apr 2003
Location: Stockholm, Sweden
Distribution: Debain
Posts: 59

Rep: Reputation: 15
ATI Display Driver


When I logon the display setting is at 1920X1440 @ 61Hz.
I've tried to change the settings in Gnome Deskshop and every time I choose what ever setting I get logged out when it restarts the xserver and when I get back in its the same setting as before. the settings in xorg.conf only goes up to 1280x1024 so I dont know where 1920x1440 even is coming from. this happened after I installed ATIs driver from ati.com. xorg.conf dont show any traces of the ati driver. it still uses vesa for all i can see. the driver wasn't installed correctly though.

Code:
# aticonfig --initial --input=/etc/X11/xorg.conf Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saved back-up to /etc/X11/xorg.conf.original-0
Segmenteringsfel
What does segmenterror mean?
I've checked the Xorg.o.log, but nothing odd catches my eye, though I dont know what to look for except some kind of error messages.

Any ideas where I should start would be greatly appreciated. the only idea i have is to try and install aticonfig with a sett screen setting like this:
Code:
aticonfig --resolution=0,1600x1200,1280x1024,1024x768
 
Old 04-29-2007, 02:10 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Perhaps you could post the xorg.conf file. Let's have a look-see
 
Old 04-29-2007, 06:33 PM   #3
HmmLinux
Member
 
Registered: Apr 2003
Location: Stockholm, Sweden
Distribution: Debain
Posts: 59

Original Poster
Rep: Reputation: 15
ATI didn't create a backup of xorg.conf. I did though just in case this would happend. here it is, all of it:
Code:
Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "se"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "Device"
        Identifier      "Allmänt grafikkort"
        Driver          "vesa"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "DELL M990"
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Allmänt grafikkort"
        Monitor         "DELL M990"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection


I was thinking of changing my "Section Device" to(below), but I though aticonfig made this changes by it self during the driver installation if everything whent as it should. Tried to modprobe fglrx but the module cant be found. I ran the ati-fglrx.sh script which adds /usr/lib/xorg and /usr/lib/dri to my library path if it already doesn't exist. And libfglrx_dm.so.1.0 and more libs are found there. Not 100% sure if thats what the script does but thats what I belive it does. Correct me if Im wrong.

Might put in the xorg.conf
Code:
Section "Device"
Identifier  "aticonfig-Device[0]"# [?]do I have it at[1]
Driver      "fglrx"
Option       "VideoOverlay" "on"#do I need this?
Option       "OpenGLOverlay" "off"# whats this?
Parts of the ati drivers was installed though, I can see ATI Catalyst Control Center in the Gnome Program Meny. it wont start though, cant find anything in xorg.0.log. or in messages about whats wrong. Ever time I run aticonfig it always end this segmenterror, what does that mean?
Does ATI have it's own log some where?

I did run:
aticonfig --resolution=0,1600x1200,1280x1024,1024x768
The screen got better but I'm stuck with 1024x768 even though Gnome tells me its 1280x1024.


Thanks GrapefruiTgirl for taking you're time trying to help me out. Let me know if you, or any one else for that mather, need any more info. Whould me nice with 3D acceleration.

Last edited by HmmLinux; 04-30-2007 at 06:28 AM.
 
Old 04-29-2007, 07:42 PM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Things would be easier to figure out if you had posted the whole file. But, from what I see there, your AGP card (The ATI I presume) is being powered by the VESA driver.
That is definitely no good, and definitely won't give you 3D accel..
How about editing your above post, and replacing it with the whole file, in the [CODE] tags.
Then we can have a decent look. See, the problem usually when ati-config is used, it it tends to ADD a bunch of stuff to the existing file, but doesn't bother editing or removing anything, so the file ends up --- well, screwy.
Also, in a console just to be 100% certain of things, do the command 'lspci' and note the BusID of your card. it should be PCI:1:0:0 like it is in the file.

Last edited by GrapefruiTgirl; 04-29-2007 at 07:45 PM.
 
Old 04-29-2007, 08:32 PM   #5
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
I'd just like to add that it is generally a very bad idea to follow the instructions from ATI if you want to install that driver on Debian. Is that what you did?

btw, you posted the wrong xorg.conf: the xorg.original (whatever it's called) is a back-up ofthe original xorg.conf, i.e. the file as it existed before you installed the driver.

Last edited by jay73; 04-29-2007 at 08:34 PM.
 
Old 04-29-2007, 08:38 PM   #6
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
I second the motion by Jay73.. The ATI-config does not seem to do a good job, regardless of distro, from what I have seen. And yes, make sure we get the xorg.conf that you are trying to use right now, since the ati-config.
 
Old 04-30-2007, 06:26 AM   #7
HmmLinux
Member
 
Registered: Apr 2003
Location: Stockholm, Sweden
Distribution: Debain
Posts: 59

Original Poster
Rep: Reputation: 15
There is no difference between my backup xorg.conf and the one ati renamed to /etc/X11/xorg.conf.original-0.
I'll post xorg.conf.original-0 as well:

Code:
Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "se"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "Device"
        Identifier      "Allmänt grafikkort"
        Driver          "vesa"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "DELL M990"
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Allmänt grafikkort"
        Monitor         "DELL M990"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1280x1024" "1600x1200" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection
I dont know what the next step should be? I have located fglrx, and it is in a proper location, but I cant modprobe it. Is xorg.conf.original-0 a backup ati made or is it the one the x-server use? I would belive it's the one in use because thats the only xorg.conf type of file there is in X11 directory. But at the same time, did the ati drivers create new links for xorg.conf.original-0? I though xorg.conf was static.

Last edited by HmmLinux; 04-30-2007 at 06:33 AM.
 
Old 04-30-2007, 09:24 AM   #8
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Under the Device section, change the driver from 'VESA' to 'fglrx'. You don't need to modprobe this thing; the X server loads the module for you when it starts X.
Let us know what happens when you change that driver. If all else is well, there should be a nice change
 
Old 04-30-2007, 10:29 AM   #9
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Did you ever "build" the kernel source using "make" or module-assistant?
 
Old 04-30-2007, 12:50 PM   #10
HmmLinux
Member
 
Registered: Apr 2003
Location: Stockholm, Sweden
Distribution: Debain
Posts: 59

Original Poster
Rep: Reputation: 15
I've buildt the kernel from source with "make" etc..
 
Old 04-30-2007, 01:09 PM   #11
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
I've buildt the kernel from source with "make" etc..
That's not what I asked.

This is the easy way to get an ATI driver working on Debian. Make sure your sources.list includes "contrib" and "non-free"

# aptitude install fglrx-control fglrx-driver fglrx-kernel-source

Reboot into Single User mode

# module-assistant prepare
# m-a a-i fglrx
# modprobe -v fglrx
# dpkg-reconfigure xserver-xorg (Select fglrx as the driver at the appropriate spot)

Last edited by rickh; 04-30-2007 at 01:10 PM.
 
  


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
LXer: ATI Proprietary Linux Display Driver 8.34.8 LXer Syndicated Linux News 0 03-09-2007 03:46 PM
ATI on Fedora 6: ati-fglrx-config-display beatlestones Linux - General 1 02-25-2007 06:48 AM
ATI display driver, install only? hkl8324 Linux - Hardware 1 02-02-2006 01:06 PM
fglrx-driver vs ATI kernel driver for ATI Radeon 9200 in Debian Debian_Poland Debian 3 02-01-2006 01:10 PM
ati driver the only way to switch display? cjae Linux - Newbie 1 04-02-2005 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:54 PM.

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