Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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
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?)..
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)
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)
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.
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)
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!!!
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.