Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't change xorg resolution!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
SolidSnakex28
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 269
Location: New York

PostPosted: Fri Jan 06, 2006 4:23 am    Post subject: Can't change xorg resolution! Reply with quote

Where am I supposed to change my xorg resolution? I change it using xorgcfg -textmode and I edit the xorg.conf myself, but it doesn't change. Here's my xorg.conf:

Code:
Section "ServerLayout"
   Identifier     "Layout0"
   Screen      0  "Screen0" 0 0
   InputDevice    "Keyboard0" "CoreKeyboard"
   InputDevice    "Touchpad" "AlwaysCore"
EndSection

Section "Files"
EndSection

Section "Module"
   Load  "freetype"
   # Load "xtt"
   Load  "extmod"
   Load  "glx"
   Load  "dri"
   Load  "dbe"
   Load  "record"
   Load  "xtrap"
   Load  "type1"
   Load  "synaptics"
   # Load  "speedo"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "keyboard"
   Option       "XkbModel" "pc101"
   Option       "XkbLayout" "us"
EndSection

Section "InputDevice"
   Identifier  "TouchPad"
   Driver      "synaptics"
   Option       "Device" "/dev/input/mouse0"
   Option       "Protocol" "auto-dev"
   Option       "LeftEdge" "130"
   Option       "RightEdge" "840"
   Option       "TopEdge" "130"
   Option       "BottomEdge" "640"
   Option       "FingerLow" "7"
   Option       "FingerHigh" "8"
   Option       "MaxTapTime" "180"
   Option       "MaxTapMove" "110"
   Option       "EmulateMidButtonTime" "75"
   Option       "VertScrollDelta" "20"
   Option       "HorizScrollDelta" "20"
   Option       "MinSpeed" "0.60"
   Option       "MaxSpeed" "1.10"
   Option       "AccelFactor" "0.030"
   Option       "EdgeMotionMinSpeed" "200"
   Option       "EdgeMotionMaxSpeed" "200"
   Option       "UpDownScrolling" "1"
   Option       "CircularScrolling" "1"
   Option       "CircScrollDelta" "0.1"
   Option       "CircScrollTrigger" "2"
   Option       "SHMConfig" "on"
   Option       "Emulate3Buttons" "on"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   HorizSync    31.5 - 64.3
   VertRefresh  50.0 - 70.0
EndSection

Section "Device"
   Identifier  "Card0"
   Driver      "vesa"
   ChipSet     "vesa"
   Card        "vesa vesa"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes    "2048x1536"
   EndSubSection
EndSection
Back to top
View user's profile Send private message
r.stiltskin
Apprentice
Apprentice


Joined: 11 Aug 2004
Posts: 227
Location: Brooklyn

PostPosted: Fri Jan 06, 2006 6:11 am    Post subject: Reply with quote

Edit the Modes line in the Screen section of xorg.conf to appropriate values for your monitor (you can list several resolutions). For example (not necessarily appropriate for your monitor):
Modes "1280x1024" "1024x768" "800x600" "640x480"
Back to top
View user's profile Send private message
ZZamboni
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2004
Posts: 96
Location: Zurich, Switzerland

PostPosted: Fri Jan 06, 2006 1:05 pm    Post subject: Reply with quote

r.stiltskin wrote:
Edit the Modes line in the Screen section of xorg.conf to appropriate values for your monitor (you can list several resolutions). For example (not necessarily appropriate for your monitor):
Modes "1280x1024" "1024x768" "800x600" "640x480"


Once you do this and restart X, you should be able to change resolutions either by pressing Ctrl-Alt-Kp+ (Kp+ = the plus key on the numeric keypad), or by using the xrandr command. The difference is that Ctrl-Alt-+ only changes the resolution of the monitor (the "viewport" into your logical desktop), whereas xrandr changes the resolution of the screen (this is, your desktop resizes to the new resolution).
Back to top
View user's profile Send private message
SolidSnakex28
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 269
Location: New York

PostPosted: Fri Jan 06, 2006 11:13 pm    Post subject: Reply with quote

The new resolution I specified in xorg.conf didn't appear in the xrandr options. I can change the resolution, just not to anything I specify in xorg.conf.
Back to top
View user's profile Send private message
SolidSnakex28
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 269
Location: New York

