LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-04-2007, 03:27 PM   #1
mixtr
Member
 
Registered: Jul 2004
Location: Ottawa
Distribution: Arch, OpenBSD
Posts: 123

Rep: Reputation: 17
X won't display on my laptop screen, only on my ctr with fglrx


My little story:
Once upon a time, out of boredom, Little Me was searching the web trying to understand all those options for Lappy's video card. Then Little Me stumble upon Catalyst Control Center. Looking on Lappy's drive Little Me quickly located the program. It was innocently sitting there saying "use me". Happy to find an application for Lappy's video card Little Me ran the program. Whoa all the colors appeared, hidden options unveiled. Little Me was happy and even put CCC in the 'menu'. Until one day CCC's mask fell to reveal this ugly beast that jumped on Lappy's screen and ate it away. Now poor Little Me is sad for he has only his CRT to look at...

The Distant Past:
When I ran X with my CRT plugged in, X would be in big desktop mode, and single mode when it wasn't connected. And it happened without having to change anything in xorg.conf

The Recent Past:
Like said, I ran Catalyst Control Center to check what it was and what could be done with it. After trying an option strange things happened with both screen (ok they just flickered!) and X crashed.

The Present:
Now when I start X the screen of my laptop shutdown and only the CRT works even if not connected! I tried many options in xorg.conf, even starting a conf file from scratch but nothing works. And somehow I can see that fglrx run in big desktop mode because the taskbar's pager is wider than in single mode. Sometimes it looks like /etc/X11/xorg.conf is ignored.

The Future:
I would like everything to work like in the Distant Past

The Technical:
Arch Linux
Dell Inspiron 9300
ATI Mobility Radeon X300.

xorg.conf (without comments):
Code:
Section "ServerLayout"
	Identifier     "Server Layout"
	Screen         "Screen0" 0 0
	InputDevice    "Mouse1" "CorePointer"
	InputDevice    "Keyboard1" "CoreKeyboard"
	InputDevice    "TouchPad" "AlwaysCore"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/75dpi/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/TTF"
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  "i2c"
# This loads the GLX module
	Load  "glx"   # libglx.a
	Load  "dri"   # libdri.a
	Load  "synaptics"
EndSection

Section "ServerFlags"
	Option	    "Dont Zoom"
EndSection

Section "InputDevice"
	Identifier  "Keyboard1"
	Driver      "kbd"
	Option	    "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us,ca"
#	Option	    "XkbOptions" "grp:alt_shift_toggle,"
	Option	    "XkbOptions" "grp:shift_caps_toggle,"
EndSection

Section "InputDevice"
	Identifier  "Mouse1"
	Driver      "mouse"
	Option	    "Protocol" "ImPS/2"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Device" "/dev/input/mice"
# When using XQUEUE, comment out the above two lines, and uncomment
EndSection

Section "InputDevice"

#    Option "Device" "/dev/input/mouse1"
	Identifier  "TouchPad"
	Driver      "synaptics"
	Option	    "Device" "/dev/input/event7"
	Option	    "Protocol" "event"
	Option	    "LeftEdge" "130"
	Option	    "RightEdge" "840"
	Option	    "TopEdge" "130"
	Option	    "BottomEdge" "640"
	Option	    "FingerLow" "7"
	Option	    "FingerHigh" "8"
	Option	    "MaxTapTime" "180"
	Option	    "MaxTapMove" "110"
	Option	    "EmulateMidButtonTime" "75"
	Option	    "VertScrollDelta" "20"
	Option	    "HorizScrollDelta" "20"
	Option	    "MinSpeed" "0.60"
	Option	    "MaxSpeed" "1.10"
	Option	    "AccelFactor" "0.030"
	Option	    "EdgeMotionMinSpeed" "200"
	Option	    "EdgeMotionMaxSpeed" "200"
	Option	    "UpDownScrolling" "1"
	Option	    "CircularScrolling" "1"
	Option	    "CircScrollDelta" "0.1"
	Option	    "CircScrollTrigger" "2"
	Option	    "SHMconfig" "on"
	Option	    "Emulate3Buttons" "on"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	Option	    "DPMS"
EndSection

Section "Device"
	Identifier  "Standard VGA"
	Driver      "vga"
	VendorName  "Unknown"
	BoardName   "Unknown"
