Opened 17 years ago

Last modified 5 years ago

#2177 assigned bug

boot screen video mode incorrect/unsupported, but desktop okay

Reported by: kev Owned by: nobody
Priority: normal Milestone: R1
Component: System/Boot Loader/BIOS Version: R1/alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description

I'm using some kind of ATI Radeon 128 MB AGP card and an LG LCD monitor native 1280x1024 60Hz. Right after bootman, my screen goes blank with a message from the monitor about analog input and 43.something Hz. After a few seconds of that, the desktop comes up normally and it automatically goes to 1280x1024@60Hz. So I get no icons or logo or anything.

For the record, R5.0.3's boot screen works normally on this same machine.

Attachments (7)

syslog (294.9 KB ) - added by Kev 15 years ago.
syslog.2 (8.5 KB ) - added by Kev 15 years ago.
syslog
syslog.3 (8.5 KB ) - added by Kev 15 years ago.
syslog
syslog.4 (8.5 KB ) - added by Kev 15 years ago.
syslog
syslog.old.part1 (254.2 KB ) - added by Kev 15 years ago.
syslog.old, since syslog didn't seem to have much info in it--part 1
syslog.old.part2 (257.8 KB ) - added by Kev 15 years ago.
part 2
syslog.5 (327.0 KB ) - added by Kev 15 years ago.
latest syslog

Download all attachments as: .zip

Change History (46)

comment:1 by axeld, 17 years ago

Can you check a few other resolutions in the video mode menu of the boot loader, and report which ones work, and which ones doesn't? Also, can you have a look in the /var/log/syslog file and add the EDID dump to this bug, too? If you need more guidance, please tell.

comment:2 by kev, 17 years ago

How do I get to the video mode menu? I didn't know you could switch the resolution on the boot screen.

KERN: VESA version = 2.0 KERN: oem string: ATI RADEON 9200 KERN: EDID1: 4f KERN: EDID2: ebx 202 KERN: EDID3: 4f KERN: Got EDID! KERN: Vendor: GSM KERN: Product ID: 19269 KERN: Serial #: 32223 KERN: Produced in week/year: 5/2007 KERN: EDID version: 1.3 KERN: Type: Analog KERN: Size: 34 cm x 27 cm KERN: Gamma=2.2 KERN: White (X,Y)=(0.312,0.329) KERN: Supported Future Video Modes: KERN: 640x480@75Hz (id=20273) KERN: 800x600@75Hz (id=20293) KERN: 1024x768@75Hz (id=20321) KERN: 1280x1024@60Hz (id=32897) KERN: Supported VESA Video Modes: KERN: 720x400@70 KERN: 640x480@60 KERN: 640x480x75 KERN: 800x600@60 KERN: 800x600@75 KERN: 832x624@75 KERN: 1024x768@60 KERN: 1024x768@75 KERN: 1280x1024@75 KERN: 1152x870@75 KERN: Additional Video Mode: KERN: clock=108 MHz KERN: h: (1280, 1328, 1440, 1688) KERN: v: (1024, 1025, 1028, 1066) KERN: size: 33.8 cm x 27 cm KERN: border: 0 cm x 0 cm KERN: Horizontal frequency range = 30..83 kHz KERN: Vertical frequency range = 56..75 Hz KERN: Maximum pixel clock = 140 MHz KERN: Monitor Name: L1953T KERN: Monitor Name: KERN: Welcome to the Haiku boot loader!

Also I tried it again so I could get the exact message, the monitor says the following between bootman and desktop:

ANALOG

OUT OF RANGE

46.3 KHZ / 43 HZ

comment:3 by bga, 17 years ago

Press space ate the very start of the boot process, before the boot icons screen shows up. Then go to the Fail Safe Video mode menu option and test the video resolutions listed there.

comment:4 by kev, 16 years ago

Sorry for the delay...

I tried again with a build from today/last night, and these modes do not work:

