LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-30-2006, 04:19 AM   #1
windycity_linux
Member
 
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Rep: Reputation: 15
Lightbulb X server / GUI hangs


I am using a Dell Poweredge SC430 to dual boot with win xp and redhat ES. I am having trouble after the installation to start the graphical mode (the screen gets disorted and the system hangs). I can use the text mode (INIT3) without any problem. but even from the text mode if i type startx the screen gets disorted and system hangs also.

I have ATI pci graphics card i believe 128mb, i have also an integrated video memory (but that is disables in bios).

new to linux - any help will be appreciated.

thanks
 
Old 11-30-2006, 10:20 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
The system is probably not hung.. just the Graphical interface.
If you startx and it doesn' work you can try using CTRL+ALT+BACKSPACE to kill the X server and return to a Text prompt. that should help you avoid an uneccesary hard restart on the system.

sounds like a simple X configuration issue. most likely incorrect monitor settings.

http://www.redhat.com/docs/manuals/e.../s1-video.html

You could try redhats Configuration utility.. system-config-xfree86

A good piece of information to have on hand is the Horizontal and Vertical refresh rates for your monitor.. you can look these up in the owners manual or on the manufacturers website. if the refresh settings aren't correct you will get no usefull video.
 
Old 12-01-2006, 01:51 AM   #3
windycity_linux
Member
 
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Original Poster
Rep: Reputation: 15
i did try ctrl+alt+backspace but no respond (nothing happens). I have to hard restart.
Can i use system-config-xfree86 from text mode?
Also is there any way to adjust the screen resolution from text mode?

thanks for your help
 
Old 12-01-2006, 01:53 AM   #4
windycity_linux
Member
 
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Original Poster
Rep: Reputation: 15
sorry i posted befor checking the link. Now i know i can start a minimal X session from text mode using system-config-xfree86
 
Old 12-01-2006, 04:02 AM   #5
windycity_linux
Member
 
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Original Poster
Rep: Reputation: 15
OK this is weird
I am getting the following error:
system-config-xfree86
-bash: system-config-xfree86: command not found

if I type system-config-display system hangs again. The screen is disorted and it does not respond to any command (including ctrl+alt+backspace)
I did edit the /etc/X11/xorg.conf file to use the resoulation 1024X768 but still the same problem.

however I did manage to startx on the system but this may not be the most appropriate method, i know my method is kinda crude, but here it goes any way:
i remotely logged on to the system from another pc using ssh. then i typed system-config-xfree86, but i got an error that command not found. then i typed system-config-display. I saw the display configuration interface came up on the trouble pc and I configured to use lower resolation 1024X768 and color depth to thousands of color. NOW the X start no problem.

I have copied the terminal below. any insight will be appreciated.

"[root@linuxtest ~]# ssh 192.168.0.100
The authenticity of host '192.168.0.100 (192.168.0.100)' can't be established.
RSA key fingerprint is 6a:04:90:16:d5:f9:9c:63:ad:a0:08:dd:76:e1:11:f6.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.100' (RSA) to the list of known hosts.
root@192.168.0.100's password:
Last login: Fri Dec 1 02:45:20 2006
[root@test ~]# system-config-xfree86
-bash: system-config-xfree86: command not found
[root@test ~]# system-config-xfree86
-bash: system-config-xfree86: command not found
[root@test ~]# system-config-desktop
-bash: system-config-desktop: command not found
[root@test ~]# system-config-display
Trying with card: ATI Radeon 7000
Window manager warning: Lost connection to the display ':17.0';
most likely the X server was shut down or you killed/destroyed
the window manager."
 
Old 12-01-2006, 10:52 AM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
If decreasing the resolution and color depth got you an image then you should be set to go..

Did you check the Monitor refresh settings in xorg.conf as I suggested ?
I believe the monitor refresh rates are what causes most X configurations to fail.

Dunno what to tell you about the command not found.. as ytou can see by the link I provided I got that command right from RedHats docs.. Oh well.. guess when they switched from Xfree86 to Xorg they changed the command, heh

I prefer to just edit my X configurations manually at this point.. it just seems easier. and besides most times you REALLY need to fix a graphics problem is when it's not working and you can't use the GUI tools to adjust it anyway.

So everything is working now then I take it ?
 
Old 12-01-2006, 11:35 AM   #7
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
If X fails for some reason, you can usually find useful information in the X logfile. This is usually in /var/log/Xorg.0.log (if there is one with 1 instead of 0, it is from the last-but-one run of X).

