display resolution [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

display resolution [Solved]

Postby groggin » Mon Jul 13, 2009 15:57

greetings sabas :D

I've just done a fresh install of sabayon 4.2 on my just refurbished pc, using an older CRT monitor.
when i click system>preferences>display i first see that the software hasn't detected the hardware, my monitor is 'unknown' so clicked Detect Monitors but nothing happened.

i'd like to change my res to 1024x768, but it won't let me - offering several too large and too small instead.
thanks
groggin
Baby Hen
 
Posts: 5
Joined: Sun Jul 12, 2009 23:22

Re: display resolution

Postby wolfden » Mon Jul 13, 2009 18:31

User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: display resolution

Postby groggin » Sun Jul 19, 2009 12:41

thanks for the reply wolfden :D

that should have worked; i performed the steps required, and when I got to the part in the xorg.conf that lists the display resolutions, it already had the 1024x768 listed along with two smaller ones.
I erased the smaller ones, and saved changes, but my screen still has a weird aspect ratio after a reboot.

I've also tried opening the ATI catalyst control center, but it has the same problem: not listing the correct display res. options, though it has detected the monitor correctly.

what to do now? :?
groggin
Baby Hen
 
Posts: 5
Joined: Sun Jul 12, 2009 23:22

Re: display resolution

Postby Fitzcarraldo » Sun Jul 19, 2009 12:51

What AMD ATI GPU are you using? Some are no longer supported by the AMD Catalyst 9.4 and greater driver.

Anyway, with ATI GPUs, if you make a manual change to xorg.conf you need to run aticonfig as root user in order to import the ATI settings from xorg.conf into the AMD PCS data base:

Code: Select all
/opt/bin/aticonfig --input=/etc/X11/xorg.conf --tls=1

then restart X or reboot. If that does not work then try:

Code: Select all
/opt/bin/aticonfig --initial -f

and then restart X or reboot, then repeat the first command if necessary.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7328
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: display resolution

Postby Fitzcarraldo » Sun Jul 19, 2009 13:00

groggin wrote:and when I got to the part in the xorg.conf that lists the display resolutions, it already had the 1024x768 listed along with two smaller ones.

Did you remove the comment indicator (#) at the beginning of the lines specifying 1024x768?

Another way to force a resolution of 1024x768 is to boot the LiveDVD, press F5 when the boot menu appears, and append the following to the kernel boot line:

Code: Select all
res=1024x768
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7328
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: display resolution

Postby groggin » Sun Jul 19, 2009 15:51

Did you remove the comment indicator (#) at the beginning of the lines specifying 1024x768?


woops, no. but when i tried to access the file again, got this:
groggin@xxxxxxxx ~ $ su -
Password:
xxxxxxx ~ # /etc/X11/xorg.conf
-su: /etc/X11/xorg.conf: Permission denied
xxxxxxx ~ #

so i navigated to the folder, and opened xorg.conf, but it isn't the same as what i saw in terminal, quite shorter, but i also find xorg.conf.original,(and a couple of others - xorg.conf.xxxx) and it seems to be what it's title says ...

not sure what to do here ..

Another way to force a resolution of 1024x768 is to boot the LiveDVD, press F5 when the boot menu appears, and append the following to the kernel boot line:

Code: Select all
res=1024x768


tried that, both from the live CD (boot failed) and grub durring normal boot (no difference - prob'ly did it wrong..)

What AMD ATI GPU are you using? Some are no longer supported by the AMD Catalyst 9.4 and greater driver.


I'm using the onboard graphics only, (no card) ATI radeon 3300

looks like another go at the xorg.conf file is in order, but I'm not sure how to open the right one in console

thanks
groggin
Baby Hen
 
Posts: 5
Joined: Sun Jul 12, 2009 23:22

Re: display resolution

Postby Fitzcarraldo » Sun Jul 19, 2009 16:08

The easiest way to edit xorg.conf from a TTY console, or from a Terminal/Konsole window, is as follows:

Code: Select all
# su
Password:
# nano /etc/X11/xorg.conf

nano is a simple text editor that shows the available commands along the bottom of the console.

Also check what driver is specified in the xorg.conf file in Section "Device". Does it have Driver "fglrx", or does it have Driver "radeon" or Driver "radeonhd"?
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7328
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: display resolution

Postby groggin » Sun Jul 19, 2009 16:29

Fitzcarraldo wrote:The easiest way to edit xorg.conf from a TTY console, or from a Terminal/Konsole window, is as follows:

Code: Select all
# su
Password:
# nano /etc/X11/xorg.conf

nano is a simple text editor that shows the available commands along the bottom of the console.

Also check what driver is specified in the xorg.conf file in Section "Device". Does it have Driver "fglrx", or does it have Driver "radeon" or Driver "radeonhd"?


the driver specified is fglrx.

this is my current xorg.conf

Section "ServerLayout"
Identifier "Main Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Files"
EndSection

Section "Module"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "i2c"
Load "ddc"
Load "vbe"
Load "dri"
Load "glx"
Load "synaptics"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
Option "UseFastTLS" "1"
BusID "PCI:1:5:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection


pls note no resolutions anywhere

this is xorg.conf.original

Section "Module"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "i2c"
Load "ddc"
Load "vbe"
Load "dri"
Load "glx"
Load "synaptics"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
VertRefresh 43 - 60
HorizSync 28 - 80
EndSection


Section "Device"

Identifier "SabayonVga0"
Driver "fglrx"
#BusID "PCI:01:05"
#Option "RenderAccel" "on"
#Option "XAANoOffscreenPixmaps"
#Option "BusType" "PCI"
#Option "ColorTiling" "on"
#Option "EnablePageFlip" "on"
Option "UseEvents" "True"
Option "LogoPath" "/usr/share/backgrounds/sabayonlinux-nvidia.png"

EndSection



Section "Screen"

Identifier "Screen 0"
Device "SabayonVga0"
Monitor "Generic Monitor"
#Option "AddARGBGLXVisuals" "true"

DefaultDepth 24

SubSection "Display"
Depth 8
ViewPort 0 0
#Modes "1024x768" "800x600" "640x480"
EndSubsection

SubSection "Display"
Depth 16
ViewPort 0 0
#Modes "1024x768" "800x600" "640x480"
EndSubsection

SubSection "Display"
Depth 24
ViewPort 0 0
#Modes "1024x768" "800x600" "640x480"
EndSubsection

EndSection


Section "DRI"
Mode 0666
EndSection

Section "ServerLayout"
Identifier "Main Layout"
Screen 0 "Screen 0"
EndSection

Section "Extensions"
#Option "Composite" "Enable"
EndSection


it is as it was - as far as i can tell


so - this is what is missing:

SubSection "Display"
Depth 8
ViewPort 0 0
#Modes "1024x768" "800x600" "640x480"
EndSubsection

SubSection "Display"
Depth 16
ViewPort 0 0
#Modes "1024x768" "800x600" "640x480"
EndSubsection

SubSection "Display"
Depth 24
ViewPort 0 0
#Modes "1024x768" "800x600" "640x480"

should I paste that back into xorg.config and remove the 3 #s?

[EDIT] Problem solved! I just went to system/preferences/display and it's still not detecting the monitor but it is now displaying a 1024x768 option and it works, so i guess i'll just leave the rest as is, for now atleast... thanks all :D :D :D
groggin
Baby Hen
 
Posts: 5
Joined: Sun Jul 12, 2009 23:22


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 1 guest