Sony video is bad

I installed Opensuse 11.0 on my old Sony VAIO PCG-5202 which has a
Neomagic Corporation
Model: 256XL(2380) display.

X does not work properly. When it starts, There is what looks like the outline of an old TV in the center of the screen, surrounded by a white cloud which expands inwards.

But when I kill X (ctrl-alt-F1) I suddenly see the X11 login screen before it goes back to text mode.

What is causing this, and how do I fix X11?

Thanks,
Jim

ctrl-alt-F1 does not kill the X-server, it only swaps to an active text console (tty1). To help diagnose this, we need more graphics hardware details. Post the results of these two commands:

/sbin/lspci -v
cat /etc/X11/xorg.conf

More questions may follow.

You may be able to get a basic graphical desktop up and running, by executing ‘sax2 -r -m 0=vesa’ from a root console (using basic vesa compatible mode of your graphics chipset).

Actually, I am pretty sure that the problem is that the brightness is maxed out. I installed spicctrl, and it reports it is set to 224. But the Fn key to control it does not work, and I cannot run this command until I am logged in.

After doing ctrl-alt-f1, how does one get back to the graphics mode?

The sony fn key stuff is supposed to be in the kernel, how do I activate it?

Here is the requested output (in 2 messages):

jar@jarvaio:~> /sbin/lspci -v
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
Subsystem: Sony Corporation Device 807d
Flags: bus master, medium devsel, latency 64
Memory at 40000000 (32-bit, prefetchable) [size=16]
Capabilities: <access denied>
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp

00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 128
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
Memory behind bridge: fe400000-febfffff
Prefetchable memory behind bridge: fc000000-fdffffff
Kernel modules: shpchp

