Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Screen Resolution only 640x480.[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
nzPenguin
n00b
n00b


Joined: 24 Feb 2012
Posts: 3

PostPosted: Fri Feb 24, 2012 11:31 am    Post subject: Screen Resolution only 640x480.[SOLVED] Reply with quote

Hi,

Sorry newbie here, So i'm running brand new install with Xfce4 for my DE but I only have 640x480 resolution, My PC is an old dell office computer with intel onboard gfx and a 15" LCD. I've googled and played around with xorg.conf but cannot figure out how to get it to work. Here's my make.conf and xorg.conf:

Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j2"
INPUT_DEVICES="evdev keyboard mouse"
VIDEO_CARDS="vesa intel"
USE="32bit 3dfx 64bit X a52 aac acpi alsa apng branding bzip2 cairo cdr
     consolekit d3d dbus dmx dri dts dvd dvdr emboss encode exif fam firefox
     flac fontconfig gif gpm gtk hal jpeg kdrive lcms ldap libkms libnotify
     mad mikmod minimal mng mp3 mp4 mpeg ogg opengl pango pdf png ppds python
     qt3support qt4 sdl sna spell startup-notification static-libs svg tiff
     truetype tslib unicode usb vlc vorbis x264 xcb xml xnest xorgmodule
     xscreensaver xulrunner xv xvid -doc"

And xorg.conf
Code:
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   Screen      1  "Screen1" RightOf "Screen0"
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
   Load  "glx"
   Load  "record"
   Load  "dbe"
   Load  "extmod"
   Load  "dri"
   Load  "dri2"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

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

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

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "LinearFramebuffer"     # [<bool>]
        #Option     "Tiling"                # [<bool>]
        #Option     "XvPreferOverlay"       # [<bool>]
        #Option     "ColorKey"              # <i>
        #Option     "VideoKey"              # <i>
        #Option     "HotPlug"               # [<bool>]
        #Option     "Throttle"              # [<bool>]
        #Option     "UseRelaxedFencing"     # [<bool>]
        #Option     "UseVmap"               # [<bool>]
        #Option     "ZaphodHeads"           # <str>
        #Option     "DelayedFlush"          # [<bool>]
   Identifier  "Card0"
   Driver      "intel"
   BusID       "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"              # [<bool>]
        #Option     "DefaultRefresh"        # [<bool>]
        #Option     "ModeSetClearScreen"    # [<bool>]
   Identifier  "Card1"
   Driver      "vesa"
   BusID       "PCI:0:2:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth    24
     SubSection     "Display"
         Virtual     1024 768
         Depth       24
         Modes      "800x600@60" "1024x768@60"
          "800x600@56" "640x480@60"
     EndSubSection
EndSection

Section "Screen"
   Identifier "Screen1"
   Device     "Card1"
   Monitor    "Monitor1"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection



Any help is much appreciated, Im lost everything results in blank screen and i gotta hard reset.


Last edited by nzPenguin on Sat Feb 25, 2012 3:34 am; edited 1 time in total
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Fri Feb 24, 2012 11:34 am    Post subject: Reply with quote

Everything you need to know about intel graphics: https://forums.gentoo.org/viewtopic-t-889962-highlight-.html
Back to top
View user's profile Send private message
nzPenguin
n00b
n00b


Joined: 24 Feb 2012
Posts: 3

PostPosted: Fri Feb 24, 2012 1:01 pm    Post subject: Reply with quote

Gusar wrote:
Everything you need to know about intel graphics: https://forums.gentoo.org/viewtopic-t-889962-highlight-.html
I been over that post a few times, my intel drivers load, KMS is enabled. IDK what to do.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Fri Feb 24, 2012 1:19 pm    Post subject: Reply with quote

If you've been over that post, then why do you still have an xorg.conf? Quite a crazy one at that, setting both intel and vesa drivers. Ok, that particular thread doesn't explicitly say to get rid of it. But plenty of other threads do.

Then there's the usual info that's always requested: dmesg, /var/log/Xorg.0.log, possibly kernel config. Use pastebin for those.
Back to top
View user's profile Send private message
Dont Panic
Guru
Guru


Joined: 20 Jun 2007
Posts: 322
Location: SouthEast U.S.A.

PostPosted: Fri Feb 24, 2012 3:47 pm    Post subject: Reply with quote

I also have an old-ish Dell Optiplex 745 with i915 graphics.

At first, I was also stuck with low resolution.

My Dell could not probe my monitor's capabilities, and was defaulting to the lowest value.

I was told by some that I would not have had my problem if I'd been using an LCD monitor instead of a CRT.

I would do as Gusar suggests: move your xorg.conf, and see if X11 starts without any xorg.conf.

In my case, I did need an xorg.conf to provide my Monitor's capabilities. I was lucky enough to have other video cards that had used this monitor, and I could cut-n-paste the "Monitor" section of my xorg.conf file from those builds.

If you can't get X11 working correctly without an xorg.conf, you should probably rebuild your xorg.conf from scratch using 'X -configure'. You might need to do some Googling to find the proper settings to populate your "Monitor" section in your xorg.conf.
Back to top
View user's profile Send private message
nzPenguin
n00b
n00b


Joined: 24 Feb 2012
Posts: 3

PostPosted: Sat Feb 25, 2012 3:11 am    Post subject: Reply with quote

Fixed it now, Not 100% sure what fixed it, but it works now
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum