MTRR mystery (Announce)
Thanks for debug reports. Please remove my email address from your post. I can see that your C2D machine has more intelligent BIOS (What mobo? mine is gigabyte GA-P31...). It mapped user RAM area to 3 smaller blocks set to write-back that doesnt't spread entire address space but ending probably at CDFFFFFFh. So when I add new MTRR for LFB area it doesn't conflict (overlap) with any other area and it works as expected. Please send logs with remapping enabled too, I'd like to compare them. I don't have such option in BIOS. AFAIK remapping use PAE (36bit phys addr) some way...
But your i7 system really confusing me:
MTRR #0 = 000000000h, 000000000h, 06h, used
MTRR #1 = 0E0000000h, 0E0000000h, 00h, used
MTRR #2 = 0DE000000h, 0FE000000h, 00h, used
MTRR #3 = 0DD800000h, 0FF800000h, 00h, used
MTRR #4 = 000000000h, 000000000h, 06h, used - WTF? why duplicate MTRR0?
MTRR #5 = 000000000h, 000000000h, 06h, used - WTF? why duplicate MTRR0?
MTRR #6 = 000000000h, 0E0000000h, 06h, used - WTF? why duplicate range of MTRR1 with different caching?
As I think that less caching should have higher priority, so LFB is still uncached.
Looking at MTRRs after:
MTRR #0 = 000000000h, 080000000h, 06h, used - well my hardcoded setting
MTRR #1 = 0E0000000h, 0FE010000h, 00h, used - WTF? why still uncached? Didn't you made typo error and set "UC" instead "WC"? Please try again. I cannot imagine what error could cause that base and mask was set but mode not.
MTRR #2 = 0DE000000h, 0FE000000h, 00h, used
MTRR #3 = 0DD800000h, 0FF800000h, 00h, used
MTRR #4 = 000000000h, 000000000h, 06h, used - still overlaping entire 4G
MTRR #5 = 000000000h, 000000000h, 06h, used - still overlaping entire 4G
MTRR #6 = 000000000h, 0E0000000h, 06h, used
Looking at MTRRs after FastVid:
MTRR #0 = 000000000h, 080000000h, 06h, used - well my hardcoded setting
MTRR #1 = 0E0000000h, 0FE010000h, 01h, used - WTF? why there's 1 now?
MTRR #2 = 0DE000000h, 0FE000000h, 00h, used
MTRR #3 = 0DD800000h, 0FF800000h, 00h, used
MTRR #4 = 000000000h, 000000000h, 06h, used - still overlaping entire 4G
MTRR #5 = 000000000h, 000000000h, 06h, used - still overlaping entire 4G
MTRR #6 = 000000000h, 0E0000000h, 06h, used
MTRR #7 = 0E0000000h, 0FE100000h, 01h, used - new LFB area setting by fastvid
I can see there's a difference how fastvid calculated the mask: FE100000 vs FE010000. LFB size is for some strange reason not aligned to 32MB but 32MB-64kB. This may cause problem, maybe my mask calculation is wrong. If I calculate well, fastvid covers only 31744kB of 32704kB - not entire LFB area. But available VESA modes doesn't need 32MB at all.
Anyway because of MTRR 4 and 5 is still set I wonder that this setting has any effect. Really confused...
---
DOS gives me freedom to unlimited HW access.
Complete thread:
- New DJGPP Mplayer build from SVN - Khusraw, 23.01.2012, 18:42 (Announce)
- New DJGPP Mplayer build from SVN - ron, 23.01.2012, 21:21
- New DJGPP Mplayer build from SVN - ron, 23.01.2012, 22:39
- New DJGPP Mplayer build from SVN - glennmcc, 24.01.2012, 00:24
- New DJGPP Mplayer build from SVN - ron, 24.01.2012, 00:46
- New DJGPP Mplayer build from SVN - Khusraw, 24.01.2012, 09:24
- New DJGPP Mplayer build from SVN - Khusraw, 24.01.2012, 09:22
- New DJGPP Mplayer build from SVN - glennmcc, 24.01.2012, 00:24
- New DJGPP Mplayer build from SVN - ron, 23.01.2012, 22:39
- New DJGPP Mplayer build from SVN - Doug, 24.01.2012, 04:58
- New DJGPP Mplayer build from SVN - RayeR, 24.01.2012, 10:26
- Mplayer with fixed ao wss problems - Khusraw, 24.01.2012, 13:54
- Mplayer with fixed ao wss problems - ron, 24.01.2012, 22:41
- Mplayer with fixed ao wss problems - ron, 25.01.2012, 03:51
- Mplayer with fixed ao wss problems - ron, 25.01.2012, 21:49
- Mplayer with fixed ao wss problems - ron, 25.01.2012, 03:51
- Mplayer with fixed ao wss problems - glennmcc, 25.01.2012, 01:34
- Mplayer with fixed ao wss problems - Khusraw, 25.01.2012, 09:03
- Mplayer with fixed ao wss problems - glennmcc, 25.01.2012, 17:32
- Mplayer with fixed ao wss problems - Khusraw, 25.01.2012, 21:40
- Mplayer with fixed ao wss problems - glennmcc, 26.01.2012, 02:19
- Mplayer with fixed ao wss problems - glennmcc, 26.01.2012, 03:03
- Mplayer with fixed ao wss problems - RayeR, 26.01.2012, 10:31
- Mplayer with fixed ao wss problems - Khusraw, 26.01.2012, 10:43
- Mplayer with fixed ao wss problems - glennmcc, 26.01.2012, 23:32
- Mplayer with fixed ao wss problems - Zyzzle, 26.01.2012, 23:52
- Mplayer with fixed ao wss problems - RayeR, 27.01.2012, 03:06
- Mplayer with fixed ao wss problems - Zyzzle, 26.01.2012, 23:52
- Mplayer with fixed ao wss problems - glennmcc, 26.01.2012, 23:32
- Mplayer with fixed ao wss problems - glennmcc, 26.01.2012, 03:03
- Mplayer with fixed ao wss problems - glennmcc, 26.01.2012, 02:19
- Mplayer with fixed ao wss problems - Khusraw, 25.01.2012, 21:40
- Mplayer with fixed ao wss problems - glennmcc, 25.01.2012, 17:32
- Mplayer with fixed ao wss problems - Khusraw, 25.01.2012, 09:03
- Mplayer with fixed ao wss problems - RayeR, 25.01.2012, 03:44
- Mplayer with fixed ao wss problems - Khusraw, 25.01.2012, 09:05
- Mplayer with fixed ao wss problems - Doug, 25.01.2012, 05:59
- Mplayer with fixed ao wss problems - Khusraw, 25.01.2012, 09:07
- Mplayer with fixed ao wss problems - Doug, 25.01.2012, 17:48
- Mplayer with fixed ao wss problems - RayeR, 25.01.2012, 16:05
- Mplayer with fixed ao wss problems - Doug, 25.01.2012, 17:45
- Mplayer with fixed ao wss problems - RayeR, 25.01.2012, 17:53
- Mplayer with fixed ao wss problems - Doug, 25.01.2012, 17:45
- Mplayer with fixed ao wss problems - Khusraw, 25.01.2012, 17:12
- Mplayer with fixed ao wss problems - Doug, 25.01.2012, 17:54
- Mplayer with fixed ao wss problems - my "kludgy" solution - Doug, 25.01.2012, 18:06
- Mplayer with fixed ao wss problems - Khusraw, 25.01.2012, 09:07
- Mplayer with fixed ao wss problems - ron, 24.01.2012, 22:41
- New DJGPP Mplayer build from SVN - Zyzzle, 26.01.2012, 04:52
- New DJGPP Mplayer build from SVN - Khusraw, 26.01.2012, 09:29
- New DJGPP Mplayer build from SVN - Zyzzle, 26.01.2012, 22:13
- New DJGPP Mplayer build from SVN - Khusraw, 26.01.2012, 23:14
- New DJGPP Mplayer build from SVN - RayeR, 27.01.2012, 03:12
- New DJGPP Mplayer build from SVN - Khusraw, 27.01.2012, 10:25
- New DJGPP Mplayer build from SVN - Zyzzle, 28.01.2012, 01:54
- New DJGPP Mplayer build from SVN - Khusraw, 28.01.2012, 09:23
- New DJGPP Mplayer build from SVN - Zyzzle, 28.01.2012, 13:51
- New DJGPP Mplayer build from SVN - RayeR, 28.01.2012, 14:46
- New DJGPP Mplayer build from SVN - Khusraw, 28.01.2012, 14:47
- New DJGPP Mplayer build from SVN - Zyzzle, 29.01.2012, 04:40
- MTRR mystery - RayeR, 30.01.2012, 15:03
- MTRR mystery - RayeR, 31.01.2012, 02:38
- MTRR mystery - RayeR, 31.01.2012, 02:39
- MTRR mystery - roytam, 31.01.2012, 05:38
- MTRR mystery - RayeR, 31.01.2012, 13:02
- MTRR mystery - RayeR, 02.02.2012, 04:13
- MTRR mystery - Zyzzle, 02.02.2012, 05:46
- MTRR mystery - RayeR, 02.02.2012, 10:51
- MTRR mystery - RayeR, 02.02.2012, 20:44
- MTRR mystery - Zyzzle, 03.02.2012, 08:20
- MTRR mystery - RayeR, 03.02.2012, 19:19
- MTRR mystery - Zyzzle, 04.02.2012, 07:08
- MTRR mystery - RayeR, 05.02.2012, 02:20
- MTRR mystery - RayeR, 06.02.2012, 02:23
- MTRR mystery - RayeR, 06.02.2012, 12:14
- MTRR mystery - Zyzzle, 07.02.2012, 08:04
- MTRR mystery - RayeR, 07.02.2012, 16:53
- MTRR mystery - Laaca, 11.02.2012, 08:49
- MTRR mystery - RayeR, 11.02.2012, 13:22
- MTRR mystery - Zyzzle, 12.02.2012, 08:11
- MTRR mystery - RayeR, 11.02.2012, 13:22
- MTRR mystery - Laaca, 11.02.2012, 08:49
- MTRR mystery - RayeR, 07.02.2012, 16:53
- MTRR mystery - Zyzzle, 07.02.2012, 08:04
- MTRR mystery - RayeR, 06.02.2012, 12:14
- MTRR mystery - RayeR, 06.02.2012, 02:23
- MTRR mystery - RayeR, 05.02.2012, 02:20
- MTRR mystery - Zyzzle, 04.02.2012, 07:08
- MTRR mystery - RayeR, 03.02.2012, 19:19
- MTRR mystery - Zyzzle, 03.02.2012, 08:20
- MTRR mystery - RayeR, 02.02.2012, 20:44
- MTRR mystery - RayeR, 02.02.2012, 10:51
- MTRR mystery - Zyzzle, 02.02.2012, 05:46
- MTRR mystery - RayeR, 31.01.2012, 02:38
- MTRR mystery - RayeR, 30.01.2012, 15:03
- New DJGPP Mplayer build from SVN - Zyzzle, 29.01.2012, 04:40
- New DJGPP Mplayer build from SVN - Zyzzle, 28.01.2012, 13:51
- New DJGPP Mplayer build from SVN - Khusraw, 28.01.2012, 09:23
- New DJGPP Mplayer build from SVN - Zyzzle, 28.01.2012, 02:09
- New DJGPP Mplayer build from SVN - Khusraw, 28.01.2012, 09:03
- New DJGPP Mplayer build from SVN - RayeR, 28.01.2012, 14:56
- New DJGPP Mplayer build from SVN - Zyzzle, 28.01.2012, 01:54
- New DJGPP Mplayer build from SVN - Zyzzle, 26.01.2012, 22:13
- New DJGPP Mplayer build from SVN - ron, 26.01.2012, 11:52
- New DJGPP Mplayer build from SVN - Khusraw, 26.01.2012, 09:29
- New DJGPP Mplayer build from SVN - Deniska, 27.01.2012, 12:47
- New DJGPP Mplayer build from SVN - Khusraw, 27.01.2012, 14:41
- New DJGPP Mplayer build from SVN - Deniska, 28.01.2012, 06:04
- New DJGPP Mplayer build from SVN - Khusraw, 28.01.2012, 14:34
- New DJGPP Mplayer build from SVN - Khusraw, 29.01.2012, 12:09
- New DJGPP Mplayer build from SVN - Deniska, 28.01.2012, 06:04
- New DJGPP Mplayer build from SVN - Khusraw, 27.01.2012, 14:41
- New DJGPP Mplayer build from SVN - Laaca, 27.01.2012, 15:21
- New DJGPP Mplayer build from SVN - Khusraw, 27.01.2012, 15:25
- New DJGPP Mplayer build from SVN - Laaca, 28.01.2012, 21:32
- New DJGPP Mplayer build from SVN - Khusraw, 29.01.2012, 09:46
- New DJGPP Mplayer build from SVN - Laaca, 28.01.2012, 21:32
- New DJGPP Mplayer build from SVN - Khusraw, 27.01.2012, 15:25
- New DJGPP Mplayer build from SVN - dalmudlee, 01.02.2012, 16:28
- New DJGPP Mplayer build from SVN - Khusraw, 01.02.2012, 17:09
- New DJGPP Mplayer build from SVN - dalmudlee, 01.02.2012, 18:33
- New DJGPP Mplayer build from SVN - Khusraw, 01.02.2012, 18:40
- New DJGPP Mplayer build from SVN - dalmudlee, 01.02.2012, 18:33
- New DJGPP Mplayer build from SVN - Khusraw, 01.02.2012, 17:09
- Final Mplayer DJGPP build for this "season" - Khusraw, 04.02.2012, 23:08
- Final Mplayer DJGPP build for this "season" - Zyzzle, 06.02.2012, 06:39
- Final Mplayer DJGPP build for this "season" - Khusraw, 06.02.2012, 09:54
- Final Mplayer DJGPP build for this "season" - Zyzzle, 06.02.2012, 06:39
- Yet another small update - Khusraw, 08.02.2012, 17:15
- Yet another small update - glennmcc, 11.02.2012, 00:53
- Yet another small update - ron, 11.02.2012, 07:56
- Yet another small update | OMP | works mostly - DOS386, 24.02.2012, 01:52
- Yet another small update | OMP | works mostly - Khusraw, 24.02.2012, 13:05
- Yet another small update | OMP | works mostly - DOS386, 05.03.2012, 07:47
- Yet another small update | OMP | works mostly - Khusraw, 05.03.2012, 09:02
- OMP | works mostly | OGG Theora+Vorbis issues - DOS386, 11.03.2012, 15:57
- OMP | works mostly | OGG Theora+Vorbis issues - Khusraw, 11.03.2012, 16:18
- MPLAYER 1.1 is out 2012-Jun-10 - DOS386, 13.06.2012, 11:28
- MPLAYER 1.1 is out 2012-Jun-10 - Khusraw, 14.06.2012, 20:33
- MPLAYER 1.1 is out 2012-Jun-10 - DOS386, 13.06.2012, 11:28
- OMP | works mostly | OGG Theora+Vorbis issues - Khusraw, 11.03.2012, 16:18
- OMP | works mostly | OGG Theora+Vorbis issues - DOS386, 11.03.2012, 15:57
- Yet another small update | OMP | works mostly - Khusraw, 05.03.2012, 09:02
- Yet another small update | OMP | works mostly - DOS386, 05.03.2012, 07:47
- Yet another small update | OMP | works mostly - Khusraw, 24.02.2012, 13:05
- Yet another small update - glennmcc, 11.02.2012, 00:53
- New DJGPP Mplayer build from SVN - ron, 23.01.2012, 21:21