PostPosted: Sat Jan 07, 2006 6:27 pm    Post subject: Reply with quote

Someone's gotta know why...
Back to top
View user's profile Send private message
oracleofmist
Apprentice
Apprentice


Joined: 19 Jun 2004
Posts: 235

PostPosted: Sat Jan 07, 2006 8:09 pm    Post subject: Reply with quote

Code:

Section "ServerLayout"

    Identifier  "Simple Layout"

    Screen "Screen 0"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection


this section isn't posted in your xorg.conf maybe that's why it won't read resolutions from the config file?

especially this part:
Screen "Screen 0"
_________________
Segmentation Fault
Back to top
View user's profile Send private message
SolidSnakex28
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 269
Location: New York

PostPosted: Sun Jan 15, 2006 4:13 pm    Post subject: Reply with quote

Ok, I reinstalled Gentoo a week ago because of other problems, but I still have this issue. I'll repost my xorg.conf, and yes, I've already tried everything else that you guys suggessted. Here's that xorg.conf:

Code:

Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "TouchPad" "AlwaysCore"
        Option "BlankTime" "1"
        Option "StandbyTime" "4"
        Option "Suspend" "8"
        Option "OffTime" "15"
EndSection

Section "Files"
EndSection

Section "Module"
        Load  "freetype"
        # Load "xtt"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "type1"
        # Load  "speedo"
        Load  "synaptics"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbModel" "hp2501"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
  Driver "synaptics"
  Identifier "TouchPad"
  Option "Device" "/dev/input/mouse0"
  Option "Protocol" "auto-dev"
  Option "LeftEdge" "130"
  Option "RightEdge" "840"
  Option "TopEdge" "130"
  Option "BottomEdge" "640"
  Option "FingerLow" "7"
  Option "FingerHigh" "8"
  Option "MaxTapTime" "180"
  Option "MaxTapMove" "110"
  Option "EmulateMidButtonTime" "75"
  Option "VertScrollDelta" "20"
  Option "HorizScrollDelta" "20"
  Option "MinSpeed" "0.60"
  Option "MaxSpeed" "1.10"
  Option "AccelFactor" "0.030"
  Option "EdgeMotionMinSpeed" "200"
  Option "EdgeMotionMaxSpeed" "200"
  Option "UpDownScrolling" "1"
  Option "CircularScrolling" "1"
  Option "CircScrollDelta" "0.1" Option "CircScrollTrigger" "2"
  Option "SHMConfig" "on"
  Option "Emulate3Buttons" "on"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        HorizSync    31.5 - 64.3
        VertRefresh  50.0 - 70.0
        Option "DPMS" "true"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "vesa"
        ChipSet     "vesa"
        Card        "vesa vesa"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1280x1024"
        EndSubSection
EndSection

Section "Extensions"
        Option "Composite" "true"
EndSection


EDIT
I'll include the lspci output too, because I think it's a problem with the card drivers I'm selecting.

Code:
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 04)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
06:05.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
06:06.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
06:06.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
06:06.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
06:06.4 Class 0805: Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD) Controller
06:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Back to top
View user's profile Send private message
r.stiltskin
Apprentice
Apprentice


Joined: 11 Aug 2004
Posts: 227
Location: Brooklyn

PostPosted: Sun Jan 15, 2006 4:49 pm    Post subject: Reply with quote

Out of curiosity, in your kernel configuration, under Device Drivers/Graphics Support, did you select
<> Support for frame buffer devices?

Did you select anything else on that page?
Back to top
View user's profile Send private message
SolidSnakex28
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 269
Location: New York

PostPosted: Sun Jan 15, 2006 5:25 pm    Post subject: Reply with quote

Yeah, I have enabled Support for frame buffer devices, VESA VGA graphics support, and Support for the framebuffer splash. They're not modules, though.
Back to top
View user's profile Send private message
r.stiltskin
Apprentice
Apprentice


Joined: 11 Aug 2004
Posts: 227
Location: Brooklyn

PostPosted: Sun Jan 15, 2006 6:02 pm    Post subject: Reply with quote

I'm no expert, but I have a couple of ideas for things you can try since nobody else seems to be offering anything:

