opensuse 11.4 M2: Howto increase screen real estate?

Hi everyone,

I just succeeded installing M2 Gnome from the Live CD on a Pentium III, 500 MB RAM old Toshiba laptop, where previously M1 refused to load. Set boot options at acpi=off and noapic. After about 3 hours, I got openSUSE 11.4 Milestone 2 Gnome 32bit!

Now, how do I increase the screen real estate and resolution from 800x640 to 1024x768? I am not sure if M2 includes sax2, that’s why I am asking the question.

Thanks in advance!

No sax2 is deprecated since opensuse 11.3

General advice to start with:

  1. Have a look at /var/log/Xorg.0.log to see whats going on. Even with a basic framebuffer driver, it should be possible to achieve 1024x768.

  2. What does ‘xrandr’ report? If ‘1024x768’ is listed as an available display mode, then you can set with xrandr itself, or via a ‘PreferredMode’ entry in /etc/X11/xorg.conf.d/50-monitor.conf.

Judging by the age of your laptop, I’m assuming your graphics chipset will not be supported by proprietary drivers, and framebuffer drivers may be all thats available, but more info would be helpful here…

@hellgast,

There’s NO sax2 in Yast’s Software Management. I only saw sax2-tools but I can’t use it somehow.

@deano,


tt888@linux-06vm:~> xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 240, current 800 x 600, maximum 800 x 600
default connected 800x600+0+0 0mm x 0mm
   800x600        60.0*    56.0  
   640x480        60.0  
   400x300        60.0     56.0  
   320x240        60.0 


tt888@linux-06vm:~> gnomesu gedit /etc/X11/xorg.conf
I got a BLANK xorg.conf file!

# gedit /var/log/Xorg.0.log
**
GLib-GIO:ERROR:gdbusconnection.c:2152:initable_init: assertion failed: (connection->initialization_error == NULL)

# cvt 1024 768
# 1024x768 59.92 Hz (CVT 0.79M3) hsync: 47.82 kHz; pclk: 63.50 MHz
Modeline "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync


# xrandr --newmode "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
xrandr: Failed to get size of gamma for output default

With sax2 I was able to fix this problem in 11.2. My laptop is Toshiba Satellite Pro 4600. It has Trident Cyberblade XP built-in video, using video driver=trident.

Earlier I booted into runlevel 3 hoping to run sax2:


sax2 -r -m 0=trident
Error message: Command not found

What should I do next? Thanks in advance!

Hi again,

I forgot to add the partial output of lspci -nnk. Here goes:


01:00.0 VGA compatible controller [0300]: Trident Microsystems CyberBlade/XP [1023:9910] (rev 63)
    Subsystem: Toshiba America Info Systems Device [1179:0001]

What happens if you open the /etc/X11/xorg.conf.d/50-device.conf file, and add the line Driver “trident” so that it looks something like:

Section "Device"
  Identifier "Default Device"

  #Driver "radeon"
  Driver "trident"

  ## Required magic for radeon/radeonhd drivers; output name
  ## (here: "DVI-0") can be figured out via 'xrandr -q'
  #Option "monitor-DVI-0" "Default Monitor"

EndSection

and then reboot and test ?

If your PC refuses to boot after that, then remove the Driver “trident” line that I proposed you add.

If not already installed you may wish to install the midnight commander “mc” text editor, so as to be able to easily edit files in text mode.

The xrandr output (limited to 800x600 and lower) is consistent with the vesa driver being active. I’m not sure why gedit failed to show the Xorg.0.log contents, but I’d try a console based text editor to view it. (Oldpcu suggested midnight commander, and nano is another editor that is simple to install and use). Examining this file will help determine the driver in use.

It is also worth trying the suggestion to explicitly load the trident driver (via 50-device.conf) as well.

Hello oldcpu & deano,

I finally met with success thanks to your hints and suggestions. Here goes:


$gnomesu gedit /etc/X11/xorg.conf.d/50-device.conf

Output:

Section "Device"
  Identifier "Default Device"

  #Driver "radeon"
Driver "trident"
  ## Required magic for radeon/radeonhd drivers; output name
  ## (here: "DVI-0") can be figured out via 'xrandr -q'
  #Option "monitor-DVI-0" "Default Monitor"

EndSection

(After reboot, still no success without adding the following sections)

Section "Monitor"
Identifier "Default Monitor"
HorizSync 47.82-85.00
VertRefresh 63.50-100.00
Option "Preferred Mode" "1024x768_60.00"
Modeline "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
EndSection

Based on the article entitled “How to change display resolution settings using xrandr” in Ubuntu Geek website, make changes (xrandr --newmode, --addmode and --output) permanent:


$gnomesu gedit /etc/gdm/Init/Default

Partial output:

#!/bin/sh

if test -x /etc/X11/xdm/Xsetup; then
	exec /etc/X11/xdm/Xsetup
fi

# Stolen from the debian kdm setup, aren't I sneaky
# Plus a lot of fun stuff added
#  -George

PATH="/usr/bin:$PATH"
OLD_IFS=$IFS

(Add the following 3 lines immediately below these PATH and OLD_IFS lines then save, exit)
xrandr --newmode "1024x768" 63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
xrandr --addmode "Default Monitor" 1024x768_60.00
xrandr --output "Default Monnitor" --mode 1024x768

Finally, I went to YAST’s Boot Loader to edit /boot/grub/menu.lst, by adding the following to the default kernel boot line, noting that previously on 800x600 screen VGA=0x31a:


...showopts vga=0x317 acpi=off noapic

Save /boot/grub/menu.lst and reboot. Voila!

Cheers!

rotfl!

Glad to read that you’ve got the result you wanted. I’m a little confused with your final config though: The ‘Monitor’ section containing the ‘PreferredMode’ option and ‘Modeline’ should be contained in /etc/X11/xorg.conf.d/50-monitor.conf (not 50-device.conf), and the xrandr lines should then not be neceesary.

Hello deano,

After inserting the phrase “driver trident” as oldcpu suggested and rebooted, I did not get the desired 1024x768 screen resolution. Next I was thinking perhaps I should edit /etc/X11/xorg.conf.d/50-device.conf, so I added the “Monitor” section to it. I was not thinking about /etc/X11/xorg.conf.d/50-monitor.conf at all. Now that you mention the latter, I remember several months back I did succeed in configuring individual sections of /etc/X11/xorg.conf.d when updating this old laptop from openSUSE 11.2 to 11.3. I could have saved lots of time if I had bothered to search my own threads!

Have a nice day!

After stumbling across the same problem with SuSE 11.4 and trying to figure it out on a standard DELL hardware, I found there is a “Save as Default” button at the bottom left side of
“Start -> Applications -> Configure Desktop -> Hardware -> Display and Monitor -> Size and Orientation” dialog.
Pressing “Apply” button only stores it only for the session.

:frowning:

Cost me a day.