LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   1024x768 screen res fedora core 3 (https://www.linuxquestions.org/questions/linux-newbie-8/1024x768-screen-res-fedora-core-3-a-325155/)

Gary13579 05-19-2005 06:08 PM

1024x768 screen res fedora core 3
 
Okay, before I start, I must say I am a Linux newb. I just barely got the installer working alone, and now I have had a few problems.
I got most of them figured out, except for one. I only see 2 screen resolutions (640x480 and 800x600). I searched around first, and found many fixes. I am not sure how to do what they said, so if you could explain it a bit further, I would really appreciate it :)

I am really glad to get out of Windows, but I may have to go back if I can't get this worked out (800x600 screen res is un-useable for me).

jabfinger 05-19-2005 07:00 PM

If you have not tried already type "system-config-display" in a terminal as root. Here you should be able to set up yuur display.

If you have and it did not work, post your /etc/X11/xorg.conf file and we can try to edit it manualy.

Gary13579 05-19-2005 07:10 PM

Alright, I typed that into a terminal.
Quote:

[gary@localhost ~]$ system-config-display
Trying with card: ATI Mach64
I wasn't logged into the root account, but I did have to type in the password.
After that it borught up the Display Settings window, without the option of 1024x768.
The moniter type is Unknown (it is a old Packard Bell moniter :(), and the video card is ATI Mach64


Edit: Here is the xorg.conf

Code:


# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
        Identifier    "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath    "unix/:7100"
EndSection

Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
        Load  "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#        Option        "Xleds"                "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#        Option        "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#        Option        "XkbModel"        "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#        Option        "XkbModel"        "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#        Option        "XkbLayout"        "de"
# or:
#        Option        "XkbLayout"        "de"
#        Option        "XkbVariant"        "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#        Option        "XkbOptions"        "ctrl:swapcaps"
# Or if you just want both to be control, use:
#        Option        "XkbOptions"        "ctrl:nocaps"
#
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "IMPS/2"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Unknown monitor"
        HorizSync    31.5 - 37.9
        VertRefresh  50.0 - 70.0
        Option            "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "ati"
        VendorName  "Videocard vendor"
        BoardName  "ATI Mach64"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    16
                Modes    "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes    "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode        0666
EndSection


jabfinger 05-19-2005 07:29 PM

Down at the bottom of your xorg.conf you will see a section called
Section "Screen"

You might try to edit the "Modes" line to include 1024x768 or whatever you need like this.
Log out then back in and you will hopefully see the new resolution modes.



Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection

Gary13579 05-19-2005 07:50 PM

Okay, I logged into the root user and changed the file like you said. Then I logged out and back into my user account, and it still does not have the 1024x768 option :(...

jabfinger 05-19-2005 08:37 PM

Let me backtrack to the "system-config-display". You say that it is a packard bell. In the hardware section monitor type configuration there is a bunch of Packard Bell types. You have probably checked here to find your monitor. If you cant find it you could try picking from the Generic CRT Display types.

The only other thing that I can see that may or may not be set correctly is your HorizSync and VertRefresh. Are they set according to your monitor. I know that I have a different monitor but Mine are HorizSync 31.0 - 96.0 VertRefresh 55.0 - 160.0.

Code:

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Unknown monitor"
        HorizSync    31.5 - 37.9
        VertRefresh  50.0 - 70.0
        Option            "dpms"


I hope this helps.

mcgrew 05-19-2005 11:26 PM

Next time do a little searching :D

You'll find the answer in this thread

Gary13579 05-20-2005 04:14 PM

I tried a few of them, but I am not sure what my moniter is.
If you want, I can take a picutre of the back, and maybe someone could help me figure out what it is...

jabfinger 05-20-2005 10:00 PM

Yes gary13579 post as much info about your monitor as you have.

mcgrew 05-21-2005 12:27 AM

To be honest it doesn't usually matter what kind of monitor you have. Just choose Generic Monitor for the highest resolution you know it will support. Don't worry if you choose one too low, it won't hurt anything.

Gary13579 05-27-2005 07:51 PM

Umm... I screwed up :S
I choose the setting above 1024x768, and now when I start up Fedora I get bars moving accross my screen, at an angle. I can barely make out what it says, but diffenetly not enough to change it back to what it should be.

Is there any way to change this back?

jabfinger 05-28-2005 09:13 AM

you could try Ctrl-Alt-F2 to get to a console. then edit /etc/xorg.conf with "vi" or whatever editor you choose then reboot or restart X.

Gary13579 05-28-2005 04:53 PM

Can I get what exactly to type into the console?
Just
vi /etc/xorg.conf
?

jabfinger 05-28-2005 09:45 PM

You say when you start up fedora you get the bars accross the screen so I assume you can not even read the login screen so do a "Ctrl-Alt-F2" then:

1. "root"
2. "root's password"
3. "vi /etc/X11/xorg.conf" (the xorg.conf file should appear)

4 a) Important. with the xorg.conf file being viewed in vi you
would begin editing it by typing "i" (for insert).
b) You then find the lines in the file that have anything over 1024x768
it looks like your resolutions are in the "Section screens"
c) Delete only the higher resolutions from the file.
d) Press the "Esc" key
e) press "shift" and ":" keys simultaneously
f) type "wq" then "Enter"

5. The new /etc/X11/xorg.conf will be written and you will be back at the prompt.

(note) You can try "Ctrl-Alt-F7" to bring you back to the GUI log in.
or you can reboot.

6. reboot the computer "shutdown -r now"

Hope this helps

Gary13579 05-30-2005 04:04 PM

Great, thanks :)
I had everything working but wasn't sure on how to save it.

1024x768 isn't working, still..
In Windows, this is the exact mode I am using: 1024x768 High Color (16 bit) 43 Hertz

I know that is pretty bad, but that is almost the only 1024x768 that my moniter can support. Is there any way to get this in Fedora?


All times are GMT -5. The time now is 03:40 AM.