Which kernel did you install? I have gentoo running on a laptop (2.6.13-gentoo-r5) and a desktop (2.6.14-gentoo-r5) and neither one had a specific "Support for the framebuffer splash" line in menuconfig.

Anyway, on my laptop the ONLY item I included under Graphics Support is the first line: <*>Support for frame buffer devices. NOTHING else on that page. On my desktop (which has an Nvidia chipset), I included that first line plus the next [*] Enable Video Mode Handling Helpers. Nothing else. On both machines, that was all that was needed to have the bootsplash working. In fact, the desktop did NOT work when I included "nvidia Framebuffer Support", so having extra items on that page can cause problems. If I were you I'd recompile the kernel with only the basic 'Support for frame buffer devices" & see if that works. (I don't think you need that "VESA VGA graphics support" in order to use the vesa driver in xorg.conf Section "device".) It only takes a few minutes to recompile the kernel, and you can always change it back if necessary.

Also, yours is a laptop, right? Try commenting out the HorizSync and VertRefresh lines in your xorg.conf. Those should not be necessary for an LCD screen. My laptop works fine with this monitor section:
Code:
Section "Monitor"
    Identifier    "Laptop XGA LCD"
    Option    "DPMS"
EndSection
Back to top
View user's profile Send private message
r.stiltskin
Apprentice
Apprentice


Joined: 11 Aug 2004
Posts: 227
Location: Brooklyn

PostPosted: Sun Jan 15, 2006 6:07 pm    Post subject: Reply with quote

Also, you might try expanding your "Screen" section some, like this:
Code:
Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth 24
   SubSection "Display"
      Modes "1280x1024" "1024x768" "800x600" "640x480"
      Depth     1
   EndSubSection
   SubSection "Display"
      Modes "1280x1024" "1024x768" "800x600" "640x480"
      Depth     8
   EndSubSection
   SubSection "Display"
      Modes "1280x1024" "1024x768" "800x600" "640x480"
      Depth     16
   EndSubSection
   SubSection "Display"
      Modes "1280x1024" "1024x768" "800x600" "640x480"
      Depth     24
   EndSubSection
EndSection
Back to top
View user's profile Send private message
r.stiltskin
Apprentice
Apprentice


Joined: 11 Aug 2004
Posts: 227
Location: Brooklyn

PostPosted: Sun Jan 15, 2006 6:16 pm    Post subject: Reply with quote

Here's something else that may help you; probably better than what I posted above:

http://gentoo-wiki.com/HARDWARE_Acer_TravelMate_2403#Graphic_Card
Back to top
View user's profile Send private message
SolidSnakex28
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 269
Location: New York

PostPosted: Sun Jan 15, 2006 6:38 pm    Post subject: Reply with quote

It seems that the 855resolution is the solution, but how do I use it!? I've tried all sorts of things and it won't change the res.
Back to top
View user's profile Send private message
r.stiltskin
Apprentice
Apprentice


Joined: 11 Aug 2004
Posts: 227
Location: Brooklyn

PostPosted: Sun Jan 15, 2006 7:19 pm    Post subject: Reply with quote

Code:
To get native resolution of this laptop working you'll need to use the 855resolution program:

$ emerge 855resolution

Find out what the available modes are:

$ 855resolution -l

then pick one to replace and edit the configuration file: /etc/conf.d/855resolution It is self-explanatory, and it will even remind you to do:

$ rc-update add 855resolution default


Did you follow those instructions?
What was the output from # 855resolution -l ?
What's in /etc/conf.d/855resolution?

Once you finish all of that then I guess you should be able to start it by running
# /etc/init.d/855resolution start

Then close your xsession & # startx again & see if it works.[/code]
Back to top
View user's profile Send private message
r.stiltskin
Apprentice
Apprentice


Joined: 11 Aug 2004
Posts: 227
Location: Brooklyn

PostPosted: Sun Jan 15, 2006 7:28 pm    Post subject: Reply with quote

Have you tried using the i810 video driver?

Just for kicks, why not try
Driver "i810"

instead of
Driver "vesa"

in your xorg.conf.
Back to top
View user's profile Send private message
SolidSnakex28
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 269
Location: New York

