Brokeback Mountain and Wedding Crashers won a total of five prizes at the MTV Movie Awards in California.
Jake Gyllenhaal won best performance for his role in the cowboy romance, and best kiss with co-star Heath Ledger.
But comedy Wedding Crashers was named best film and collected best screen team and breakthrough performance awards, voted for by MTV viewers.
Jim Carrey won a lifetime achievement award and appeared on stage in a white suit with a group of winged angels.
Comedy actor Will Ferrell, who presented Carey with the honour, said: "This man's versatility makes Thomas Jefferson look like a big fat idiot."
Actor Steve Carell won the award for best comedic performance for his role in The 40-Year-Old Virgin, but the film failed to convert four other nominations.
Will Ferrell and Jim Carrey performed a dance together
Gyllenhaal, whose kiss with Heath Ledger beat real-life couple Brad Pitt and Angelina Joline's clinch in Mr and Mrs Smith, said the win was "a real honour".
Pitt and Jolie won the award for the best fight in the same movie.
Film-maker Spike Lee collected the Silver Bucket of Excellence for his 1989 film Do The Right Thing, which tackles the issue of racial tension.
The award recognises a film from the past which has relevance to contemporary issues.
Other performances awarded at the event included best villain for Hayden Christensen in Star Wars: Revenge of the Sith, and best hero for Christian Bale's lead role in Batman Begins.
Each recipient received an award in the shape of a tub containing golden popcorn.
The awards ceremony is due to be aired on MTV on 8 June.