Bug 148212

Summary: Display is corrupted durin shutdown
Product: [openSUSE] SUSE Linux 10.1 Reporter: Jure Repinc <jlp>
Component: OtherAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: sndirsch
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Corrupted display
xorg.conf
Xorg.0.log

Description Jure Repinc 2006-02-04 11:28:18 UTC
When I am shutting down my notebook (HP Compaq nx6125 with AMD Turion 64 and ATI Radeon Xpress 200M 5955 PCIE) the display is corruped. I will attach the photo I took with my digital camera.
Comment 1 Jure Repinc 2006-02-04 13:13:26 UTC
Created attachment 66464 [details]
Corrupted display

This is the photo of the corruption
Comment 2 Michael Gross 2006-02-06 12:01:46 UTC
Please attach `hwinfo --gfx' as well as your /etc/X11/xorg.conf /var/log/Xorg.0* logs. Does the framebuffer work correctly? In that case, does it work correctly when booting with vga=normal?
Comment 3 Jure Repinc 2006-02-08 00:04:06 UTC
# hwinfo --gfx
27: PCI 105.0: 0300 VGA compatible controller (VGA)
  [Created at pci.277]
  UDI: /org/freedesktop/Hal/devices/pci_1002_5955
  Unique ID: ul7N.sKhS4C4Fl25
  Parent ID: vSkL.dQFUNbiC_g9
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:05.0
  SysFS BusID: 0000:01:05.0
  Hardware Class: graphics card
  Model: "Hewlett-Packard Company Radeon XPRESS 200M 5955 (PCIE)"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x5955 "Radeon XPRESS 200M 5955 (PCIE)"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x308b
  Memory Range: 0xc0000000-0xcfffffff (rw,prefetchable)
  I/O Ports: 0x2000-0x2fff (rw)
  Memory Range: 0xd0400000-0xd040ffff (rw,non-prefetchable)
  Memory Range: 0xd0420000-0xd043ffff (ro,prefetchable,disabled)
  IRQ: 5 (no events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00001002d00005955sv0000103Csd0000308Bbc03sc00i00"
  Driver Info #0:
    XFree86 v4 Server Module: radeon
  Driver Info #1:
    XFree86 v4 Server Module: fglrx
    3D Support: yes
    Extensions: dri
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #11 (PCI bridge)

Primary display adapter: #27

I think that framebuffer works correctly. well all works correctly when booting up. It is just on shutdown that display gets corrupted. I'm not sure how to see only for framebuffer if it works correctly. I'll try with vga=normal and see how it goes.
Comment 4 Jure Repinc 2006-02-08 00:05:10 UTC
Created attachment 66902 [details]
xorg.conf
Comment 5 Jure Repinc 2006-02-08 00:06:28 UTC
Created attachment 66903 [details]
Xorg.0.log
Comment 6 Michael Gross 2006-02-08 13:19:33 UTC
> I'll try with vga=normal and see how it goes.

How did it go?
Comment 7 Jure Repinc 2006-02-08 15:34:36 UTC
Sorry for the late response.

I used the vga=normal kernel option and all was working just fine. If I don't count that the boot and shutdown splash didn't show up. But other then that, no corruption.
Comment 8 Michael Gross 2006-02-09 16:59:09 UTC
Of course they would not show up in ASCII mode ;)
OK - are you sure that your X11 display and the used framebuffer mode have exact the same resolution and color depth? On some gfxcards, specially those with shared memory, problems of this sort occurr - there is no real fix for that.

Check this and try it again, it should work.
Comment 9 Jure Repinc 2006-02-09 17:20:49 UTC
All resolutions were automatically set up during installation. I know that X uses 1024x768 24-bit, But I don't know how to check this for framebuffer.
Comment 10 Michael Gross 2006-02-09 17:39:28 UTC
It's encoded in the vga=... mode number as follows:

Resolution in pixels
Color depth      |   640x480      800x600      1024x768      1280x1024
256        (8bit)|     769          771           773           775
32000     (15bit)|     784          787           790           793
65000     (16bit)|     785          788           791           794
16.7 Mill.(24bit)|     786          789      -->  792           795

For you this would mean using mode 792
Set it up in /boot/grub/menu.lst (you can use YaST and expert configuration) or at first just try it by just applying the parameter as boot-append line.
Comment 11 Jure Repinc 2006-02-09 17:54:31 UTC
This is what installation set for me in /boot/grub/menu.lst

vga=0x317

I'll try to reboot and use vga=792 and see how it goes.
Comment 12 Jure Repinc 2006-02-09 18:18:26 UTC
Well I tried with vga=792 but now I don't get any nice boot splash on bootup, only high res text boot, and on shutdown I still have corrupted display.
Comment 13 Martin Lasarsch 2006-02-10 11:06:46 UTC
so it works with vga=normal.

closed, but put maintainer into cc:

Stefan: reopen if you want.
Comment 14 Jure Repinc 2006-02-10 12:33:32 UTC
If I run with vga=normal there is no boot/shutdown splash and it is just a workaround. Why is this not going to be fixed to work properly?
Comment 15 Tristan Hoffmann 2006-04-01 08:31:51 UTC
This bug is the same bug as #160833 !
Comment 16 Stefan Dirsch 2006-04-01 08:38:50 UTC
Use "vga=791" for splash.