Errors start with (EE), warnings with (WW), and diagnostic messages with (II).

In my experience, X problems can sometimes cause the whole system lock up (press num and caps lock - if the LED indicators don't toggle, you're usually hosed). Whenever this has happened to me, it's been with the proprietary graphics drivers from Nvidia. I can only assume this is caused by bugs in their drivers. I don't have experience with the ATI drivers, so I can't speak to their reliability.

*sigh* I wish nvidia would open their drivers.
 
Old 12-01-2006, 02:38 PM   #8
windycity_linux
Member
 
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Original Poster
Rep: Reputation: 15
farslayer - yes every is working now

thank u all for ur help
 
Old 12-05-2006, 04:23 PM   #9
windycity_linux
Member
 
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Original Poster
Rep: Reputation: 15
ATI Raedon 7000 Xserver/GUI hangs, System Locks up

well the problem came back - i dont know what happened it worked by lowering the resoulation to 1024x768 for few times but now the machine locks up (pressing NUM or Caps Lock wont change the LED light) with a disorted screen and i have hard restart the machine. Also my montior (DELL 196FP LCD monitor) does not support 800x600 resoulation - thats the warning i am getting if i lower the resoulation to 800x600 and then i get a blank screen.
According to dell the Max Sync Rate is (V x H) 76 Hz x 81 kHz.

