Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Strange graphics behavior when running Debian installer with USB-Serial adapter plugged in

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
Shirobooon
Posts: 3
Joined: 2023-12-03 23:56

Strange graphics behavior when running Debian installer with USB-Serial adapter plugged in

#1 Post by Shirobooon »

Hi, I recently installed Debian and noticed some peculiar behavior in the installer when I have my USB-Serial connector connected to the computer.

I have a Silicon Labs CP2102N based USB-Serial converter which is connected to my computer via USB.

Yesterday when I tried installing Debian, I first went with the graphical option, and to my surprise, instead of the GUI appearing, the screen turned like on the right side of the picture posted below.
It is like the standard text mode installer, but instead of being a regular framebuffer based one with support for non-latin characters, it looks reminiscent of the classic VGA font in old BIOS based systems.

I thought maybe my installation media was faulty, so I recreated one on a different USB drive, but I had the same result.

So next I tried the regular text mode installer, thinking the GUI based setup was broken somehow. However the screen on the right side of the picture was presented again, instead of the proper text installer.

I had never experienced this before in the multiple times I have installed Debian in the past. I remembered that I recently started using the USB-Serial converter, so I tested my luck and disconnected it and tried again, and to my surprise, everything worked as expected! The GUI installer properly showed, and the text mode installer worked properly too.


What was even more surprising, is that when I boot up the installer without the USB-Serial converter connected, into the proper installer (left side of picture), and then connect the USB-Serial converter, the screen goes black for a second, and then is redrawn to the VGA font style (right side of picture)


I can reliably reproduce this. Is this a bug, or is this documented and expected behavior? It was quite jarring to try the installer multiple times getting faulty graphics, only to discover that it was all caused simply by having a USB-Serial converter plugged in.

Image

lindi
Debian Developer
Debian Developer
Posts: 464
Joined: 2022-07-12 14:10
Has thanked: 1 time
Been thanked: 88 times

Re: Strange graphics behavior when running Debian installer with USB-Serial adapter plugged in

#2 Post by lindi »

The installer supports serial console, allowing you to use it over the serial port.

Shirobooon
Posts: 3
Joined: 2023-12-03 23:56

Re: Strange graphics behavior when running Debian installer with USB-Serial adapter plugged in

#3 Post by Shirobooon »

I'm assuming that means when it detects there is a serial port it automatically switches to that mode, and the screen mirrors what is being sent on serial?
As well as only supporting ASCII?

Aki
Global Moderator
Global Moderator
Posts: 3086
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 76 times
Been thanked: 418 times

Re: Strange graphics behavior when running Debian installer with USB-Serial adapter plugged in

#4 Post by Aki »

Hello,
Shirobooon wrote: 2023-12-04 00:17 [..]
What was even more surprising, is that when I boot up the installer without the USB-Serial converter connected, into the proper installer (left side of picture), and then connect the USB-Serial converter, the screen goes black for a second, and then is redrawn to the VGA font style (right side of picture)

I can reliably reproduce this. Is this a bug, or is this documented and expected behavior? It was quite jarring to try the installer multiple times getting faulty graphics, only to discover that it was all caused simply by having a USB-Serial converter plugged in.
I can not reproduce it in a virtual environment (with a virtual "usb-serial" device connected):

Code: Select all

<serial type="pty">
  <target type="usb-serial" port="0">
    <model name="usb-serial"/>
  </target>
  <address type="usb" bus="0" port="4"/>
</serial>
nor with the normal isa-serial:

Code: Select all

<serial type="pty">
  <target type="isa-serial" port="0">
    <model name="isa-serial"/>
  </target>
</serial>
I always obtain the same screen that appears on the left of your previous post.

Please note that there's something strange in the two screen dump you sent: the one on the right has an incomplete list of languages compared with the other on the left; are you really sure the two images were generated booting from the same ISO ?
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
kalle123
Posts: 353
Joined: 2015-03-21 11:17
Location: Rhineland - Germany
Has thanked: 4 times
Been thanked: 12 times

Re: Strange graphics behavior when running Debian installer with USB-Serial adapter plugged in

#5 Post by kalle123 »

Have a lot of those adapters here. FTDI, CH340, PL2303, CP2102 and CP2104. Never seen a thing like that .....

Shirobooon
Posts: 3
Joined: 2023-12-03 23:56

Re: Strange graphics behavior when running Debian installer with USB-Serial adapter plugged in

#6 Post by Shirobooon »

Hi Aki, this is indeed the same ISO. I uploaded a video showing me connect it in real time and the installer changing.

https://www.youtube.com/watch?v=tNwBI8jM9Is

Aki
Global Moderator
Global Moderator
Posts: 3086
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 76 times
Been thanked: 418 times

Re: Strange graphics behavior when running Debian installer with USB-Serial adapter plugged in

#7 Post by Aki »

Shirobooon wrote: 2023-12-05 23:35 Hi Aki, this is indeed the same ISO. I uploaded a video showing me connect it in real time and the installer changing.
https://www.youtube.com/watch?v=tNwBI8jM9Is
Can you report a link to the vendor/product specification and photos for the white USB device (with label "DC SD Adaptor V2") shown in the video ?

Isn't it a SD adapter for game consoles ?

Does it appear connected to the USB port of a game console and not to your computer with Debian ?
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
kalle123
Posts: 353
Joined: 2015-03-21 11:17
Location: Rhineland - Germany
Has thanked: 4 times
Been thanked: 12 times

Re: Strange graphics behavior when running Debian installer with USB-Serial adapter plugged in

#8 Post by kalle123 »


Aki
Global Moderator
Global Moderator
Posts: 3086
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 76 times
Been thanked: 418 times

Re: Strange graphics behavior when running Debian installer with USB-Serial adapter plugged in

#9 Post by Aki »

kalle123 wrote: 2023-12-06 14:03 Seems to be that one
https://de.aliexpress.com/item/1005004328522788.html
Yes, I think so, too. Therefore, the OP is trying to plug a USB connector (from the black cable) in the SD port (!?!?) of an SD adapter connected to Dream Cast console. Well, perhaps the OP is kidding ....
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

darcagn
Posts: 1
Joined: 2023-12-30 17:14

Re: Strange graphics behavior when running Debian installer with USB-Serial adapter plugged in

#10 Post by darcagn »

Therefore, the OP is trying to plug a USB connector (from the black cable) in the SD port (!?!?) of an SD adapter connected to Dream Cast console. Well, perhaps the OP is kidding ....
A user reports a bug with video footage and gets accusations of dishonesty?

I sold this adapter to Shirobooon. It's a custom PCB with a Silicon Labs CP2102N but it's a standard implementation. The USB end plugs into the computer and the serial end plugs into the Dreamcast.

Developers want to upload binaries to Dreamcast consoles via the Dreamcast's proprietary serial connector. The AliExpress vendor making SD card adapters is the only affordable source of these proprietary connectors, and they will not sell us connectors alone without a very large volume order which is far too unrealistic for our use case.

So I create serial link modules for Dreamcast developers by purchasing AliExpress SD adapters in bulk, to desolder and harvest their connectors. The CP2102N PCB is designed to be a drop-in replacement for the SD card PCB, that way, I can re-use the plastic housing instead of discarding it as waste. Conveniently, an SD slot opening is wide enough for a USB-C connector to pass through. The label "DC SD Adapter" does not affect the functionality, hope this helps.

User avatar
kalle123
Posts: 353
Joined: 2015-03-21 11:17
Location: Rhineland - Germany
Has thanked: 4 times
Been thanked: 12 times

Re: Strange graphics behavior when running Debian installer with USB-Serial adapter plugged in

#11 Post by kalle123 »

darcagn wrote: 2023-12-30 18:57 A user reports a bug with video footage and gets accusations of dishonesty?
Harsh words. We can only interpret, what we read and see here and that is quite confusing ....

Aki
Global Moderator
Global Moderator
Posts: 3086
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 76 times
Been thanked: 418 times

Re: Strange graphics behavior when running Debian installer with USB-Serial adapter plugged in

#12 Post by Aki »

Hello @darcagn,

Detailed information are usually required to address reports by users. So far, the OP was unable to report a reference to the manufacturer or an user manual apart from a video of the "object" without any detailed specification. The video itself was not showing the internals of the "object".

This topic does not seem to me to be very useful for further investigation as a Debian issue, even in light of the additional information you have provided.

Have a nice day.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Post Reply