LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-08-2005, 11:30 AM   #1
jfall
Member
 
Registered: Oct 2002
Location: PEI
Distribution: Slackware
Posts: 56

Rep: Reputation: 15
X locking when switching back to console


Thanks to this great forum, I have finally got mostly everything on my laptop working in Slackware, I faught with the ATI driver for days. I got the ATI driver working after upgrading to kernel 2.6.10 and am currently getting over 4,500FPS in glxgears.

One problem remains. When I am in X I cannot go back to the console using CTRL + ALT + F1 for example, I get a black screen and my computer locks. I first thought it may have been a problem with frame buffer, so I recompiled my kernel without it, but the problem continued.

If I do not load the FGLRX driver before starting X everything works fine, I can switch back to the console without issues. This leads me to believe that there is a problem with the FGLRX driver on my system.

System Info:
Averatec 6100HS, P4 3ghz HT, 512DDR, Radeon Mobility 9600 M10
Slackware 10 current, Kernel 2.6.10, Xorg 6.8.1
Have a SIS chipset, kernel is compiled for sis_agpgart support.

I have patched the fglrx driver with the 2.6.10 patch before compiling it.

Below is my xorg config:

Code:
Section "dri"
	Mode 0666
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		"glx"   # libglx.a
	Load		"dri"   # libdri.a

EndSection

Section "Files"

	RgbPath	 "/usr/X11R6/lib/X11/rgb"
	FontPath   "/usr/X11R6/lib/X11/fonts/local/"
	FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
	FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
	ModulePath "/usr/X11R6/lib/modules"

EndSection

Section "ServerFlags"

EndSection

Section "InputDevice"

	Identifier  "Keyboard0"
	Driver	  "kbd"

EndSection

Section "InputDevice"

	Identifier  "Mouse1"
	Driver "mouse"
	Option "Protocol"   "IMPS/2"
	Option "ZAxisMapping"   "4 5"
	Option "Device"	 "/dev/input/mice"

EndSection


#Section "Monitor"
#	Identifier  "Monitor0"
#	HorizSync   31.5
#	VertRefresh 20 - 60
#	Option "DPMS"

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


Section "Device"
    Identifier						  "ATI Graphics Adapter"
    Driver							  "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option							  "NoDDC"
# === disable/enable XAA/DRI ===
	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
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
	Option "DesktopSetup"			   "0x00000000"
	Option "MonitorLayout"			  "AUTO, AUTO"
	Option "IgnoreEDID"				 "off"
	Option "HSync2"					 "unspecified"
	Option "VRefresh2"				  "unspecified"
	Option "ScreenOverlap"			  "0"
# === TV-out Management ===
	Option "NoTV"					   "yes"
	Option "TVStandard"				 "NTSC-M"
	Option "TVHSizeAdj"				 "0"
	Option "TVVSizeAdj"				 "0"
	Option "TVHPosAdj"				  "0"
	Option "TVVPosAdj"				  "0"
	Option "TVHStartAdj"			    "0"
	Option "TVColorAdj"				 "0"
	Option "GammaCorrectionI"		   "0x00000000"
	Option "GammaCorrectionII"		  "0x00000000"
# === OpenGL specific profiles/settings ===
	Option "Capabilities"			   "0x00000000"
# === Video Overlay for the Xv extension ===
	Option "VideoOverlay"			   "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#	   will be disabled automatically
	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"		 "no"
	Option "ForceGenericCPU"			"no"
	BusID "PCI:1:0:0"	# vendor=1002, device=4e50
	Screen 0
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
	Identifier  "Screen0"
	Device	  "ATI Graphics Adapter"
	Monitor	 "Monitor0"
	DefaultDepth 24
	#Option "backingstore"

	Subsection "Display"
		Depth	   24
		Modes	   "1280x1024"
		ViewPort	0 0  # initial origin if mode is smaller than desktop
#		Virtual	 1280 1024
	EndSubsection
EndSection

Section "ServerLayout"

	Identifier  "Server Layout"
	Screen "Screen0"
	InputDevice "Mouse1" "CorePointer"
	InputDevice "Keyboard0" "CoreKeyboard"

EndSection

### EOF ###
I wonder if it's a problem with using the external AGPgart kernel module instead of internal? I have tried using the internal, however it doesn't work right and ends up using the Mesa drivers.

I'm not sure where to even begin troubleshooting as the computer is locking up.. would any of the logs help me here?

Any advice is appreciated.
 
Old 02-08-2005, 03:51 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
I ran into the same problem myself and I would take another look because it may turn out to be a framebuffer issue. Assuming you're using lilo, edit your lilo.conf file and comment out whatever "vga=" parameter that's active, then uncomment the "vga=normal" entry so it becomes active. Rerun lilo (/sbin/lilo as root) I can't promise that will solve the problem but it's worth a shot. Good luck with it -- J.W.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Screen dim when switching back to X from console shadowsnipes Linux - Laptop and Netbook 3 10-31-2005 10:46 AM
Locking the console -0- Slackware 3 05-23-2005 07:51 PM
Switching Back... ImAnFnNub Linux - Hardware 2 08-17-2004 05:59 AM
Locking Console Screen for Slackware kemplej Linux - Security 1 06-14-2004 02:06 PM
Locking a console Stephanie Linux - General 1 01-18-2002 10:53 AM


All times are GMT -5. The time now is 03:30 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration