Another common problem for those legally in the US but who are here on temporary visas or green cards is changing their name, reflecting the correct birth date on the driver's license, a marriage change of name, or proving their identity if the passport biographical page doesn't match the birth certificate. The CA DMV will not accept copies of birth certificates, marriage and divorce certificates, change of name certificates, and other such documents. You must prove the change with an original document. Further, those with conditional green cards who have filed to remove the condition and have an I-751 receipt that extends their permanent residency status, may not be able to obtain extended driver's licenses at some offices because CA DMV only extends green cards based on approved documents, not receipt notices. Ask for a supervisor if this happens to you; there is a big difference between I-751 receipts and receipts for Nonimmigrant visa extensions.
Further, in CA, if your driver's license is expiring in the next 30 days, you can't get an extension unless you have an approved immigrant visa or temporary nonimmigrant visa petition proving you have valid immigration status for an additional period of time. If this new period of time is less than 5 years, your driver's license will only be extended for the term of your visa. Always consult a competent immigration attorney about your situation to determine what options you may have and to determine if any of these requirements have changed.