I have a problem with your drivers while using ALTLinux 5.0/6.0 on computer with EliteGroup P4M800-M motherboard(even with latest BIOS 1.0e) with integrated video card VIA/S3G Unichrome(32Mb reserved in system memory). It just hung on blank screen while installing or shows incorrect picture(narrow stripe with "big" distorted cursor). But WinXP works on this computer fine even with default drivers. One man on ALTLinux support forum told me, that this problem is caused by incorrect video memory detection. He suggested to use xdriver=vesa while installing and add OPTION "VideoRAM" "32768" to xorg.com after it and it helped. I've tried to change chipset in xorg.com to some other - it didn't helped. Video memory was detected correctly, but screen stayed blank. So here is some parts of my xorg.log file that will explain you a problem. May be you can do something with it. (--) PCI:*(0:1:0:0) 1106:7205:1106:7205 VIA Technologies, Inc. KM400/KN400/P4M800 [S3 UniChrome] rev 1, Mem @ 0xf4000000/67108864, 0xf8000000/16777216, BIOS @ 0x????????/65536 ... (II) Module openchrome: vendor="http://openchrome.org/" compiled for 1.6.4, module version = 0.2.904 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 5.0 (II) OPENCHROME: Driver for VIA Chrome chipsets: CLE266, KM400/KN400, K8M800/K8N800, PM800/PM880/CN400, VM800/P4M800Pro/VN800/CN700, K8M890/K8N890, P4M900/VN896/CN896, CX700/VX700, P4M890, VX800, VX855 (II) Primary Device is: PCI 01@00:00:0 (!!) VIA Technologies does not support this driver in any way. (!!) For support, please refer to http://www.openchrome.org/. (!!) (development build, compiled on Fri Oct 9 06:29:45 2009) ... (II) CHROME(0): VIAGetRec (**) CHROME(0): Depth 24, (--) framebuffer bpp 32 (==) CHROME(0): RGB weight 888 (==) CHROME(0): Default visual is TrueColor (--) CHROME(0): Chipset: KM400/KN400 (--) CHROME(0): Chipset revision: 0 (--) CHROME(0): Probed amount of VideoRAM = 1024 kB (II) CHROME(0): Setting up default chipset options. (II) CHROME(0): VIASetupDefaultOptions (II) CHROME(0): Reading config file... (**) CHROME(0): Option "VideoRAM" "32768" (II) CHROME(0): Starting to parse config file options... (**) CHROME(0): Setting amount of VideoRAM to 32768 kB
Created attachment 71356 [details] [review] Fix memory detection on P4M800
Can you please test the attached patch ? The patch applies to git master. See http://www.openchrome.org/trac/wiki/Installation#InstallfromGIT for build directions. Once built and installed, please test the driver without an xorg conf, it should detect the amount of video ram properly.
Ok. I'll test on this weekend.
Wait a minute. As I can see, this patch is doing the same thing as config file - i.e. manually set VRAM to 16M, if detection failed. So this is not actual fix - it just hiding problem.
No, it does exactly the contrary, it removes the hack that was in place to set the memory to 16 MB if detection fails and instead should detect the proper amount of memory in the case of a P4M800 hostbridge.
Ok. I can't test it by myself, because ALTLinux has it's own adopted version of this drivers. But I have passed your patch to ALTLinux support team and they promised, that they'll send me test version of driver in a nearest future. I hope I'll have some results on the next weekend.
Did you had a chance to test the patch ?
Created attachment 72446 [details] [review] Patch update to properly detect memory on KM400. Found a typo in the patch that can lock the X server. Please push this patch upstream for testing.
Created attachment 72458 [details] xorg.log I have tested previus patch today. It seems that it works. Tryed 32Mb and 64Mb VRAM and driver detected it correctly. Attaching my xorg.log for you to inspect. Don't know if last modification is nessesary. I have not patched and builded this driver by myself - ALTLinux support team done it for me. So may be they already corrected this.
Thanks for the feedback. Do you have a link to the package you used to test or a bug number in ALTlinux bugzilla or any other pointer so we can take a look at what you tested ?
Link http://git.altlinux.org/tasks/87186/ Git-repository: http://git.altlinux.org/tasks/87186/gears/200/git Packs: http://git.altlinux.org/tasks/87186/build/200/i586/ http://git.altlinux.org/tasks/87186/build/200/x86_64/
Excellent they fixed up the patch just like the second on. Since this now works and is checked into our master branch I'm going to close this ticket.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.