Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 23 Feb 2019, 15:34
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Implementing unique screen resolution through the video BIOS
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
raffy

Joined: 25 May 2005
Posts: 4839
Location: Manila

PostPosted: Sun 23 Dec 2007, 21:45    Post subject:  Implementing unique screen resolution through the video BIOS
Subject description: Using vbios trick to get resolutions unsupported by the default driver
 

Discussion of display problems in the eee and Classmate PCs has touched on the vbios trick. Barry has provided hint on the trick, tempestuous explained it, and I tried to implement it for the eee (my post is next to tempestuous').

The questions that come to mind are:

- can this be implemented in Xorg as well? (ddcprobe is in the xwin code, which [Barry says] should be bypassed)

- a number of grep commands result to error when the 915resolution line is inserted, under "if [ "$HAVEX" = "Xvesa" ]" of xwin.
Code:
915resolution 43 800 480 16 # 43 is for 16-bit, 38 is for 8-bit
Is this because of the line insertion or something else failing (like the Xvesa driver)? (However, Xvesa displays correctly at videomode "0x0114 800x480x16".

Thanks in advance, and Happy Holidays!
xwin.gz
Description  xwin used in Puppy 2.13 where vbios was tested for 800x480x16 resolution.
gz

 Download 
Filename  xwin.gz 
Filesize  6.39 KB 
Downloaded  628 Time(s) 

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8830
Location: Perth, Western Australia

PostPosted: Mon 24 Dec 2007, 04:03    Post subject:  

'915resolution' works fine for the Classmate, for Xorg and Xvesa.

The problem is though, detecting the hardware. In the Classmate, if I run 'ddcprobe', it reports that 'edid' failed, meaning that the LCD monitor does not support EDID, so Puppy cannot automatically determine the native screen resolution.

For the Classmate, I have to work out some way for Puppy to determine "this is a Classmate laptop" at bootup and then know to apply the 915resolution. That's what I plan to work on next, before releasing Dingo alpha4.

For the eee laptop, does 'ddcprobe' return EDID information? You should get at least one line starting with 'timing:' or 'dtiming:' if edid is working.

If not, I will have the same problem as the Classmate, and Puppy will need some way of probing and determining either the type of LCD screen or failing that some other unique identifier that this is a eee laptop.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
raffy

Joined: 25 May 2005
Posts: 4839
Location: Manila

PostPosted: Mon 24 Dec 2007, 06:57    Post subject: ddcprobe  

You guessed it right. Smile
Code:
sh-3.00# ddcprobe
vbe: VESA 3.0 detected.
oem: Intel(r)915GM/910ML/915MS Graphics Chip Accelerated VGA BIOS
vendor: Intel Corporation
product: Intel(r)915GM/910ML/915MS Graphics Controller Hardware Version 0.0
memory: 7872kb
mode: 1280x1024x256
mode: 1280x1024x64k
mode: 1280x1024x16m
mode: 1024x768x256
mode: 1024x768x64k
mode: 1024x768x16m
mode: 640x480x16m
mode: 800x600x64k
mode: 800x600x16m
mode: 640x480x256
mode: 800x600x256
mode: 640x480x64k
edid:
edidfail
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8830
Location: Perth, Western Australia

PostPosted: Mon 24 Dec 2007, 19:23    Post subject:  

Raffy, running the eee, open a terminal and type:
# dmesg > /tmp/dmesg-eee.txt
then post it to this forum.

See my blog post, I have uniquely identified the Classmate, will do same for the eee.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
raffy

Joined: 25 May 2005
Posts: 4839
Location: Manila

PostPosted: Tue 25 Dec 2007, 07:21    Post subject: dmesg  

Here it is, attached, taken from Xandros.

The storage is visible in MUT as SILICONMOTION, 4 GB storage.
eee-mut.jpg
 Description   eee system and user partitions. Drive is seen as hdc.
 Filesize   7.73 KB
 Viewed   1800 Time(s)

eee-mut.jpg

dmesg-eee.txt.gz
Description 
gz

 Download 
Filename  dmesg-eee.txt.gz 
Filesize  4.48 KB 
Downloaded  557 Time(s) 
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4839
Location: Manila

PostPosted: Tue 01 Jan 2008, 22:08    Post subject: status  

Getting back to screen resolution issue: yes, the trick also works in Xorg. As an example for the eee, just add this line at the beginning of /usr/X11R7/bin/xwin:
Code:
915resolution 43 800 480 16 # 43 is for 16-bit, 38 is for 8-bit

Exit to prompt, then command xorgwizard - choose "Other" at the bottom of the menu, press ENTER for two more dialog boxes (accepting what you see), then in the final window, you will be able to select the 800x480x16 resolution.

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0375s ][ Queries: 13 (0.0082s) ][ GZIP on ]