Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MOL refuses 1440x900x24 on my PBG4-17"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
luispa
Guru
Guru


Joined: 17 Mar 2006
Posts: 357
Location: España

PostPosted: Sat May 27, 2006 12:37 pm    Post subject: MOL refuses 1440x900x24 on my PBG4-17" Reply with quote

Hi, I have a problem with MOL, It's refusing to do 1440x900x24 in my Powerbook G4 17". I've tried with and without X11 and in X11 with xvideo, console video or both.

My objective is to be able to run it at Console Video Full Screen at maximum resolution (1440x900x24).

I've configured it to start booting with 1024x768x24 in molrc.video. That works ok (penguin and apple loggin, without X11, and with X11 with xvideo or console video or both). After login it changes to MacOSX and there is where I can't get the desired resolution.

The maximum resolution I can set once MacOSX boots is 1280x854x60, either without X11 or with X11 (xvideo, console video or both). I'm able to switch to 1440x900 only under xvideo (window inside X), but on the external VT-8 is black.

Please see the relevant configuration files and as always thank you for your help.

luis


xorg.conf
Code:
:
        Modeline "1440x900" 96.219 1440 1504 1536 1760  900 903 906 912  -HSync -VSync
:
Section "Screen"
:
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1440x900"
        EndSubSection
:


xdpyinfo
Code:
:
screen #0:
  dimensions:    1440x900 pixels (373x231 millimeters)
  resolution:    98x99 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32


Xorg.0.log
Code:
:
(--) PCI:*(0:16:0) ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] rev 0, Mem @ 0xb8000000/27, 0xb0000000/16, I/O @ 0x0400/8, BIOS @ 0xf1000000/17
:
(II) Setting vga for screen 0.
(II) RADEON(0): MMIO registers at 0xb0000000
(II) RADEON(0): PCI bus 0 card 16 func 0
(**) RADEON(0): Depth 24, (--) framebuffer bpp 32
(II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) RADEON(0): Default visual is TrueColor
(**) RADEON(0): Option "EnablePageFlip" "true"
(**) RADEON(0): Option "UseFBDev" "False"
(II) RADEON(0): VGAAccess option set to FALSE, VGA module load skipped
(==) RADEON(0): RGB weight 888
(II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
(--) RADEON(0): Chipset: "ATI Radeon Mobility 9600/9700 (M10/M11) NP (AGP)" (ChipID = 0x4e50)
(--) RADEON(0): Linear framebuffer at 0xb8000000
(--) RADEON(0): BIOS at 0xf1000000
(--) RADEON(0): VideoRAM: 131072 kByte (128 bit DDR SDRAM)
(II) RADEON(0): AGP card detected

(II) RADEON(0): EDID data from the display on port 1 ----------------------
(II) RADEON(0): Manufacturer: APP  Model: 9c42  Serial#: 0
(II) RADEON(0): Year: 2004  Week: 44
(II) RADEON(0): EDID Version: 1.3
(II) RADEON(0): Digital Display Input
(II) RADEON(0): Max H-Image Size [cm]: horiz.: 37  vert.: 23
(II) RADEON(0): Gamma: 2.20
(II) RADEON(0): No DPMS capabilities specified; RGB/Color Display
(II) RADEON(0): First detailed timing is preferred mode
(II) RADEON(0): redX: 0.590 redY: 0.340   greenX: 0.314 greenY: 0.545
(II) RADEON(0): blueX: 0.154 blueY: 0.135   whiteX: 0.312 whiteY: 0.328
(II) RADEON(0): Manufacturer's mask: 0
(II) RADEON(0): Supported additional Video Mode:
(II) RADEON(0): clock: 96.2 MHz   Image Size:  367 x 230 mm
(II) RADEON(0): h_active: 1440  h_sync: 1504  h_sync_end 1536 h_blank_end 1760 h_border: 0
(II) RADEON(0): v_active: 900  v_sync: 903  v_sync_end 906 v_blanking: 912 v_border: 0
(II) RADEON(0):  LP171W01-A4K2
(II) RADEON(0): Monitor name: Color LCD
(II) RADEON(0):



/var/lib/mol/fb_modes
Code:
# Version 1
# Mac-on-Linux Video Mode Configuration
#
# DO NOT EDIT THIS FILE BY HAND
#
# Created by 'molvconfig'
#
640 480 640 480 0 0 32052 128 24 28 9 40 3 0 0
3 4726047 8 640 0 15 1280 0 32 2560 0
#
640 480 640 480 0 0 31747 120 16 16 1 64 3 0 0
3 4915050 8 640 0 15 1280 0 32 2560 0
#
640 480 640 480 0 0 25057 120 32 14 25 40 14 0 0
3 5897939 8 640 0 15 1280 0 32 2560 0
#
640 480 640 480 0 0 22272 48 32 17 22 128 12 0 0
3 6534770 8 640 0 15 1280 0 32 2560 0
#
800 600 800 600 0 0 27778 128 24 22 1 72 2 3 0
3 3686370 8 832 0 15 1600 0 32 3200 0
#
800 600 800 600 0 0 25000 88 40 23 1 128 4 3 0
3 3952904 8 832 0 15 1600 0 32 3200 0
#
800 600 800 600 0 0 22272 40 24 15 9 144 12 1 0
3 4589898 8 832 0 15 1600 0 32 3200 0
#
800 600 800 600 0 0 20000 64 56 23 37 120 6 3 0
3 4730884 8 832 0 15 1600 0 32 3200 0
#
800 600 800 600 0 0 20203 160 16 21 1 80 3 3 0
3 4914961 8 832 0 15 1600 0 32 3200 0
#
800 600 800 600 0 0 17656 120 8 16 8 64 11 3 0
3 5892535 8 832 0 15 1600 0 32 3200 0
#
800 600 800 600 0 0 14815 216 0 14 7 64 4 3 0
3 6553518 8 832 0 15 1600 0 32 3200 0
#
1024 768 1024 768 0 0 13334 144 24 29 3 136 6 0 0
3 4591835 8 1024 0 15 2048 0 32 4096 0
#
1024 768 1024 768 0 0 12698 176 16 28 1 96 3 3 0
3 4917232 8 1024 0 15 2048 0 32 4096 0
#
1152 864 1152 864 0 0 12500 128 64 41 6 112 5 3 0
3 3931090 8 1152 0 15 2304 0 32 4608 0
#
1024 768 1024 8176 0 0 12734 167 25 28 1 96 3 3 0
2 4903331 8 1024 0 15 2048 0 0 0 0
#
800 600 1024 8176 0 0 16036 139 21 28 1 80 3 3 0
2 6217752 8 1024 0 15 2048 0 0 0 0
#
640 480 640 13081 0 0 20045 107 21 30 1 64 3 3 0
2 7645174 8 640 0 15 1280 0 0 0 0
#
1152 864 1152 864 0 0 12500 128 64 41 6 112 5 0 0
3 3931090 8 1152 0 15 2304 0 32 4608 0
#
1024 768 1024 768 0 0 15385 160 24 29 3 136 6 0 0
3 3932313 8 1024 0 15 2048 0 32 4096 0
#
800 600 800 600 0 0 25000 88 40 23 1 128 4 0 0
3 3952904 8 832 0 15 1600 0 32 3200 0
#
640 480 640 480 0 0 39722 48 16 33 10 96 2 0 0
3 3928253 8 640 0 15 1280 0 32 2560 0
#
1152 768 1152 768 0 0 15386 123 61 29 3 136 6 0 0
3 3590139 8 1152 0 15 2304 0 32 4608 0
#
1280 854 1280 854 0 0 12528 128 16 8 1 112 3 0 0
3 3932684 8 1280 0 15 2560 0 32 5120 0
#
1440 900 1472 900 0 0 10393 224 64 6 3 32 3 0 0
3 0 8 1472 0 15 2944 0 32 5888 0


/etc/mol/molrc.video
Code:
resolution:             1024/768/60     # width/height/Hz
depth:                  24
enable_xvideo:          no
vt:                     8
gamma:                  1.0             # gamma (parameter between 0.1 and 1.0)
enable_console_video:   yes
start_on_console:       yes
autoswitch_console:     yes             # allow automatic switching to console
enable_xdga_video:      no
enable_vncvideo:        no      # Enable the VNC server
vnc_port:               5900    # port to use for VNC
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat May 27, 2006 2:28 pm    Post subject: Reply with quote

Did you try setting molrc.video to 1440x900 instead of 1024x768?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
luispa
Guru
Guru


Joined: 17 Mar 2006
Posts: 357
Location: España

PostPosted: Sat May 27, 2006 6:00 pm    Post subject: Reply with quote

JoseJX wrote:
Did you try setting molrc.video to 1440x900 instead of 1024x768?


Yes, but it doesn't work. I get it working only in xvideo, but in the Console Video It doesn't work.

Luis
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat May 27, 2006 6:08 pm    Post subject: Reply with quote

Can you please try this patch: http://dev.gentoo.org/~josejx/video.patch ?

Thanks
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
luispa
Guru
Guru


Joined: 17 Mar 2006
Posts: 357
Location: España

PostPosted: Mon May 29, 2006 12:27 pm    Post subject: Reply with quote

JoseJX wrote:
Can you please try this patch: http://dev.gentoo.org/~josejx/video.patch ?

Thanks


Hi JoseJX,

Tried but 1440x900 is not working on the Console Video. It still works under xvideo but not
under console_video. When I switch to VT-8 I see like it flickers a bit like trying to go into
graphics (miliseconds) but fails and screen is black with cursor blinking.

I tried to change (under macosx under xvideo) into a lower depth (My macosx is in spanish
and doesn't show a number, just 'Miles = Thounsands' so) I imagine it's a depth of 16 and
killed myself :-) as that one is not supported under my X11 so I had to kill the process and
now I need to reboot into macosx and set it back into Millions (24).

Here is a bit of output
:
Code:
[..]
luis@guachifori ~ $ startmol -X
Mac-on-Linux 0.9.71-pre8 [May 25 2006 21:03]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 1
Removing stale lockfile /var/lock/mol-1
Running in PowerPC 7400 mode, 768 MB RAM
Timebase: 18.43 MHz, Bus: 73.72 MHz, Clock: 1666 MHz
Using USB mouse on /dev/input/mice
OHCI USB controller registered
Could not open '/var/lib/mol/x11.kbd'
Fullscreen video on VT 8.
Could not open '/var/lib/mol/console.kbd'
Video driver(s): [xvideo] [console_video]

     640* 480, depth 8,15,32   { 59.9, 72.1, 74.9, 89.9, 99.7 } Hz
     640* 480, depth 8,15   { 116.6 } Hz
     800* 600, depth 8,15,32   { 56.2, 60.3, 70.0, 72.1, 74.9, 89.9 } Hz
     800* 600, depth 8,15   { 94.8 } Hz
     800* 600, depth 8,15,32   { 99.9 } Hz
    1024* 768, depth 8,15,32   { 60.0, 70.0 } Hz
    1024* 768, depth 8,15   { 74.8 } Hz
    1024* 768, depth 8,15,32   { 75.0 } Hz
    1152* 768, depth 8,15,32   { 54.7 } Hz
    1280* 854, depth 8,15,32   { 60.0 } Hz
    1152* 864, depth 8,15,32   { 59.9 } Hz
    1440* 900, depth 8,15,32   { 0.0 } Hz
    1280*1024, depth 8,32   { 0.0 } Hz
    1440* 960, depth 8,32   { 0.0 } Hz
    1600*1024, depth 8,32   { 0.0 } Hz
    1600*1200, depth 8,32   { 0.0 } Hz
    1680*1050, depth 8,32   { 0.0 } Hz
[..]
<*> Ethernet driver 1.1
<*> MolAudio 1.2
<*> IRQ vectorCanBeShared 1
<*> MolEnet: Link up at 100 Mbps - Full Duplex
DHCP lease: 192.168.41.2
+ Video Driver v1.12
[..]
:


Tried to start with molrc.video resolution set to 1440x900x85 also, without success. Here is the
file I tipycally use to ensure boot process:

Code:
luis@guachifori ~ $ catconf /etc/mol/molrc.video
resolution:             1280/854/60     # width/height/Hz
depth:                  24
enable_xvideo:          yes
vt:                     8
gamma:                  1.0             # gamma (parameter between 0.1 and 1.0)
enable_console_video:   yes
start_on_console:       yes             # switch to console initially
autoswitch_console:     yes             # allow automatic switching to console
enable_xdga_video:      yes
enable_vncvideo:        no      # Enable the VNC server
vnc_port:               5900    # port to use for VNC
l


And this is the way I applied the patch. I hope it's correct:
Code:

 # ebuild /usr/portage/app-emulation/mol/mol-0.9.71_pre8.ebuild clean
 # ebuild /usr/portage/app-emulation/mol/mol-0.9.71_pre8.ebuild fetch
 # ebuild /usr/portage/app-emulation/mol/mol-0.9.71_pre8.ebuild unpack
 # cd /var/tmp/portage/mol-0.9.71_pre8/work/mol-0.9.71_pre8/src/drivers/video

Applied this patch into video.c
 
 --- mol-0.9.71_pre8/src/drivers/video/video.c   2006-01-27 13:07:15.000000000 -0500
 +++ mol-0.9.71_pre8.t/src/drivers/video/video.c   2006-05-27 14:06:40.000000000 -0400
 @@ -105,8 +105,8 @@
 
  static struct { int w, h; } std_res[] = {
     { 640, 480 }, { 800, 600 }, { 1024, 768 }, { 1152, 864 },
 -   { 1280, 1024 }, { 1440, 960 }, { 1600, 1024 }, { 1600, 1200 },
 -   { 1680, 1050 }
 +   { 1280, 1024 }, { 1440, 900 },  { 1440, 960 },
 +   { 1600, 1024 }, { 1600, 1200 }, { 1680, 1050 }
  };
 
  static video_module_t *video_mods[] = {
 
 # ebuild /usr/portage/app-emulation/mol/mol-0.9.71_pre8.ebuild compile
 # ebuild /usr/portage/app-emulation/mol/mol-0.9.71_pre8.ebuild install
 # ebuild /usr/portage/app-emulation/mol/mol-0.9.71_pre8.ebuild qmerge
Back to top
View user's profile Send private message
luispa
Guru
Guru


Joined: 17 Mar 2006
Posts: 357
Location: España

PostPosted: Mon May 29, 2006 12:31 pm    Post subject: Reply with quote

luispa wrote:
Code:

 # ebuild /usr/portage/app-emulation/mol/mol-0.9.71_pre8.ebuild install
 # ebuild /usr/portage/app-emulation/mol/mol-0.9.71_pre8.ebuild qmerge


Oopss... while documenting I realized that I forgot to do these last two steps...

I'm rebooting and retesting to be sure.

Luis
Back to top
View user's profile Send private message
luispa
Guru
Guru


Joined: 17 Mar 2006
Posts: 357
Location: España

PostPosted: Mon May 29, 2006 2:05 pm    Post subject: Reply with quote

Confirmed,

It doesn't work. Sorry

Luis
Back to top
View user's profile Send private message
luispa
Guru
Guru


Joined: 17 Mar 2006
Posts: 357
Location: España

PostPosted: Wed May 31, 2006 9:37 am    Post subject: Reply with quote

JoseJX,

Do you have any other idea or any other test you want me to realize?

Thanks,
Luis
Back to top
View user's profile Send private message
luispa
Guru
Guru


Joined: 17 Mar 2006
Posts: 357
Location: España

PostPosted: Mon Jun 05, 2006 9:03 am    Post subject: Reply with quote

2nd try, sorry to insist but I haven't found a solution yet and I would really like to work in 1440x900.

Any other idea ?

thanks,

Luis
Back to top
View user's profile Send private message
kuye
n00b
n00b


Joined: 08 Dec 2002
Posts: 5

PostPosted: Thu Aug 10, 2006 6:40 am    Post subject: Reply with quote

I got the same problem.

I can't understand why the MOL support 1400x960@24bits color but 1400x900 doesn't.

Waiting for answer.
_________________
Hello World !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum