OpenGL doesn't work

Bug #30382 reported by David Jaša
8
Affects Status Importance Assigned to Milestone
xserver-xorg-video-savage (Ubuntu)
Confirmed
Medium
Ubuntu-X

Bug Description

With vanilla kernel 2.6.15-rc6 and X. org 7.0 RC4 from Ubuntu packages, DRI worked on my Savage IX flawlesly. After january upgrades (both Ubuntu and vanilla 2.6.15 kernels and X.org 7.0 final) it doesn't work. Any opengl app displays actually black screen and hangs whole computer.

lspci:
0000:01:01.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/IX-MV (rev 13)

dmesg of savage kernel module:
[4454357.986000] [drm] Initialized drm 1.0.0 20040925
[4454358.010000] ACPI: PCI Interrupt 0000:01:01.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[4454358.011000] mtrr: base(0xf2000000) is not aligned on a size(0x5000000) boundary
[4454358.013000] [drm] Initialized savage 2.4.1 20050313 on minor 0:

Revision history for this message
Matt Zimmerman (mdz) wrote :

Please attach /etc/X11/xorg.conf and /var/log/Xorg.0.log

Changed in xserver-xorg-driver-savage:
status: Unconfirmed → Needs Info
Revision history for this message
Prinz Igor (pigor) wrote :
Download full text (48.9 KiB)

hello,

same problem under ubuntu dapper (last update):
https://launchpad.net/bugs/46314

with ubuntu dapper beta 1 and flight 7 it works fine.

below my /etc/X11/xorg.conf and /var/log/Xorg.0.log.

********************************************************
# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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 "Files"
 FontPath "/usr/share/X11/fonts/misc"
 FontPath "/usr/share/X11/fonts/cyrillic"
 FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
 FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
 FontPath "/usr/share/X11/fonts/Type1"
 FontPath "/usr/share/X11/fonts/100dpi"
 FontPath "/usr/share/X11/fonts/75dpi"
 # path to defoma fonts
 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
 Load "i2c"
 Load "bitmap"
 Load "ddc"
 Load "dri"
 Load "extmod"
 Load "freetype"
 Load "glx"
 Load "int10"
 Load "type1"
 Load "vbe"
EndSection

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "de"
 Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
 Identifier "Configured Mouse"
 Driver "mouse"
 Option "CorePointer"
 Option "Device" "/dev/input/mice"
 Option "Protocol" "ExplorerPS/2"
 Option "ZAxisMapping" "4 5"
 Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
 Identifier "Synaptics Touchpad"
 Driver "synaptics"
 Option "SendCoreEvents" "true"
 Option "Device" "/dev/psaux"
 Option "Protocol" "auto-dev"
 Option "HorizScrollDelta" "0"
EndSection

Section "InputDevice"
  Driver "wacom"
  Identifier "stylus"
  Option "Device" "/dev/wacom" # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option "Type" "stylus"
  Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver "wacom"
  Identifier "eraser"
  Option "Device" "/dev/wacom" # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option "Type" "eraser"
  Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver "wacom"
  Identifier "cursor"
  Option "Device" "/dev/wacom" # Change to
        ...

Changed in xserver-xorg-driver-savage:
assignee: nobody → ubuntu-x-swat
status: Needs Info → Confirmed
Revision history for this message
Prinz Igor (pigor) wrote :

hello. is there any work on this bug? or perhaps does anyone know a workaround? i would like just to have any reaction. cu, prinz igor :-)

Revision history for this message
Prinz Igor (pigor) wrote :

hello folks,

with flight 7 opengl (with hardware acceleration) works fine! but now glxgears & co. are just killed every time.

it seems to me that here does not happen anything. so i want to analyse the problem by myself. i hope you will support me.

i want to detect the modification that was made anytime after flight 7. please help me.

it is interesting that the driver package (xserver-xorg-driver-savage) does not change! so it must be another package - perhaps it is just a configure issue.

i have installed the old xserver-xorg-core (from flight 7) by copying the files out of the deb file to my root directory. it makes no difference. so perhaps this is not the package where the critical modification was made.

then i have tested glxgears with mesademos. i have detected that such programs chrash on functions like glCallList, glPopMatrix, glColor3f, ... which are reading the memory of the graphicscard. functions like glPushMatrix seem to work (do not crash).

i would be happy about every support, hints, ...

regards,

prinz igor

ps:

my graphicscard: S3 Inc. 86C270-294 Savage/IX-MV (rev 13)

i have a fresh installation - so the problem cannot be solved just with a new installation.

Revision history for this message
Prinz Igor (pigor) wrote :

!!

perhaps i have detected the critical difference between working flight 7 and not working final

!!

i believe it is the kernel. there were applied patches on drm between version 2.6.15-22.34 and 2.6.15-23.35 - see changelog:
http://changelogs.ubuntu.com/changelogs/pool/main/l/linux-source-2.6.15/linux-source-2.6.15_2.6.15-23.39/changelog

please, could any developer help me/us?

Revision history for this message
Prinz Igor (pigor) wrote :

it is confirmed: with kernel version 2.6.15-22.34 it works!! (see bug #46314)

so any cool hacker have to fix it , please.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.