1024x768x32 1024x768x24 (if this is the default, I'm just guessing from trying in QEMU) 1280x1024x32 1280x1024x16 (I think)

But 1024x768x16 does work! I get a very slick-looking boot screen in that mode.

comment:5 by kev, 16 years ago

Oh, and for those that don't work, the message from my LCD screen is the same as in my original post.

comment:6 by kev, 16 years ago

Still having no boot screen on hrev27210.

comment:7 by kev, 16 years ago

Still having no boot screen on hrev27393.

comment:8 by kev, 16 years ago

Summary: boot screen does not show, but desktop does appear correctly afterwardsboot screen video mode incorrect/unsupported, but desktop okay

comment:9 by kev, 16 years ago

Also I found out finally, it's an ATI Radeon 9200 AGP 8x/4x that's in there.

comment:10 by kev, 16 years ago

Works great on the latest nightly. Hooray!

comment:11 by axeld, 16 years ago

Component: SystemSystem/Boot Loader
Resolution: fixed
Status: newclosed

Thanks for the update(s)! :-)

comment:12 by Kev, 15 years ago

Resolution: fixed
Status: closedreopened

In Alpha 1 this was still working, but on the latest nightlies (GCC4 hybrid hrev33783 for example) it's behaving the way it used to again.

comment:13 by Kev, 15 years ago

Version: R1/pre-alpha1R1/alpha1

comment:14 by Kev, 15 years ago

