LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   RHEL-4 display problem for philips 150S LCD monitor (https://www.linuxquestions.org/questions/linux-hardware-18/rhel-4-display-problem-for-philips-150s-lcd-monitor-459033/)

shrinivasdevarkonda 06-28-2006 02:29 AM

RHEL-4 display problem for philips 150S LCD monitor
 
Hi,
I am unable to do the setting of my display in 1024X768 for linux (RHEL-AS -4) only.For any windows os its working perfectly.I have done all the display settings from frontend and from backend i mean file /etc/X11/xorg.conf.but its not working.
It was working previously.Please help me regarding this as "800X600" resolution is very bad.


The details are as follows:

monitor : philips 150S -15 inch
OS : RHEL-4
videocard : Intel 810
cpu : Intel 845

Lenard 06-28-2006 05:41 AM

As root simply (your choice of text editor) edit the /etc/X11/xorg.conf file and add the resolution, sample section of the file below;

Code:

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


Or you could from runlevel 3 (init 3) as root type something like;

system-config-display --reconfigure --set resloution 1024x768 --set depth 24

shrinivasdevarkonda 07-21-2006 09:07 AM

but its not working.I have checked all options but its of no use.I think Intel VGA onBoard video drivers is not supporting or KErnel is not supporting.One case is that drivers are needed for kernel version 2.6.9-EL which is not available on net.

Lenard 07-21-2006 11:07 AM

Questions:
1. What hardware do you have???
2. Which kernel exactly???
3. What version of the xorg rpms are installed???
4. What does your /etc/x11/xorg.conf file look like??

The commands to help you answer the quiestions:

/sbin/lspci -v
/bin/rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'kernel*' 'xorg-x11*' | sort
/bin/cat /etc/x11/xorg.conf

shrinivasdevarkonda 07-22-2006 03:10 AM

RHEL-4 display problem for philips 150s LCD
 
The details are as follows:


00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
Flags: bus master, fast devsel, latency 0
Memory at e0000000 (32-bit, prefetchable) [size=64M]
Capabilities: [e4] Vendor Specific Information

00:02.0 VGA compatible controller: Intel Corp. 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03) (prog-if 00 [VGA])
Subsystem: Intel Corp. 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at d0000000 (32-bit, prefetchable) [size=128M]
Memory at dff80000 (32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 1


Kernal :

2.6.9-5.EL

RPMS of Xorg :

kernel-2.6.9-5.EL.i686.rpm
kernel-devel-2.6.9-5.EL.i686.rpm
kernel-hugemem-devel-2.6.9-5.EL.i686.rpm
kernel-smp-devel-2.6.9-5.EL.i686.rpm
kernel-utils-2.4-13.1.48.i386.rpm
xorg-x11-6.8.1-23.EL.i386.rpm
xorg-x11-deprecated-libs-6.8.1-23.EL.i386.rpm
xorg-x11-deprecated-libs-devel-6.8.1-23.EL.i386.rpm
xorg-x11-devel-6.8.1-23.EL.i386.rpm
xorg-x11-font-utils-6.8.1-23.EL.i386.rpm
xorg-x11-libs-6.8.1-23.EL.i386.rpm
xorg-x11-Mesa-libGL-6.8.1-23.EL.i386.rpm
xorg-x11-Mesa-libGLU-6.8.1-23.EL.i386.rpm
xorg-x11-tools-6.8.1-23.EL.i386.rpm
xorg-x11-twm-6.8.1-23.EL.i386.rpm
xorg-x11-xauth-6.8.1-23.EL.i386.rpm
xorg-x11-xdm-6.8.1-23.EL.i386.rpm
xorg-x11-xfs-6.8.1-23.EL.i386.rpm

file : /etc/x11/xorg.conf contents :


# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
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 "Philips 150S"
DisplaySize 300 230
HorizSync 30.0 - 63.0
VertRefresh 56.0 - 76.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "i810"
VendorName "Videocard vendor"
BoardName "Intel 845"
EndSection

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

Section "DRI"
Group 0
Mode 0666
EndSection

==========================================================

In above file Depth 16/24 is not working which is the resolution mode of millienium colors for PHILIPS 150S LCD.

Thanks,
Shrinivas.



Quote:

Originally Posted by Lenard
Questions:
1. What hardware do you have???
2. Which kernel exactly???
3. What version of the xorg rpms are installed???
4. What does your /etc/x11/xorg.conf file look like??

The commands to help you answer the quiestions:

/sbin/lspci -v
/bin/rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'kernel*' 'xorg-x11*' | sort
/bin/cat /etc/x11/xorg.conf


Lenard 07-22-2006 08:22 AM

Since this is an on-board video card increase the shared video memory to the largest value possible (at least 16/32 Megs) and edit the /etc/xorg.conf;

Code:

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


shrinivasdevarkonda 07-29-2006 06:03 AM

No sir,its not working.How to increase on-borad video card shared video memry ? In xorg.conf file i have done the changes as per your specification.but its not owkring.
One more imp thing is that Any windows OS is taking the resolution perfectly but not Redhat linux.


Thanks
Shrinivas.





Quote:

Originally Posted by Lenard
Since this is an on-board video card increase the shared video memory to the largest value possible (at least 16/32 Megs) and edit the /etc/xorg.conf;

Code:

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



anomie 01-22-2008 09:09 AM

Quote:

Originally Posted by Lenard
Since this is an on-board video card increase the shared video memory to the largest value possible (at least 16/32 Megs)...

I know it's terrible form to dig up old threads, but I had to say "thanks" for the tip. I had a RHEL workstation with xorg not playing nice and this was the problem. This fix saved me from a prolonged headache.

Lenard 01-22-2008 10:10 AM

Your forgiven..............Glad to help.


All times are GMT -5. The time now is 01:39 AM.