00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
Flags: bus master, medium devsel, latency 64
[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
[virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
[virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
[virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
I/O ports at fcb0 [size=16]
Kernel driver in use: ata_piix
Kernel modules: ata_piix, piix

00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at fc60 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd

00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
Flags: medium devsel, IRQ 9
Kernel driver in use: piix4_smbus
Kernel modules: i2c-piix4

00:08.0 FireWire (IEEE 1394): Sony Corporation CXD3222 i.LINK Controller (rev 02) (prog-if 10 [OHCI])
Subsystem: Sony Corporation Device 8080
Flags: bus master, medium devsel, latency 64, IRQ 9
Memory at fecfe000 (32-bit, non-prefetchable) [size=2]
Memory at fecfec00 (32-bit, non-prefetchable) [size=512]
[virtual] Expansion ROM at 24000000 [disabled] [size=64]
Capabilities: <access denied>
Kernel driver in use: ohci1394
Kernel modules: ohci1394

00:09.0 Multimedia audio controller: Yamaha Corporation YMF-744B [DS-1S Audio Controller] (rev 02)
Subsystem: Sony Corporation Device 8081
Flags: medium devsel, IRQ 9
Memory at fecf0000 (32-bit, non-prefetchable) [size=32]
I/O ports at fc00 [size=64]
I/O ports at fcac [size=4]
Capabilities: <access denied>
Kernel modules: snd-ymfpci

00:0a.0 Communication controller: Conexant HSF 56k Data/Fax Modem (Mob WorldW SmartDAA) (rev 01)
Subsystem: Sony Corporation Modem
Flags: medium devsel, IRQ 255
Memory at fece0000 (32-bit, non-prefetchable) [disabled] [size=64]
I/O ports at fca0 [disabled] [size=8]
Capabilities: <access denied>

00:0b.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 08)
Subsystem: Sony Corporation Device 8084
Flags: bus master, medium devsel, latency 64, IRQ 9
Memory at fecff000 (32-bit, non-prefetchable) [size=4]
I/O ports at fcc0 [size=64]
Memory at fed00000 (32-bit, non-prefetchable) [size=1]
Capabilities: <access denied>
Kernel driver in use: e100
Kernel modules: e100, eepro100

00:0c.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)
Subsystem: Sony Corporation Device 8082
Flags: bus master, medium devsel, latency 168, IRQ 9
Memory at 24010000 (32-bit, non-prefetchable) [size=4]
Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
Memory window 0: 20000000-23fff000 (prefetchable)
Memory window 1: 28000000-2bfff000
I/O window 0: 00001400-000014ff
I/O window 1: 00001800-000018ff
16-bit legacy interface ports at 0001
Kernel driver in use: yenta_cardbus
Kernel modules: yenta_socket[/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size][/size]

jar@jarvaio:~> cat /etc/X11/xorg.conf

/…/

SaX generated X11 config file

Created on: 2008-08-02T19:29:20-0400.

Version: 8.1

Contact: Marcus Schaefer <sax@suse.de>, 2005

Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>

Automatically generated by [ISaX] (8.1)

PLEASE DO NOT EDIT THIS FILE!

Section “Files”
FontPath “/usr/share/fonts/misc:unscaled”
FontPath “/usr/share/fonts/local”
FontPath “/usr/share/fonts/75dpi:unscaled”
FontPath “/usr/share/fonts/100dpi:unscaled”
FontPath “/usr/share/fonts/Type1”
FontPath “/usr/share/fonts/URW”
FontPath “/usr/share/fonts/Speedo”
FontPath “/usr/share/fonts/PEX”
FontPath “/usr/share/fonts/cyrillic”
FontPath “/usr/share/fonts/latin2/misc:unscaled”
FontPath “/usr/share/fonts/latin2/75dpi:unscaled”
FontPath “/usr/share/fonts/latin2/100dpi:unscaled”
FontPath “/usr/share/fonts/latin2/Type1”
FontPath “/usr/share/fonts/latin7/75dpi:unscaled”
FontPath “/usr/share/fonts/baekmuk:unscaled”
FontPath “/usr/share/fonts/japanese:unscaled”
FontPath “/usr/share/fonts/kwintv”
FontPath “/usr/share/fonts/truetype”
FontPath “/usr/share/fonts/uni:unscaled”
FontPath “/usr/share/fonts/CID”
FontPath “/usr/share/fonts/ucs/misc:unscaled”
FontPath “/usr/share/fonts/ucs/75dpi:unscaled”
FontPath “/usr/share/fonts/ucs/100dpi:unscaled”
FontPath “/usr/share/fonts/hellas/misc:unscaled”
FontPath “/usr/share/fonts/hellas/75dpi:unscaled”
FontPath “/usr/share/fonts/hellas/100dpi:unscaled”
FontPath “/usr/share/fonts/hellas/Type1”
FontPath “/usr/share/fonts/misc/sgi:unscaled”
FontPath “/usr/share/fonts/xtest”
FontPath “/opt/kde3/share/fonts”
InputDevices “/dev/gpmdata”
InputDevices “/dev/input/mice”
EndSection

Section “ServerFlags”
Option “AllowMouseOpenFail” “on”
Option “ZapWarning” “on”
EndSection

Section “Module”
Load “dbe”
Load “type1”
Load “freetype”
Load “extmod”
Load “glx”
EndSection

Section “InputDevice”
Driver “kbd”
Identifier “Keyboard[0]”
Option “Protocol” “Standard”
Option “XkbLayout” “us”
Option “XkbModel” “microsoftpro”
Option “XkbRules” “xfree86”
EndSection

Section “InputDevice”
Driver “synaptics”
Identifier “Mouse[1]”
Option “AccelFactor” “0.10”
Option “BottomEdge” “300”
Option “Buttons” “5”
Option “CircScrollDelta” “0.1”
Option “CircScrollTrigger” “2”
Option “CircularScrolling” “1”
Option “Device” “/dev/input/mice”
Option “EdgeMotionMaxSpeed” “15”
Option “EdgeMotionMinSpeed” “15”
Option “Emulate3Buttons” “on”
Option “EmulateMidButtonTime” “75”
Option “FingerHigh” “40”
Option “FingerLow” “30”
Option “HorizScrollDelta” “30”
Option “InputFashion” “Mouse”
Option “LeftEdge” “100”
Option “MaxSpeed” “0.90”
Option “MaxTapMove” “100”
Option “MinSpeed” “0.15”
Option “Name” “ALPS;Touchpad”
Option “Protocol” “auto-dev”
Option “RightEdge” “1100”
Option “SHMConfig” “on”
Option “SendCoreEvents” “on”
Option “TapButton1” “1”
Option “TapButton2” “3”
Option “TapButton3” “2”
Option “TopEdge” “50”
Option “UpDownScrolling” “1”
Option “Vendor” “Sysp”
Option “VertScrollDelta” “25”
Option “ZAxisMapping” “4 5”
EndSection

Section “InputDevice”
Driver “synaptics”
Identifier “Mouse[3]”
Option “AccelFactor” “0.10”
Option “BottomEdge” “300”
Option “Buttons” “5”
Option “CircScrollDelta” “0.1”
Option “CircScrollTrigger” “2”
Option “CircularScrolling” “1”
Option “Device” “/dev/input/mice”
Option “EdgeMotionMaxSpeed” “15”
Option “EdgeMotionMinSpeed” “15”
Option “Emulate3Buttons” “on”
Option “EmulateMidButtonTime” “75”
Option “FingerHigh” “40”
Option “FingerLow” “30”
Option “HorizScrollDelta” “30”
Option “InputFashion” “Mouse”
Option “LeftEdge” “100”
Option “MaxSpeed” “0.90”
Option “MaxTapMove” “100”
Option “MinSpeed” “0.15”
Option “Name” “ALPS;Touchpad”
Option “Protocol” “auto-dev”
Option “RightEdge” “1100”
Option “SHMConfig” “on”
Option “SendCoreEvents” “on”
Option “TapButton1” “1”
Option “TapButton2” “3”
Option “TapButton3” “2”
Option “TopEdge” “50”
Option “UpDownScrolling” “1”
Option “Vendor” “Sysp”
Option “VertScrollDelta” “25”
Option “ZAxisMapping” “4 5”
EndSection

Section “InputDevice”
Driver “mouse”
Identifier “Mouse[5]”
Option “Device” “/dev/input/mice”
Option “Name” “Sony Vaio Jogdial”
Option “Protocol” “explorerps/2”
Option “Vendor” “Sysp”
Option “ZAxisMapping” “4 5”
EndSection

Section “Monitor”
HorizSync 30-38
Identifier “Monitor[0]”
ModelName “800X600@60HZ”
Option “DPMS”
Option “PreferredMode” “800x600”
VendorName “–> LCD”
VertRefresh 30-61
UseModes “Modes[0]”
EndSection

Section “Modes”
Identifier “Modes[0]”
Modeline “800x600” 38.85 800 832 912 1024 600 601 604 622
Modeline “800x600” 38.22 800 832 912 1024 600 601 604 622
Modeline “800x600” 35.50 800 848 880 960 600 603 607 618 +HSync -Vsync
EndSection

Section “Screen”
DefaultDepth 16
SubSection “Display”
Depth 15
Modes “800x600”
EndSubSection
SubSection “Display”
Depth 16
Modes “800x600”
EndSubSection
SubSection “Display”
Depth 24
Modes “800x600”
EndSubSection
SubSection “Display”
Depth 8
Modes “800x600”
EndSubSection
Device “Device[0]”
Identifier “Screen[0]”
Monitor “Monitor[0]”
EndSection

Section “Device”
BoardName “256XL(2380)”
BusID “1:0:0”
Driver “neomagic”
Identifier “Device[0]”
VideoRam 4096
VendorName “NeoMagic”
EndSection

Section “ServerLayout”
Identifier “Layout[all]”
InputDevice “Keyboard[0]” “CoreKeyboard”
InputDevice “Mouse[1]” “CorePointer”
InputDevice “Mouse[5]” “SendCoreEvents”
Option “Clone” “off”
Option “Xinerama” “off”
Screen “Screen[0]”
EndSection

Section “DRI”
Group “video”
Mode 0660
EndSection

Section “Extensions”
EndSection

It is more than just the brightness since I logged in remotely and used spicctrl to lower it.

But when I use ctrl-alt-F# to get a shell, I see the correct login screen for an instant still.

It would be useful to have the Sony Function keys working. I thought that is supposed to be in the kernel now.

Thanks,
Jim

Looking around, Even though it says PCG-5052 on the bottom, I am pretty sure this is a PCG-Z505JSK model laptop.

I had this all working on SUSE 10.1, but had to upgrade because this is now out of support.

After doing ctrl-alt-f1, how does one get back to the graphics mode?

If you have a working X-server, doing ctrl-alt-f7 will return you to the graphical environment. (However, from what you descibe this is not working). You could try changing to runlevel 3 with ‘init 3’ command, and then do ‘sax2 -r’ to reprobe your graphics system.

I’m not familiar with the neomagic, but I didn’t notice anything unusual in xorg.conf. Have a look at ‘dmesg’ output.

Maybe one of the gurus could take a look at this…