Re: [hatari-users] 320x240 LCD not working. What I'm I doing wrong?

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-users Archives ]


Hi

Unfortunately I have used "./" but it got lost in copy and past so this
is not a; "Oh daaa... I’m a idiot!" type error but thanx for checking. I
rechecked everything including that it actual was v1.8.0 in both cases
and also added --configfile to force it to read the one in my home
directory (saved from Hatari under X). The full command now reads:

"pi@phatari ~/hatari/hatari/src $ ./hatari --borders off --vdi false
--desktop-st false --statusbar false --drive-led false --max-width 320
--max-height 240 --fullscreen --zoom 1 --memsize 1 --cpulevel 1
--cpuclock 8 --machine st --tos /home/pi/AtariTOS/tos206se.img
--configfile ~/.hatari/hatari.cfg "

Then I enabled DEBUG as advised. Under X (and Hatari works) it reads as
in list 1. The 'direct to frame buffer' list 2 is written down sins the
console stop responding (I can still connect by ssh and shut down, so
Linux is mostly alive).

I'm beginning to suspect that the frame buffer is switch back to
/dev/fb0? The reason for this thought is that the script that installs
drivers for the SPI-TFT adds "export FRAMEBUFFER=/dev/fb1" to
"~/.profile" but all PyGame code for the SPI-TFT starts:

os.putenv('SDL_VIDEODRIVER', 'fbcon')
os.putenv('SDL_FBDEV' , '/dev/fb1')

To my irritation I'm lacking the right video cable for B+ to check if
video from Hatari is directed to TV-Out (HDMI is black).

Dose any one know if there is a way to force Hatari to use "/dev/fb1"
short of finding the right code segment and hard-coding it in? 

WR B Mathias Johansson

----List 1---->

Hatari v1.8.0, compiled on:  Feb  5 2015, 13:18:09
WARNING: invalid desktop size 320x240, defaulting to 832x588!
Desktop resolution: 832x588
Configured max Hatari resolution = 416x312, optimal for ST = 832x588
resolution: request limits for: 0x0x0
resolution: video mode asked: 0x0x0 (fullscreen)
resolution: searching a good video mode (any bpp)
resolution: largest found video mode: 320x240
resolution: video mode selected: 320x240x0
Building CPU table for configuration: 68000 (compatible mode)
resolution: request limits for: 0x0x0
resolution: video mode asked: 0x0x0 (fullscreen)
resolution: searching a good video mode (any bpp)
resolution: largest found video mode: 320x240
resolution: video mode selected: 320x240x0
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
Selected real Joystick 0 unavailable, disabling ST joystick 1
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
Bus Error at address $ff8900, PC=$e0021c e00218 4278
Bus Error at address $fffa40, PC=$e004c4 e004c0 3038
Bus Error at address $ff8e0d, PC=$e0058a e00584 11fc
Bus Error at address $ff8e09, PC=$e0290c e02908 4a38
Bus Error at address $ff8a00, PC=$e014fa e014f6 4a68
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
Bus Error at address $f00039, PC=$e0166c e01666 4a39
Bus Error at address $f00039, PC=$e0166c e01666 4a39
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
Bus Error at address $ff8a00, PC=$e014fa e014f6 4a68
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
Bus Error at address $ff8a00, PC=$e014fa e014f6 4a68
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
Bus Error at address $ff8a00, PC=$e014fa e014f6 4a68
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
resolution: request limits for: 0x0x0
resolution: video mode asked: 0x0x0 (windowed)
resolution: All resolutions available.
resolution: video mode selected: 0x0x0
resolution: limit to user configured max

<-----

----List 2--->

....
resolution: video mode asked: 0x0x0 (fullscreen)
resolution: searching a good video mode (any bpp)
resolution: largest found video mode: 1600x1200
resolution: video mode selected: 1600x1200x0
resolution: limit to user configured max

Console stops responding
....








Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/