As the title says, I can't change the resolution on the pandaboard using the console-based Linaro Developer build. I've tried with fbset and by editing and re-building boot.scr, but neither works. I would like to know if there is a way to change resolution on the fly, without requiring a reboot.
Also, I have experienced problems with the display on the developer build of linaro 12.07. Anyone else experience that? The monitor turns on and then off repeatedly after booting up every 10 seconds, with no signal. I have to do a cold reboot in order for it to work, and it works about 50% of the times.
Slightly bumping this, as I don't believe changing resolution is impossible. I've since then tried changing it via sysfs, but it doesn't work that way either.
John
Am Freitag, 24. August 2012 14:46:39 UTC+2 schrieb (unbekannt):
> As the title says, I can't change the resolution on the pandaboard using > the console-based Linaro Developer build. I've tried with fbset and by > editing and re-building boot.scr, but neither works. I would like to know > if there is a way to change resolution on the fly, without requiring a > reboot.
> Also, I have experienced problems with the display on the developer build > of linaro 12.07. Anyone else experience that? The monitor turns on and then > off repeatedly after booting up every 10 seconds, with no signal. I have to > do a cold reboot in order for it to work, and it works about 50% of the > times.
To change resolution at runtime, your app should use the KMS APIs
(this is what xf86-video-omap does to implement xrandr, and what
wayland weston compositor does)
On Fri, Aug 24, 2012 at 7:46 AM, <swigi...@googlemail.com> wrote:
> As the title says, I can't change the resolution on the pandaboard using the
> console-based Linaro Developer build. I've tried with fbset and by editing
> and re-building boot.scr, but neither works. I would like to know if there
> is a way to change resolution on the fly, without requiring a reboot.
> Also, I have experienced problems with the display on the developer build of
> linaro 12.07. Anyone else experience that? The monitor turns on and then off
> repeatedly after booting up every 10 seconds, with no signal. I have to do a
> cold reboot in order for it to work, and it works about 50% of the times.
Thanks for the reply, but it doesn't seem to be working. I think I'm doing something wrong. It seems that it's using omapdrm, I also don't get the device names from the kernel messages: # dmesg | grep drm [ 4.181304] [drm] Initialized drm 1.1.0 20060810 [ 6.649169] omapdrm omapdrm.0: dvi has no driver.. skipping it [ 7.312744] fb0: omapdrm frame buffer device [ 7.317413] drm: registered panic notifier [ 7.322021] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). [ 7.329223] [drm] No driver support for vblank timestamp query. [ 7.335662] [drm] Initialized omapdrm 1.0.0 20110403 on minor 0 # cat fb 0 omapdrm
I tried modifying boot.txt with your example bootarg, so it looks like this
# mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Run uImage" -d boot.txt boot.scr Image Name: Run uImage Created: Wed Sep 12 12:20:52 2012 Image Type: ARM Linux Script (uncompressed) Data Size: 486 Bytes = 0.47 kB = 0.00 MB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 478 Bytes = 0.47 kB = 0.00 MB # chmod a+x boot.scr # reboot
After rebooting the bootargs are displayed in the kernel messages but the resolution stays at 1280x1024. I have also tried with these instead, same results: omapfb.video_mode=800x600MR-16@60 video=omapfb:mode:800x600@60
The distribution on which I'm trying these is a bit older than 12.07, as that had display issues that I thought might interfere with the mode settings: # lsb_release -a No LSB modules are available. Distributor ID: Linaro Description: Linaro 12.03 Release: 12.03 Codename: oneiric # uname -a Linux panda 3.1.1-29-linaro-lt-omap #29~lt~ci~20120328002449+1332949706~4f7349b0-Ubuntu SMP PREEMPT armv7l armv7l armv7l GNU/Linux
John
Am Mittwoch, 12. September 2012 02:00:07 UTC+2 schrieb rob:
> To change resolution at runtime, your app should use the KMS APIs > (this is what xf86-video-omap does to implement xrandr, and what > wayland weston compositor does)
> BR, > -R
> On Fri, Aug 24, 2012 at 7:46 AM, <swig...@googlemail.com <javascript:>> > wrote: > > As the title says, I can't change the resolution on the pandaboard using > the > > console-based Linaro Developer build. I've tried with fbset and by > editing > > and re-building boot.scr, but neither works. I would like to know if > there > > is a way to change resolution on the fly, without requiring a reboot.
> > Also, I have experienced problems with the display on the developer > build of > > linaro 12.07. Anyone else experience that? The monitor turns on and then > off > > repeatedly after booting up every 10 seconds, with no signal. I have to > do a > > cold reboot in order for it to work, and it works about 50% of the > times.
On Wed, Sep 12, 2012 at 11:32 AM, <swigi...@googlemail.com> wrote:
> Thanks for the reply, but it doesn't seem to be working. I think I'm doing
> something wrong. It seems that it's using omapdrm, I also don't get the
> device names from the kernel messages:
> # dmesg | grep drm
> [ 4.181304] [drm] Initialized drm 1.1.0 20060810
> [ 6.649169] omapdrm omapdrm.0: dvi has no driver.. skipping it
> [ 7.312744] fb0: omapdrm frame buffer device
> [ 7.317413] drm: registered panic notifier
> [ 7.322021] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
> [ 7.329223] [drm] No driver support for vblank timestamp query.
> [ 7.335662] [drm] Initialized omapdrm 1.0.0 20110403 on minor 0
> # cat fb
> 0 omapdrm
> I tried modifying boot.txt with your example bootarg, so it looks like this
> I have also tried with these instead, same results:
> omapfb.video_mode=800x600MR-16@60
> video=omapfb:mode:800x600@60
> The distribution on which I'm trying these is a bit older than 12.07, as
> that had display issues that I thought might interfere with the mode
> settings:
> # lsb_release -a
> No LSB modules are available.
> Distributor ID: Linaro
> Description: Linaro 12.03
> Release: 12.03
> Codename: oneiric
> # uname -a
> Linux panda 3.1.1-29-linaro-lt-omap
> #29~lt~ci~20120328002449+1332949706~4f7349b0-Ubuntu SMP PREEMPT armv7l
> armv7l armv7l GNU/Linux
> John
> Am Mittwoch, 12. September 2012 02:00:07 UTC+2 schrieb rob:
>> To change resolution at runtime, your app should use the KMS APIs
>> (this is what xf86-video-omap does to implement xrandr, and what
>> wayland weston compositor does)
>> BR,
>> -R
>> On Fri, Aug 24, 2012 at 7:46 AM, <swig...@googlemail.com> wrote:
>> > As the title says, I can't change the resolution on the pandaboard using
>> > the
>> > console-based Linaro Developer build. I've tried with fbset and by
>> > editing
>> > and re-building boot.scr, but neither works. I would like to know if
>> > there
>> > is a way to change resolution on the fly, without requiring a reboot.
>> > Also, I have experienced problems with the display on the developer
>> > build of
>> > linaro 12.07. Anyone else experience that? The monitor turns on and then
>> > off
>> > repeatedly after booting up every 10 seconds, with no signal. I have to
>> > do a
>> > cold reboot in order for it to work, and it works about 50% of the
>> > times.