PostPosted: Sat Jan 28, 2006 4:37 pm    Post subject: Reply with quote

Nothin going, folks. I tried 855resolution, and it's not replacing any modes in xrandr. I tried xorg 7.0, nothing. No other drivers work besides VESA.
Back to top
View user's profile Send private message
SolidSnakex28
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 269
Location: New York

PostPosted: Tue Jan 31, 2006 2:53 am    Post subject: Reply with quote

I'll bet this is something really stupid, too.
Back to top
View user's profile Send private message
SolidSnakex28
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 269
Location: New York

PostPosted: Fri Feb 03, 2006 3:32 am    Post subject: Reply with quote

So I'm stuck in a craptacular 1024x768? Damn.

How's this: I was using menuconfig a few days ago when I saw the option under 'Input Device Support' to change Horizontal Screen Res and Vertical Screen Res. Of course, I changed them to 1400 and 1050, respectively. Nothing happened, but that could be a stepping stone towards the solution.
Back to top
View user's profile Send private message
Avenger902
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2004
Posts: 95

PostPosted: Fri Feb 03, 2006 3:41 am    Post subject: Reply with quote

The HorizontalSync and Vertical Refresh is probably what you need to play with next. Keep in mind this isn't like your resolution so thats why when you plugged in 1400x1050 it didn't work. What you need to do is try modifying this field in xorg.conf....


Code:
Section "Monitor"
        Identifier   "Monitor0"
        HorizSync    31.5 - 64.3
        VertRefresh  50.0 - 70.0
        Option "DPMS" "true"



I would start with leaving HorizSync as the default above but change your VertRefresh to 50.0-100.0 and see what happens...
Back to top
View user's profile Send private message
SolidSnakex28
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 269
Location: New York

PostPosted: Sat Feb 04, 2006 6:23 pm    Post subject: Reply with quote

I changed them to all sorts of settings, but nothing worked. Is there anyway that I can change my resolution besides with xrandr?
Back to top
View user's profile Send private message
SolidSnakex28
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 269
Location: New York

PostPosted: Sat Feb 04, 2006 11:55 pm    Post subject: Reply with quote

I forgot to update the xorg.conf I posted above since I reinstalled gentoo. Here it is again:

Code:
Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "TouchPad" "AlwaysCore"
        Option      "BlankTime" "1"
        Option      "StandbyTime" "4"
        Option      "SuspendTime" "10"
        Option      "OffTime" "20"
EndSection

Section "Files"
EndSection

Section "Module"
        Load  "freetype"
        # Load "xtt"
        Load  "extmod"
        Load  "glx"
        # Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "type1"
        # Load  "speedo"
        Load  "synaptics"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc101"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "TouchPad"
        Driver      "synaptics"
        Option      "Device" "/dev/input/mouse0"
        Option      "Protocol" "auto-dev"
        Option      "LeftEdge" "130"
        Option      "RightEdge" "840"
        Option      "TopEdge" "130"
        Option      "BottomEdge" "640"
        Option      "FingerLow" "7"
        Option      "FingerHigh" "8"
        Option      "MaxTapTime" "180"
        Option      "MaxTapMove" "110"
        Option      "EmulateMidButtonTime" "75"
        Option      "VertScrollDelta" "20"
        Option      "HorizScrollDelta" "20"
        Option      "MinSpeed" "0.60"
        Option      "MaxSpeed" "1.10"
        Option      "AccelFactor" "0.030"
        Option      "EdgeMotionMinSpeed" "200"
        Option      "EdgeMotionMaxSpeed" "200"
        Option      "UpDownScrolling" "1"
        Option      "CircularScrolling" "1"
        Option      "CircScrollDelta" "0.1"
        Option      "CircScrollTrigger" "2"
        Option      "SHMConfig" "on"
        Option      "Emulate3Buttons" "on"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
        # HorizSync    31.5 - 92.0
        # VertRefresh  40.0 - 150.0
        Identifier   "Monitor0"
        HorizSync    31.5 - 108.0
        VertRefresh  50.0 - 100.0
        Option      "DPMS" "true"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "vesa"
        ChipSet     "vesa"
        Card        "vesa vesa"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1400x1050"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1400x1050"
        EndSubSection
EndSection
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