here is the last 20% of the log file:
(--) RADEON(0): Virtual size is 1024x768 (pitch 1024)
(**) RADEON(0): *Default mode "1024x768": 78.8 MHz, 60.1 kHz, 75.1 Hz
(II) RADEON(0): Modeline "1024x768" 78.80 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
(**) RADEON(0): Display dimensions: (340, 270) mm
(**) RADEON(0): DPI set to (76, 72)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.2
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 0.1.0
ABI class: X.Org Video Driver, version 0.7
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.2.0
ABI class: X.Org Video Driver, version 0.7
(II) RADEON(0): Depth moves disabled by default
(II) Loading sub module "shadowfb"
(II) LoadModule: "shadowfb"
(II) Loading /usr/X11R6/lib/modules/libshadowfb.a
(II) Module shadowfb: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.2
(II) RADEON(0): Page flipping disabled
(!!) RADEON(0): For information on using the multimedia capabilities
of this adapter, please see http://gatos.sf.net.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
[0] 0 0 0xdfaf0000 - 0xdfafffff (0x10000) MX[B]
[1] 0 0 0xd0000000 - 0xd7ffffff (0x8000000) MX[B]
[2] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[3] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[4] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[5] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[6] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[7] -1 0 0xdfdf0000 - 0xdfdfffff (0x10000) MX[B]
[8] -1 0 0xdff3fc00 - 0xdff3ffff (0x400) MX[B]
[9] -1 0 0xffa80800 - 0xffa80bff (0x400) MX[B]
[10] -1 0 0xdfb00000 - 0xdfb1ffff (0x20000) MX[B](B)
[11] -1 0 0xdfaf0000 - 0xdfafffff (0x10000) MX[B](B)
[12] -1 0 0xd0000000 - 0xd7ffffff (0x8000000) MX[B](B)
[13] -1 0 0xde000000 - 0xdeffffff (0x1000000) MX[B](B)
[14] -1 0 0xdff40000 - 0xdff7ffff (0x40000) MX[B](B)
[15] -1 0 0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
[16] -1 0 0xdff80000 - 0xdfffffff (0x80000) MX[B](B)
[17] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprU)
[18] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprU)
[19] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprU)
[20] 0 0 0x0000dc00 - 0x0000dcff (0x100) IX[B]
[21] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[22] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[23] -1 0 0x0000d8e0 - 0x0000d8ff (0x20) IX[B]
[24] -1 0 0x0000ece0 - 0x0000ecff (0x20) IX[B]
[25] -1 0 0x0000fea0 - 0x0000feaf (0x10) IX[B]
[26] -1 0 0x0000fe30 - 0x0000fe33 (0x4) IX[B]
[27] -1 0 0x0000fe20 - 0x0000fe27 (0x8) IX[B]
[28] -1 0 0x0000fe10 - 0x0000fe13 (0x4) IX[B]
[29] -1 0 0x0000fe00 - 0x0000fe07 (0x8) IX[B]
[30] -1 0 0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
[31] -1 0 0x00000374 - 0x00000374 (0x1) IX[B]
[32] -1 0 0x00000170 - 0x00000170 (0x1) IX[B]
[33] -1 0 0x000003f4 - 0x000003f4 (0x1) IX[B]
[34] -1 0 0x000001f0 - 0x000001f0 (0x1) IX[B]
[35] -1 0 0x0000ff20 - 0x0000ff3f (0x20) IX[B]
[36] -1 0 0x0000ff40 - 0x0000ff5f (0x20) IX[B]
[37] -1 0 0x0000ff60 - 0x0000ff7f (0x20) IX[B]
[38] -1 0 0x0000ff80 - 0x0000ff9f (0x20) IX[B]
[39] -1 0 0x0000dc00 - 0x0000dcff (0x100) IX[B](B)
[40] -1 0 0x0000ecd8 - 0x0000ecdf (0x8) IX[B](B)
[41] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
[42] 0 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(==) RADEON(0): Write-combining range (0xd0000000,0x4000000)
(II) RADEON(0): Dynamic Clock Scaling Disabled
(WW) RADEON(0): Direct Rendering is disabled by default on Radeon VE/7000
hardware due to instability, but has been forced on with
"Option "dri" in xorg.conf. You may experience instability.
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci:0000:04:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:04:02.0
(II) RADEON(0): [drm] loaded kernel module for "radeon" driver
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:04:02.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xf88f6000
(II) RADEON(0): [drm] mapped SAREA 0xf88f6000 to 0xb3ee8000
(II) RADEON(0): [drm] framebuffer handle = 0xd0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [pci] 8192 kB allocated with handle 0xf8b82000
(II) RADEON(0): [pci] ring handle = 0xf8b82000
(II) RADEON(0): [pci] Ring mapped at 0xb3de7000
(II) RADEON(0): [pci] Ring contents 0x00000000
(II) RADEON(0): [pci] ring read ptr handle = 0xf8c83000
(II) RADEON(0): [pci] Ring read ptr mapped at 0xb3de6000
(II) RADEON(0): [pci] Ring read ptr contents 0x00000000
(II) RADEON(0): [pci] vertex/indirect buffers handle = 0xf8c84000
(II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0xb3be6000
(II)RADEON(0): [pci] Vertex/indirect buffers contents 0x00000000
(II) RADEON(0): [pci] GART texture map handle = 0xf8e84000
(II) RADEON(0): [pci] GART Texture map mapped at 0xb3706000
(II) RADEON(0): [drm] register handle = 0xdfaf0000
(II) RADEON(0): [dri] Visual configs initialized
(II) RADEON(0): CP in BM mode
(II) RADEON(0): Using 8 MB GART aperture
(II) RADEON(0): Using 1 MB for the ring buffer
(II) RADEON(0): Using 2 MB for vertex/indirect buffers
(II) RADEON(0): Using 5 MB for GART textures
(II) RADEON(0): Memory manager initialized to (0,0) (1024,8191)
(II) RADEON(0): Reserved area from (0,768) to (1024,770)
(II) RADEON(0): Largest offscreen area available: 1024 x 7421
(II) RADEON(0): Will use back buffer at offset 0xc00000
(II) RADEON(0): Will use depth buffer at offset 0xf00000
(II) RADEON(0): Will use 47104 kb for textures at offset 0x1200000
(II) RADEON(0): Render acceleration disabled
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Lines
Dashed Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
16 512x512 slots
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 770)
(II) RADEON(0): Largest offscreen area available: 1024 x 7417
(**) Option "dpms"
(**) RADEON(0): DPMS enabled
(II) RADEON(0): X context handle = 0x00000001
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialized, using IRQ 201
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
(II) RADEON(0): Direct rendering enabled
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(**) Option "Protocol" "IMPS/2"
(**) Mouse0: Device: "/dev/input/mice"
(**) Mouse0: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/input/mice"
(**) Option "Emulate3Buttons" "yes"
(**) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 5
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) Mouse0: ps2EnableDataReporting: succeeded
AUDIT: Tue Dec 5 14:41:11 2006: 3736 X: client 5 rejected from local host
 
Old 12-05-2006, 04:24 PM   #10
windycity_linux
Member
 
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Original Poster
Rep: Reputation: 15
here is the etc/X11/xorg.conf file:
# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Dell E193FP"
DisplaySize 340 270
HorizSync 60.0 - 81.0
VertRefresh 56.0 - 76.0

EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon 7000"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
 
Old 12-05-2006, 11:16 PM   #11
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Just out of curiosity where did you get the low end refresh rates for your monitor ?
here are the rates for mine.. My LCD is not a dell, but notice the wider (lower) range of values on the horizontal refresh..

Code:
Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "DPMS"
        HorizSync       30-82
        VertRefresh     50-76
EndSection
I see Dells lousy spec page doesn't bother to give you the Range for each value only the MAX value of each.. **sigh**

This is also probably the reason you can't get 800x600 to work, your horizontal refresh rate probably doesn't go low enough..

But if it works occasionally I would think something else is causing the X lockup issues.


I wonder if this message in your Log might indicate antything.. you could try commenting our DRI in the load modules section and see if it makes a difference

# Load "dri"
Quote:
(WW) RADEON(0): Direct Rendering is disabled by default on Radeon VE/7000 hardware due to instability, but has been forced on with "Option "dri" in xorg.conf. You may experience instability.
Also the native resolution for you montor is 1280x1024 so you may want to modify your config so you can run the screen at it's native resolution.. It tends to look best when it's not doing scaling and it displays one screen pixel on one LCD pixel.. imho

Code:
Section "Screen"
        Identifier      "Default Screen"
        Device          "NVIDIA Corporation NV20 [GeForce3]"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           16
                Modes           "1280x1024" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1024x768" "800x600"
        EndSubSection
EndSection

You may want to enable DPMS on your monitor as well.. heres an explaination of what it's for (power management)...
http://linuxreviews.org/howtos/power/xorg_dpms/


Let us know if this helps to resolve your issues..
 
Old 12-06-2006, 12:32 AM   #12
windycity_linux
Member
 
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Original Poster
Rep: Reputation: 15
thanks for ur reply - with my sheer fraustation to get this thing working i was playing with /etc/X11/xorg.conf file thats when i remove the "dpm" option and change the HorizSync 60.0 - 81.0 from lower resoulation.

anyway it seems things are working (X is working fine) for now with commenting out DRI. may be that is the problem. I commmented out the DRI at "Section Module #Load dri" is that where I suppose to do or at the bottom of the page "Section "DRI" there?
And it is runnig at 1280x1024. Thanks again for your help.

here is the /etc/X11/xorg.conf file:
# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
# Load "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Dell E193FP"
DisplaySize 340 270
HorizSync 30.0 - 81.0
VertRefresh 50.0 - 76.0
Option "dpms"

EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon 7000"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
 
Old 12-06-2006, 04:07 PM   #13
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Where you did it is correct.. it should ignore the section "DRI" at the bottom of the config because the module isn't being loaded..

Hope that's all it was !!



Have you tried 1280 x 1024 resolution yet ?

The reason I ask is that an LCD monitor is just like a piece of graph paper 1280 Pixels wide by 1024 Pixels high. by running in 1024x768 resolution you are splitting graphical pixels across hardware pixels and well hardware pixels don't resize.

Lets compare 1280x1024 and 1024x768 resolutions

1280/1024 = 1.25
1024/768 = 1.333

So every Graphical pixel is split across 1.25 Physical pixels horizontally and 1.33 pixels vertically.. which imho makes for an image that's not so crisp because an LCD just can't resize and split physical pixels between different colors. which is why I'm recommending for a sharp image you try the native resolution of the monitor.

your call.

Last edited by farslayer; 12-07-2006 at 08:41 AM.
 
Old 12-07-2006, 04:49 AM   #14
windycity_linux
Member
 
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Original Poster
Rep: Reputation: 15
yes i am using 1280x1024 resolution and it is working fine so far. Seems like unloading dri module solve the problem - well i hope so at least.
 
Old 12-07-2006, 09:16 AM   #15
flatracer
LQ Newbie
 
Registered: Apr 2006
Posts: 7

Rep: Reputation: 0
I had a similar problem after installing Mandriva 2007. My Dell LCD didn't like the resolution and refresh rate, and would hang after boot. My quick fix was to put in the install disk, pick update, cancel the update to get to the last install screen, then play with the monitor settings until one worked correctly.
 
  


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
boot hangs on configuring kernal parameters / no GUI Dalby Fedora - Installation 0 09-24-2005 11:53 AM
GUI Login Hangs gsoft Fedora 1 06-10-2005 06:10 PM
FC3 GUI Login then hangs gibbylinks Fedora 1 12-21-2004 02:37 PM
GUI hangs tomislavp Fedora 4 08-24-2004 11:10 AM
Linux Redhat 7.3 Hangs When Loading the GUI Login QmanV2 Red Hat 11 09-17-2003 04:59 PM


All times are GMT -5. The time now is 10:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration