faust
Member
Posts: 15
Likes: 11
|
Post by faust on Mar 11, 2023 19:09:57 GMT
With Bodhi I am always getting these on Start Up, before final Desktop Wallpaper is loaded: This was never the case with any other Linux distribution that I've tried, and most of them were Debian based. I have an old 2008 laptop with Radeon only graphics: VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV620/M82 [Mobility Radeon HD 3450/3470] (prog-if 00 [VGA controller]) Subsystem: Mitac RV620/M82 [Mobility Radeon HD 3450/3470] Physical Slot: 1 Flags: bus master, fast devsel, latency 0, IRQ 34 Memory at d0000000 (32-bit, prefetchable) I/O ports at 2000 Memory at c7ef0000 (32-bit, non-prefetchable) Expansion ROM at 000c0000 [virtual] [disabled] Capabilities: [50] Power Management version 3 Capabilities: [58] Express Legacy Endpoint, MSI 00 Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Kernel driver in use: radeon Kernel modules: radeon So far it's a visual glitch only, everything works normally.
|
|
enigma9o7
Crew Member
![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png) ![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png)
Posts: 1,485
Likes: 1,370
|
Post by enigma9o7 on Mar 11, 2023 23:21:13 GMT
I see something like this flash on the screen when I start firefox I think. It used to show random sections from old windows, sometimes even from before a reboot, so this is more "secure" I think.
But I don't get it on Bodhi bootup.
|
|
R0bur
Crew Member
![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png) ![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png)
Posts: 185
Likes: 127
|
Post by R0bur on Mar 12, 2023 6:30:57 GMT
With Bodhi I am always getting these on Start Up, before final Desktop Wallpaper is loaded:
So far it's a visual glitch only, everything works normally. That artefact can appear when the video card driver asks for the video outputs to determine where the monitor is connected. Try to disable temporary the analog video output using the kernel parameter " radeon.tv=0" as described here: wiki.ubuntu.com/Kernel/KernelBootParameters
|
|
faust
Member
Posts: 15
Likes: 11
|
Post by faust on Mar 12, 2023 11:05:40 GMT
It used to show random sections from old windows, sometimes even from before a reboot Yes, this also happens sometimes, even with parts of windows from previous boot. That artefact can appear when the video card driver asks for the video outputs to determine where the monitor is connected. Try to disable temporary the analog video output using the kernel parameter " radeon.tv=0" as described here: wiki.ubuntu.com/Kernel/KernelBootParametersSorry for silly question, but is this analogue video output=HDMI output? Because I cannot disable HDMI, I actually need it for my projector. There is also an old VGA output (the blue one), which I don't need.
|
|
R0bur
Crew Member
![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png) ![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png)
Posts: 185
Likes: 127
|
Post by R0bur on Mar 12, 2023 11:25:31 GMT
Sorry for silly question, but is this analogue video output=HDMI output? Because I cannot disable HDMI, I actually need it for my projector. There is also an old VGA output (the blue one), which I don't need. HDMI is a digital interface, not analogue. Anyway you can try that kernel parameter for the one seance only and look the results.
|
|
faust
Member
Posts: 15
Likes: 11
|
Post by faust on Mar 12, 2023 11:41:53 GMT
Strangely enough, it solved the issue for rebooting. However, the problem remains when powering off and then on...
|
|
R0bur
Crew Member
![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png) ![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png)
Posts: 185
Likes: 127
|
Post by R0bur on Mar 12, 2023 11:50:43 GMT
Strangely enough, it solved the issue for rebooting. However, the problem remains when powering off and then on... Yes, this is a temporary solution for the one seance only. You can make this kernel parameter permanent by editing the file /etc/default/grub and updating the GRUB2 bootloader configuration as described at the end of that instruction for Ubuntu. Use "leafpad" instead "gedit" . But you should test your HDMI projector before.
|
|
faust
Member
Posts: 15
Likes: 11
|
Post by faust on Mar 12, 2023 12:07:26 GMT
^Nope, I have made it permanent from the beginning, I haven't used this temporary solution. Nevertheless, every reboot is normal now, but every power off/on is the same.
|
|
R0bur
Crew Member
![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png) ![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png)
Posts: 185
Likes: 127
|
Post by R0bur on Mar 12, 2023 13:20:19 GMT
^Nope, I have made it permanent from the beginning, I haven't used this temporary solution. Nevertheless, every reboot is normal now, but every power off/on is the same. Ok. Lets try to specify the main video output and its video mode. 1) Determine the current video output and video mode using the command " xrandr" It will print: Screen 0 ...
OUTPUT connected primary ... And some table with the available video modes bellow. You need the "OUTPUT" and video mode marked with the asterisk "*", as sample: VGA-1 connected primary ...
1920x1080 60.00*+
2) Add kernel parameter "video=OUTPUT:modee", as sample: radeon.tv=0 video=VGA-1:1920x1080@60e The letter "e" at the end of the mode means that this output is enabled. I advise you to try this setting as temporary first time. P.S. I made a typo in 2nd sample: wrote "tv.out=0" instead "radeon.tv=0". Fixed it.
|
|
faust
Member
Posts: 15
Likes: 11
|
Post by faust on Mar 12, 2023 16:16:52 GMT
Hmmm... This is my output: Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192 VGA-0 disconnected primary (normal left inverted right x axis y axis) LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1280x800 59.91*+ 1280x720 59.97 1152x768 59.95 1024x768 59.95 800x600 59.96 848x480 59.94 720x480 59.94 640x480 59.94 HDMI-0 disconnected (normal left inverted right x axis y axis)
So, is it radeon.tv=0 video=LVDS-1:1280x800@59.91e I am not sure about this "-1" part...
Also, where to put in "video=OUTPUT:modee"?
|
|
R0bur
Crew Member
![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png) ![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png)
Posts: 185
Likes: 127
|
Post by R0bur on Mar 12, 2023 16:40:28 GMT
Hmmm... This is my output: Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192 VGA-0 disconnected primary (normal left inverted right x axis y axis) LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1280x800 59.91*+... Also, where to put in "video=OUTPUT:modee"? Thank you for the complete information. For your case the kernel parameters are: "radeon.tv=0 video=LVDS:1280x800@59.91e"
|
|
R0bur
Crew Member
![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png) ![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png)
Posts: 185
Likes: 127
|
Post by R0bur on Mar 12, 2023 16:48:05 GMT
If the artefact will not disappear, try another variant:
video=VGA-0:d video=LVDS:1280x800@59.91e This will disable the VGA-0 output (the letter "d") and will do nothing with HDMI-0 you need for the projector. The parameter "radeon.tv=0" isn't needed here.
P.S. I think, the only one parameter that disables the VGA output will be enough to solve the problem:
video=VGA-0:d
|
|
faust
Member
Posts: 15
Likes: 11
|
Post by faust on Mar 12, 2023 17:06:33 GMT
Both variations^ (including just video=VGA-0:d) do the same as just radeon.tv=0, i.e. rebooting is fixed, but not power off/on...
Maybe there is something wrong with power policy? Same as with sound, where I have to echo "options snd_hda_intel power_save=0" | sudo tee -a /etc/modprobe.d/audio_disable_powersave.conf and echo "options snd_hda_intel power_save_controller=N" | sudo tee -a /etc/modprobe.d/audio_disable_powersave.conf - without changing those annoying clicking sound occurs whenever sound card is activated.
Because I guess the changes that you have proposed would also be needed for other Linux distributions, as they are general kernel-level changes that should work the same for my system everywhere. Yet Bodhi is the only distribution that have this problem, thus it should be something that only Bodhi (Moksha?) does...
|
|
R0bur
Crew Member
![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png) ![*](//storage.proboards.com/forum/images/stars/star_yellowgreen.png)
Posts: 185
Likes: 127
|
Post by R0bur on Mar 12, 2023 17:49:32 GMT
Thank you for the report. I think the cause of the artefact is that the radeon driver assumes VGA-0 (not LVDS) as the primary video output (as the xrandr output shows). If you can't switch this default in the BIOS settings ("Primary video output" parameter), there is a way to place the command: /usr/bin/xrandr --output LVDS --primary somewhere in the early startup scripts. I like the "For 15.04 and later" chapter that describes "OneShot systemd unit" here: askubuntu.com/questions/814/how-to-run-scripts-on-start-up
|
|
faust
Member
Posts: 15
Likes: 11
|
Post by faust on Mar 12, 2023 18:32:50 GMT
Hm, is it really a matter of what is primary? Here is my changed xrandr output: Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192 VGA-0 disconnected (normal left inverted right x axis y axis) LVDS connected primary 1280x800+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1280x800 59.91*+ 1280x720 59.97 1152x768 59.95 1024x768 59.95 800x600 59.96 848x480 59.94 720x480 59.94 640x480 59.94 HDMI-0 disconnected (normal left inverted right x axis y axis)
As you can see, LVDS is primary output now. It is achieved simply by checking the box in Settings-All-Preferences-Monitor Settings-Outputs-LVDS-Primary
|
|