Skip to content

Commit

Permalink
Docs: Agreed changes to UIScale and ForceOcWriteFlash docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebeaton committed Nov 5, 2021
1 parent 841eab2 commit 3c77126
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
Binary file modified Docs/Configuration.pdf
Binary file not shown.
9 changes: 7 additions & 2 deletions Docs/Configuration.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1738,7 +1738,7 @@ \subsection{Quirks Properties}\label{booterpropsquirks}
value for this quirk is the minimal supported BAR size, i.e. \texttt{0}. Use
\texttt{-1} to disable this quirk.

For the development purposes one may take the risks and try other values.
For development purposes one may take risks and try other values.
Consider a GPU with 2 BARs:
\begin{itemize}
\tightlist
Expand Down Expand Up @@ -7379,6 +7379,11 @@ \subsection{Output Properties}\label{uefioutputprops}
\item \texttt{0} --- automatically chooses scaling based on the current resolution.
\end{itemize}

\emph{Note 1}: Automatic scale factor detection works on the basis of total pixel area and may fail on small HiDPI displays,
in which case the value may be manually managed using the NVRAM section.

\emph{Note 2}: When switching from manually specified NVRAM variable to this preference an NVRAM reset may be needed.

\item
\texttt{UgaPassThrough}\\
\textbf{Type}: \texttt{plist\ boolean}\\
Expand Down Expand Up @@ -7626,7 +7631,7 @@ \subsection{Quirks Properties}\label{uefiquirkprops}
\texttt{ForceOcWriteFlash}\\
\textbf{Type}: \texttt{plist\ boolean}\\
\textbf{Failsafe}: \texttt{false}\\
\textbf{Description}: Enables writing to flash memory for all OpenCore system variables.
\textbf{Description}: Enables writing to flash memory for all OpenCore-managed NVRAM system variables.

\emph{Note}: This value should be disabled on most types of firmware but is
left configurable to account for firmware that may have issues with volatile
Expand Down
Binary file modified Docs/Differences/Differences.pdf
Binary file not shown.
21 changes: 13 additions & 8 deletions Docs/Differences/Differences.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
\documentclass[]{article}
%DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex Wed Nov 3 14:16:04 2021
%DIF ADD ../Configuration.tex Thu Nov 4 18:36:53 2021
%DIF DEL PreviousConfiguration.tex Tue Nov 2 07:56:56 2021
%DIF ADD ../Configuration.tex Fri Nov 5 18:33:39 2021

\usepackage{lmodern}
\usepackage{amssymb,amsmath}
Expand Down Expand Up @@ -1804,7 +1804,7 @@ \subsection{Quirks Properties}\label{booterpropsquirks}
value for this quirk is the minimal supported BAR size, i.e. }\texttt{\DIFadd{0}}\DIFadd{. }\DIFaddend Use
\texttt{-1} to disable this quirk.

\DIFaddbegin \DIFadd{For the development purposes one may take the risks and try other values.
\DIFaddbegin \DIFadd{For development purposes one may take risks and try other values.
}\DIFaddend Consider a GPU with 2 BARs:
\begin{itemize}
\tightlist
Expand Down Expand Up @@ -7437,10 +7437,9 @@ \subsection{Output Properties}\label{uefioutputprops}
\emph{Note}: This option only applies to the \texttt{System} renderer.
On all known affected systems, \texttt{ConsoleMode} must be set to
an empty string for this option to work.
\DIFaddbegin

\item
\texttt{\DIFadd{UIScale}}\\
\DIFaddbegin \texttt{\DIFadd{UIScale}}\\
\textbf{\DIFadd{Type}}\DIFadd{: }\texttt{\DIFadd{plist\ integer}}\DIFadd{, 8 bit}\\
\textbf{\DIFadd{Failsafe}}\DIFadd{: }\texttt{\DIFadd{-1}}\\
\textbf{\DIFadd{Description}}\DIFadd{: User interface scaling factor.
Expand All @@ -7454,10 +7453,16 @@ \subsection{Output Properties}\label{uefioutputprops}
}\item \texttt{\DIFadd{-1}} \DIFadd{--- leaves the current variable unchanged.
}\item \texttt{\DIFadd{0}} \DIFadd{--- automatically chooses scaling based on the current resolution.
}\end{itemize}
\DIFaddend

\emph{\DIFadd{Note 1}}\DIFadd{: Automatic scale factor detection works on the basis of total pixel area and may fail on small HiDPI displays,
in which case the value may be manually managed using the NVRAM section.
}

\emph{\DIFadd{Note 2}}\DIFadd{: When switching from manually specified NVRAM variable to this preference an NVRAM reset may be needed.
}

\item
\texttt{UgaPassThrough}\\
\DIFaddend \texttt{UgaPassThrough}\\
\textbf{Type}: \texttt{plist\ boolean}\\
\textbf{Failsafe}: \texttt{false}\\
\textbf{Description}: Provide UGA protocol instances on top of GOP protocol instances.
Expand Down Expand Up @@ -7703,7 +7708,7 @@ \subsection{Quirks Properties}\label{uefiquirkprops}
\texttt{ForceOcWriteFlash}\\
\textbf{Type}: \texttt{plist\ boolean}\\
\textbf{Failsafe}: \texttt{false}\\
\textbf{Description}: Enables writing to flash memory for all OpenCore system variables.
\textbf{Description}: Enables writing to flash memory for all \DIFdelbegin \DIFdel{OpenCore }\DIFdelend \DIFaddbegin \DIFadd{OpenCore-managed NVRAM }\DIFaddend system variables.

\emph{Note}: This value should be disabled on most types of firmware but is
left configurable to account for firmware that may have issues with volatile
Expand Down
Binary file modified Docs/Errata/Errata.pdf
Binary file not shown.

0 comments on commit 3c77126

Please sign in to comment.