EndSection

Section "Device"

#	Option      "HSync2" "30-72"
#	Option      "VRefresh2" "50-160" 
	Identifier  "ATI Graphics Adapter"
	Driver      "fglrx"
	Option	    "no_accel" "no"
	Option	    "no_dri" "no"
# === misc DRI settings ===
	Option	    "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
	Option	    "DesktopSetup" "horizontal"
	Option	    "MonitorLayout" "LVDS,AUTO"
	Option	    "Mode2" "1280x1024"
#	Option      "IgnoreEDID" "off"
	Option	    "ScreenOverlap" "0"
# === TV-out Management ===
	Option	    "TVFormat" "NTSC-M"
	Option	    "TVStandard" "NTSC-M"
	Option	    "TVHSizeAdj" "0"
	Option	    "TVVSizeAdj" "0"
	Option	    "TVHPosAdj" "0"
	Option	    "TVVPosAdj" "0"
	Option	    "TVHStartAdj" "0"
	Option	    "TVColorAdj" "0"
    Option "GammaCorrectionI"           "0x06419064"
	Option	    "GammaCorrectionII" "0x06419064"
# === OpenGL specific profiles/settings ===
	Option	    "Capabilities" "0x00000000"
	Option	    "CapabilitiesEx" "0x00000000"
# === Video Overlay for the Xv extension ===
	Option	    "VideoOverlay" "on"
# === OpenGL Overlay ===
	Option	    "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
	Option	    "Centermode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
	Option	    "PseudoColorVisuals" "off"
# === QBS Management ===
	Option	    "Stereo" "off"
	Option	    "StereoSyncEnable" "1"
# === FSAA Management ===
	Option	    "FSAAEnable" "no"
	Option	    "FSAAScale" "1"
	Option	    "FSAADisableGamma" "no"
	Option	    "FSAACustomizeMSPos" "no"
	Option	    "FSAAMSPosX0" "0.000000"
	Option	    "FSAAMSPosY0" "0.000000"
	Option	    "FSAAMSPosX1" "0.000000"
	Option	    "FSAAMSPosY1" "0.000000"
	Option	    "FSAAMSPosX2" "0.000000"
	Option	    "FSAAMSPosY2" "0.000000"
	Option	    "FSAAMSPosX3" "0.000000"
	Option	    "FSAAMSPosY3" "0.000000"
	Option	    "FSAAMSPosX4" "0.000000"
	Option	    "FSAAMSPosY4" "0.000000"
	Option	    "FSAAMSPosX5" "0.000000"
	Option	    "FSAAMSPosY5" "0.000000"
# === Misc Options ===
	Option	    "UseFastTLS" "0"
	Option	    "BlockSignalsOnLock" "on"
	Option	    "UseInternalAGPGART" "yes"
	Option	    "ForceGenericCPU" "no"
# === my options ===
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "ATI Graphics Adapter"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1440x900"
	EndSubSection
EndSection

Section "DRI"

# Access to OpenGL ICD is allowed for all users:
# Access to OpenGL ICD is restricted to a specific user group:
#    Group 100    # users
#    Mode 0660
	Mode         0666
EndSection

Last edited by mixtr; 06-04-2007 at 04:05 PM.
 
Old 06-09-2007, 02:50 PM   #2
mixtr
Member
 
Registered: Jul 2004
Location: Ottawa
Distribution: Arch, OpenBSD
Posts: 123

Original Poster
Rep: Reputation: 17
It turned out that I found a file (/etc/ati/amdpcsdb) that seemed to overwrite the setting in xorg.conf and only enabled CRT1. I edited the file and now things are back to normal.
 
  


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
X display won't fill screen - old laptop zekthedeadcow Slackware 7 09-27-2005 03:41 PM
Display Screen Error on Laptop Bootup cheetahman SUSE / openSUSE 2 05-09-2005 02:10 PM
Sony Laptop Screen / Display Settings ebmaster Fedora 11 07-02-2004 10:44 PM
Laptop Split Screen Problems after Display Suspends gendreau Linux - Laptop and Netbook 8 02-16-2004 07:13 PM
Laptop display config'd bad; screen fails (RH9) diamonaj Linux - Newbie 5 01-17-2004 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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