LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-02-2003, 05:16 PM   #1
Assassin
Member
 
Registered: Nov 2003
Location: UK
Distribution: Mandrake 9.2
Posts: 37

Rep: Reputation: 15
Is this a Hardware problem ?


I'm having a problem with my display.

The resolution is set to 1024x768 and this appears to be working correctly. My monitor is set to the correct value in the monitors list, its a Dell E772p capable of running at 1024x768. Everything appears correctly, yet my monitor screen is actually running at 640x480 although the desktop size is 1024x768, this means I have to move the mouse around in order to see the sections of the display that are off screen.

My Newbie Forum Post

Is this a hardware problem, or is there a way to fix it ?
 
Old 12-02-2003, 07:03 PM   #2
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
setting in /etc/X11/XF86Config-4, not hardware
2 ways to fix:
A. (NOT generally for newbies)edit /etc/X11/XF86Config-4 ; comment all lines that begin Virtual
B XFdrake - probably available from menu
 
Old 12-03-2003, 10:02 AM   #3
Assassin
Member
 
Registered: Nov 2003
Location: UK
Distribution: Mandrake 9.2
Posts: 37

Original Poster
Rep: Reputation: 15
I tried editting the XF86Config-4 file but it just forced the screen to only shown me 640x480 corner of the 1024x768 screen.

I have already tried using XFdrake and it correctly shows the Video Card, Monitor 1024x768 resolution but I still get the problem with the monitor only running at 640x480

Last edited by Assassin; 12-03-2003 at 10:06 AM.
 
Old 12-03-2003, 12:06 PM   #4
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
This is part of my /etc/X11/XF86Config-4

Section "Screen"
Identifier "Screen AGP"
Device "NV AGP"
Monitor "MyMonitor"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024" "1152x864" "800x600" "640x400"
EndSubsection

Note Modes (typically 3/4 of these) - This contains the "prreferred order" for screen res. Check yours.
There is also a CTR-ALT XX sequence to cycle through these modes. I do not recall
what XX is (maybe PgUp?)..

Also, comment out any ViewPort entries in config
 
Old 12-03-2003, 01:09 PM   #5
Assassin
Member
 
Registered: Nov 2003
Location: UK
Distribution: Mandrake 9.2
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Modes "1280x1024" "1152x864" "800x600" "640x400"
Thanks for that I'll give it a try

I tried commenting out the lines mentioning Virtual, and also tried it removing the word virtual but then it wouldn't boot. I'll give Modes a try in the morning (work PC)

Thanks
 
Old 12-03-2003, 01:39 PM   #6
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
looks like
Virtual 800 600
and
ViewPort 0 0
 
Old 12-03-2003, 02:49 PM   #7
Assassin
Member
 
Registered: Nov 2003
Location: UK
Distribution: Mandrake 9.2
Posts: 37

Original Poster
Rep: Reputation: 15
Whats the ViewPort for ?

I don't remember seeing that.

It was set to Virtual 1024x768 in each of the sections I think there was 4 sections 1 each for Display 8 Display 15 Display 16 and Display 24
 
Old 12-03-2003, 02:58 PM   #8
GrapeApe
Member
 
Registered: Nov 2003
Distribution: Mandrake 9.2
Posts: 57

Rep: Reputation: 15
shortcut for changing resolutions= ctrl-alt + or -
 
Old 12-03-2003, 05:42 PM   #9
Assassin
Member
 
Registered: Nov 2003
Location: UK
Distribution: Mandrake 9.2
Posts: 37

Original Poster
Rep: Reputation: 15
So if I add the line Viewport 0 0 I will be able to use the CTRL ALT + / - to change resolutions.

Where abouts in the XF86Config-4 file does it go ?
 
Old 12-03-2003, 06:48 PM   #10
GrapeApe
Member
 
Registered: Nov 2003
Distribution: Mandrake 9.2
Posts: 57

Rep: Reputation: 15
i don't know anything about viewport........i believe the CTRL ALT +/- command switches through the modes in this section:

