Announcement

Collapse
No announcement yet.

Cannot change from 800x600 to 1024x768

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Cannot change from 800x600 to 1024x768

    I am new to Kubuntu/Ubuntu
    In order to learn I installed Kubuntu 8.04 on a virtual PC (qemu)
    The emulated display is a cirrus CLGD 5446 PCI VGA card with Bochs VESA extensions, including all non standard modes.

    Kubuntu (and Ubuntu also) won't allow more then 800x600 in the selection list of the display configurator.

    I know the card can do 1024x768 as I can configure other distro's with this resolution.

    Is there a way to configure by hand?

    P.S. the xorg.conf doesn't show anything for the monitor.

    #2
    Re: Cannot change from 800x600 to 1024x768

    Please show us your xorg.conf
    The next brick house on the left
    Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.27.11​| Kubuntu 24.04 | 6.8.0-31-generic



    Comment


      #3
      Re: Cannot change from 800x600 to 1024x768

      The xorg.conf looks a bit strange to me compared to other distro's.
      Code:
      # 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.
      #
      # 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 "InputDevice"
      	Identifier	"Generic Keyboard"
      	Driver		"kbd"
      	Option		"XkbRules"	"xorg"
      	Option		"XkbModel"	"pc105"
      	Option		"XkbLayout"	"be"
      EndSection
      
      Section "InputDevice"
      	Identifier	"Configured Mouse"
      	Driver		"mouse"
      	Option		"CorePointer"
      EndSection
      
      Section "Device"
      	Identifier	"Configured Video Device"
      EndSection
      
      Section "Monitor"
      	Identifier	"Configured Monitor"
      EndSection
      
      Section "Screen"
      	Identifier	"Default Screen"
      	Monitor		"Configured Monitor"
      	Device		"Configured Video Device"
      EndSection
      
      Section "ServerLayout"
      	Identifier	"Default Layout"
      	Screen		"Default Screen"
      EndSection

      Comment


        #4
        Re: Cannot change from 800x600 to 1024x768

        Yep, it's just a generic xorg.conf and that means that hal has to figure out the hardware and how to use it. Now hal is pretty good in a lot of different areas, but sometimes you just have to bypass hal and do it yourself.

        Your xorg needs to be manually configured, in my opinion. My hardware platform is different from yours, but here's my xorg.conf - it might give you an idea of where to go, assuming you've had other distro experience. If not come on back with more questions.

        Code:
        # 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.
        #
        # 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
        # Edited 8/18/2008 to include driver, screen, and monitor entries from Kubuntu
        #  7.10 that worked for that distro version.
        
        Section "InputDevice"
            Identifier   "Generic Keyboard"
            Driver     "kbd"
            Option     "XkbRules"   "xorg"
            Option     "XkbModel"   "pc105"
            Option     "XkbLayout"   "us"
        EndSection
        
        Section "InputDevice"
            Identifier   "Configured Mouse"
            Driver     "mouse"
            Option     "CorePointer"
        EndSection
        
        Section "InputDevice"
            Identifier   "Synaptics Touchpad"
            Driver     "synaptics"
            Option     "SendCoreEvents"    "true"
            Option     "Device"        "/dev/psaux"
            Option     "Protocol"       "auto-dev"
            Option     "HorizEdgeScroll"    "0"
        EndSection
        
        # Configuration from Kubuntu 7.10
        Section "Device"
            Identifier   "S3 Inc. 86C270-294 Savage/IX-MV"
            Driver     "vesa"
        #    Driver     "savage"
        #    Driver     "savagefb"
            BusID      "PCI:1:0:0"
            VideoRam    8192
        #    Option     "ShadowStatus" "true"
        #    Option     "AGPMode" "2"
        #    Option     "DmaMode" "None"
        EndSection
        
        # Configuration from Kubuntu 7.10
        Section "Monitor"
            Identifier   "Generic Monitor"
            # Option        "DPMS"
            HorizSync    31.5-48.5
            VertRefresh   50-70
        EndSection
        
        # Original configuration
        # Section "Device"
        #    Identifier   "Configured Video Device"
        #    Driver     "vesa"
        #EndSection
        #
        #Section "Monitor"
        #    Identifier   "Configured Monitor"
        #EndSection
        
        
        # Configuration from Kubuntu 7.10
        Section "Screen"
            Identifier   "Default Screen"
            Device     "S3 Inc. 86C270-294 Savage/IX-MV"
            Monitor     "Generic Monitor"
        #    DefaultDepth  24
            DefaultDepth  16
            SubSection "Display"
                Depth      1
        #        Modes      "1024x768" "800x600" "640x480"
                Modes      "1024x768"
            EndSubSection
            SubSection "Display"
                Depth      4
        #        Modes      "1024x768" "800x600" "640x480"
                Modes      "1024x768"
            EndSubSection
            SubSection "Display"
                Depth      8
        #        Modes      "1024x768" "800x600" "640x480"
                Modes      "1024x768"
            EndSubSection
            SubSection "Display"
                Depth      15
        #        Modes      "1024x768" "800x600" "640x480"
                Modes      "1024x768"
            EndSubSection
            SubSection "Display"
                Depth      16
        #        Modes      "1024x768" "800x600" "640x480"
                Modes      "1024x768"
            EndSubSection
            SubSection "Display"
                Depth      24
        #        Modes      "1024x768" "800x600" "640x480"
                Modes      "1024x768"
            EndSubSection
        EndSection
        
        # Original configuration
        #Section "Screen"
        #    Identifier   "Default Screen"
        #    Monitor     "Configured Monitor"
        #    Device     "Configured Video Device"
        #EndSection
        
        Section "ServerLayout"
            Identifier   "Default Layout"
            Screen     "Default Screen"
            InputDevice   "Synaptics Touchpad"
        EndSection
        Mine is definitely overkill for what actually needs to be configured, but it's stable. Ignore the commented out sections, but look through it an see what might help you.
        The next brick house on the left
        Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.27.11​| Kubuntu 24.04 | 6.8.0-31-generic



        Comment


          #5
          Re: Cannot change from 800x600 to 1024x768

          I have no experience in editing xorg.conf.
          I added the subsection "display" to the section "screen" and the added a depth (24) and modes ("1024x768") line.
          I don't know if I have to adapt other lines like the driver.
          I rebooted and now I only have a CLI interface, no X anymore.
          I managed to find out how to edit xorg.conf with vim (not easy for a first time use) and restored to what it was before.

          X did run now.

          As of to-morrow I go on a 10+ days leave, I'll probably take this up when back.

          But I wonder if the Cirrus driver in this Kubuntu is capable of going higher then 800x600.
          If that's true, I probably need another driver.
          There must be one, as with f.e.puppylinux I can get 1024x768 with the same virtual Cirrus adapter.

          Comment


            #6
            Re: Cannot change from 800x600 to 1024x768

            Somehow, your Cirrus video chip is not being recognized.

            In a konsole, run"
            Code:
            sudo lshw
            This produces a list of all your machine's hardware. Near the top of the list will be entry "*-display". Under that section should be the name of your video hardware. You can use that info to construct the "Device" section of your xorg.conf. To determine if your machine has a driver module for the cirrus video chip, you enter:

            Code:
            sudo modprobe -nv cirrus
            This will simulate what would happen if you actually did a modprobe to activate the module - to make sure the module name is available and if any problems might be encountered. If "cirrus" is a module available for your machine (and it should be), then you can enter that in the Driver line.

            One more thought, if for some reason X does not start again during all this, you can check the /var/log/Xorg.0.log file to see what may have failed during boot.

            If one of this makes sense, well welcome to the club !! It will after a while. But seriously, please come back with any questions, someone will probably have a better explanation or a better solution to your problem.
            The next brick house on the left
            Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.27.11​| Kubuntu 24.04 | 6.8.0-31-generic



            Comment

            Working...
            X