LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-13-2008, 08:46 PM   #1
bigman51
LQ Newbie
 
Registered: Aug 2004
Location: Nebraska
Distribution: Mandriva, Ubuntu
Posts: 8

Rep: Reputation: 0
Black screen in xwindows


Hey guys. I just loaded Mandriva 2008.1 and I really like it. I had been using 2007 for about a year now. However I also just bought a ATI Radeon HD2600 Pro video card. I am having some problems getting the dual head on it to work. When I start with the configuration that ati recommends all I get is a black xwindows screen.

Here is my xorg.conf file

Code:
# File generated by XFdrake (rev 234840)
# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerLayout"
	Identifier     "layout1"
	Scree     0    "aticonfig-Screen[0]" 0 0
	Screen	       "aticonfig-Screen[1]" RightOf "aticonfig-Screen[0]"
	InputDevice    "Keyboard1" "CoreKeyboard"
	InputDevice    "Mouse1" "CorePointer"
	InputDevice    "Mouse2" "SendCoreEvents"
EndSection

Section "Files"
EndSection

Section "Module"
	Load  "dbe" # Double-Buffering Extension
	Load  "v4l" # Video for Linux
	Load  "extmod"
	Load  "type1"
	Load  "freetype"
	Load  "glx" # 3D layer
	Load  "dri" # direct rendering
EndSection

Section "ServerFlags"

    #DontZap # disable <Ctrl><Alt><BS> (server abort)
 # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
	Option	    "allowmouseopenfail"
EndSection

Section "InputDevice"
	Identifier  "Keyboard1"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
	Option	    "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
	Identifier  "Mouse1"
	Driver      "mouse"
	Option	    "Protocol" "ExplorerPS/2"
	Option	    "Device" "/dev/mouse"
EndSection

Section "InputDevice"
	Identifier  "Mouse2"
	Driver      "evdev"
	Option	    "device" "/dev/input/by-id/usb--event-mouse"
	Option	    "HWheelRelativeAxisButtons" "7 6"
EndSection

Section "Monitor"

    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
	Identifier   "monitor1"
	HorizSync    24.0 - 80.0
	VertRefresh  50.0 - 75.0
	ModeLine     "768x576" 50.0 768 832 846 1000 576 590 595 630
	ModeLine     "768x576" 63.1 768 800 960 1024 576 578 590 616
EndSection

Section "Monitor"

    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
	Identifier   "monitor2"
	HorizSync    24.0 - 80.0
	VertRefresh  50.0 - 75.0
	ModeLine     "768x576" 50.0 768 832 846 1000 576 590 595 630
	ModeLine     "768x576" 63.1 768 800 960 1024 576 578 590 616
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[1]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "device1"
	Driver      "radeonhd"
	VendorName  "ATI Technologies Inc"
	BoardName   "ATI Radeon X1300 and later"
	Option	    "DPMS"
EndSection

Section "Device"
	Identifier  "device2"
	Driver      "radeonhd"
	VendorName  "ATI Technologies Inc"
	BoardName   "ATI Radeon X1300 and later"
	Option	    "DPMS"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[1]"
	Driver      "fglrx"
	BusID       "PCI:1:0:0"
	Screen      1
EndSection

Section "Screen"
	Identifier "screen1"
	Device     "device1"
	Monitor    "monitor1"
	DefaultDepth     16
	SubSection "Display"
		Depth     8
		Modes    "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes    "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
	EndSubSection
EndSection

Section "Screen"
	Identifier "screen2"
	Device     "device2"
	Monitor    "monitor2"
	DefaultDepth     16
	SubSection "Display"
		Depth     8
		Modes    "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes    "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
	EndSubSection
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "aticonfig-Device[0]"
	Monitor    "aticonfig-Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[1]"
	Device     "aticonfig-Device[1]"
	Monitor    "aticonfig-Monitor[1]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Extensions"
	Option	    "Composite"
EndSection
If I use the screen1 instead of the aticonfig-screen[0] / [1] I can get the monitors to work however they are clones of each other.

Any help would be great. Thanks

Ross
 
Old 06-13-2008, 10:11 PM   #2
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Quote:
Scree 0 "aticonfig-Screen[0]" 0 0
Screen "aticonfig-Screen[1]" RightOf "aticonfig-Screen[0]"
Missing an 'n' here, and try adding '1' to the second screen line ('Screen 1 "aticonfig-Screen[1]" RightOf "aticonfig-Screen[0]"')

Quote:
Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Add 'Screen 0' to that block

Code:
Section "Device"
	Identifier  "device1"
	Driver      "radeonhd"
	VendorName  "ATI Technologies Inc"
	BoardName   "ATI Radeon X1300 and later"
	Option	    "DPMS"
EndSection

Section "Device"
	Identifier  "device2"
	Driver      "radeonhd"
	VendorName  "ATI Technologies Inc"
	BoardName   "ATI Radeon X1300 and later"
	Option	    "DPMS"
EndSection
If you want to use radeonhd, put 'Screen 1' in the second device section to avoid mirroring.

Last edited by stefan_nicolau; 06-13-2008 at 10:20 PM.
 
Old 06-14-2008, 12:17 AM   #3
bigman51
LQ Newbie
 
Registered: Aug 2004
Location: Nebraska
Distribution: Mandriva, Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Code:
Section "Device"
	Identifier  "device1"
	Driver      "radeonhd"
	VendorName  "ATI Technologies Inc"
	BoardName   "ATI Radeon X1300 and later"
	Option	    "DPMS"
EndSection

Section "Device"
	Identifier  "device2"
	Driver      "radeonhd"
	VendorName  "ATI Technologies Inc"
	BoardName   "ATI Radeon X1300 and later"
	Option	    "DPMS"
        Screen      1
EndSection
Something like that?

Or should it be

Screen "1" ?

Thanks

Ross
 
Old 06-14-2008, 06:03 AM   #4
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
I don't think the quotes are required.

What you have to understand is that your xorg.conf contains two sets of entries. One set (deviceX/screenX/monitorX) will load the open source radeonhd driver, while the other set (aticonfig-Screen[X]/aticonfig-device[X]/aticonfig-monitor[X]) will use the proprietary ATI driver. Depending on the screen entries in serverlayout, only half of your configuration file will be used at any given time.
 
Old 06-18-2008, 10:18 AM   #5
bigman51
LQ Newbie
 
Registered: Aug 2004
Location: Nebraska
Distribution: Mandriva, Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
I finally managed to get it working. I loaded the newest ATI drivers and it started working. Thanks for your help.
 
  


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
Log in screen won-t show up, I get a black screen and mouse pinter on waiting mode Nis2k Linux - General 1 03-26-2008 09:32 PM
Booting CentOS 5, logo screen appears, stuff initializes, then screen goes black ctman Linux - Newbie 6 09-22-2007 08:36 AM
Startx results in a black screen with VGA and screen errors kwosource Linux - Newbie 4 03-11-2005 02:58 PM
xwindows logout = black screen terrance Linux - General 7 08-04-2003 08:59 PM
xwindows logout = black screen terrance Linux - Software 6 06-23-2003 03:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:13 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