Section "Screen"
Driver "svga"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubsection
EndSection

my default color depth is 24 so i think ctrl alt +/- would cycle through the modes listed in that section(not sure though). if your card and monitor are listed as being able to handle the different modes and resolutions ctrl alt +/- should cycle through them. i may be wrong on this (i'm pretty new with linux) but i am pretty sure that adding a viewport line wouldn't enable the ctrl alt +/- shortcut. i didn't need to do anything like that to use this function. if the CTRL ALT +/- doesn't work for you the only other things i can think of is to make sure that your drivers are up to date and to also maybe check that you somehow didn't accidently start some accesibility program (like magnifier)
 
Old 12-03-2003, 08:19 PM   #11
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
man XF86Config

ViewPort x0 y0
This optional entry sets the upper left corner of the initial display. This is only relevant when the virtual
screen resolution is different from the resolution of the initial video mode. If this entry is not given, then
the initial display will be centered in the virtual display area.
 
Old 12-03-2003, 08:30 PM   #12
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
Just so you know..
Any hardware problem you think you might have:

http://www.knoppix.org/

It's a live CD, just boot off of it, and it will set itself up. If things work with it, then it's not a hardware problem, and it is supported by Linux. If not, it's either a hardware problem, or not supported. (probably a hardware problem)
 
Old 12-03-2003, 08:32 PM   #13
GrapeApe
Member
 
Registered: Nov 2003
Distribution: Mandrake 9.2
Posts: 57

Rep: Reputation: 15
arnold:
thx. that's good to know what that actually does. it might finally solve the video problems i'm having on an old laptop (Red Hat 6.0). and now i do know something about viewport!!!
 
Old 12-04-2003, 04:30 AM   #14
Assassin
Member
 
Registered: Nov 2003
Location: UK
Distribution: Mandrake 9.2
Posts: 37

Original Poster
Rep: Reputation: 15
I have already tried the Knoppix CD teval and it gave the same problems with the video


I have tried the modes option and it gives me a 1024x768 screen but the monitor is still stuck at 640x480 as it not Virtual I now cannot navigate around the screen and can only see approx a quarter of the screen.


Here's my XF86Confitg-4 file

Code:
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
    #DontZap # disable <Crtl><Alt><BS> (server abort)
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 "DRI"
    Mode 0666
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "gb"
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "PS/2"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons"
    Option "Emulate3Timeout" "50"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Dell"
    ModelName "Dell E772p"
    HorizSync 30.0-70.0
    VertRefresh 50.0-160.0
    
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "Intel Corporation"
    BoardName "Intel 865"
    Driver "i810"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 16
    
    Subsection "Display"
        Depth 8
        Virtual 1024 768
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Virtual 1024 768
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Virtual 1024 768
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Virtual 1024 768
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen "screen1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
EndSection
Can you see anything wrong that might be causing the monitor to stay at 640x480 ?


I have also tried it with

Modes "1024x768" "800x600" "640x480"
inplace of the Virtual 1024 768 lines

Thanks
 
Old 12-04-2003, 04:33 AM   #15
Assassin
Member
 
Registered: Nov 2003
Location: UK
Distribution: Mandrake 9.2
Posts: 37

Original Poster
Rep: Reputation: 15
just spotted this line after posting the above

ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync


shouldn't this be

Modeline "1024x768" etc etc

 
  


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
Sound Card problem(every time i install linux i have diffirent hardware problem) jacka1l Linux - Newbie 7 08-11-2005 06:10 AM
Is it a hardware problem???? newbie007007 Linux - Hardware 2 07-19-2005 09:20 PM
Burning cd trouble: hardware problem or software problem argt Linux - Hardware 2 04-20-2005 05:27 PM
Internet and LAN access is unstable-is this a hardware problem or a software problem? soren625 Linux - Networking 1 06-07-2004 06:43 AM
Not as much of a Solaris problem rether hardware Ultra 10 problem (video card) neo77777 Solaris / OpenSolaris 7 06-24-2003 08:36 PM

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

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