I also tried to write the config by hand:
Section "Screen" Identifier "Main"
Device "AC8"
Monitor "Samsung"
EndSection
Section "Device"
Identifier "AC8"
Driver ??
EndSection
Section "Monitor"
Identifier "Samsung"
Mode ??
ModeLine ??
EndSection
[...]
I have also tried to generate a modeline with:
cvt 1680x1050
which gave me:
"1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
Specifying this value for the Modeline parameter in xorg.conf, however,
has no effect: X starts in 1024x768, and I have invoke `xrandr' to set
the correct resolution. Perhaps, there should be a record in some log
file explaining why this Modeline was not applied, but I have not found
it.
onto my AC8 mini PC[...]
I dislike trial-and-error approach and should appreciate your showing me
how to shoot all troubles methodically
showing me how to shoot all troubles methodically
this solution is documented to work only with drivers supporting RandR 1.2.
showing me how to shoot all troubles methodically,
by following the documentaiton
and without reliance on any personal expertise.
Specifying this value for the Modeline parameter in xorg.conf, however,
has no effect
On Tue, 17 Sep 2024, Anton Shepelev wrote:
onto my AC8 mini PC[...]
I dislike trial-and-error approach and should appreciate your showing me
how to shoot all troubles methodically
To be frank, the information you gave wasn't enough for troubleshooting >methodically or otherwise. For example, you neither say what exact *brand* >(you seemed to give only the model) was this machine,
nor link to its technical documentation/datasheet.
The necessary information in this area includes:
- Mainboard's (or computer's)
- Brand
- Model
- Link to datasheet
- Video card's...
- Brand
- Model
- Chipset's
- brand
- number
- Interfacing method (on-board, PCI, AGP, PCIe, USB)
- Output ports (how many, and what each of it was: RCA, Y/C, VGA,
DVI, LVDS, HDMI, DP, eDP, etc)
- Location of output (built-in screen, external, or both)
- Monitor's...
- Brand
- Model
- Display technology (CRT, LCD, OLED, etc)
- Interfacing method (RCA, Y/C, VGA, DVI, LVDS, HDMI, DP, eDP, etc)
- Sync frequency range (both horizontal and vertical)
- Native resolution and refresh rate (if any)
- Modelines documented in the owner's manual
Without these, readers wouldn't really have clue what you're asking about?
Before I go bugging you about other details, I will give you a protip
of how to solve this problem *automatically* first:
1. Make sure that you terminate all instances of `X` and `Xorg`.
1. Back up your `xorg.conf`.
2. Run `Xorg -configure` as root.
3. Stop the Xorg server by pressing Ctrl+Alt+Backspace
if it hadn't terminated automatically.
4. Run the Xorg server in your "usual" way (`startx` or something like that).
If things goes "according to the plan", [2] it should start with
your monitor's native resolution by the time you finished step 4.
On Wed, 18 Sep 2024, Anton Shepelev wrote:
this solution is documented to work only with drivers supporting RandR 1.2.
Drivers supporting XRandR 1.2 *are* the norm, really.
From what I understand, using a driver that doesn't support XRandR
means you practically timetraveled back to the age when you ought
to operate X11 server at a fixed resolution in each Screen,
for the entire graphics session.
On Tue, 17 Sep 2024, Anton Shepelev wrote:
showing me how to shoot all troubles methodically,
by following the documentaiton
and without reliance on any personal expertise.
Unfortunately, there are often undocumented quirks on how these drivers >operate; so you cannot really exclude "personal expertise"
out of the equation if you would really like these problems solved.
Regarding the so-called `i915` video device, there are actually
multiple Xorg drivers [not to be confused with kernel modesetting drivers]
that could display on it (`intel` [3], `modesetting` [4], and `vesa` [5] >comes to mind).
Since it seems that you weren't sure what driver it was using to begin with; >I would still suggest that you also try the automagic process above,
and check the `xorg.conf` it generated to see that what driver it actually >picked up to use with this card.
(Even that you end up switching back
to your own backed-up `xorg.conf` file at the end)
Once you know what driver it actually use, you can now start looking
at the correct documentation for more-specific stuff. [3][4][5]
On Tue, 17 Sep 2024, Anton Shepelev wrote:
Specifying this value for the Modeline parameter in xorg.conf, however,
has no effect
Yeah, some driver (like `intel`) has "quirks" that it prefers [6] the list
of resolutions detected from the monitor over the one you explicitly spelled >in the `xorg.conf` file. (And no, setting `Option "DDC" "off"`
is ignored in my experience)
[6] I think it virtually prepended the list of modelines it detected
to the position *before* the first one you explicitly written
in the Monitor section; but don't quote me on this, I haven't RTFS'd.
And when it does this, you're often at the mercy of your monitor to actually >give out the correct and complete EDID [7] information; including "trivia" >like the preferred/native modeline.
If that information was't complete or was wrong
(this happens on more screens that you'd think), then it would explain
why Xorg recognized that resolution, but wouldn't start up
at that resolution until you actually added
the "preferred mode" information on top of it.
(If you started up Xorg *without* "PreferredMode" in your "Monitor" section >of `xorg.conf`; and run `xrandr --verbose`, then look for "+preferred"
in the output, it would give you some clue if the monitor
was providing this trivia correctly, or at all)
Regards,
~xwindows
(Just a GNU/Linux user)
Sysop: | deepend |
---|---|
Location: | Calgary, Alberta |
Users: | 255 |
Nodes: | 10 (0 / 10) |
Uptime: | 160:02:49 |
Calls: | 1,725 |
Calls today: | 5 |
Files: | 4,107 |
D/L today: |
12 files (9,998K bytes) |
Messages: | 393,013 |