From syslog (couldn't attach whole file, too big):

KERN: Radeon - SET_DISPLAY_MODE: width=1280, height=1024
KERN: Radeon - Radeon_ReadEDID: Found DDC-capable monitor @0x0060
KERN: Radeon - Radeon_DetectDisplays: Edid Data for CRTC 0 on line 3
KERN: Vendor: GSM
KERN: Product ID: 19269
KERN: Serial #: 32223
KERN: Produced in week/year: 5/2007
KERN: EDID version: 1.3
KERN: Type: Analog
KERN: Size: 34 cm x 27 cm
KERN: Gamma=2.200
KERN: White (X,Y)=(0.312,0.329)
KERN: Supported Future Video Modes:
KERN: 640x480@75Hz (id=20273)
KERN: 800x600@75Hz (id=20293)
KERN: 1024x768@75Hz (id=20321)
KERN: 1280x1024@60Hz (id=32897)
KERN: Supported VESA Video Modes:
KERN: 720x400@70Hz
KERN: 640x480@60Hz
KERN: 640x480@75Hz
KERN: 800x600@60Hz
KERN: 800x600@75Hz
KERN: 832x624@75Hz
KERN: 1024x768@60Hz
KERN: 1024x768@75Hz
KERN: 1280x1024@75Hz
KERN: 1152x870@75Hz
KERN: Additional Video Mode (1280x1024@60Hz):
KERN: clock=108.000000 MHz
KERN: h: (1280, 1328, 1440, 1688)
KERN: v: (1024, 1025, 1028, 1066)
KERN: size: 33.8 cm x 27.0 cm
KERN: border: 0.0 cm x 0.0 cm
KERN: Horizontal frequency range = 30..83 kHz
KERN: Vertical frequency range = 56..75 Hz
KERN: Maximum pixel clock = 140 MHz
KERN: Monitor Name: L1953T
KERN: Monitor Name: 
KERN: Radeon - Radeon_DetectDisplays: Must be an analog monitor on DVI port
KERN: Radeon - Radeon_DetectDisplays: No Edid Pin Assigned to CRTC 1 
KERN: Radeon - Radeon_DetectCRTInt: Found colour CRT connected to CRT-DAC
KERN: Radeon - Radeon_DetectDisplays: Detected monitors: 0x3
KERN: Radeon - Radeon_ConnectorInfo: Port 0:- 
KERN: Monitor:    CRT 
KERN: Conn Type:  VGA
KERN: DDC Port:   VGA DDC
KERN: TMDS Type:  None
KERN: DAC Type:   Primary
KERN: Radeon - Radeon_ConnectorInfo: Port 1:- 
KERN: Monitor:    None
KERN: Conn Type:  None
KERN: DDC Port:   None
KERN: TMDS Type:  None
KERN: DAC Type:   Unknown
KERN: Radeon - Radeon_SetupDefaultMonitorRouting: display_devices=3, whished_num_heads=1, use_laptop_panel=0
KERN: Radeon - assignDefaultMonitorRoute: display_devices=3, whished_num_heads=1
KERN: Radeon - assignDefaultMonitorRoute: after restriction: 3
KERN: Radeon - assignDefaultMonitorRoute: CRTC1: 0x2, CRTC2: 0x1
KERN: Radeon - Radeon_SetupDefaultMonitorRouting: num_crtc: 2, CRTC1 (assigned): 0x2, CRTC2 (assigned): 0x1
KERN: Radeon - PROPOSE_DISPLAY_MODE: wished:
KERN: Radeon - PROPOSE_DISPLAY_MODE: H: 1280 1328 1440 1688 (v=1280)
KERN: Radeon - PROPOSE_DISPLAY_MODE: V: 1024 1025 1028 1066 (h=1024)
KERN: Radeon - PROPOSE_DISPLAY_MODE: clk: 107964
KERN: Radeon - PROPOSE_DISPLAY_MODE: got:
KERN: Radeon - PROPOSE_DISPLAY_MODE: H: 1280 1328 1440 1688 (v=1280)
KERN: Radeon - PROPOSE_DISPLAY_MODE: V: 1024 1025 1028 1066 (h=1024)
KERN: Radeon - PROPOSE_DISPLAY_MODE: clk: 107964
KERN: Radeon - SET_DISPLAY_MODE: independant heads: 2, different heads: 1
KERN: Radeon - SET_DISPLAY_MODE: scrolling disabled
KERN: Radeon - SET_DISPLAY_MODE: frame buffer CPU-address=88010400, phys-address=d0010400
KERN: Radeon - Radeon_CalcCRTCRegisters: crtc_pitch=160
KERN: Radeon - RDAEMON 'DHCP': lease time of 63101 seconds
KERN: adeon_CalcCRTPLLDividers: freq=107964000
KERN: Radeon - Radeon_CalcPLLRegisters: dot_clock_freq=108000000, pll_output_freq=216000000, ref_div=27, feedback_div=216, post_div=2
KERN: Radeon - Radeon_ProgramCRTCRegisters: 
KERN: Radeon - Radeon_ProgramRMXRegisters: 
KERN: Radeon - Radeon_ProgramPLL: 
KERN: Radeon - Radeon_SetMode: 
KERN: Radeon - Radeon_SetMode: RADEON_DAC_CNTL FF604102 
KERN: Radeon - Radeon_SetMode:<TRUNC>R<DROP>/dev/net/rtl8139/0: media change, media 0x900026 quality 1000 speed 10000

Does that last line mean that a message from the network card is interrupting the monitor's resolution being switched?

comment:15 by Kev, 15 years ago

Component: System/Boot LoaderSystem/Kernel

comment:16 by axeld, 15 years ago

Component: System/KernelSystem/Boot Loader

Nothing has changed in Haiku AFAIK, so maybe somehting in your setup changed?

Anyway, the kernel has nothing to do with mode setting, why did you change the component? It's done in the boot loader only.

comment:17 by Kev, 15 years ago

If by setup you mean BIOS settings, there have been no changes. I did unplug our router a few times recently, if that maybe changed the timing of when DHCP messages would come in, or something... In any case, it's still an issue.

My bad, I thought the KERN messages indicated it was the kernel. Sorry about that. :)

in reply to:  17 comment:18 by anevilyak, 15 years ago

Replying to Kev:

My bad, I thought the KERN messages indicated it was the kernel. Sorry about that. :)

Those are indeed from the kernel, but those are the point at which the actual haiku graphics driver is setting the desktop resolution (i.e. end of boot screen/start of haiku desktop). There should be a similar EDID/resolution dump near the very beginning of the syslog, and that's the part that's relevant since that's where the boot loader's doing its work to set the resolution for the actual boot screen.

comment:19 by Kev, 15 years ago

Oh, it had looked like the same VESA and Radeon sections appeared many many times, and the top of the file was all 'auvia' stuff, so I thought it was a cyclic log and I would want the stuff from the bottom.

