SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-11-13 20:48:02

moses
New Member
Registered: 2012-11-13
Posts: 7

Screen Resolution Intell on-board-graphics

Problem:
I do not know how to get a higher resolution than 1024x768. It doesn't have to be a lot, 4096 x 4096 seems a little hectic for my taste.

What ARandR says:
ARandR > Outputs > VGA1 > Resolution > Nothing larger than 1024x768

Specs:

ped@BoetaPC:~$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)

I'm running on a Intel core2duo with simple intel on-board graphics.

xrandr:

ped@BoetaPC:~$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0* 
   800x600        60.3     56.2  
   848x480        60.0  
   640x480        59.9  

What I have tried:
I tried to follow suggestions from a forum thread, (I'm struggling to find that thread now. When I do, I will add the link) but it suggested to do an update, install the Linux core from back-ports and restart. I probably mis-read it because nothing changed at all.

Analysis & conclusion:
I'm not always smart but I do have perseverance. If you need more specifics I will try to provide. Any help will be much appreciated.

Last edited by moses (2012-11-13 20:58:23)


Consider it pure joy, my brothers and sisters, whenever you face trials of many kinds, because you know that the testing of your faith produces perseverance. Let perseverance finish its work so that you may be mature and complete, not lacking anything.

Offline

Help fund CrunchBang, donate to the project!

#2 2012-11-14 03:32:22

benginm
#! Junkie
From: Underneath!
Registered: 2012-11-11
Posts: 488

Re: Screen Resolution Intell on-board-graphics

Hi moses , have you got to set it higher than 1024x768 before! I mean, are there higher modesline that exist!



for example, try and see if this " 1920x1080 " modeline exist .. in terminal :

xrandr --addmode S-video 1920x1080

also , it would be helpful to post the outputs of :
inxi -G
/etc/X11/xorg.conf

# here are some good sources for a clue about this subject matter :

http://www.x.org/wiki/FAQVideoModes#Why … er_size.29

https://wiki.ubuntu.com/X/Config/Resolu … port_names

Last edited by benginm (2012-11-14 03:33:40)

Offline

#3 2012-11-14 22:32:56

moses
New Member
Registered: 2012-11-13
Posts: 7

Re: Screen Resolution Intell on-board-graphics

Thankyou Sary! Your post helped me to have some progress on my Computer

you wanted the output of inxi:

ped@BoetaPC:~$ inxi -G
bash: inxi: command not found

And also of /etc/X11/xorg.conf:

ped@BoetaPC:~$ sudo /etc/X11/xorg.conf
[sudo] password for ped: 
sudo: /etc/X11/xorg.conf: command not found

At first I discovered I do not have a /etc/X11/xorg.conf file. I tried to set up a new xorg.config file. But I had some trouble understanding the web-pages. Ill try again tomorrow.  Restarting the computer also didn't have an effect, even in ARandR.

a xorg.conf file I tried to wing together:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        VendorName      "Sun"
        ModelName       "X7200A"
        Option          "DPMS"
        ModeLine        "1296x1024_59.90"  109.72  1296 1376 1512 1728  1024 1025 1028 1060  -HSync +Vsync
EndSection

With googling I found out xrandr is a program that has control over screen-configurations.
I followed the instructions from this web-page

First I used gft to make me a modeline:

ped@BoetaPC:~$ gtf 1300 1024 59.9

  # 1296x1024 @ 59.90 Hz (GTF) hsync: 63.49 kHz; pclk: 109.72 MHz
  Modeline "1296x1024_59.90"  109.72  1296 1376 1512 1728  1024 1025 1028 1060  -HSync +Vsync

Then I added the new mode using xrandr:

ped@BoetaPC:~$ xrandr --newmode "1296x1024_59.90"  109.72  1296 1376 1512 1728  1024 1025 1028 1060  -HSync +Vsync

Then I added the newly added mode to my VGA1 output (apparently thats my screen):

ped@BoetaPC:~$ xrandr --addmode VGA1 1296x1024_59.90

And finally I Choose the new mode with xrandr"

ped@BoetaPC:~$ xrandr --output VGA1 --mode 1296x1024_59.90

That worked but then ARandR didn't work and when I restarted the computer the resolution was set to 1024x768 again.
I realized that was probably because the computer wasn't set to use the new resolution at startup which I guess xorg.conf is supposed to do? But I didn't have a xorg.conf file to start with. So how does the computer know what resolution to choose? (If I need a degree to understand that I'll rather focus on the question of how to get my computer to startup with the correct resolution.)

Thankyou for everything! And feel free to ask if you need any more details.

Last edited by moses (2012-11-14 22:35:45)


Consider it pure joy, my brothers and sisters, whenever you face trials of many kinds, because you know that the testing of your faith produces perseverance. Let perseverance finish its work so that you may be mature and complete, not lacking anything.

Offline

#4 2012-11-15 09:02:09

benginm
#! Junkie
From: Underneath!
Registered: 2012-11-11
Posts: 488

Re: Screen Resolution Intell on-board-graphics

Hello moses , good try from your side ..  it seems like  the xorg.conf does not exist by default any more! .. it's been awhile since i've played with is ! so please excuse my rush answer as i wrote what i had in mind.

rather , it has been replaced with /usr/share/X11/xorg.conf.d/ .. which is not recommended to edit manually , you can create one with sudo Xorg -configure , but you don't have to as the configuration file goes to trash on each reboot.

from terminal : check with the man's pages ;
man xorg.conf

So , what i believe is the right thing to do is to reconfigure xserver-xorg .. and here is how you do it

you have to choices , either from recovery mode as root , or as single user mode ..

as user mode , which means when you're already logged in, So .. when you hear the sound of login screen press Ctrl+alt+F2 , this will to get you a virtual terminal.. Login there with your username & password and then run   
the first command will terminate X using:

sudo service slim stop

then run :
sudo dpkg-reconfigure xorg xserver-xorg xserver-xorg-video-intel

the 2nd command xserver-xorg will bring a menu window for a new configuration of screen values will be open. Move with arrows up and down and select by clicking space your needed values.
asking a bunch of questions , regarding your hardware . . choose intel” as your onboard Intel graphics card , when asked about screen resolutions, use TAB to move and SPACEBAR to select your monitor’s max resolution , when asked about the login manager, choose slim as it's the default login manager in Crunchbang .

then, you'll need to start the login manager for X to restart run :
sudo service slim start

after that , get out of th virtual terminal to switch back to your desktop by pressing Ctrl+alt+F7 , or reboot .. sudo reboot .

now , if you prefer to do it from recovery mode , you don't need to sudo ..   to get to the recovery mode menu, you can get to it from GRUB bootloader menu , if you don't have a dual boot system , you'll ned to press ESC , or Shift as i recall to bring up GRUB menu , from the menu entry choose recovery mode , from the next menu choose Drop to a root shell .. then, run those commands as root without sudo .

# as a side not , it's always good to check what Xorg might been complaining about in /var/log/Xorg.0.log

use cURL with a pastebin service to paste that file output to a webpage , to examine later , so , before you do all the above .. in terminal run the following and save the output link somewhere in a text file on your desktop :

cat /var/log/Xorg.0.log | curl -F 'sprunge=<-' http://sprunge.us

that shall give you a link , if you don't have curl installed : sudo apt-get install curl

Last edited by benginm (2012-11-16 01:04:37)

Offline

#5 2012-11-15 19:59:58

moses
New Member
Registered: 2012-11-13
Posts: 7

Re: Screen Resolution Intell on-board-graphics

Thank you Sary for your reply!

I ran the commands in the virtual terminal and in recovery mode.

This is what I got:

ped@BoetaPC:~$ sudo dpkg-reconfigure xorg xserver-xorg xserver-xorg-video-intel
[sudo] password for ped: 
ped@BoetaPC:~$ 

The results of cat /var/log/Xorg.0.log | curl -F 'sprunge=<-' http://sprunge.us:
http://sprunge.us/aaGH

I'll send updates when I try something else. I'm a bit Stumped

[EDIT about a half an hour later]
I got the idea from this link to run the xrandr codes inside a seperate script at startup so that the disired resolution could be created at startup.

I made a script caled setoutput.sh in my home folder containing:

#!/usr/bin/env sh
xrandr --newmode "1296x1024_59.90"  109.72  1296 1376 1512 1728  1024 1025 1028 1060  -HSync +Vsync
xrandr --addmode VGA1 1296x1024_59.90
xrandr --output VGA1 --mode 1296x1024_59.90

And I added "sh ~/setoutput.sh &" to my startup script before nitrogen.

For those in the distant future who want to understand what I did: Refer to my second post in this thread or use this web-page to determine the newmode, addmode and output for the script.

Its not a clean hack, but it works. I'm chuft.  cool

Last edited by moses (2012-11-15 20:58:30)


Consider it pure joy, my brothers and sisters, whenever you face trials of many kinds, because you know that the testing of your faith produces perseverance. Let perseverance finish its work so that you may be mature and complete, not lacking anything.

Offline

#6 2012-11-15 21:53:32

benginm
#! Junkie
From: Underneath!
Registered: 2012-11-11
Posts: 488

Re: Screen Resolution Intell on-board-graphics

hi mose,  did dpkg-reconfigure xorg xserver-xorg xserver-xorg-video-intel , shows the setup menu as a user mode .. i mean have switched to a VT and done that  in a new tty !

what if you only run sudo dpkg-reconfigure xorg !

all i can think of for a A common cause of this problem is the monitor sending bad (or no) resolution information to the driver. The driver then restricts itself to common defaults (e.g. 640x480 or 800x600,  Sometimes a bad cable is at fault.

or the driver itself that is in use.

have you tried physically disconnected the VGA1 signal cable?

from your Xorg log , noticed :

(II) intel(0): Creating default Display subsection in Screen section
    "Default Screen" for depth/fbbpp 24/32
[     9.017] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[     9.017] (==) intel(0): RGB weight 888
[     9.017] (==) intel(0): Default visual is TrueColor
[     9.017] (II) intel(0): Integrated Graphics Chipset: Intel(R) G33
[     9.017] (--) intel(0): Chipset: "G33"
[     9.017] (**) intel(0): Relaxed fencing enabled
[     9.017] (**) intel(0): Wait on SwapBuffers? enabled
[     9.018] (**) intel(0): Triple buffering? enabled
[     9.018] (**) intel(0): Framebuffer tiled
[     9.018] (**) intel(0): Pixmaps tiled
[     9.018] (**) intel(0): 3D buffers tiled
[     9.031] (**) intel(0): SwapBuffers wait enabled
[     9.031] (==) intel(0): video overlay key set to 0x101fe
[     9.356] (II) intel(0): Output VGA1 using monitor section Configured Monitor
[     9.692] (II) intel(0): EDID for output VGA1
[     9.692] (II) intel(0): Printing probed modes for output VGA1
[     9.692] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[     9.692] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[     9.692] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[     9.692] (II) intel(0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz e)
[     9.692] (II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz e)
[     9.692] (II) intel(0): Output VGA1 connected
[     9.692] (II) intel(0): Using exact sizes for initial modes
[     9.692] (II) intel(0): Output VGA1 using initial mode 1024x768

witch tells that the " intel" drive is being in use , so perhaps trying with "vesa" driver instead of "intel" !

you may do so as you did before adding the informations manually in the configuration file , so to do so ,  switch to a VT/tty2 by pressing Ctrl+ALtf2 and then login , next stop the login manager from running
sudo service slim stop

then run :
sudo Xorg -configure

that will drop a configuration file for you in /usr/share/X11/xorg.conf.d/ , edit that file ..

in the "device" section, change intel to vesa.

sudo service slim start

#
after that , i suggest you reset the settings for your monitor by removing the file :

#  rm ~/.config/monitors.xml from a terminal.

unplug your LCD/ VGA1 signal cable , plug it again

then reboot your system.

lets see how that goes first , then maybe you could trying again with as in the following link :

http://samuelmartin.wordpress.com/2012/ … ntu-12-04/

also , see if there are other configuration files in  /etc/X11/xorg.conf.d/

you may browse there by cd /etc/X11/xorg.conf.d/ , in terminal

or using your file manager

;/

man xorg.conf.d

http://wiki.debian.org/XStrikeForce/HowToRandR12

Last edited by benginm (2012-11-15 22:17:16)

Offline

#7 2012-11-15 22:41:57

benginm
#! Junkie
From: Underneath!
Registered: 2012-11-11
Posts: 488

Re: Screen Resolution Intell on-board-graphics

I see you've made a script as a workaround , nice!

still , you can add that line in your new xorg.config /etc/X11/xorg.conf.d/  , under th monitor section Section "Monitor"

Modeline "1296x1024_59.90"  109.72  1296 1376 1512 1728  1024 1025 1028 1060  -HSync +Vsync
    Option "PreferredMode" "1296x1024_59.90"

Offline

#8 2012-11-16 15:26:25

moses
New Member
Registered: 2012-11-13
Posts: 7

Re: Screen Resolution Intell on-board-graphics

Okay. Ill start trying the things you said. I 'm not sure I'll be done with it today. I'll let you know. Thanx!


Consider it pure joy, my brothers and sisters, whenever you face trials of many kinds, because you know that the testing of your faith produces perseverance. Let perseverance finish its work so that you may be mature and complete, not lacking anything.

Offline

#9 2012-11-17 23:13:27

benginm
#! Junkie
From: Underneath!
Registered: 2012-11-11
Posts: 488

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo