Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- The vga controller supports higher resolution. You may edit the instance to change it. You will need to modify the defs in nios2-linux/linux-2.6/drivers/video/altfb.c # define VGABASE na_vga_controller_0 /* Altera VGA controller */# define XRES 640 ==> 800# define YRES 480 ==> 600# define BPX 16 One thing to watch out is the memory bandwidth, which is tight on DE2. The higher resolution, the higher memory bandwidth consumed for display. - Hippo --- Quote End --- Hi,Hippo Thanks for your reply. I've changed the XRES and YRES as you said. Though I build it successfully, I can't get any normal color bars which I can get from resolution of 640*480. And I got nothing but blinking when I ran the UDP program to transfer the image. Is it caused by pixel clock? Or some reasons I don't know? By the way, I'm using the PTF file which is downloaded in http://www.nioswiki.com/operatingsystems/uclinux/framebuffer How could I fix it?Thanks.