Here's the first spot that mentions EDID:

...
KERN: Radeon - Radeon_DetectTVOut: 
KERN: Radeon - Radeon_ReadEDID: Found DDC-capable monitor @0x0060
KERN: Radeon - Radeon_DetectDisplays: Edid Data for CRTC 0 on line 3
KERN: Vendor: GSM
KERN: Product ID: 19269
KERN: Serial #: 32223
KERN: Produced in week/year: 5/2007
KERN: EDID version: 1.3
KERN: Type: Analog
KERN: Size: 34 cm x 27 cm
KERN: Gamma=2.200
KERN: White (X,Y)=(0.312,0.329)
KERN: Supported Future Video Modes:
KERN: 640x480@75Hz (id=20273)
KERN: 800x600@75Hz (id=20293)
KERN: 1024x768@75Hz (id=20321)
KERN: 1280x1024@60Hz (id=32897)
KERN: Supported VESA Video Modes:
KERN: 720x400@70Hz
KERN: 640x480@60Hz
KERN: 640x480@75Hz
KERN: 800x600@60Hz
KERN: 800x600@75Hz
KERN: 832x624@75Hz
KERN: 1024x768@60Hz
KERN: 1024x768@75Hz
KERN: 1280x1024@75Hz
KERN: 1152x870@75Hz
KERN: Additional Video Mode (1280x1024@60Hz):
KERN: clock=108.000000 MHz
KERN: h: (1280, 1328, 1440, 1688)
KERN: v: (1024, 1025, 1028, 1066)
KERN: size: 33.8 cm x 27.0 cm
KERN: border: 0.0 cm x 0.0 cm
KERN: Horizontal frequency range = 30..83 kHz
KERN: Vertical frequency range = 56..75 Hz
KERN: Maximum pixel clock = 140 MHz
KERN: Monitor Name: L1953T
KERN: Monitor Name: 
KERN: Radeon - Radeon_DetectDisplays: Must be an analog monitor on DVI port
KERN: Radeon - Radeon_DetectDisplays: No Edid Pin Assigned to CRTC 1 
KERN: Radeon - Radeon_DetectCRTInt: Found colour CRT connected to CRT-DAC
KERN: Radeon - Radeon_DetectDisplays: Detected monitors: 0x3
KERN: Radeon - Radeon_ConnectorInfo: Port 0:- 
KERN: Monitor:    CRT 
KERN: Conn Type:  VGA
KERN: DDC Port:   VGA DDC
KERN: TMDS Type:  None
KERN: DAC Type:   Primary
KERN: Radeon - Radeon_ConnectorInfo: Port 1:- 
KERN: Monitor:    None
KERN: Conn Type:  None
KERN: DDC Port:   None
KERN: TMDS Type:  None
KERN: DAC Type:   Unknown
KERN: rtl81xx: init_hardware(0x830fc214)
KERN: rtl81xx: no hardware found.
KERN: syskonnect: init_hardware(0x83318ca0)
KERN: syskonnect: no hardware found.
KERN: [33musb_asix:[0m00.25.637:init_driver::ver.0.8.3
KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/net/usb_asix
KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/net/usb_ecm
KERN: via_rhine: init_hardware(0x830fac40)
KERN: via_rhine: no hardware found.
KERN: bfs: bfs_open_dir:1579: Not a directory
KERN: get_device_interface: ask "network/devices/ethernet/v1" for /dev/net/rtl8139/0
KERN: ipv4_datalink_init(/dev/net/rtl8139/0)
KERN: [net/rtl8139/0] compat_open(0x2)
KERN: ifmedia_ioctl: switching rl to Ethernet autoselect
KERN: /dev/net/rtl8139/0: media change, media 0x22 quality 1000 speed 10000
KERN: register_domain(4, link)
KERN: Radeon - SET_DISPLAY_MODE: width=1280, height=1024
KERN: Radeon - Radeon_ReadEDID: Found DDC-capable monitor @0x0060
KERN: Radeon - Radeon_DetectDisplays: Edid Data for CRTC 0 on line 3
KERN: Vendor: GSM
KERN: Product ID: 19269
KERN: Serial #: 32223
KERN: Produced in week/year: 5/2007
KERN: EDID version: 1.3
KERN: Type: Analog
KERN: Size: 34 cm x 27 cm
KERN: Gamma=2.200
KERN: White (X,Y)=(0.312,0.329)
KERN: Supported Future Video Modes:
KERN: 640x480@75Hz (id=20273)
KERN: 800x600@75Hz (id=20293)
KERN: 1024x768@75Hz (id=20321)
KERN: 1280x1024@60Hz (id=32897)
KERN: Supported VESA Video Modes:
KERN: 720x400@70Hz
KERN: 640x480@60Hz
KERN: 640x480@75Hz
KERN: 800x600@60Hz
KERN: 800x600@75Hz
KERN: 832x624@75Hz
KERN: 1024x768@60Hz
KERN: 1024x768@75Hz
KERN: 1280x1024@75Hz
KERN: 1152x870@75Hz
KERN: Additional Video Mode (1280x1024@60Hz):
KERN: clock=108.000000 MHz
KERN: h: (1280, 1328, 1440, 1688)
KERN: v: (1024, 1025, 1028, 1066)
KERN: size: 33.8 cm x 27.0 cm
KERN: border: 0.0 cm x 0.0 cm
KERN: Horizontal frequency range = 30..83 kHz
KERN: Vertical frequency range = 56..75 Hz
KERN: Maximum pixel clock = 140 MHz
KERN: Monitor Name: L1953T
KERN: Monitor Name: 
KERN: Radeon - Radeon_DetectDisplays: Must be an analog monitor on DVI port
KERN: Radeon - Radeon_DetectDisplays: No Edid Pin Assigned to CRTC 1 
KERN: Radeon - Radeon_DetectCRTInt: Found colour CRT connected to CRT-DAC
KERN: Radeon - Radeon_DetectDisplays: Detected monitors: 0x3
KERN: Radeon - Radeon_ConnectorInfo: Port 0:- 
KERN: Monitor:    CRT 
KERN: Conn Type:  VGA
KERN: DDC Port:   VGA DDC
KERN: TMDS Type:  None
KERN: DAC Type:   Primary
KERN: Radeon - Radeon_ConnectorInfo: Port 1:- 
KERN: Monitor:    None
KERN: Conn Type:  None
KERN: DDC Port:   None
KERN: TMDS Type:  None
KERN: DAC Type:   Unknown
KERN: Radeon - Radeon_SetupDefaultMonitorRouting: display_devices=3, whished_num_heads=1, use_laptop_panel=0
KERN: Radeon - assignDefaultMonitorRoute: display_devices=3, whished_num_heads=1
KERN: Radeon - assignDefaultMonitorRouteDAEMON 'DHCP': DHCP for /dev/net/rtl8139/0, status: No error
KERN: : after restriction: 3
KERN: Radeon - assignDefaultMonitorRoute: CRTC1: 0x2, CRTC2: 0x1
KERN: Radeon - Radeon_SetupDefaultMonitorRouting: num_crtc: 2, CRTC1 (assigned): 0x2, CRTC2 (assigned): 0x1
KERN: Radeon - PROPOSE_DISPLAY_MODE: wished:
KERN: Radeon - PROPOSE_DISPLAY_MODE: H: 1280 1328 1440 1688 (v=1280)
KERN: Radeon - PROPOSE_DISPLAY_MODE: V: 1024 1025 1028 1066 (h=1024)
KERN: Radeon - PROPOSE_DISPLAY_MO<TRUNC>R<DROP>/dev/net/rtl8139/0: media change, media 0x900026 quality 1000 speed 10000
KERN: ps2_hid: init_hardware
...

I'm not sure why it says CRT, but oh well. Does that help?

comment:20 by mmlr, 15 years ago

Please try a GCC2 based nightly as well. It might surface on GCC4 only.

comment:21 by Kev, 15 years ago

Still happening on hrev34892 gcc2-hybrid. None of the builds I've tried here and there (of various GCC2/4 hybrid/plain combinations) have solved this.

by Kev, 15 years ago

Attachment: syslog added

by Kev, 15 years ago

Attachment: syslog.2 added

syslog

by Kev, 15 years ago

Attachment: syslog.3 added

syslog

by Kev, 15 years ago

Attachment: syslog.4 added

syslog

comment:22 by Kev, 15 years ago

Still happening on hrev35914 gcc2-hybrid. None of the gcc2-hybrid or gcc4-hybrid builds I've tried since my last comment have solved this.

Oops...sorry for the multiple attachments. Web+ was giving me an error message, so I hadn't thought it was going through.

by Kev, 15 years ago

Attachment: syslog.old.part1 added

syslog.old, since syslog didn't seem to have much info in it--part 1

by Kev, 15 years ago

Attachment: syslog.old.part2 added

part 2

comment:23 by Kev, 15 years ago

(Split the file to get around the size limit. Maybe having the whole thing will help in case I was missing something relevant.)

by Kev, 15 years ago

Attachment: syslog.5 added

latest syslog

comment:24 by Kev, 15 years ago

This is from haiku-r1a2-rc-hrev36423-x86gcc2hybrid-raw. None of the nightlies/RCs since last time have behaved any differently.

Any clues? Is there any additional information I could provide? I'm pretty curious, since it did work at one point in Haiku's history.

comment:25 by stippi, 15 years ago

Well your graphics card is supported by the Radeon driver, while the boot screen is provided via the VESA BIOS. That's why there is a difference, I am afraid to fix your issue, one may have to have access to your hardware.

comment:26 by Kev, 15 years ago

Ah, that makes sense. Well, if I ever get a new computer, I could send this one to someone. It's an old eMachines low-end desktop I bought around 2005. But it's still working so that may or may not happen soon. I guess it's not really a show-stopper, so should we close the ticket then?

comment:27 by scottmc, 13 years ago

Can you recheck this with a recent Haiku build?

comment:28 by scottmc, 13 years ago

Blocking: 7665 added

comment:29 by Kev, 12 years ago

This is still happening on hrev44543 on the same hardware. I did notice something slightly different this time though, that for a split second before the desktop appears, i.e. right after it switches into a video mode my monitor recognizes, I see the Haiku loading screen with all the icons lit up.

comment:30 by Kev, 12 years ago

Happens on Alpha 4.1.

in reply to:  12 comment:31 by diver, 12 years ago

Replying to Kev:

In Alpha 1 this was still working, but on the latest nightlies (GCC4 hybrid hrev33783 for example) it's behaving the way it used to again.

Could you try Alpha 1 again just to be sure it still works?

comment:32 by Kev, 12 years ago

I thought I had an image somewhere, but I no longer do. I don't seem to be able to find one anymore. Do you know of a direct download link I can use?

(In any case, I don't see why it shouldn't. I distinctly remember it working, and I haven't had another system to try Haiku on until just recently.)

comment:33 by Kev, 12 years ago

Good news, as of GCC2 hybrid hrev45385, everything works correctly! The splash screen looks slick. Not sure what got fixed, but great job!

comment:34 by diver, 12 years ago

Resolution: fixed
Status: reopenedclosed

Thanks for the feedback! Closing.

comment:35 by Kev, 11 years ago

Resolution: fixed
Status: closedreopened

This is happening again as of hrev46198. It was not happening on hrev46164.

comment:36 by anevilyak, 11 years ago

I've actually been seeing this off and on since the PM merge here too. Interestingly with a legacy Radeon card as well (X800).

Last edited 11 years ago by anevilyak (previous) (diff)

comment:37 by pulkomandy, 10 years ago

Blocking: 7665 removed

Not a strict "boot failure" as the system boots eventually, removing from #7665.

comment:38 by axeld, 8 years ago

Owner: changed from axeld to nobody
Status: reopenedassigned

comment:39 by pulkomandy, 5 years ago

Component: System/Boot LoaderSystem/Boot Loader/BIOS
Note: See TracTickets for help on using tickets.