Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: X will not start with fglrx but will with vesa

  1. #1
    Join Date
    Nov 2007
    Posts
    17

    Default X will not start with fglrx but will with vesa

    uname -a
    Code:
    Linux  2.6.21.5-smp #2 SMP Tue Jun 19 14:58:11 CDT 2007 i686 AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux
    Video card i have is the X1950pro AGP 512mb (Sapphire)
    My monitors are 2005fpw dell 20.1" widescreen that support 1650x1080 (i have 2)

    when i ran the ati installer, i did it as root and in runlevel 3 @ CLI. all my tests so far have been under root as well until i can figure out what is going on.

    My bios is set to 256mb agp aperture.

    7.11 did work (well work i mean, X started) 7.12 does not. When i changed driver from fglrx to vesa, X does start so i don't think it's my xorg.

    xorg.conf
    Code:
    Section "ServerLayout"
    	Identifier     "Simple Layout"
    	Screen      0  "aticonfig-Screen[0]" 0 0
    	InputDevice    "Mouse1" "CorePointer"
    	InputDevice    "Keyboard1" "CoreKeyboard"
    EndSection
    
    Section "Files"
    	RgbPath      "/usr/share/X11/rgb"
    	FontPath     "/usr/share/fonts/local/"
    	FontPath     "/usr/share/fonts/misc/"
    	FontPath     "/usr/share/fonts/OTF/"
    	FontPath     "/usr/share/fonts/TTF/"
    	FontPath     "/usr/share/fonts/Type1/"
    	FontPath     "/usr/share/fonts/CID/"
    	FontPath     "/usr/share/fonts/Speedo/"
    	FontPath     "/usr/share/fonts/75dpi/:unscaled"
    	FontPath     "/usr/share/fonts/100dpi/:unscaled"
    	FontPath     "/usr/share/fonts/75dpi/"
    	FontPath     "/usr/share/fonts/100dpi/"
    	FontPath     "/usr/share/fonts/cyrillic/"
    EndSection
    
    Section "Module"
    	Load  "dbe"  	# Double buffer extension
    	SubSection "extmod"
    		Option	    "omit xfree86-dga"   # don't initialise the DGA extension
    	EndSubSection
    	Load  "type1"
    	Load  "freetype"
        #Load        "speedo"
    	Load  "glx"
    	Load  "dri"
    EndSection
    
    Section "InputDevice"
    #    Option     "XkbRules"      "xorg"
    #    Option     "XkbModel"      "pc105"
    #    Option     "XkbLayout"     "us"
    #    Option     "XkbVariant"    ""
    #    Option     "XkbOptions"    ""
    	Identifier  "Keyboard1"
    	Driver      "kbd"
    EndSection
    
    Section "InputDevice"
    	Identifier  "Mouse1"
    	Driver      "mouse"
    	Option	    "Protocol" "PS/2"
    	Option	    "Device" "/dev/mouse"
    EndSection
    
    Section "Monitor"
    	Identifier   "aticonfig-Monitor[0]"
    	Option	    "DPMS" "true"
    EndSection
    
    Section "Monitor"
    	Identifier   "aticonfig-Monitor[1]"
    	Option	    "DPMS" "true"
    EndSection
    
    Section "Device"
    	Identifier  "aticonfig-Device[0]"
    	Driver      "vesa"
    	BusID       "PCI:1:0:0"
    EndSection
    
    Section "Device"
    	Identifier  "aticonfig-Device[1]"
    	Driver      "vesa"
    	BusID       "PCI:1:0:1"
    	Screen      1
    EndSection
    
    Section "Screen"
    	Identifier "aticonfig-Screen[0]"
    	Device     "aticonfig-Device[0]"
    	Monitor    "aticonfig-Monitor[0]"
    	DefaultDepth     24
        Subsection "Display"
            Depth       8
            Modes "1024x768" "800x600" "640x480"
        EndSubsection
        Subsection "Display"
            Depth       16
            Modes "1024x768" "800x600" "640x480"
        EndSubsection
        Subsection "Display"
            Depth       24
            Modes "1650x1080" "1024x768" "800x600" "640x480"
        EndSubsection
        Subsection "Display"
            Depth       32
            Modes "1024x768" "800x600" "640x480"
        EndSubsection
    
    EndSection
    
    Section "Screen"
    	Identifier "aticonfig-Screen[1]"
    	Device     "aticonfig-Device[1]"
    	Monitor    "aticonfig-Monitor[1]"
    	DefaultDepth     24
        Subsection "Display"
            Depth       8
            Modes "1024x768" "800x600" "640x480"
        EndSubsection
        Subsection "Display"
            Depth       16
            Modes "1024x768" "800x600" "640x480"
        EndSubsection
        Subsection "Display"
            Depth       24
            Modes "1650x1080" "1024x768" "800x600" "640x480"
        EndSubsection
        Subsection "Display"
            Depth       32
            Modes "1024x768" "800x600" "640x480"
        EndSubsection
    
    EndSection
    Am i missing something here that would stop X from starting? Weird thing too is that nothing gets logged as far as why it just sit's and hangs on starting X.

    lsmod | grep fglrx
    Code:
    fglrx                1489004  0
    agpgart                31432  2 fglrx,amd64_agp
    lspci | grep ATI
    Code:
    01:00.0 VGA compatible controller: ATI Technologies Inc Radeon X1950 Pro (Primary) (PCIE)
    01:00.1 Display controller: ATI Technologies Inc Radeon X1950 Pro (Secondary) (PCIE)
    Last edited by agentc0re; 01-03-2008 at 03:52 AM.

  2. #2
    Join Date
    Oct 2007
    Posts
    321

    Default

    since i do not know which distribution you have, i'll haft to guess at config file locations, but if it's debian/ubuntu this should work...

    does the following file exist?
    Code:
    /etc/X11/xorg.conf.original
    if that file exists, copy it over your xorg config file.
    otherwise, reinstall the xorg server, using your package manager.

  3. #3
    Join Date
    Nov 2007
    Posts
    17

    Default

    Quote Originally Posted by Dandel View Post
    since i do not know which distribution you have, i'll haft to guess at config file locations, but if it's debian/ubuntu this should work...
    Sorry, I use Slackware 12

    Quote Originally Posted by Dandel View Post
    does the following file exist?
    Code:
    /etc/X11/xorg.conf.original
    if that file exists, copy it over your xorg config file.
    otherwise, reinstall the xorg server, using your package manager.
    I tried that just now, and same thing as i described before. vesa works fine. when i try to change the driver in the xorg.conf from vesa to fglrx, X just hangs on starting up. I have also tried to run aticonfig --initial and i still have the same problem.
    i'll post my xorg.conf.original.

    http://docs.google.com/Doc?id=ddqg3848_38d3gx48f7

    It was took long because of all the examples, so there's the link. the first xorg.conf is basically the original just with all that shit taken out and the second device section added.

  4. #4
    Join Date
    Jun 2007
    Posts
    406

    Default

    Quote Originally Posted by agentc0re View Post
    uname -a
    Code:
    Linux  2.6.21.5-smp #2 SMP Tue Jun 19 14:58:11 CDT 2007 i686 AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux
    Video card i have is the X1950pro AGP 512mb (Sapphire)
    My monitors are 2005fpw dell 20.1" widescreen that support 1650x1080 (i have 2)

    when i ran the ati installer, i did it as root and in runlevel 3 @ CLI. all my tests so far have been under root as well until i can figure out what is going on.

    My bios is set to 256mb agp aperture.

    7.11 did work (well work i mean, X started) 7.12 does not. When i changed driver from fglrx to vesa, X does start so i don't think it's my xorg.
    well, vesa is supported by all cards for what i know. for example when the hd series wasn't supported officially in fglrx these boards would run vesa to start xorg. so normally, putting vesa as driver should make your board work. the problem would have been if vesa wouldn't work. as for the resolution, your should not work anymore on 7.12. so i guess that it's best for you to keep on going with the 7.11.

    Quote Originally Posted by agentc0re View Post
    xorg.conf
    Code:
    Section "ServerLayout"
    	Identifier     "Simple Layout"
    	Screen      0  "aticonfig-Screen[0]" 0 0
    	InputDevice    "Mouse1" "CorePointer"
    	InputDevice    "Keyboard[0]" "CoreKeyboard"
    EndSection
    Quote Originally Posted by agentc0re View Post
    Code:
    Section "Module"
    	Load  "dbe"  	# Double buffer extension
    	SubSection "extmod"
    		Option	    "omit xfree86-dga"   # don't initialise the DGA extension
    	EndSubSection
    	Load  "type1"
    	Load  "freetype"
        #Load        "speedo"
    	Load  "glx"
    	Load  "dri"
    EndSection
    is the extmod option needed?! i don't have it and works without it. try removing all the subsection extmod and insert Load "extmod" in its place.
    also set the following
    Quote Originally Posted by agentc0re View Post
    Code:
    Section "InputDevice"
    #    Option     "XkbRules"      "xorg"
    #    Option     "XkbModel"      "pc105"
    #    Option     "XkbLayout"     "us"
    #    Option     "XkbVariant"    ""
    #    Option     "XkbOptions"    ""
    	Identifier  "Keyboard1"
    	Driver      "kbd"
    EndSection
    to
    Code:
    Section "InputDevice"
      Driver       "kbd"
      Identifier   "Keyboard[0]"
      Option       "Protocol" "Standard"
      Option       "XkbLayout" "us"
      Option       "XkbModel" "pc105"
      Option       "XkbRules" "xorg"
    EndSection
    also add the following:
    Code:
    Section "Modes"
      Identifier   "Modes[0]"
    EndSection
    
    Section "Modes"
      Identifier "Modes[1]"
    EndSection
    
    Section "ServerFlags"
      Option        "AllowMouseOpenFail" "on"
      Option        "IgnoreABI" "on"
      Option        "AIGLX" "off"
    EndSection
    (if you want aiglx then set to on the option).
    and substitute the monitor sections with the following:

    Code:
    Section "Monitor"
    	Identifier   "aticonfig-Monitor[0]"
    	Option	    "DPMS" "true"
            UseModes     "Modes[0]"
            Option       "CalcAlgorithm" "XServerPool"
    EndSection
    
    Section "Monitor"
    	Identifier   "aticonfig-Monitor[1]"
    	Option	    "DPMS" "true"
            UseModes     "Modes[1]"
            Option       "CalcAlgorithm" "XServerPool"
    EndSection
    and the device sections with:
    Code:
    Section "Device"
    	Identifier  "aticonfig-Device[0]"
    	Driver      "fglrx"
    	BusID       "PCI:1:0:0"
      Option "BusType" "AGP"
      Option        "BlockSignalsOnLock" "on"
      Option        "Capabilities" "0x00000000"
      Option        "CapabilitiesEx" "0x00000000"
      Option        "CenterMode" "off"
      Option        "DRI" "true"
      Option        "ForceGenericCPU" "no"
      Option        "HWCursor" "On"
      Option        "KernelModuleParm" "locked-userpages=0"
      Option        "mtrr" "off"
      Option        "no_accel" "no"
      Option        "no_dri" "no"
      Option        "OpenGLOverlay" "off"
      Option        "PseudoColorVisuals" "off"
      Option        "RenderAccel" "true"
      Option        "ScreenOverlap" "0"
      Option        "Stereo" "off"
      Option        "StereoSyncEnable" "1"
      Option        "UseFastTLS" "0"
      Option        "UseInternalAGPGART" "no"
      Option        "VideoOverlay" "on"
      Option        "XAANoOffscreenPixmaps" "true"
    EndSection
    
    Section "Device"
    	Identifier  "aticonfig-Device[1]"
    	Driver      "fglrx"
    	BusID       "PCI:1:0:1"
    	Screen      1
      Option "BusType" "AGP"
      Option        "BlockSignalsOnLock" "on"
      Option        "Capabilities" "0x00000000"
      Option        "CapabilitiesEx" "0x00000000"
      Option        "CenterMode" "off"
      Option        "DRI" "true"
      Option        "ForceGenericCPU" "no"
      Option        "HWCursor" "On"
      Option        "KernelModuleParm" "locked-userpages=0"
      Option        "mtrr" "off"
      Option        "no_accel" "no"
      Option        "no_dri" "no"
      Option        "OpenGLOverlay" "off"
      Option        "PseudoColorVisuals" "off"
      Option        "RenderAccel" "true"
      Option        "ScreenOverlap" "0"
      Option        "Stereo" "off"
      Option        "StereoSyncEnable" "1"
      Option        "UseFastTLS" "0"
      Option        "UseInternalAGPGART" "no"
      Option        "VideoOverlay" "on"
      Option        "XAANoOffscreenPixmaps" "true"
    EndSection
    the problem you might have is that you could also encounter some issues with both the monitors connected so try seeing what happens when you disconnect one of them and comment out the lines for the second monitor.
    the other problem that you have is that your board is detected as pcie (old fglrx problem) and this could have you play around a little with the agpgart. the bustype option should have fglrx detect the board as an agp one and enable the agpgart and dri as it should by default, but the wrong bus type might have provoked some problem.
    if everyhing goes fine then you can play around with big desktop options and similar stuff.
    the next time look into the /var/log/Xorg.0.log after a black screen to see what error has occured. it could help out seeing if there was something wrong.
    if you encounter problems post the xorg.0.log and we'll try figuring out the problem and how to best set-up also the monitors (the section lacks the refresh rates and the screen dimensions).

    Quote Originally Posted by Dandel View Post
    since i do not know which distribution you have, i'll haft to guess at config file locations, but if it's debian/ubuntu this should work...

    does the following file exist?
    Code:
    /etc/X11/xorg.conf.original
    if that file exists, copy it over your xorg config file.
    otherwise, reinstall the xorg server, using your package manager.
    this file should not be loaded. the one that is loaded by xorg is /etc/X11/xorg.conf and should be the same on all the distributions. the other xorg.conf.whatever files are just backup created by distro setting programs.
    also, don't reinstall xorg!!!! is useless. when problems get out because of misconfigurations then they would be fixed after setting the configuration to the right one. also if you use gentoo the reinstall of the xorg packages would take quite some time.
    remember that this is not windows on which when a program doesn't work you just reinstall it. usually in linux you first verify the configs and after setting them right if there's no other way of fixing things then you might consider reinstalling the package.
    Last edited by givemesugarr; 01-03-2008 at 12:59 PM.

  5. #5
    Join Date
    Jan 2007
    Location
    UK
    Posts
    16

    Default

    Just a minor point, you have 1650x1080 in the modes section. Shouldn't that be 1680x1050? I don't know if that would affect the xorg start though.

  6. #6
    Join Date
    Nov 2007
    Posts
    35

    Default

    Try: cat /var/log/xorg.0.log | grep "(EE)"

    Tell me what that gives you if I'm right I think you also have the PreInitDAL problem.

  7. #7
    Join Date
    Nov 2007
    Posts
    17

    Default

    Quote Originally Posted by liqor_mortis View Post
    Just a minor point, you have 1650x1080 in the modes section. Shouldn't that be 1680x1050? I don't know if that would affect the xorg start though.
    Thank you for pointing that out. I always switch those two numbers for some reason.

    Quote Originally Posted by Compxpert
    Try: cat /var/log/xorg.0.log | grep "(EE)"

    Tell me what that gives you if I'm right I think you also have the PreInitDAL problem.
    Quote Originally Posted by givemesugarr
    this file should not be loaded. the one that is loaded by xorg is /etc/X11/xorg.conf and should be the same on all the distributions. the other xorg.conf.whatever files are just backup created by distro setting programs.
    also, don't reinstall xorg!!!! is useless. when problems get out because of misconfigurations then they would be fixed after setting the configuration to the right one. also if you use gentoo the reinstall of the xorg packages would take quite some time.
    remember that this is not windows on which when a program doesn't work you just reinstall it. usually in linux you first verify the configs and after setting them right if there's no other way of fixing things then you might consider reinstalling the package.
    I think he ment cp the xorg.conf.orig to xorg.conf to start from a fresh start or at least thats how i took it. However my xorg.conf was pretty much scratch to begin with.
    I would also never reinstall the package, i know better than that However, i do appreciate the help offered Dandel.

    I just made the changes to my xorg.conf, im going to try and restart X and see what happens. i'll post back with my results!

    Thanks so far.

  8. #8
    Join Date
    Nov 2007
    Posts
    17

    Default

    Quote Originally Posted by Compxpert View Post
    Try: cat /var/log/xorg.0.log | grep "(EE)"

    Tell me what that gives you if I'm right I think you also have the PreInitDAL problem.
    I wish. I removed the current log and then tried to start X. It didn't recreate the log.

  9. #9
    Join Date
    Nov 2007
    Posts
    17

    Default

    Here is the current xorg.conf. i added a few things, just DRI and stuff at the end.

    I tried unplugging one of the monitors and X still will not start. Maybe it has something to do with the fact they are reconnized as PCI-E even though they are AGP? i do know that the chipset is a PCI-E using the Realto chip to convert it to agp (i could be wrong but i think thats how it works) could that be why it says PCI-E too?

    Code:
    Section "ServerLayout"
    	Identifier     "Simple Layout"
    	Screen      0  "aticonfig-Screen[0]" 0 0
    	InputDevice    "Mouse1" "CorePointer"
    	InputDevice    "Keyboard[0]" "CoreKeyboard"
    EndSection
    
    Section "Files"
    	RgbPath      "/usr/share/X11/rgb"
    	FontPath     "/usr/share/fonts/local/"
    	FontPath     "/usr/share/fonts/misc/"
    	FontPath     "/usr/share/fonts/OTF/"
    	FontPath     "/usr/share/fonts/TTF/"
    	FontPath     "/usr/share/fonts/Type1/"
    	FontPath     "/usr/share/fonts/CID/"
    	FontPath     "/usr/share/fonts/Speedo/"
    	FontPath     "/usr/share/fonts/75dpi/:unscaled"
    	FontPath     "/usr/share/fonts/100dpi/:unscaled"
    	FontPath     "/usr/share/fonts/75dpi/"
    	FontPath     "/usr/share/fonts/100dpi/"
    	FontPath     "/usr/share/fonts/cyrillic/"
    EndSection
    
    Section "Module"
    	Load  "dbe"  	# Double buffer extension
    	Load  "type1"
    	Load  "freetype"
        	Load  "glx"
    	Load  "dri"
    EndSection
    
    Section "Modes"
      Identifier   "Modes[0]"
    EndSection
    
    Section "Modes"
      Identifier "Modes[1]"
    EndSection
    
    Section "ServerFlags"
      Option        "AllowMouseOpenFail" "on"
      Option        "IgnoreABI" "on"
      Option        "AIGLX" "on"
    EndSection
    
    Section "InputDevice"
      Driver       "kbd"
      Identifier   "Keyboard[0]"
      Option       "Protocol" "Standard"
      Option       "XkbLayout" "us"
      Option       "XkbModel" "pc105"
      Option       "XkbRules" "xorg"
    EndSection
    
    Section "InputDevice"
    	Identifier  "Mouse1"
    	Driver      "mouse"
    	Option	    "Protocol" "PS/2"
    	Option	    "Device" "/dev/mouse"
    EndSection
    
    Section "Monitor"
    	Identifier   "aticonfig-Monitor[0]"
    	Option	    "DPMS" "true"
            UseModes     "Modes[0]"
            Option       "CalcAlgorithm" "XServerPool"
    EndSection
    
    Section "Monitor"
    	Identifier   "aticonfig-Monitor[1]"
    	Option	    "DPMS" "true"
            UseModes     "Modes[1]"
            Option       "CalcAlgorithm" "XServerPool"
    EndSection
    
    Section "Device"
    	Identifier  "aticonfig-Device[0]"
    	Driver      "vesa"
    	BusID       "PCI:1:0:0"
      Option "BusType" "AGP"
      Option        "BlockSignalsOnLock" "on"
      Option        "Capabilities" "0x00000000"
      Option        "CapabilitiesEx" "0x00000000"
      Option        "CenterMode" "off"
      Option        "DRI" "true"
      Option        "ForceGenericCPU" "no"
      Option        "HWCursor" "On"
      Option        "KernelModuleParm" "locked-userpages=0"
      Option        "mtrr" "off"
      Option        "no_accel" "no"
      Option        "no_dri" "no"
      Option        "OpenGLOverlay" "off"
      Option        "PseudoColorVisuals" "off"
      Option        "RenderAccel" "true"
      Option        "ScreenOverlap" "0"
      Option        "Stereo" "off"
      Option        "StereoSyncEnable" "1"
      Option        "UseFastTLS" "0"
      Option        "UseInternalAGPGART" "no"
      Option        "VideoOverlay" "on"
      Option        "XAANoOffscreenPixmaps" "true"
    EndSection
    
    Section "Device"
    	Identifier  "aticonfig-Device[1]"
    	Driver      "vesa"
    	BusID       "PCI:1:0:1"
    	Screen      1
      Option "BusType" "AGP"
      Option        "BlockSignalsOnLock" "on"
      Option        "Capabilities" "0x00000000"
      Option        "CapabilitiesEx" "0x00000000"
      Option        "CenterMode" "off"
      Option        "DRI" "true"
      Option        "ForceGenericCPU" "no"
      Option        "HWCursor" "On"
      Option        "KernelModuleParm" "locked-userpages=0"
      Option        "mtrr" "off"
      Option        "no_accel" "no"
      Option        "no_dri" "no"
      Option        "OpenGLOverlay" "off"
      Option        "PseudoColorVisuals" "off"
      Option        "RenderAccel" "true"
      Option        "ScreenOverlap" "0"
      Option        "Stereo" "off"
      Option        "StereoSyncEnable" "1"
      Option        "UseFastTLS" "0"
      Option        "UseInternalAGPGART" "no"
      Option        "VideoOverlay" "on"
      Option        "XAANoOffscreenPixmaps" "true"
    EndSection
    
    Section "Screen"
    	Identifier "aticonfig-Screen[0]"
    	Device     "aticonfig-Device[0]"
    	Monitor    "aticonfig-Monitor[0]"
    	DefaultDepth     24
        Subsection "Display"
            Depth       8
            Modes "1024x768" "800x600" "640x480"
        EndSubsection
        Subsection "Display"
            Depth       16
            Modes "1024x768" "800x600" "640x480"
        EndSubsection
        Subsection "Display"
            Depth       24
            Modes "1680x1050" "1024x768" "800x600" "640x480"
        EndSubsection
        Subsection "Display"
            Depth       32
            Modes "1024x768" "800x600" "640x480"
        EndSubsection
    
    EndSection
    
    Section "Screen"
    	Identifier "aticonfig-Screen[1]"
    	Device     "aticonfig-Device[1]"
    	Monitor    "aticonfig-Monitor[1]"
    	DefaultDepth     24
        Subsection "Display"
            Depth       8
            Modes "1024x768" "800x600" "640x480"
        EndSubsection
        Subsection "Display"
            Depth       16
            Modes "1024x768" "800x600" "640x480"
        EndSubsection
        Subsection "Display"
            Depth       24
            Modes "1680x1050" "1024x768" "800x600" "640x480"
        EndSubsection
        Subsection "Display"
            Depth       32
            Modes "1024x768" "800x600" "640x480"
        EndSubsection
    
    EndSection
    
    Section "DRI"
    	Mode 0666
    EndSection
    
    Section "Extensions"
    	Option "XVideo" "Enable"
    	Option "DAMAGE" "true"
    	Option "RENDER" "true"
    	Option "Composite" "Enable"
    EndSection

  10. #10
    Join Date
    Jun 2007
    Posts
    406

    Default

    Quote Originally Posted by agentc0re View Post
    Here is the current xorg.conf. i added a few things, just DRI and stuff at the end.

    I tried unplugging one of the monitors and X still will not start. Maybe it has something to do with the fact they are reconnized as PCI-E even though they are AGP? i do know that the chipset is a PCI-E using the Realto chip to convert it to agp (i could be wrong but i think thats how it works) could that be why it says PCI-E too?
    what does your Xorg.0.log say?!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •