Re: xorg video modes question
Fred wrote:
On 02/14/2013 12:49 AM, Mark Morgan Lloyd wrote:
Fred wrote:
Hi Mark,
The /proc/openprom directory exists but is empty.
Make sure you have something like
/dev/openprom /proc/openprom openpromfs defaults 0 0
in your /etc/fstab. Frankly, this is so important that I don't know
why it's not set up by default.
Hi Mark,
I added the line to /etc/fstab and rebooted but am having trouble with
the command line you gave earlier:
$ cat /proc/openprom/SUNW,ffb@1e,0/width
00000480
$ cat /proc/openprom/SUNW,ffb@1e,0/height
00000384
ls /proc/openprom
#address-cells device_type memory pci@1f,0
aliases energystar-v2 model reset-reason
banner-name idprom name #size-cells
breakpoint-trap #interrupt-cells openprom SUNW,UltraSPARC-IIi@0,0
chosen interrupt-map options virtual-memory
clock-frequency interrupt-map-mask packages
ls /proc/openprom/SUNW,UltraSPARC-IIi@0,0
clock-frequency ecache-line-size manufacturer#
dcache-associativity ecache-size mask#
dcache-line-size icache-associativity name
dcache-size icache-line-size reg
device_type icache-size sparc-version
#dtlb-entries implementation# upa-portid
ecache-associativity #itlb-entries
I don't see anything like ffb@le,0. Maybe an Ultra 5/10 is different.
Agreed, unless possibly they have the onloard device hiding behind that
pci@1f,0 entry (I don't have a U5/10 set up with Linux at the moment) **
Did you say you were using the Creator video card? I just have the
built-in motherboard video. Also, how do the numbers 480 and 384 relate
to the video mode?
0x480 1152
0x384 900
1152 x 900 is one of the standard Sun hardware resolutions. The
particular machine I got those off runs headless, so I've not attempted
to tweak them to suit a particular screen.
** Actually, I find a colleague has although it's also got a Creator 3D
(ffb). Look for something like
/proc/openprom/pci@1f,0/pci@1,1/SUNW,m64B@2 i.e.
$ cat /proc/openprom/pci@1f,0/pci@1,1/SUNW,m64B@2/height
00000384
$ cat /proc/openprom/pci@1f,0/pci@1,1/SUNW,m64B@2/width
00000480
I haven't a clue whether those are genuine, I don't think anybody's ever
tried hooking a screen on that machine's onboard video. But for
comparison the U60 under my desk has two Creators 3Ds set to 1024x1280:
$ cat /proc/openprom/SUNW,ffb@1d,0/height
00000400
$ cat /proc/openprom/SUNW,ffb@1d,0/width
00000500
$ cat /proc/openprom/SUNW,ffb@1e,0/height
00000400
$ cat /proc/openprom/SUNW,ffb@1e,0/width
00000500
where I think those are forced in by OBP settings as I've written
earlier. The U60 also has resolutions set up in in /etc/X11/xorg.conf, I
can't remember to what extent that's actually necessary and the OS is
well out of date (Etch) so this might not be relevant to current practice.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
Reply to: